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
Badlop
7bfd87bec6
Fixes for pausing sessions; did not parse 'pause' attribute to int (thanks to Stefan Strigler)
...
SVN Revision: 2224
2009-06-16 17:45:42 +00:00
Badlop
bb26498faf
Support pausing sessions (thanks to Stefan Strigler) (thanks to Stefan Strigler)
...
SVN Revision: 2223
2009-06-16 17:45:38 +00:00
Badlop
222cabb745
Comment-header: talk about xmpp over bosh rather than http binding (thanks to Stefan Strigler)
...
SVN Revision: 2222
2009-06-16 17:45:34 +00:00
Badlop
c55ee29a24
Removed debugging stuff. Removed error condition (thanks to Stefan Strigler)
...
SVN Revision: 2221
2009-06-16 17:45:26 +00:00
Badlop
4cce314c11
Code cleanup. Code reorganization. Store version of bosh session. Use bosh version for error conditions (thanks to Stefan Strigler)
...
SVN Revision: 2220
2009-06-16 17:45:22 +00:00
Badlop
8a89b1737f
Store version as float (thanks to Stefan Strigler)
...
SVN Revision: 2219
2009-06-16 17:45:16 +00:00
Badlop
e7417c2f8b
Save bosh version with session (thanks to Stefan Strigler)
...
SVN Revision: 2218
2009-06-16 17:45:12 +00:00
Badlop
4ebeb4d6d0
Code rearranged (thanks to Stefan Strigler)
...
SVN Revision: 2217
2009-06-16 17:45:09 +00:00
Badlop
eea6a1a544
Make use of macros for namespaces. Some code cleanup. (thanks to Stefan Strigler)
...
SVN Revision: 2216
2009-06-16 17:44:59 +00:00
Badlop
fbf4a7aa35
Fix for 'terminate' in request, send empty body instead of error (thanks to Stefan Strigler)
...
SVN Revision: 2215
2009-06-16 17:44:55 +00:00
Badlop
9b8d897b5f
Disabled debugging (thanks to Stefan Strigler)
...
SVN Revision: 2214
2009-06-16 17:44:51 +00:00
Badlop
f248cfd18d
Some code cleanup (thanks to Stefan Strigler)
...
SVN Revision: 2213
2009-06-16 17:44:47 +00:00
Badlop
100befc771
Bosh compliance: honor xmpp:version (thanks to Stefan Strigler)
...
SVN Revision: 2212
2009-06-16 17:44:42 +00:00
Badlop
4ed01b98de
Restore ejabberd directory structure (src/web) for integration as patch (thanks to Christohpe Romain)
...
SVN Revision: 2211
2009-06-16 17:44:38 +00:00
Badlop
68ae80ed2f
We do not send a 'version' attribute at the stream header for now (thanks to Stefan Strigler)
...
SVN Revision: 2210
2009-06-16 17:44:34 +00:00
Badlop
0da3b27dfe
Prepare_response: fixed a dbg message. Changed http header (thanks to Stefan Strigler)
...
SVN Revision: 2209
2009-06-16 17:44:29 +00:00
Badlop
3dbfd827bb
Implements sockname and peername for compatibility (thanks to Christohpe Romain)
...
SVN Revision: 2208
2009-06-16 17:44:25 +00:00
Badlop
70fd795a1b
Reverted to r76 as 97 is completely broken and should not have been checked in at all (thanks to Stefan Strigler)
...
SVN Revision: 2207
2009-06-16 17:44:13 +00:00
Badlop
2e402c27f4
Minor changes (thanks to Stefan Strigler)
...
SVN Revision: 2206
2009-06-16 17:44:08 +00:00
Badlop
673a7aad55
Disabled debug (thanks to Stefan Strigler)
...
SVN Revision: 2205
2009-06-16 17:44:04 +00:00
Badlop
88d32b1064
Deal with return values from starting/terminating supervisor (thanks to Stefan Strigler)
...
SVN Revision: 2204
2009-06-16 17:44:00 +00:00
Badlop
5b09c35dea
Disabled debug (thanks to Stefan Strigler)
...
SVN Revision: 2203
2009-06-16 17:43:55 +00:00
Badlop
18f183e4e3
Removed my own supervisor (thanks to Stefan Strigler)
...
SVN Revision: 2202
2009-06-16 17:43:51 +00:00
Badlop
15b0841282
Renamed some vars for (thanks to Stefan Strigler)
...
SVN Revision: 2201
2009-06-16 17:43:47 +00:00
Badlop
da6c4f9941
Start supervisor here (thanks to Stefan Strigler)
...
SVN Revision: 2200
2009-06-16 17:43:43 +00:00
Badlop
7ed7ca6e1e
Make use of new api for plugable http based services (thanks to Stefan Strigler)
...
SVN Revision: 2199
2009-06-16 17:43:39 +00:00
Badlop
bbe82647e8
Initial commit of HTTP-Bind source code (thanks to Stefan Striegler)
...
SVN Revision: 2198
2009-06-16 17:43:35 +00:00
Badlop
e43271216f
Add forgotten copyright and license notices.
...
SVN Revision: 2181
2009-06-16 13:45:57 +00:00