Coder Social home page Coder Social logo

advanced_notifications's People

Contributors

facyla avatar jdalsem avatar jeabakker avatar oseg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

advanced_notifications's Issues

Issue with session_id

Hello,

Have you ever had any issue with session when using cli ? We are using it on a closed community and we are facing the following issue

When we create/update a new group discussion, session_id is passed to cli, but once __elgg_session_boot is called (/engin/lib/sessions.php) $_SESSION object only has __elgg_session. So call to elgg_get_annotation_from_id is done while get_loggedin_user returns 0, and access_id checks are performed on invalid values. Here is the SQL query (access_id should have many other values, and the required one is 54)

SELECT DISTINCT n_table.*, n.string as name, v.string as value FROM elggannotations n_table JOIN elggentities e ON n_table.entity_guid = e.guid  JOIN elggmetastrings n on n_table.name_id = n.id  JOIN elggmetastrings v on n_table.value_id = v.id  WHERE  (n_table.id IN (3191) AND (  (n_table.access_id IN (2,-5)
            OR (n_table.owner_guid = -1)
            OR (
                n_table.access_id = 0
                AND n_table.owner_guid = -1
            )
        ) and n_table.enabled='yes')) AND (  (e.access_id IN (2,-5)
            OR (e.owner_guid = -1)
            OR (
                e.access_id = 0
                AND e.owner_guid = -1
            )
        ) and e.enabled='yes')

Max upload size issue

Enabling advanced_notifications causes any save of any object (blog, wire post, whatever) to make Elgg report a max post size exceeded error. The system message is:

  • The size of file(s) uploaded exceeded the limit set by your site administrator.

The max posts on the server is set at 32M and max upload set at 24M.
The problem goes away when the plugin is disabled.
This is the same problem as that noted by UK at http://community.elgg.org/discussion/view/1524467/i-have-a-weird-error

Jon

[groups] private (invisible) group invitation notifications are not sent

context:

  • elgg v2.3.7
  • groups v1.9 ("Do you want to allow private (invisible) groups?" set to "yes)
  • group_tools v9.4 ("Do you want to allow private (invisible) groups?" set to "yes)
  • advanced_notifications v3.2.1

scenario:
1- log in as "user1"
2- add "user2" as a friend
3- create a closed private(invisible) group:
. "Group membership permissions" set to "closed - users must be invited"
. "Who can see this group?" set to "group members only"
4- invite friends "user2"

results:

  • "No users were invited (0 already invited, 0 already a member) error message is displayed
  • Group Invitation has been created but group invitation notifications (email...) are not sent

expected results:

  • "Successfully invited 1 user (0 already invited, 0 already a member)" message is displayed
  • Group Invitation has been created and notifications (email...) are sent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.