185 Commits

Author SHA1 Message Date
Holger Weiss
e0557b9e26 Advertise feature in disco info for account JID
As per XEP-0313 >= 0.2, advertise the MAM feature in the service
discovery information for the bare account JID.

Some clients check the server's discovery information instead, so we'll
continue to advertise the feature there as well (at least for the
moment).
2015-04-26 17:17:21 +02:00
Holger Weiss
316bac7b8a Revert "mod_mam: Don't route error bounces to clients"
This reverts commit 8b1eead24ba8decd3c54cca425e223879047dc5f.

As of ejabberd 15.04, the session manager won't deliver error messages
that were sent to bare JIDs anymore, so MAM error messages should no
longer arrive.  Also, the 'c2s_filter_packet_in' hook no longer exists.
2015-04-09 21:59:18 +02:00
Holger Weiss
7c55651da7 Update jlib header from ejabberd master 2015-03-21 20:49:04 +01:00
Badlop
bdfe82ce79 Update README files to show configuration file as YAML (#86) 2015-03-13 11:55:26 +01:00
Christophe Romain
7870f77392 binarize mod_profile 2015-03-13 11:13:40 +01:00
Badlop
e87dee1a00 Add mod_privacy.hrl as it's needed to compile mod_multicast/src/ejabberd_c2s.erl 2015-03-12 16:01:49 +01:00
Badlop
e4c5172b22 Update mod_multicast to work with ejabberd 14.12 2015-03-12 16:01:46 +01:00
Mickaël Rémond
e209c00f26 Merge pull request #84 from weiss/omit-subject
mod_admin_extra: Let send_message omit subject
2015-03-12 08:43:13 +01:00
Holger Weiss
7ca2ae6947 mod_admin_extra: Let send_message omit subject
Let the send_message command omit the subject if the user either
specified an empty subject or a message type of "chat".
2015-03-11 20:56:10 +01:00
Holger Weiss
94c690661b mod_statsdx: Call table_name/1 with 'server' atom 2015-03-10 01:54:36 +01:00
Holger Weiss
bc7bff10bd mod_statsdx: Fix user registration counters
Closes #82.
2015-03-10 01:38:33 +01:00
badlop
ac36d6c6dc Merge pull request #81 from beherit/master
mod_statsdx: Recognize two polish client names
2015-03-09 12:28:42 +01:00
Krzysztof Grochocki
0b4a282f24 mod_statsdx: Recognize two polish client names 2015-03-09 00:28:37 +01:00
Mickaël Rémond
af33df5594 ejabberd now use binary data structures 2015-03-06 18:45:25 +01:00
Badlop
ff3cddee70 Fix display of Top.. statsdx pages in WebAdmin (#47) 2015-03-05 11:58:11 +01:00
Holger Weiss
15ddd00ad4 mod_mam: Specify namespace for MAM messages
The "jabber:client" namespace must be explicitly specified for MAM
messages, as they would otherwise inherit the "urn:xmpp:forward:0"
namespace.
2015-03-03 07:14:25 +01:00
Holger Weiss
8b1eead24b mod_mam: Don't route error bounces to clients 2015-02-27 23:44:55 +01:00
Holger Weiss
48966d43a9 mod_mam: Don't add 'to' attribute to <result/> tag 2015-02-27 21:56:45 +01:00
Holger Weiss
6b4d521bb1 mod_mam: Specify user's bare JID as 'from' address
Specify the user's bare JID instead of the server's JID as the 'from'
address of our IQ responses and MAM messages.
2015-02-27 21:52:45 +01:00
badlop
f749c91e36 Merge pull request #77 from mojolingo/feature/mod_muc_admin/affiliation_change_stanzas
Rely on core routine for handling affiliation changes
2015-02-26 11:48:27 +01:00
Mickaël Rémond
87cb689298 Merge pull request #78 from mojolingo/feature/master-mod_post_log
Add README and license to mod_post_log
2015-02-25 19:46:36 +01:00
Ben Langfeld
66b9d491b9 Add README and license to mod_post_log 2015-02-25 15:43:22 -03:00
Ben Langfeld
7baf2edbc2 Rely on core routine for handling affiliation changes
This ensures that all of the usual stanzas and such go out
2015-02-25 13:08:45 -03:00
Badlop
53ca8bafba Update FSF address (solves #73) 2015-02-25 15:17:31 +01:00
badlop
c3310aa417 Merge pull request #75 from mojolingo/feature/master-mod_post_log
mod_post_log
2015-02-25 14:42:54 +01:00
Mickaël Rémond
ba2790eca8 Merge pull request #76 from hamano/fix_mod_admin_extra
fix connected_users_info in mod_admin_extra
2015-02-25 07:38:35 +01:00
HAMANO Tsukasa
44aacf2ee4 fix connected_users_info in mod_admin_extra 2015-02-25 13:16:38 +09:00
Holger Weiss
d1fe26dd17 mod_admin_extra: Fix private_get/private_set types 2015-02-25 00:46:34 +01:00
Badlop
e9f5cb2c14 Fix results binaries 2015-02-23 12:54:33 +01:00
Badlop
537706e9da Remove useless debug text 2015-02-19 17:44:24 +01:00
Mickaël Rémond
0b88690212 Support for using and external HTTP API for authentication 2015-02-19 11:54:49 +01:00
Christophe Romain
d40808bd57 upgrade gen_mod to latest version 2015-02-19 10:52:15 +01:00
Christophe Romain
f7afc783d1 update headers copyright dates to 2015 (EJAB-1733) 2015-02-19 10:50:00 +01:00
badlop
53c20de211 Merge pull request #71 from gardenia/master
Changed signature of user_sessions_info to take binaries rather than strings
2015-02-18 17:02:16 +01:00
badlop
0785f8c767 Merge pull request #72 from hamano/mod_logxml_show_ip
fix show_ip option
2015-02-18 17:01:52 +01:00
Holger Weiss
24dd1428c5 mod_mam: Apply small indentation fixes 2015-02-17 23:32:46 +01:00
Holger Weiss
6d38be2a75 mod_mam: Apply a few purely cosmetic changes 2015-02-17 23:11:58 +01:00
Holger Weiss
4db159b4fa mod_mam: Make filtered lookups more efficient
Try to limit the number of Mnesia queries in the case where the client
specified the desired timespan but no <before/> or <after/> UID.
2015-02-17 23:06:05 +01:00
Holger Weiss
7e9acda1c7 mod_statsdx: Fix type issue when parsing xml:lang 2015-02-17 22:46:38 +01:00
Holger Weiss
185fd7bb92 mod_statsdx: Don't stumble over odd resource names 2015-02-17 22:31:55 +01:00
Badlop
8e157279ca Support TEL XXX in set and get_vcard commands 2015-02-17 16:21:57 +01:00
HAMANO Tsukasa
92914e09db fix show_ip option 2015-02-18 00:21:13 +09:00
Holger Weiss
43add0866e mod_statsdx: Recognize another few client names 2015-02-17 12:04:29 +01:00
Holger Weiss
741a1de374 mod_mam: Fix message lookup
In an mnesia:activity/4, mnesia:read/2 must be used instead of
mnesia:dirty_read/2.
2015-02-17 00:00:58 +01:00
Holger Weiss
d6181eefed mod_statsdx: Recognize more client software 2015-02-16 09:30:42 +01:00
Holger Weiss
8208d5d172 mod_mam: Remove users in sync_transaction context 2015-02-16 00:03:22 +01:00
Holger Weiss
214339814f mod_statsdx: Fix operating system statistics 2015-02-16 00:01:06 +01:00
Holger Weiss
f445f6aa31 mod_statsdx: Fix vCard statistics 2015-02-15 00:13:45 +01:00
Holger Weiss
4b82d830c4 mod_statsdx: Fix traffic statistics 2015-02-15 00:08:52 +01:00
Holger Weiss
0ba0639ec5 mod_statsdx: Fix "hooks" option parsing 2015-02-15 00:01:33 +01:00