Commit graph

2455 commits

Author SHA1 Message Date
Kim Alvefur
135071b736 mod_http_errors: Add a newline after end of HTML 2016-07-12 10:39:04 +02:00
Kim Alvefur
2d847c082f mod_http_files: Send larger files using new file handle API 2016-07-11 12:20:25 +02:00
Kim Alvefur
1d46e953aa mod_http_files: Switch to use util.cache for cache 2016-07-11 12:17:59 +02:00
Anton Shestakov
b33e46e4ac mod_http_files: send valid ETag header
RFC 2616 section 14 (header field definitions) shows that ETag header content
should be wrapped in double quotes.
2016-07-09 21:55:37 +08:00
Anton Shestakov
2a2ade5de5 mod_admin_telnet: remove unused import (util.serialization) [luacheck] 2016-07-09 00:57:17 +08:00
Anton Shestakov
885648c042 mod_admin_telnet: rename variable to make it defined (room -> room_name) 2016-07-09 00:47:55 +08:00
Anton Shestakov
0ce8de81ab mod_presence: remove unused one-letter loop variable [luacheck] 2016-07-09 00:46:28 +08:00
Kim Alvefur
ddccdcd00d mod_c2s, mod_s2s: Bootstrap connection count statistic on module load 2016-07-07 18:48:58 +02:00
Kim Alvefur
331c8a1358 mod_pep: Use correct field for full JID (thanks Milan*) 2016-06-10 14:55:05 +02:00
Kim Alvefur
39de480ad8 mod_pep: Include the bare user jid in event 2016-06-09 10:30:33 +02:00
Kim Alvefur
9dc461298a mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2 2016-05-30 13:30:32 +02:00
Kim Alvefur
b44930be7e MUC: Allow members (or above) in members-only non-anonymous rooms to see the member list (fixes #445) 2016-05-28 12:37:51 +02:00
Kim Alvefur
288422c9c3 Merge 0.9->0.10 2016-05-22 14:39:14 +02:00
Kim Alvefur
2b1cedaf7a mod_presence: Re-probe for contacts presence after outgoing 'subscribed' (fixes #673) 2016-05-21 19:10:03 +02:00
Kim Alvefur
7ec3aac1af mod_bosh: Don't decrement rid twice (thanks av6) 2016-04-19 17:44:04 +02:00
Kim Alvefur
ee3e8bbd38 Merge 0.9->0.10 2016-04-19 17:30:30 +02:00
Kim Alvefur
5f4b783bf3 MUC: Accept missing form as "instant room" request (fixes #377) 2016-04-19 17:20:39 +02:00
Kim Alvefur
acd12fcc61 mod_bosh: Reject fractional 'wait' (See #343) 2016-04-19 12:33:58 +02:00
Kim Alvefur
a0757fdf85 mod_bosh: Return a proper BOSH error response from XML parse error callback (see #343) 2016-04-19 12:19:15 +02:00
Kim Alvefur
cee9ce09a0 mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also see #343) 2016-04-19 12:18:19 +02:00
Kim Alvefur
772dcf4e2b mod_bosh: Validate 'to' host (see #343) 2016-04-19 12:17:00 +02:00
Kim Alvefur
6b36fac8a3 mod_bosh: Return a proper BOSH error response instead of deprecated(?) status code (See #343) 2016-04-19 12:16:17 +02:00
Kim Alvefur
fe7c4f17dd mod_bosh: Log error returned from stream:feed() 2016-04-19 12:15:20 +02:00
Kim Alvefur
525d4c2dd9 mod_bosh: Return if a response has been sent already (See #343) 2016-04-19 12:14:07 +02:00
Kim Alvefur
f6c73521ec mod_bosh: Remove unused import 2016-04-19 12:13:03 +02:00
Matthew Wild
131f28affd mod_compression: Remove and replace with placeholder that logs an error 2016-04-09 19:21:05 +01:00
Kim Alvefur
6ff1b30f47 mod_presence: Fix variable name 2016-04-08 17:14:58 +02:00
Kim Alvefur
0c4b70fe8f mod_presence: Construct a 'from' JID when roster items are removed outside of a session 2016-04-08 16:35:23 +02:00
Kim Alvefur
52a8bdb8f5 mod_websocket: Fix read timeout handler (thanks mt) 2016-04-06 14:44:51 +02:00
Kim Alvefur
4308f867bb mod_c2s: Just destroy the session when it has no connection (see #641) 2016-04-03 15:18:21 +02:00
Kim Alvefur
ae72fdd667 mod_http_files: Preserve a trailing / in paths (fixes #639) 2016-03-03 15:31:46 +01:00
Kim Alvefur
e08144940d mod_http_files: Don't prepend / to path twice, sanitize path does this already 2016-03-03 15:30:00 +01:00
Kim Alvefur
cbe3f15ee4 mod_http_files: Fix traceback when serving a non-wildcard path (fixes #611) 2016-03-03 15:28:07 +01:00
Kim Alvefur
89a474d458 mod_c2s: Remove connection object from session object when connection disconnected to prevent accidental use (see #590) 2016-03-02 16:28:11 +01:00
Kim Alvefur
fe3e8ec805 Merge 2016-01-27 00:06:30 +01:00
Kim Alvefur
1875b4a83d mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601) 2016-01-26 00:28:07 +01:00
Kim Alvefur
ffb24222c3 Backout 63f5870f9afe, no longer needed since Windows is currently unsupported 2016-01-21 22:21:19 +01:00
Kim Alvefur
212db93800 mod_dialback: Follow XEP-0185 and use HMAC 2016-01-19 21:31:02 +01:00
Matthew Wild
cb1eeb2386 mod_http_files: Santize the path relative to our base URL before translating it to a filesystem path, fixes a relative path traversal vulnerability 2016-01-07 15:37:47 +00:00
Kim Alvefur
afcc889869 mod_roster: Fire event for pending items for good measure 2016-04-04 21:48:42 +02:00
Kim Alvefur
cc487c8b9d mod_roster: Handle roster item removal with event on user deletion 2016-04-04 17:18:27 +02:00
Kim Alvefur
1e3a0dc5df mod_presence: Send unavailable presence when roster items are removed (fixes #331) 2016-04-04 17:15:47 +02:00
Kim Alvefur
9f6ac546e1 mod_presence, mod_roster: Move responsibility for sending presence on roster removal to mod_presence 2016-04-04 17:15:10 +02:00
Kim Alvefur
5e64753929 Merge 0.9->0.10 2016-04-03 15:52:40 +02:00
Kim Alvefur
5db607f37e mod_bosh: Skip sending stanzas removed out by filters (fixes #657) 2016-04-01 18:56:26 +02:00
Kim Alvefur
41522cb84a mod_websocket: Send a ping on read timeout 2016-03-23 23:21:03 +01:00
Kim Alvefur
a50a9d99a0 mod_websocket: Remove warning about unsolicited pong frames "MAY be sent unsolicited" per RFC 6455 (thanks mt) 2016-03-23 14:31:35 +01:00
Kim Alvefur
c42992594d mod_storage_sql: Make sure all serialization errors are propagated 2016-03-21 09:33:12 +01:00
Matthew Wild
f739ed2c46 mod_component: Some cleanup [luacheck] 2016-03-18 14:03:14 +00:00
Matthew Wild
4b907ce3ff mod_component: Fire event when component disconnects 2016-03-18 13:58:55 +00:00