Commit Graph

85 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Kim Alvefur 43351d2b54 Spelling: Fix various spelling mistakes (thanks timeless) 4 years ago
Kim Alvefur d47a7bb3bd core: Prefix module imports with prosody namespace 3 years ago
Matthew Wild 173990157f rostermanager, mod_presence: Support for subscription preapproval (fixes #686) 6 years ago
Kim Alvefur bb3d150756 core.rostermanager: Cache rosters of offline users for faster access (fixes #1233) 7 years ago
Matthew Wild 13f865a607 rostermanager: Use util.id to generate ids for roster pushed 7 years ago
Kim Alvefur 76d18a8464 rostermanager: Explicitly remove old-style 'pending' table from rosters (or it stays forever due to map stores) 8 years ago
Kim Alvefur efcd11b541 rostermanager: Log warning if removal self-contact failed 8 years ago
Kim Alvefur 04bdf078d3 rostermanager: Use internal method for storing removal of self-contact 8 years ago
Kim Alvefur 314beadb4b rostermanager: Demote warning to debug message 8 years ago
Kim Alvefur bf3bb71ed6 rostermanager: Capitalize log message 8 years ago
Emmanuel Gil Peyrot 67e92afe78 rostermanager: Remove self-contact entry (fixes #933) 8 years ago
Emmanuel Gil Peyrot 519ef501d2 rostermanager: Simplify logging. 8 years ago
Kim Alvefur c5fc8dc1c1 rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a) 9 years ago
Kim Alvefur 77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur e45c5961ac core: Allow select core modules to mutate some globals (needs luacheck 1.19) 9 years ago
Kim Alvefur a9b7d2f8e1 core.rostermanager: Add method for checking if the user is subscribed to a contact 9 years ago
Kim Alvefur 89df062a5e rostermanager: Remove FIXME, per XMPP Core 8.1.1.1, we do not need to set the 'to' attribute 10 years ago
Matthew Wild 4c3e8cf880 rostermanager: Require storagemanager at the top, fixes traceback on Lua 5.2 10 years ago
Kim Alvefur a687ceb76b rostermanager: Use map stores when only one contact is changed 10 years ago
Kim Alvefur 3977731fad rostermanager: Use storagemanager 10 years ago
Kim Alvefur 1503fd92e6 rostermanager: Rename variable to avoid name clash [luacheck] 10 years ago
Matthew Wild 59c9585f12 rostermanager: Variable rename for clarity and to avoid name clash [luacheck] 11 years ago
Kim Alvefur 7e20875a3b rostermanager: Add forward declarations 11 years ago
Kim Alvefur 336f7667f8 rostermanager: Fix roster upgrade code (thanks mva) 11 years ago
Florian Zeitz 17e942c4dc rostermanager: Add missing import of `type()` 11 years ago
Matthew Wild c71e65917c rostermanager: Remove unused parameter 11 years ago
Kim Alvefur 28c58565ac rostermanager, mod_roster, mod_presence: Move pending roster items to roster metadata field 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild 7ebf4fa4c2 rostermanager: Access bare_sessions through prosody.bare_sessions 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 71ab938d53 rostermanager, mod_groups: Change roster-load event to pass an event table for consistency 13 years ago
Marco Cirillo 123fef628e rostermanager: do not save rosters for unexistant users. 13 years ago
Kim Alvefur 608eb6194a rostermanager: Remove unused imports 13 years ago
Kim Alvefur 149e748141 core.rostermanager: Cache rosters of offline users for faster access (fixes #1233) 7 years ago
Matthew Wild 3836d03c37 rostermanager, mod_presence: Store stanza for incoming subscription requests (fixes #689) (thanks Zash, Ge0rG) 7 years ago
Waqas Hussain 333dd0e428 mod_presence, rostermanager: Bring outbound subscription cancellation in line with RFC6121. 14 years ago
Matthew Wild e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 14 years ago
Florian Zeitz d49b9bc2ab Eliminate direct setfenv usage 14 years ago
Waqas Hussain 49d8e76614 rostermanager: Optimisation to avoid unnecessarily loading rosters for offline contacts on probes, etc. 16 years ago
Waqas Hussain e1b4298fde rostermanager: Return an error string when subscription test fails due to an error. 16 years ago
Waqas Hussain 054a2d38c1 rostermanager: Mark rosters which fail to load as broken, and never save them. 16 years ago
Matthew Wild 41d45e0c64 rostermanager: Don't fire roster-load event if there was an error loading the roster 16 years ago
Waqas Hussain 2bf0d50232 rostermanager: When loading the roster, also return a datamanager error if available. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild ddc6e94e63 rostermanager: Don't bump the roster version if it is == true (ie. we are not versioning the roster) 16 years ago
Waqas Hussain e9f1949a99 rostermanager: Fixed a global access. 16 years ago
Waqas Hussain c3555f641a rostermanager: Refactored roster loading to remove duplicate code. 16 years ago
Waqas Hussain eab91c4f75 rostermanager: Log a warning when a self-contact is detected. 16 years ago
Waqas Hussain fefe960849 rostermanager: Ensure meta-data entry is present on roster load. 16 years ago