Eric Cestari
363711a370
New features :
...
- edit an item
- edit node configuration
2010-09-07 16:22:57 +02:00
Eric Cestari
bf98fa0c01
Added node creation with configure form
...
Added deletion
Better behavior in case of a crash (returns 500)
2010-09-07 14:35:40 +02:00
Eric Cestari
cd923838c3
Making progress on the Atom interface.
...
- GET items
- POST items
- GET nodes
HTTP error codes now are the ones XMPP returns.
2010-09-07 11:32:14 +02:00
Eric Cestari
a22ebd3c49
Added support for GET a single item
...
and GET an atom feed of a node
2010-09-03 15:54:51 +02:00
Eric Cestari
353d16b8ef
Post to pubsub using http POST :
...
{5280, ejabberd_http, [
http_poll,
web_admin,
{request_handlers, [{["pshb"], pshb_http}]} % this should be added
]}
To post to a node the content of the file "sam.atom" on the "foo", on the localhost virtual host, using cstar@localhost
curl -u cstar@localhost:encore -i -X POST http://localhost:5280/pshb/localhost/foo -d @sam.atom
2010-09-02 16:57:21 +02:00
Badlop
d87fff1a4c
Bugfix http-poll for correctly parsing binary (thanks to Peter Lemenkov)
2010-08-19 17:38:38 +02:00
Christophe Romain
7be707f7bc
Merge branch '2.1.x' into 2.2.x
2010-08-05 10:20:47 +02:00
Badlop
367353100b
Don't say v1.2, because that number is never increased and is confusing
2010-07-28 19:59:39 +02:00
Christophe Romain
628571f8cf
merge from ekhramtsov-ejabberd, which is latest 2.1.x with consistent hash
2010-07-13 12:04:30 +02:00
Badlop
12e00c57f9
When using OTP R14, use public_key library instead of old ssl (EJAB-953)
2010-07-12 13:57:07 +02:00
Evgeniy Khramtsov
715cc5ea3b
New configure option: --enable-nif
2010-07-01 20:54:01 +10:00
Badlop
3ab90c9d3a
Don't ask for client certificate when using tls (EJAB-1267)
2010-06-25 18:33:46 +02:00
Badlop
a28aaa1fdd
Log error when HTTP request has ambiguous Host header (EJAB-1261)
2010-06-16 11:33:17 +02:00
Badlop
d4ec7a2f01
New optional BOSH connection attribute process-delay (EJAB-1257)
2010-06-07 13:44:55 +02:00
Christopher tofu Zorn
d4d45f3a50
remove the silly loop that isnt needed, this speeds up all requests by 100 milliseconds. Clean up prepare response function and add two new functions to handle out going payloads based of whether its a new session or not.
2010-05-27 21:21:17 +02:00
Christopher tofu Zorn
08f1f55e0c
typo on exported function
2010-05-20 20:45:37 +02:00
Christopher tofu Zorn
5ea9a0ddb7
expose more functions so developers can implement prebinding methods
2010-05-20 20:32:07 +02:00
Badlop
c32332898b
Show HTTP auth username and IP address in logs, not the password (EJAB-1231)
2010-05-12 10:27:47 +02:00
Badlop
4bbf6684b4
Don't show HTTP request in logs, because reveals password (EJAB-1231)
2010-05-10 23:23:31 +02:00
Badlop
6ac46c6171
Fix EDoc comment
2010-05-10 16:12:48 +02:00
Christopher tofu Zorn
cce57310b0
Change max inactivity from 30 to 120 seconds
2010-05-06 20:52:40 +02:00
Christopher tofu Zorn
516d369174
Use dirty_delete when removing the session.
...
There is no need for a transaction and has less overhead
2010-05-06 20:52:36 +02:00
Badlop
cd9e1621f9
Add xml default content type (thanks to Aaron Winborn)(EJAB-1214)
2010-04-28 20:06:27 +02:00
Badlop
2a99af8cce
Rename some JEP references to XEP
2010-04-28 20:06:27 +02:00
Badlop
705c5b4c1c
New Access rule webadmin_view for read-only (thanks to Oleg Palij)(EJAB-213)
2010-04-27 23:27:44 +02:00
Mickael Remond
214c62bf9c
Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example.
2010-03-15 11:42:11 +01:00
Badlop
4a7a33168a
Reduce verbosity of HTTP Binding log messages (thanks to Alexey Shchepin)
2010-02-19 00:01:26 +01:00
Badlop
6867ca43e4
Cross-domain HTTP-Bind support (thanks to Jack Moffitt)(EJAB-1168)
2010-02-15 22:42:59 +01:00
Badlop
071aa123e8
Allow a request_handler to serve a file in root of HTTP
2010-02-10 20:17:09 +01:00
Pablo Polvorin
bc70e90853
Add new debuging hook to the http receiving process.
...
The new hook is called http_request_debug, and receive the LocalPath and Request as parameter.
SVN Revision: 2961
2010-02-05 13:30:27 +01:00
Pablo Polvorin
787e078f6a
Hibernate http-bind process after handling a request.
...
When using BOSH, this reduces memory consuption of the http-bind process, with negligible CPU impact.
SVN Revision: 2960
2010-02-05 13:30:27 +01:00
Evgeniy Khramtsov
9d84caebdb
avoid resending <stream:error> stanzas on terminate (EJAB-1180)
...
SVN Revision: 2955
2010-02-03 11:25:03 +00:00
Badlop
7b76fdcde7
Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)
...
SVN Revision: 2891
2010-01-12 16:11:32 +00:00
Badlop
ee77257d41
Support in user list page of WebAdmin when mod_offline is disabled (EJAB-377)
...
SVN Revision: 2877
2010-01-12 12:02:50 +00:00
Badlop
05ee83bddc
Improve parsing of ejabberd_sm:get_user_info result.
...
SVN Revision: 2857
2010-01-04 18:59:01 +00:00
Badlop
ee41e1eb70
Show the last activity time in the user page.
...
SVN Revision: 2854
2010-01-03 00:40:37 +00:00
Badlop
50137aa98d
Add +export_all to EFLAGS if: make debug=true (thanks to Marcin Owsiany)(EJAB-1134)
...
SVN Revision: 2842
2009-12-29 19:10:52 +00:00
Badlop
65aed47873
Show Last Activity menu item in Webadmin only if vhost has mod_last (EJAB-1031)
...
SVN Revision: 2799
2009-12-09 17:47:02 +00:00
Badlop
8ac16a0ec1
Call in WebAdmin the proper mod_last backend module (EJAB-1031)
...
SVN Revision: 2798
2009-12-09 17:46:51 +00:00
Badlop
e3b4c99b00
Apply a forgotten part of the original patch (EJAB-1119)
...
SVN Revision: 2792
2009-12-08 17:32:46 +00:00
Badlop
1f5bf8fbc0
Fix memory and port leak when TLS is enabled in HTTP (thanks to Brian Cully)(EJAB-1119)
...
SVN Revision: 2790
2009-12-07 17:33:02 +00:00
Badlop
2265f52c34
Fix warning of unused variable
...
SVN Revision: 2776
2009-12-03 22:53:39 +00:00
Badlop
7b244652f1
Use os:getenv to get HOME; if variable is undefined use default values.
...
SVN Revision: 2773
2009-12-03 15:59:01 +00:00
Badlop
325e67f4cb
Use old regexp instead re in 2.x for pre-R12B-4 compatibility.
...
SVN Revision: 2771
2009-12-02 23:26:28 +00:00
Badlop
58425ba45d
Show informative webpage when browsing the HTTP-Poll page (EJAB-1106)
...
SVN Revision: 2751
2009-11-23 15:21:05 +00:00
Badlop
1716b090f9
Option to define custom HTTP headers in mod_http_fileserver (EJAB-612)
...
SVN Revision: 2747
2009-11-23 12:00:46 +00:00
Badlop
a232d16ff4
Body tag not properly closed in HTTP-Bind (thanks to Janusz Dziemidowicz)(EJAB-1075)
...
SVN Revision: 2685
2009-10-20 09:56:12 +00:00
Mickaël Rémond
006515020a
Support gen_tcp send timeout: Close the connection if the other end has disconnected ungracefully or cannot keep up with the rate at which we are sending data (EJAB-926)
...
SVN Revision: 2671
2009-10-19 09:36:23 +00:00
Badlop
f25b2266bd
Fix wrong XEP number to XEP-0227. Recompile translation files.
...
SVN Revision: 2617
2009-09-23 17:25:04 +00:00
Christophe Romain
970973cb9a
fix compilation warning
...
SVN Revision: 2601
2009-09-18 13:29:08 +00:00
Christophe Romain
719aff1088
Return terminal binding condition on max stanza size limit (thanks to Aleksey)
...
SVN Revision: 2600
2009-09-18 13:17:07 +00:00
Badlop
d678a21f21
Change some error messages.
...
SVN Revision: 2587
2009-09-07 14:28:08 +00:00
Badlop
a033b06150
BOSH module optimization and clean-up (thanks to Aleksey Shchepin and Mickaël Rémond)(EJAB-936)
...
SVN Revision: 2574
2009-08-31 18:37:52 +00:00
Badlop
fd57ec5872
Support zlib compression after STARTTLS (thanks to Aleksey Shchepin)(EJAB-499)
...
SVN Revision: 2571
2009-08-31 16:29:25 +00:00
Badlop
45b12ec886
Fix EDoc errors.
...
SVN Revision: 2494
2009-08-17 17:16:43 +00:00
Badlop
5438504fbf
Fix english strings
...
SVN Revision: 2466
2009-08-12 10:42:08 +00:00
Badlop
44ac69f8de
Add support in WebAdmin for the new listener network protocol
...
SVN Revision: 2462
2009-08-11 18:22:58 +00:00
Badlop
f9a8b9ff31
Add support for XEP-227 import/export, requires exmpp to use it (EJAB-993)
...
SVN Revision: 2439
2009-08-07 09:52:45 +00:00
Badlop
140d938bc3
Add support to delete content and delete table.
...
SVN Revision: 2388
2009-07-23 15:23:02 +00:00
Badlop
b3eb800be1
Log an error if HTTP request does not include Host header (EJAB-966)
...
SVN Revision: 2386
2009-07-23 14:50:58 +00:00
Badlop
5346a7df02
Allow content types to be configured in ejabberd.cfg (EJAB-975)(thanks to Brian Cully)
...
SVN Revision: 2376
2009-07-21 17:31:09 +00:00
Badlop
367365f816
moved some log reports from error to debug level (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2373
2009-07-20 09:21:30 +00:00
Badlop
480c98e991
Revert workaround of EJAB-611 because it seems no longer required (EJAB-709)
...
SVN Revision: 2370
2009-07-17 21:46:26 +00:00
Badlop
29a11c89b1
Improvements in the WebAdmin browsing menus.
...
SVN Revision: 2334
2009-06-23 21:00:43 +00:00
Badlop
46ff889bd3
Add Vim folding
...
SVN Revision: 2333
2009-06-23 20:45:39 +00:00
Badlop
34a490361f
Detect auth errors and report in log file. Support auth when domain not provided.
...
SVN Revision: 2330
2009-06-22 22:58:52 +00:00
Badlop
19fbe884d7
Add forgotten copyright and license notices.
...
SVN Revision: 2258
2009-06-16 17:48:27 +00:00
Badlop
95aa4653cb
Easier debugging (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2257
2009-06-16 17:48:22 +00:00
Badlop
d950fb96b6
Code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2256
2009-06-16 17:48:18 +00:00
Badlop
ada531bd8d
Started code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2255
2009-06-16 17:48:13 +00:00
Badlop
caf9c4f65e
Replaced sha1 to hexadecimal transformation with sha:sha/1 call (thanks to Alexey Shchepin)
...
SVN Revision: 2254
2009-06-16 17:48:08 +00:00
Badlop
606e1982a9
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2253
2009-06-16 17:48:04 +00:00
Badlop
660bbaee3d
Simplified code.(thanks to Michael Remond)
...
SVN Revision: 2252
2009-06-16 17:48:00 +00:00
Badlop
65bc1122b2
Properly warn user and admin when mod_http_bind is not started.(thanks to Michael Remond)
...
SVN Revision: 2251
2009-06-16 17:47:56 +00:00
Badlop
7f8c01b150
Do not clear input when dispatching a get when we have nothing to output. (thanks to Geoff Cant)
...
SVN Revision: 2250
2009-06-16 17:47:51 +00:00
Badlop
20060d9cf6
Changed the place where database is created(thanks to Michael Remond)
...
SVN Revision: 2249
2009-06-16 17:47:47 +00:00
Badlop
67570668b6
Fix remote-stream-error stanzas
...
SVN Revision: 2248
2009-06-16 17:47:41 +00:00
Badlop
5fc16bc830
New option max_inactivity to configure maximum inactivity period (EJAB-512)
...
SVN Revision: 2247
2009-06-16 17:47:23 +00:00
Badlop
feded4b0b7
Fix warning of unused Host variable
...
SVN Revision: 2246
2009-06-16 17:47:17 +00:00
Badlop
15a6e660b9
Include condition in http-bind terminate body when service stops (EJAB-792)
...
SVN Revision: 2245
2009-06-16 17:47:12 +00:00
Badlop
1ce4eb06a7
Fix unknown rid error (thanks to Jerome Sautret)
...
SVN Revision: 2244
2009-06-16 17:47:07 +00:00
Badlop
3e9b5d4ed4
Implement packets reordering to avoid race conditions (EJAB-724).(thanks to Michael Remond)
...
SVN Revision: 2243
2009-06-16 17:47:03 +00:00
Badlop
b8478c50b9
Updated IP retrieving (thanks to Alexey Shchepin)
...
SVN Revision: 2242
2009-06-16 17:46:59 +00:00
Badlop
e9ee9959a1
Improve ip fetching patch (thanks to Christohpe Romain)
...
SVN Revision: 2241
2009-06-16 17:46:55 +00:00
Badlop
2d9f715d65
Retrieve correct IP from http connection (thanks to Christohpe Romain)
...
SVN Revision: 2240
2009-06-16 17:46:51 +00:00
Badlop
44c2259a43
Fix syntax error. (thanks to Jerome Sautret)
...
SVN Revision: 2239
2009-06-16 17:46:46 +00:00
Badlop
17de26d800
Removed HTTP bind session count. Removed the 'sponsored bind session' text. (thanks to Michael Remond)
...
Details:
Removed the HTTP bind session count because it leaks information on the size of the platform.
Removed the text 'sponsored by Mabber' because it is confusing, as people could think a third-party service using HTTP bind is sponsored by Mabber.
SVN Revision: 2238
2009-06-16 17:46:42 +00:00
Badlop
154a0d1c96
Do not display error message when starting several hosts (EJAB-571) (thanks to Christohpe Romain)
...
SVN Revision: 2237
2009-06-16 17:46:37 +00:00
Badlop
1626ede210
Provide explanation in error message when module is already started for another vhost
...
SVN Revision: 2236
2009-06-16 17:46:33 +00:00
Badlop
e14c3f4699
Removed small warning
...
SVN Revision: 2235
2009-06-16 17:46:29 +00:00
Badlop
9e309d2a38
Bugfixes (thanks to Alexey Shchepin)
...
SVN Revision: 2234
2009-06-16 17:46:25 +00:00
Badlop
a00b7fd89b
Removed receive_loop (thanks to Alexey Shchepin)
...
SVN Revision: 2233
2009-06-16 17:46:21 +00:00
Badlop
d036802891
Remove Erlang module attribute 'vsn' because it does not provide any worth feature, and it difficults hot code update (EJAB-440)
...
SVN Revision: 2232
2009-06-16 17:46:16 +00:00
Badlop
0047e4192b
Bugfix when table does not exist (thanks to Justin Kirby)
...
SVN Revision: 2231
2009-06-16 17:46:12 +00:00
Badlop
261b7dc0d9
Migration code for people using previous version of the HTTP binding module (EJAB-390)
...
SVN Revision: 2230
2009-06-16 17:46:08 +00:00
Badlop
b42dd00a53
Do not overwrite the stanza namespace (thanks to Anastasia Gornostaeva)
...
SVN Revision: 2229
2009-06-16 17:46:03 +00:00
Badlop
4a83538cf6
Support for c2s ACL access, max_stanza and shaper on http_poll connections (EJAB-243, EJAB-415, EJAB-416)(thanks to Michael Remond)
...
SVN Revision: 2228
2009-06-16 17:45:59 +00:00
Badlop
a314cdf26f
The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it is recommended to use string:to_lower/1 instead.
...
SVN Revision: 2227
2009-06-16 17:45:55 +00:00
Badlop
51a55723cf
Use DEBUG instead of INFO_MSG to keep log files small. Fix parse errors for grepping 'stream:error' (thanks to Stefan Strigler)
...
SVN Revision: 2226
2009-06-16 17:45:50 +00:00
Badlop
4dac8f437f
Forgot keyword 'catch' when doing list_to_float on bosh version attribute for initial request (thanks to Stefan Strigler)
...
SVN Revision: 2225
2009-06-16 17:45:46 +00:00