Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleaner test cleanup | Paweł Chmielowski | 2019-04-30 | 1 | -1/+1 |
| | |||||
* | Fix room state cleanup from db on change of persistent option change | Paweł Chmielowski | 2019-04-30 | 1 | -9/+7 |
| | |||||
* | Add tests for user mucsub mam from muc mam | Paweł Chmielowski | 2019-04-30 | 2 | -6/+134 |
| | |||||
* | Make get_subscribed_rooms work even for non-persistant rooms | Paweł Chmielowski | 2019-04-30 | 2 | -31/+74 |
| | | | | | | | This will store info about non-persistant rooms in db, but rooms with that that option enabled will not be restored on server restart. This will save info about room only on subscribers change. | ||||
* | Fix escaping for sql part of mamsub from muc mam | Paweł Chmielowski | 2019-04-30 | 1 | -2/+2 |
| | |||||
* | Deprecate some listening options | Evgeny Khramtsov | 2019-04-30 | 2 | -9/+37 |
| | | | | | | | | | | | | | | | | Those are: captcha, register, web_admin, http_bind and xmlrpc The option `request_handlers` should be used instead, e.g.: listen: ... - module: ejabberd_http request_handlers: "/admin": ejabberd_web_admin "/bosh": mod_bosh "/captcha": ejabberd_captcha "/register": mod_register_web "/": ejabberd_xmlrpc | ||||
* | Provide a suggestion when unknown request handler is detected | Evgeny Khramtsov | 2019-04-30 | 1 | -2/+5 |
| | |||||
* | Provide a suggestion when unknown command is detected | Evgeny Khramtsov | 2019-04-30 | 1 | -3/+8 |
| | |||||
* | Rename ejabberd_config:similar_option/2 -> misc:best_match/2 | Evgeny Khramtsov | 2019-04-30 | 3 | -33/+35 |
| | |||||
* | Provide a suggestion when unknown module is detected | Evgeny Khramtsov | 2019-04-29 | 2 | -3/+7 |
| | |||||
* | Provide a suggestion when unknown option is detected | Evgeny Khramtsov | 2019-04-29 | 2 | -3/+36 |
| | |||||
* | Disable offline_from_mam tests on riak since it doesn't support mam | Paweł Chmielowski | 2019-04-29 | 2 | -7/+11 |
| | |||||
* | Improve code for directory deletion | Evgeny Khramtsov | 2019-04-29 | 1 | -6/+2 |
| | |||||
* | Fix offline from mam on mnesia | Paweł Chmielowski | 2019-04-29 | 1 | -1/+3 |
| | |||||
* | Add tests for offline with mam storage | Paweł Chmielowski | 2019-04-29 | 2 | -16/+27 |
| | |||||
* | Properly handle infinity as max number of message in mam offline storage | Paweł Chmielowski | 2019-04-29 | 1 | -2/+3 |
| | |||||
* | Sort messages by stanza_id when using mam storage in mod_offline | Paweł Chmielowski | 2019-04-29 | 1 | -6/+21 |
| | |||||
* | Return correct value from count_offline_messages with mam storage option | Paweł Chmielowski | 2019-04-29 | 1 | -2/+10 |
| | |||||
* | Make mod_offline put msg ignored by mam in spool when mam storage is on | Paweł Chmielowski | 2019-04-29 | 1 | -2/+3 |
| | |||||
* | Add tests for offline use_mam_for_storage | Paweł Chmielowski | 2019-04-29 | 2 | -3/+28 |
| | |||||
* | Remove TLS options from the example config | Evgeny Khramtsov | 2019-04-28 | 1 | -20/+0 |
| | | | | | | | | | The purpose is two-fold: - To simplify the example config. - To avoid old TLS configuration to be persistent across server updates: this might bring security problems, because what's considered "modern" now might be insecure in the future. | ||||
* | Remove OMEMO related configuration from force_node_config section | Evgeny Khramtsov | 2019-04-28 | 1 | -4/+0 |
| | | | | This doesn't work reliably and takes a lot of effort to change it back | ||||
* | Add mod_offline option for fetching data from mam instead of from spool table | Paweł Chmielowski | 2019-04-26 | 3 | -82/+260 |
| | | | | | | | | | | | This commit introduces `use_mam_for_storage` option that take boolean argument. Enabling it will make mod_offline not use spool table for storing offline message, but instead will use mam archive to retrieve messages stored when offline. Enabling this option have couple drawback currently, only messages that were stored in mam will be available, most of flexible message retrieval queries don't work (those that allow retrieval/deletion of messages by id). | ||||
* | Return "Bad request" error when origin in websocket connection doesn't match | Paweł Chmielowski | 2019-04-26 | 1 | -37/+55 |
| | | | | | This also allow websocket_origin option to accept multiple values instead of just single one. | ||||
* | Allow non-moderator subscribers to get list of room subscribers | Paweł Chmielowski | 2019-04-25 | 2 | -5/+15 |
| | |||||
* | Use binary framing in MQTT WebSockets | Evgeny Khramtsov | 2019-04-25 | 3 | -8/+12 |
| | |||||
* | Merge pull request #2868 from rstgroup/fix-rfc-6455-violation | Evgeny Khramtsov | 2019-04-24 | 1 | -9/+9 |
|\ | | | | | Fix #2821 RFC6454 violation on websocket connection when validating Origin | ||||
| * | Fix RFC6454 violation on websocket connection when validating Origin header | Paweł Dorofiejczyk | 2019-04-24 | 1 | -9/+9 |
|/ | |||||
* | Catch potential exceptions in gen_mod:wait_for_process | Paweł Chmielowski | 2019-04-24 | 1 | -2/+7 |
| | | | | | Seems that at ejabberd shutdown, process may terminate before that function is called, and in that case erlang:monitor throws exception. | ||||
* | Reformat try_set_password/4 function | Evgeny Khramtsov | 2019-04-23 | 1 | -33/+37 |
| | |||||
* | Don't call to mod_register when it's not loaded | Evgeny Khramtsov | 2019-04-23 | 2 | -69/+104 |
| | | | | Fixes #2828 | ||||
* | Add WebSockets support to mod_mqtt | Evgeny Khramtsov | 2019-04-23 | 3 | -2/+178 |
| | | | | | | | | | | | | | | | | Example configuration: listen: ... - port: 5280 module: ejabberd_http request_handlers: "/mqtt": mod_mqtt modules: ... mod_mqtt: {} | ||||
* | Fix handling of list arguments on pgsql | Paweł Chmielowski | 2019-04-23 | 3 | -21/+81 |
| | |||||
* | Support other socket modules for MQTT | Evgeny Khramtsov | 2019-04-23 | 1 | -6/+14 |
| | |||||
* | Move websocket options | Evgeny Khramtsov | 2019-04-23 | 2 | -14/+22 |
| | |||||
* | Improve request_handlers validator | Evgeny Khramtsov | 2019-04-23 | 1 | -9/+23 |
| | |||||
* | Bump pkix version | Evgeny Khramtsov | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | Correctly support cache tags in ejabberd_auth | Evgeny Khramtsov | 2019-04-19 | 1 | -5/+8 |
| | |||||
* | Allow returning HTTP headers in REST responses | Evgeny Khramtsov | 2019-04-19 | 1 | -19/+25 |
| | |||||
* | Use new ets_cache api in ejabberd_auth | Evgeny Khramtsov | 2019-04-19 | 2 | -9/+10 |
| | |||||
* | Add hook room_destroyed called when room gets destroyed | Paweł Chmielowski | 2019-04-17 | 1 | -10/+16 |
| | |||||
* | Change implementation of misc:unique_timestamp() | Paweł Chmielowski | 2019-04-16 | 1 | -3/+2 |
| | |||||
* | Handle cdata in initial data probe of ws module | Paweł Chmielowski | 2019-04-16 | 1 | -0/+1 |
| | |||||
* | Make misc:unique_timestamp not overflow microsecond part. | Paweł Chmielowski | 2019-04-16 | 1 | -2/+3 |
| | | | | This should fix issue #2860 | ||||
* | Add hooks for tracking mucsub subscriptions changes | Paweł Chmielowski | 2019-04-15 | 1 | -3/+6 |
| | |||||
* | Feed whole image to eimp:identify/1 | Evgeny Khramtsov | 2019-04-14 | 1 | -37/+32 |
| | | | | Fixes #2859 | ||||
* | Fix syntax in Elixir config file | Mickael Remond | 2019-04-12 | 1 | -5/+6 |
| | |||||
* | Handle correctly case where ExtraUsername is empty | Paweł Chmielowski | 2019-04-11 | 1 | -2/+2 |
| | |||||
* | When making mucsub message from mam archive check for subject | Paweł Chmielowski | 2019-04-09 | 1 | -2/+8 |
| | |||||
* | Use xml:lang from stanza when it's missing in <command/> element | Evgeny Khramtsov | 2019-04-06 | 1 | -2/+7 |
| | | | | Thanks to Philipp Hörist for spotting this |