-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3159 from esl/mod_roster_with_dynamic_domains
Support dynamic domains in mod_roster Main changes: * Update roster-related hooks and their handlers to use host types. * Update callbacks in mod_roster to use host types. * Update all roster backends to implement the new callbacks and support multiple domains and host types. * Enable roster-related tests with dynamic domains. Side changes: * Remove deprecated functions from mod_roster. They started becoming tedious to maintain. * Change the templating of mod_roster to make the test type section consistent with the top-level ones by excluding the header from the template. This makes the templating itself a bit inconsistent, but IMO other modules can be converted as well. It makes sense to exclude constant parts from the template. * Change handling of unexpected roster IQs directed to other JIDs - return errors. * Make IQ handlers always respond with error 500 when they throw exceptions. * Fix a bug in ejabberd_local (it caused errors for empty feature lists). * Fix a bug in inbox tests (not enough cleanup, it was breaking subsequent tests). * Fix and enable shared roster tests, they were always skipped. Not changed: * The roster_groups hook is only used by mod_pubsub and has no handlers. It can be removed, but we should figure out whether it needs a fix, as the resulting config field is always an empty list. * Migration guide - needs to be addressed later. Take a quick look at the commit messages for more information.
- Loading branch information
Showing
28 changed files
with
926 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.