aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_roster.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_roster: do not store number in attributeJonas Schäfer6 days1-1/+1
| | | | | | | | | Attributes are strings. That definitely is a number. So we tostring() it. This is important when the API becomes stricter, for whatever reason that might happen. Practically, this moves the overhead of converting to a string to a place where it is visible.
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-8/+8
|
* mod_roster: Improve readability of bare-JID checkKim Alvefur2021-12-221-2/+2
| | | | | | | Silences luacheck too All we care about is that it is a bare JID, not a full JID with a resource, since those are forbidden in rosters.
* mod_roster: pass correct username to roster-item-removedJonas Schäfer2021-12-221-1/+1
| | | | | | | | | | | The other invocations use it that way, and the only listener in trunk which uses it (in mod_presence) expects it that way. Passing the username of the JID from the removed entry causes incorrect unavailable presence stanzas to be sent, allegedly kicking people off MUCs. Fixes #1121.
* mod_roster: Use new :text_tag()Kim Alvefur2018-03-211-1/+1
|
* mod_roster: Iterate over roster group items in more modern mannerKim Alvefur2018-03-211-8/+5
|
* mod_roster: Rename variable to silence shadowing warning [luacheck]Kim Alvefur2016-12-131-2/+2
|
* mod_roster: Remove unused variable [luacheck]Kim Alvefur2016-12-131-1/+0
|
* mod_roster: Remove unused import [luacheck]Kim Alvefur2016-12-131-1/+0
|
* mod_roster: Fire event for pending items for good measureKim Alvefur2016-04-041-0/+6
|
* mod_roster: Handle roster item removal with event on user deletionKim Alvefur2016-04-041-6/+4
|
* mod_presence, mod_roster: Move responsibility for sending presence on roster ↵Kim Alvefur2016-04-041-7/+3
| | | | removal to mod_presence
* rostermanager, mod_roster, mod_presence: Move pending roster items to roster ↵Kim Alvefur2015-04-031-7/+5
| | | | metadata field
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-3/+3
|
* mod_roster: Remove unused variableKim Alvefur2013-03-231-1/+0
|
* mod_roster: When an user is deleted, unsubscribe from their contactsKim Alvefur2012-08-251-0/+18
|
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-1/+1
| | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
* mod_roster: Remove <optional/> from roster version stream feature, as per ↵Waqas Hussain2011-05-071-1/+1
| | | | latest specs.
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-2/+2
|
* mod_roster: Cleaned up some unused variables and global accesses.Waqas Hussain2010-10-161-1/+2
|
* mod_roster: Updated to use the new events API.Waqas Hussain2010-10-161-101/+98
|
* mod_roster: Use value returned by pairs() during roster iteration to avoid ↵Matthew Wild2010-07-051-5/+5
| | | | dozens of wasteful table lookups
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
* | mod_roster: Tidier code for the roster versioning logicMatthew Wild2010-03-221-3/+4
| |
* | mod_roster: Hook stream-features event using new events API.Waqas Hussain2010-02-121-6/+6
|/
* mod_roster: Ask remote server to remove pending subscription requests when ↵Waqas Hussain2009-11-261-7/+9
| | | | removing roster items.
* Removing tabs at the end of a line.Tobias Markmann2009-08-121-1/+1
|
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* mod_roster: Removed references to presencemanager and core_route_stanzaWaqas Hussain2009-06-141-2/+0
|
* mod_roster: Using core_post_stanza in place of ↵Waqas Hussain2009-06-141-4/+3
| | | | core.presencemanager.handle_presence
* mod_roster: Add some comments for the error cases to improve readabilityMatthew Wild2009-05-261-0/+6
|
* mod_roster: Don't send a query element in roster response if roster is unchangedMatthew Wild2009-05-261-2/+2
|
* mod_roster: Advertize roster versioning supportWaqas Hussain2009-05-081-0/+8
|
* Fixed: mod_roster: Prep JIDs being added to roster (part of issue #57)Waqas Hussain2009-03-301-11/+13
|
* core.rostermanager/mod_roster: Support for roster versioningMatthew Wild2009-03-231-12/+21
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Changed mod_roster to use the newer presence manager APIWaqas Hussain2008-12-081-5/+6
|
* Change modules to use the new add_feature module API method.Waqas Hussain2008-12-041-1/+1
| | | | This also fixes the bug causing disco features being added to every disco reply for every host.
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Bumper commit for the new modulemanager API \o/ Updates all the modules, ↵Matthew Wild2008-11-271-2/+2
| | | | though some more changes may be in store.
* Modules now sending disco repliesWaqas Hussain2008-11-261-0/+2
|
* Send unsubscribe and unsubscribed on roster item delete, and broadcast ↵Waqas Hussain2008-11-171-2/+13
| | | | available resources' presence in reply to pre-approved subscription request
* Fix mod_roster to use session.send for sending stanzasMatthew Wild2008-11-151-10/+9
|
* mod_roster fixWaqas Hussain2008-11-021-0/+1
|
* Bug fixes and checks for presence subscriptions, etcWaqas Hussain2008-10-261-9/+12
|