Commit Graph

352 Commits

Author SHA1 Message Date
Holger Weiss 81e8404207 mod_http_upload: Support Erlang/OTP < R16B 2015-08-27 21:34:14 +02:00
Holger Weiss 11fc485a9c mod_http_upload: Mention XEP number
The HTTP File Upload extension now has a number :-)
2015-08-27 18:35:10 +02:00
Holger Weiss f7beaa3ef1 mod_http_upload: Cope with unexpected IQ stanzas
Don't stumble over IQ results and errors when an IQ request is expected.
2015-08-26 00:32:00 +02:00
Holger Weiss 958b428ff0 README.txt: Mention put_url restriction
The PUT URL domain is used as part of the mod_http_upload process name.
This way, the responsible process can be queried during the HTTP PUT
request.  As a result, a given PUT URL domain cannot be used by multiple
virtual hosts.
2015-08-24 21:32:37 +02:00
Holger Weiss a00090086e mod_http_upload: Omit expansion for "service_url"
Don't expand the @HOST@ keyword within the "service_url" value, after
all.  The code didn't cope with an undefined "service_url", and the
@HOST@ expansion probably isn't too useful there, anyway.
2015-08-23 19:37:09 +02:00
Holger Weiss 374c1b6dfc mod_http_upload: Apply cosmetic changes 2015-08-23 18:06:12 +02:00
Holger Weiss 13e8c857ce mod_http_upload: Change defaults
Change the default settings so that mod_http_upload should work out of
the box.
2015-08-23 17:58:26 +02:00
Holger Weiss 6db50940a1 mod_http_upload: Expand @HOME@ and @HOST@ keywords
Replace @HOST@ with the virtual host name if the keyword is specified
within the "put_url", "get_url", and/or "service_url" values.  Also,
replace @HOME@ with the home directory of the user running ejabberd if
this keyword is specified within the "docroot" value.
2015-08-23 17:47:19 +02:00
Holger Weiss f4950cdc83 mod_http_upload: Add "rm_on_unregister" option
The new "rm_on_unregister" option allows admins to specify whether files
uploaded by a user should be removed when that user is unregistered.
2015-08-23 17:22:32 +02:00
Holger Weiss b9ece5c953 mod_http_upload: Apply cosmetic changes 2015-08-22 00:53:56 +02:00
Holger Weiss a17a554a8c mod_http_upload: Add "secret_length" option
The new "secret_length" option allows for specifying the length of the
random string included in the URLs generated by mod_http_upload.
2015-08-22 00:45:45 +02:00
Holger Weiss 216e244b6a mod_http_upload: Add "jid_in_url" option
The new "jid_in_url" option allows for configuring the way the user's
JID is included in the URLs generated by mod_http_upload.
2015-08-21 23:22:48 +02:00
Holger Weiss 034a156066 Import mod_http_upload
Add a module that implements a new HTTP File Upload protocol.
2015-08-20 00:33:34 +02:00
Holger Weiss 69ec20b3b9 mod_mam_mnesia: Ignore whitespace within <value/>
Ignore the whitespace when a form field value is specified like this,
for example:

	<value>
	  juliet@example.com
	</value>
2015-08-19 21:45:35 +02:00
Holger Weiss 6316b0f097 mod_mam_mnesia: Also strip CDATA from <x/> element 2015-08-19 21:29:27 +02:00
Holger Weiss 26e45fa0b0 mod_mam_mnesia: Strip CDATA from form fields
Don't let mod_mam_mnesia stumble over additional whitespace when parsing
form fields.
2015-08-15 17:58:00 +02:00
Badlop 21ffae911c Add also Cuesport to deps from https://github.com/goj/cuesport 2015-08-13 12:28:23 +02:00
Holger Weiss 941ed7c21a mod_mam_mnesia: Accept <encrypted/> messages
The <axolotl_message/> element has been renamed to <encrypted/>.
2015-08-07 00:15:07 +02:00
Badlop 5d6f6b820f Added Fusco source code dependency from https://github.com/dcorbacho/fusco 2015-07-22 17:22:39 +02:00
Badlop 7d0f6caa33 Fix export 2015-07-22 12:25:41 +02:00
Badlop 25a63c6ed1 Use auth_password_format to determine plain or SCRAM is used 2015-07-22 12:24:18 +02:00
Badlop 4e5fac304a Fix behaviour name 2015-07-22 12:11:40 +02:00
Holger Weiss 7cba0f88e8 mod_mam_mnesia: Also check for <no-store/> hint
Check for the <no-store/> and <no-permanent-store/> hints in addition to
<no-storage/> and <no-permanent-storage/>.  XEP-0334 (version 0.1)
mentions both variants, and unfortunately, both of them are in use.
2015-07-21 16:05:47 +02:00
Holger Weiss 1c79c86168 mod_mam_mnesia: Fix Axolotl message detection
The <axolotl_message/> element usually doesn't have CDATA content.
2015-07-20 21:39:44 +02:00
Holger Weiss 638019ec58 mod_mam_mnesia: Also store Axolotl messages 2015-07-20 12:50:33 +02:00
Holger Weiss fb98a62bce mod_statsdx: Recognize Monal and irssi-xmpp 2015-07-13 15:48:43 +02:00
Badlop 680d541efa Detect session closing, not connection closing (thanks to Holger Weiß) 2015-07-13 15:41:06 +02:00
Holger Weiss 16edbd5e7a Remove mod_multicast
The multicast code is included in ejabberd 15.04 and newer.
2015-07-02 13:58:51 +02:00
badlop 2a953da2fb Merge pull request #107 from weiss/update-for-15.06
Update modules to work with ejabberd 15.06
2015-06-29 14:00:29 +02:00
Badlop 6d655af0c4 Update to work with ejabberd 15.06 2015-06-26 17:53:25 +02:00
Badlop db91c97614 Copy scram.erl from upstream, renamed to scram2.erl 2015-06-26 17:53:25 +02:00
Badlop ff61b1a2e1 Update ejabberd_auth_http source code from upstream 2015-06-26 17:53:25 +02:00
Holger Weiss 33ec5968d7 Update mod_log_chat to work with ejabberd 15.06 2015-06-25 21:38:43 +02:00
Holger Weiss 32043a80eb Update mod_logxml to work with ejabberd 15.06 2015-06-25 21:34:12 +02:00
Holger Weiss 94a439726b Update mod_post_log to work with ejabberd 15.06 2015-06-25 21:31:04 +02:00
Holger Weiss 00267eeb71 Update mod_statsdx to work with ejabberd 15.06 2015-06-25 21:29:02 +02:00
Holger Weiss 746d198cc3 Update mod_message_log to work with ejabberd 15.06 2015-06-25 21:24:37 +02:00
Holger Weiss 5363043402 Update mod_mam_mnesia to work with ejabberd 15.06 2015-06-25 21:17:17 +02:00
Holger Weiss 564691c7a6 mod_mam_mnesia: Remove TODO file
Future development efforts will focus on the mod_mam version shipped
with ejabberd.
2015-06-25 21:10:26 +02:00
Holger Weiss 932987447d Rename mod_mam to mod_mam_mnesia
Rename mod_mam so that users can continue to run it until we provide an
upgrade path to the mod_mam version shipped with ejabberd 15.06.
2015-06-25 21:08:56 +02:00
Holger Weiss 76c6d17d4b mod_log_chat: Don't call xml:element_to_string/1
The xml module now exports xml:element_to_binary/1, instead.
2015-06-25 21:01:21 +02:00
Badlop 89e0a70e44 ejabberd_auth_http bad argument in call to lists:keyfind (#104) 2015-05-25 11:59:11 +02:00
Badlop 98ab39f962 Fix mod_log_chat and mod_cron compilation (thanks to Mathias Ertl)(#103) 2015-05-12 16:39:02 +02:00
badlop be350628c7 Merge pull request #102 from santiago26/patch-1
Rename README.txt to README.md
2015-05-07 17:47:27 +02:00
Santiago26 2852dee33f Rename README.txt to README.md
md-formatted txt:)
2015-05-05 20:44:57 +03:00
Christophe Romain 9eca69d092 Remove modules included in ejabberd 15.04 2015-04-30 09:02:06 +02:00
Christophe Romain e5336f02db Remove obsolete file 2015-04-29 12:59:44 +02:00
Badlop 97834d2483 Rename specs to avoid name conflict, and use _ insted of - (#100) 2015-04-28 09:23:04 +02:00
Badlop c8dca7f0a5 Added specs for four modules 2015-04-27 13:14:29 +02:00
Holger Weiss eb52291ca1 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:16:52 +02:00