summaryrefslogtreecommitdiff
path: root/src/ejabberd_piefxis.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Replace Jabber->XMPP and Ejabberd (thanks to Neustradamus)(#3469)Badlop2021-01-111-2/+2
|
* Allow to use different hash for storing scram passwordsPaweł Chmielowski2020-12-081-3/+14
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-2/+2
|
* Do read piefxis file fully before starting processing included filePaweł Chmielowski2020-02-181-8/+17
| | | | | | | | | | Previous method of processing files, could lead to mixing events generated by parsers for multiple files, where we could get in inconsistant state. After this change we gather all events generated by parser for single file, before we start parsing any included file. This fixes issue #3166
* Make piefxis import properly decode scram passwordsPaweł Chmielowski2020-02-111-3/+3
| | | | | | | We encoded scramed password with base64 when exporting, but didn't apply reverse operation on import, this adds base64 decoding on import. This fixes issue #3167.
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-12/+12
|
* Fix type specsEvgeny Khramtsov2019-06-271-2/+2
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-1/+1
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Fix PIEFXIS export of user when password is scrammed (#2721)Badlop2018-12-191-10/+6
|
* Fix piefxis import of privacy lists (thanks to crosser)(#2412)Badlop2018-07-111-15/+32
|
* Fix piefxis import of vCard elements (#2514)Badlop2018-07-111-1/+1
|
* Move move randoms module to p1_utils repoEvgeniy Khramtsov2018-07-051-3/+3
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-2/+2
| | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
* Bypass account creation error when password is empty, caused by extauthBadlop2018-05-081-0/+2
|
* Switch to newer fast_xml and xmpp and update record fields in the codeEvgeniy Khramtsov2018-01-251-1/+1
|
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit introduces the following API incompatibilities: In ejabberd_auth.erl: * dirty_get_registered_users/0 is renamed to get_users/0 * get_vh_registered_users/1 is renamed to get_users/1 * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is renamed to count_users/1 * get_vh_registered_users_number/2 is renamed to count_users/2 In ejabberd_auth callbacks * plain_password_required/0 is replaced by plain_password_required/1 where the argument is a virtual host * store_type/0 is replaced by store_type/1 where the argument is a virtual host * set_password/3 is now an optional callback * remove_user/3 callback is no longer needed * remove_user/2 now should return `ok | {error, atom()}` * is_user_exists/2 now must only be implemented for backends with `external` store type * check_password/6 is no longer needed * check_password/4 now must only be implemented for backends with `external` store type * try_register/3 is now an optional callback and should return `ok | {error, atom()}` * dirty_get_registered_users/0 is no longer needed * get_vh_registered_users/1 is no longer needed * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is no longer needed * get_vh_registered_users_number/2 is renamed to count_users/2 * get_password_s/2 is no longer needed * get_password/2 now must only be implemented for backends with `plain` or `scram` store type Additionally, the commit introduces two new callbacks: * use_cache/1 where the argument is a virtual host * cache_nodes/1 where the argument is a virtual host New options are also introduced: `auth_use_cache`, `auth_cache_missed`, `auth_cache_life_time` and `auth_cache_size`.
* Don't re-define validation functions in multiple placesEvgeniy Khramtsov2017-04-281-10/+3
|
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-3/+3
|
* Don't pass empty resource to jid:make()Evgeniy Khramtsov2017-02-251-1/+1
|
* Include stanza ID with archived offline messagesHolger Weiss2017-02-231-2/+1
| | | | Fixes #1480.
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-181-2/+2
|
* Change routing APIEvgeniy Khramtsov2017-02-161-13/+8
| | | | | | | | | | | Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet}
* Fix calling to mod_offline:store_packetEvgeniy Khramtsov2017-01-231-1/+1
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-6/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * Adopt remaining code to support new hooksEvgeniy Khramtsov2017-01-091-6/+5
| |
| * More refactoring on session managementEvgeniy Khramtsov2016-12-301-1/+1
| |
* | Cleanup file headersChristophe Romain2017-01-031-4/+1
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Get rid of excessive (io)list_to_binary/1 callsEvgeniy Khramtsov2016-11-241-5/+4
|
* Add more tests for privacy lists and blocking commandEvgeniy Khramtsov2016-10-221-1/+1
|
* Improve namespace handlingEvgeniy Khramtsov2016-09-241-4/+4
|
* Rename #error{} record to #stanza_error{}Evgeniy Khramtsov2016-09-081-1/+1
|
* Rewrite PIEFXIS code to use XML generatorEvgeniy Khramtsov2016-08-041-137/+110
|
* Rename odbc to sql everywhereEvgeniy Khramtsov2016-04-201-2/+2
|
* Fixed type specifications for 'rebar doc'Elias Rohrer2016-03-071-81/+0
| | | | | - Fixed type @specs and -specs to remove 'rebar doc' errors - Removed a lot of wrong and deprecated documentation in ejabberd_piefxis.erl
* Switch to Fast XML moduleMickael Remond2016-02-031-15/+15
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-14/+14
|
* cosmetic cleanupChristophe Romain2015-10-071-24/+1
|
* Add config validation at startupEvgeniy Khramtsov2015-06-011-2/+7
|
* Document protocol support (EJABS-1620)Badlop2015-05-211-0/+2
|
* Migration of scram passwords with piefxis (riak and internal only)Feotov Daniil2015-02-051-4/+57
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/