Commit Graph

69 Commits (47c821cf549c8ea4645190a8f4bb18b7a2eaee2b)

Author SHA1 Message Date
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
Kim Alvefur 7e20875a3b rostermanager: Add forward declarations 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild 59c9585f12 rostermanager: Variable rename for clarity and to avoid name clash [luacheck] 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
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
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
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
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain fc57c3a09a Some bugs fixed 17 years ago
Matthew Wild 44701835b1 Update rostermanager to use new logger 17 years ago
Waqas Hussain 3a14c1ab21 mod_roster fix 17 years ago