aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* rostermanager, mod_presence: Store stanza for incoming subscription requests ↵Matthew Wild2018-12-011-3/+3
| | | | (fixes #689) (thanks Zash, Ge0rG)
* rostermanager: Use util.id to generate ids for roster pushedMatthew Wild2018-09-131-1/+3
|
* core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-291-1/+1
|
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* rostermanager: Explicitly remove old-style 'pending' table from rosters (or ↵Kim Alvefur2017-12-291-0/+8
| | | | it stays forever due to map stores)
* rostermanager: Log warning if removal self-contact failedKim Alvefur2017-10-291-1/+3
|
* rostermanager: Use internal method for storing removal of self-contactKim Alvefur2017-10-291-1/+1
|
* rostermanager: Demote warning to debug messageKim Alvefur2017-10-291-1/+1
|
* rostermanager: Capitalize log messageKim Alvefur2017-10-291-1/+1
|
* rostermanager: Remove self-contact entry (fixes #933)Emmanuel Gil Peyrot2017-09-191-1/+2
|
* rostermanager: Simplify logging.Emmanuel Gil Peyrot2017-09-191-2/+2
|
* rostermanager: Use correct variable (missed one place while renaming ↵Kim Alvefur2017-05-181-1/+1
| | | | variable in b98006bfd97a)
* core: Allow select core modules to mutate some globals (needs luacheck 1.19)Kim Alvefur2017-03-041-1/+1
|
* Merge 0.9->0.10Kim Alvefur2016-12-091-0/+13
|\
| * core.rostermanager: Add method for checking if the user is subscribed to a ↵Kim Alvefur2016-12-091-0/+12
| | | | | | | | contact
* | rostermanager: Remove FIXME, per XMPP Core 8.1.1.1, we do not need to set ↵Kim Alvefur2016-03-121-1/+0
| | | | | | | | the 'to' attribute
* | rostermanager: Require storagemanager at the top, fixes traceback on Lua 5.2Matthew Wild2016-02-191-3/+4
| |
* | rostermanager: Use map stores when only one contact is changedKim Alvefur2016-02-091-15/+20
| |
* | rostermanager: Use storagemanagerKim Alvefur2016-02-091-3/+4
| |
* | rostermanager: Rename variable to avoid name clash [luacheck]Kim Alvefur2016-01-091-4/+4
| |
* | rostermanager: Add forward declarationsKim Alvefur2015-04-081-3/+9
| |
* | core.*: Remove use of module() functionKim Alvefur2015-02-211-19/+37
| |
* | rostermanager: Variable rename for clarity and to avoid name clash [luacheck]Matthew Wild2015-05-061-4/+4
| |
* | rostermanager: Fix roster upgrade code (thanks mva)Kim Alvefur2015-04-051-6/+5
| |
* | rostermanager: Add missing import of `type()`Florian Zeitz2015-04-031-0/+1
| |
* | rostermanager: Remove unused parameterMatthew Wild2015-04-031-1/+1
| |
* | rostermanager, mod_roster, mod_presence: Move pending roster items to roster ↵Kim Alvefur2015-04-031-15/+25
| | | | | | | | metadata field
* | rostermanager: Access bare_sessions through prosody.bare_sessionsMatthew Wild2015-01-201-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
| |
* | rostermanager, mod_groups: Change roster-load event to pass an event table ↵Matthew Wild2013-07-151-1/+1
|/ | | | for consistency
* rostermanager: do not save rosters for unexistant users.Marco Cirillo2013-04-051-0/+6
|
* rostermanager: Remove unused importsKim Alvefur2013-03-131-4/+1
|
* mod_presence, rostermanager: Bring outbound subscription cancellation in ↵Waqas Hussain2012-08-011-8/+6
| | | | line with RFC6121.
* Merge with FlorobMatthew Wild2012-07-281-6/+6
|\
| * Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-6/+6
| | | | | | | | removing all cases of concatenation when building log messages
* | Eliminate direct setfenv usageFlorian Zeitz2012-06-081-1/+1
|/
* rostermanager: Optimisation to avoid unnecessarily loading rosters for ↵Waqas Hussain2010-06-011-0/+12
| | | | offline contacts on probes, etc.
* rostermanager: Return an error string when subscription test fails due to an ↵Waqas Hussain2010-05-241-2/+2
| | | | error.
* rostermanager: Mark rosters which fail to load as broken, and never save them.Waqas Hussain2010-05-241-1/+2
|
* rostermanager: Don't fire roster-load event if there was an error loading ↵Matthew Wild2010-05-221-1/+3
| | | | the roster
* rostermanager: When loading the roster, also return a datamanager error if ↵Waqas Hussain2010-05-221-2/+3
| | | | available.
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
* | rostermanager: Don't bump the roster version if it is == true (ie. we are ↵Matthew Wild2010-03-221-2/+8
|/ | | | not versioning the roster)
* rostermanager: Fixed a global access.Waqas Hussain2009-10-221-0/+1
|
* rostermanager: Refactored roster loading to remove duplicate code.Waqas Hussain2009-10-221-17/+8
|
* rostermanager: Log a warning when a self-contact is detected.Waqas Hussain2009-10-221-3/+10
|
* rostermanager: Ensure meta-data entry is present on roster load.Waqas Hussain2009-10-221-0/+1
|
* rostermanager: Remove self-contacts from loaded rosters.Waqas Hussain2009-10-221-0/+2
|
* rostermanager: Fixed a traceback on roster save.Waqas Hussain2009-10-131-3/+3
|