Badlop
ce4c11f5fe
Add mod_opt_type function ( #121 )
2015-09-16 10:32:42 +02:00
Badlop
2cfe253b9b
In yml config, use # as comment instead of ; ( #121 )
2015-09-16 10:23:24 +02:00
Badlop
e5d66210f0
Fix comment character encoding (thanks to Evgeniy)( #121 )
2015-09-15 16:53:19 +02:00
Holger Weiss
6ca6f021cc
mod_http_upload: Handle HEAD and OPTIONS requests
2015-09-14 21:58:38 +02:00
Holger Weiss
645d29a264
mod_http_upload: Suggest cron jobs in README.txt
...
Admins might want to set up cron jobs to remove old uploaded files.
2015-09-14 01:47:14 +02:00
Holger Weiss
5142174b98
mod_http_upload: Mention Django app in README.txt
...
Mention the Django app written by Mathias Ertl as an example of a
service that can be used together with mod_http_upload.
2015-09-14 01:13:07 +02:00
Holger Weiss
a6c7dc9b8a
mod_http_upload: Set mode bits of all directories
...
When the "dir_mode" option is specified and the file root/a/b/file.png
is uploaded, make sure the permissions of the "a" directory are also
set.
2015-09-14 01:01:29 +02:00
Holger Weiss
f3bf402e7a
mod_http_upload: Stop correct process name
...
Make sure the stop/1 function uses the same process name as the start/2
function.
2015-09-14 00:49:31 +02:00
Badlop
31f19239d7
Provide an example configuration
2015-09-10 11:40:00 +02:00
Holger Weiss
c12e225e88
mod_mam_mnesia: Never store error messages
...
Don't store messages of type "error", even if it has a <store/> hint.
2015-09-02 20:45:04 +02:00
Badlop
3e4f4baeca
Fix bug in mod_webpresence config which mentioned mod_presence ( #119 )
2015-09-02 17:09:13 +02:00
Holger Weiss
96adf84c6f
mod_mam_mnesia: Check for <store/> hint
...
Respect the <store/> and <pretty-please-store/> hints. Both tell the
server to store a message even if it would otherwise not be stored
(e.g., because it doesn't have a body). These hints are not (yet) part
of XEP-0334, though.
2015-09-01 00:01:25 +02:00
Holger Weiss
9eb68b4ef3
mod_http_upload: Add "custom_headers" option
...
The new "custom_headers" option allows admins to specify header fields
that are added to HTTP responses.
2015-08-31 22:24:52 +02:00
Holger Weiss
10092e3bd5
mod_http_upload: Use DEFAULT_CONTENT_TYPE macro
2015-08-31 20:08:55 +02:00
Holger Weiss
d45ec798ee
mod_http_upload: Make file/dir modes configurable
...
The new "file_mode" and "dir_mode" options allow admins to specify the
permission bits of files and directories created by mod_http_upload.
2015-08-31 20:06:22 +02:00
Holger Weiss
12274a2adc
mod_http_upload: Fix HTTP response matching
...
Fix the case where a service_url is specified and the service returns a
non-2xx status code.
2015-08-30 00:12:53 +02:00
Holger Weiss
19044ccb85
mod_http_upload: Support XEP-0363 namespace
2015-08-27 23:40:26 +02:00
Holger Weiss
06def469a4
mod_http_upload: Apply minor cosmetic changes
2015-08-27 21:56:09 +02:00
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