Badlop
2627182cdb
Don't call directly mod_mam in mod_rest, instead run a hook
2018-09-05 12:06:14 +02:00
Badlop
b130567e16
Update mod_rest to work with recent ejabberd's jid instead of jlib ( #257 )
2018-09-05 12:05:48 +02:00
Paweł Chmielowski
017ce87198
mod_rest don't really need ejabebrd.hrl
2018-07-02 10:07:44 +02:00
Badlop
06dbe80c65
Add mod_options callback function ( #250 )
2018-06-27 11:38:17 +02:00
Badlop
9fe5f383dc
Fix code to support sending iq and presence, not only message
2018-02-15 17:01:05 +01:00
Badlop
e93af70b57
Update to work with 17.03+
2017-02-23 21:29:55 +01:00
Badlop
fc901d9dea
Update mod_rest to 16.12, but can send only messages, not iq or presence ( #196 )
2017-02-23 18:21:17 +01:00
Jonathan Gueron
ebd2671963
fix build warning
...
src/mod_rest.erl:27: Warning: undefined callback function depends/2 (behaviour 'gen_mod')
2016-09-08 18:50:27 +03:00
Badlop
065ab08592
mod_rest allowing ip range ( #175 )
2016-07-25 16:57:34 +02:00
Badlop
f806442b9c
Add mod_opt_type callback function desired by gen_mod ( #163 )
2016-07-06 12:48:53 +02:00
Badlop
7429577b7a
Ensure --auth is provided, so ejabberd_ctl checks AccessCommands ( #159 )
2016-04-15 13:35:46 +02:00
Paweł Chmielowski
7f75aa0372
Fix unicode character handling in command arguments
...
Many thanks to Krzysztof Grochocki for finding this fix.
This fixes issue #153 .
2016-03-10 23:53:33 +01:00
Holger Weiss
c5daf56385
Update mod_rest to work with ejabberd 16.02
2016-03-08 00:35:30 +01:00
Badlop
0d2fa84c8a
Update mod_rest as xml_stream:parse_element requires binary ( #138 )
2015-12-29 13:25:04 +01:00
Badlop
fa47490da4
Report problem when mod_rest receives malformed stanza ( #65 )
2015-04-15 13:37:09 +02:00
Badlop
53ca8bafba
Update FSF address (solves #73 )
2015-02-25 15:17:31 +01:00
Sonny Scroggin
73e6b7ed22
Add support for using yaml config file.
...
When converting to use the yaml config, the option for `allowed_ips`
gets stored as a binary. But needs to be compared against the client ip
of the request (which is a tuple). This converts the list of binaries
into a list of ip tuples.
2014-03-18 11:36:57 -05:00
Sonny Scroggin
9a30d2d022
Clean up.
2014-03-18 11:36:56 -05:00
Sonny Scroggin
b194fd5c99
Just return the value if it exists, otherwise return the default.
...
The guard here caused the ‘EXIT’ clause to be triggered in
`ejabberd_config:prepare_opt_val/4` on line 573 of
`ejabberd_config.erl`.
2014-03-18 11:36:56 -05:00
Badlop
a5ae331263
Fix mod_rest to work with ejabberd master
2013-09-25 18:43:27 +02:00
Paul Donohue
da98b215a9
Some more binary conversions in mod_muc_admin, mod_rest, and mod_shcommands
...
mod_rest may still need more work
2013-07-31 14:04:54 -04:00
Badlop
ee7d3c7030
Initial import from ejabberd-modules SVN
2013-04-15 12:03:14 +02:00