Commit Graph

77 Commits (0ff1619ea4e2a6702a3fb70135fb656efd64790b)

Author SHA1 Message Date
Kim Alvefur f6efb7e00f rostermanager: Explicitly remove old-style 'pending' table from rosters (or it stays forever due to map stores) 8 years ago
Kim Alvefur b04b0835bc rostermanager: Log warning if removal self-contact failed 8 years ago
Kim Alvefur 1ba31ce34d rostermanager: Use internal method for storing removal of self-contact 8 years ago
Kim Alvefur 1925151837 rostermanager: Demote warning to debug message 8 years ago
Kim Alvefur 8bdde46dfd rostermanager: Capitalize log message 8 years ago
Emmanuel Gil Peyrot e2a3d50004 rostermanager: Remove self-contact entry (fixes #933) 8 years ago
Emmanuel Gil Peyrot ccc4e2a83f rostermanager: Simplify logging. 8 years ago
Kim Alvefur 0ff70692d1 rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a) 9 years ago
Kim Alvefur 91d2b2518f core: Allow select core modules to mutate some globals (needs luacheck 1.19) 9 years ago
Kim Alvefur be63ea9a57 core.rostermanager: Add method for checking if the user is subscribed to a contact 9 years ago
Kim Alvefur 3c8ec0ee57 rostermanager: Remove FIXME, per XMPP Core 8.1.1.1, we do not need to set the 'to' attribute 10 years ago
Matthew Wild ef8fdb1846 rostermanager: Require storagemanager at the top, fixes traceback on Lua 5.2 10 years ago
Kim Alvefur 99e6690eb3 rostermanager: Use map stores when only one contact is changed 10 years ago
Kim Alvefur bbc49bbfb3 rostermanager: Use storagemanager 10 years ago
Kim Alvefur 986e6171b3 rostermanager: Rename variable to avoid name clash [luacheck] 10 years ago
Kim Alvefur 95c212d4a3 rostermanager: Add forward declarations 11 years ago
Kim Alvefur 075278ff98 core.*: Remove use of module() function 11 years ago
Matthew Wild bc3ae7d5b2 rostermanager: Variable rename for clarity and to avoid name clash [luacheck] 11 years ago
Kim Alvefur 65c3cf814b rostermanager: Fix roster upgrade code (thanks mva) 11 years ago
Florian Zeitz 699bb065b9 rostermanager: Add missing import of `type()` 11 years ago
Matthew Wild a7b623769f rostermanager: Remove unused parameter 11 years ago
Kim Alvefur ea346342bd rostermanager, mod_roster, mod_presence: Move pending roster items to roster metadata field 11 years ago
Matthew Wild 8803cf988c rostermanager: Access bare_sessions through prosody.bare_sessions 11 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 94a868c6a5 rostermanager, mod_groups: Change roster-load event to pass an event table for consistency 13 years ago
Marco Cirillo 3f35128dd3 rostermanager: do not save rosters for unexistant users. 13 years ago
Kim Alvefur 245a924290 rostermanager: Remove unused imports 13 years ago
Waqas Hussain 955e1b6695 mod_presence, rostermanager: Bring outbound subscription cancellation in line with RFC6121. 14 years ago
Matthew Wild e808645b53 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 40ea2230d1 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
Waqas Hussain a44b6261c9 rostermanager: Remove self-contacts from loaded rosters. 16 years ago
Waqas Hussain 193278754c rostermanager: Fixed a traceback on roster save. 16 years ago
Waqas Hussain 53295e052d rostermanager: Fixed: Roster version was not being properly updated in some edge cases. 16 years ago
Waqas Hussain e5721e4840 rostermanager: Added support for saving rosters of offline users to the save_roster function. 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 5983be0564 rostermanager: Fire event on roster load 17 years ago
Waqas Hussain 3570fb634c Fixed: rostermanager: Create new roster item if one doesn't exist on subscription approval (fixes issue #77) 17 years ago
Matthew Wild 000fa4bb34 core.rostermanager/mod_roster: Support for roster versioning 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago