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
c34999cc96
Add permanent section about mod_http_fileserver to the Guide. Example config.
...
SVN Revision: 2182
2009-06-16 13:46:03 +00:00
Badlop
e43271216f
Add forgotten copyright and license notices.
...
SVN Revision: 2181
2009-06-16 13:45:57 +00:00
Badlop
c4e80abeac
New option directory_indices, and improve logging (thanks to Brian Cully)(EJAB-932)
...
SVN Revision: 2180
2009-06-16 13:45:51 +00:00
Badlop
1bcc001615
Fix capitalization of HTTP headers (thanks to Brian Cully)(EJAB-892)
...
SVN Revision: 2179
2009-06-16 13:45:46 +00:00
Badlop
83e96f155a
Converted to gen_server behaviour (EJAB-561). Use the general reopen_log_hook instead of ejabberdctl command.
...
SVN Revision: 2178
2009-06-16 13:45:33 +00:00
Badlop
3681835668
Fix ip source to comply with new ip storage into ejabberd_http (thanks to Christophe Romain)
...
SVN Revision: 2177
2009-06-16 13:45:22 +00:00
Badlop
d2684bc3e8
Use httpd_util:to_lower when not compiling with Erlang R12 (EJAB-628)
...
SVN Revision: 2176
2009-06-16 13:45:17 +00:00
Badlop
c4ca19d313
Added JavaScript content type
...
SVN Revision: 2175
2009-06-16 13:45:12 +00:00
Badlop
a9ab002f48
Include Last-Modified HTTP header in responses to allow caching (EJAB-546) in mod_http_fileserver and mod_muc_log_http.
...
SVN Revision: 2174
2009-06-16 13:45:03 +00:00
Badlop
b416ed03c9
Fix error creating ETS table if enabled in several vhosts (EJAB-551). Unregister the command when stopping the module.
...
SVN Revision: 2173
2009-06-16 13:44:58 +00:00
Badlop
2190055a06
Remove Erlang module attribute 'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440)
...
SVN Revision: 2172
2009-06-16 13:44:53 +00:00
Badlop
7e426b9623
The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it's recommended to use string:to_lower/1 instead.
...
SVN Revision: 2171
2009-06-16 13:44:48 +00:00
Badlop
bd106bd45f
Small change in accesslog file format; fix bug when accesslog conf parameter wasn't present in the conf file (thanks to Jerome Sautret)
...
SVN Revision: 2170
2009-06-16 13:44:38 +00:00
Badlop
99fe76f8bc
Added accesslog parameter to record requests log in a file similar to Apache (thanks to Jerome Sautret)
...
SVN Revision: 2169
2009-06-16 13:44:32 +00:00
Badlop
eedef994a9
Initial commit of mod_http_fileserver (thanks to Massimiliano Mirra)
...
SVN Revision: 2168
2009-06-16 13:44:26 +00:00
Mickaël Rémond
732ad47559
Fix syntax error in config file.
...
SVN Revision: 2165
2009-06-16 00:47:43 +00:00
Badlop
83ffe1989a
Ad-hoc commands to join IRC channel, set nickname and encoding (thanks to Magnus Henoch)(EJAB-302)
...
SVN Revision: 2164
2009-06-15 18:56:52 +00:00
Badlop
e0370d89b4
Add option to restrict max offline messages by Access and ACL (EJAB-951)
...
New option for mod_offline: access_max_user_messages.
The old option user_max_messages is no longer supported.
SVN Revision: 2162
2009-06-15 17:43:18 +00:00
Badlop
de15168cdb
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2159
2009-06-15 17:26:48 +00:00
Christophe Romain
ddd3e58f35
add greetings to Brian Cully for pubsub contribs
...
SVN Revision: 2158
2009-06-15 13:58:40 +00:00
Christophe Romain
50b73664e2
experimental patch including XEP-248 (thanks to Brian Cully)
...
SVN Revision: 2157
2009-06-15 13:45:40 +00:00
Badlop
6f080f7fed
Prevent process crash if the IP and port of a connection is unknown.
...
SVN Revision: 2155
2009-06-11 18:01:36 +00:00
Badlop
ce7e9129d9
When client is closed, include the Reason in the stream trailer stanza.
...
SVN Revision: 2153
2009-06-09 12:09:48 +00:00
Badlop
f767def249
Add forgotten copyright and license notices. Fix blackspaces.
...
SVN Revision: 2151
2009-06-09 10:56:14 +00:00
Evgeniy Khramtsov
5583a3f7dc
fixes typo in Russian translation
...
SVN Revision: 2149
2009-06-09 07:03:27 +00:00
Evgeniy Khramtsov
b7fd730409
Malformed CAPTCHA response may crash a room. This is now fixed.
...
SVN Revision: 2148
2009-06-09 03:53:36 +00:00
Badlop
1266bf48e6
Update Spanish translation
...
SVN Revision: 2147
2009-06-05 15:22:29 +00:00
Badlop
459074fd97
Update French translation (thanks to Nicolas Vérité)
...
SVN Revision: 2146
2009-06-05 15:07:15 +00:00
Badlop
3b5a74b34e
Update Russian translation (thanks to Evgeniy Khramtsov)
...
The translator improves ru.po Russian translation.
Later ru.msg is automatically obtained by calling: make translations
SVN Revision: 2145
2009-06-03 16:41:44 +00:00
Badlop
049b7c5d11
Update ejabberd.pot and *.po, compile *.msg. All this by calling: make translations
...
SVN Revision: 2144
2009-06-03 16:41:34 +00:00
Evgeniy Khramtsov
97e2b39b69
updated russian translation
...
SVN Revision: 2143
2009-06-03 15:39:30 +00:00
Badlop
48392832ef
When max_stanza_size is exceeded, return meaningful error message (EJAB-752)
...
SVN Revision: 2142
2009-06-02 21:24:33 +00:00
Badlop
72b842d8d1
Remove support of deprecated Disco Publish XEP-0030 (EJAB-904)
...
SVN Revision: 2140
2009-06-02 18:07:59 +00:00
Badlop
05187325ee
Fix Access check: the rule can be defined in a vhost or global.
...
SVN Revision: 2136
2009-06-01 18:04:18 +00:00
Christophe Romain
fa5b06f542
apply patch from EJAB-845
...
SVN Revision: 2118
2009-05-29 02:14:07 +00:00
Christophe Romain
bf57f712da
fix nodetree virtual to allow node subscription
...
SVN Revision: 2117
2009-05-29 00:44:07 +00:00
Christophe Romain
c27d6fddf4
make flat the default node plugin
...
SVN Revision: 2116
2009-05-29 00:27:26 +00:00
Christophe Romain
6bd70aaf09
fix ets table name change
...
SVN Revision: 2115
2009-05-29 00:13:21 +00:00
Christophe Romain
cdd3ab17ae
remove useless debug
...
SVN Revision: 2113
2009-05-28 23:02:02 +00:00
Christophe Romain
039d5b8367
pubsub: added configuration option in guide.tex, added last item cache, use default node type if given type is not configured, make node_flat the default node plugin. caps: improve cache handling
...
SVN Revision: 2112
2009-05-28 22:30:43 +00:00
Badlop
af32a18b4b
Update CSS of WebAdmin menu
...
SVN Revision: 2108
2009-05-27 17:29:01 +00:00
Badlop
4094482a9f
Support to select what modules to update. Split large function in smaller ones.
...
SVN Revision: 2107
2009-05-27 17:28:55 +00:00
Christophe Romain
7f5cce8196
make get_items able to sort items in publish order (EJAB-824)
...
SVN Revision: 2105
2009-05-26 22:50:11 +00:00
Christophe Romain
ffe2d532bf
improve get_entity_* to work regardless of nodetree (EJAB-937)
...
SVN Revision: 2104
2009-05-26 21:50:13 +00:00