Commit graph

90 commits

Author SHA1 Message Date
Kim Alvefur
c2d66ccab1 mod_presence: Put a timestamp on presence we store for probes 2013-01-11 19:38:29 +01:00
Kim Alvefur
6da5020684 mod_presence: Fix indentation 2012-10-14 21:04:46 +02:00
Waqas Hussain
333dd0e428 mod_presence, rostermanager: Bring outbound subscription cancellation in line with RFC6121. 2012-08-01 01:36:16 +05:00
Kim Alvefur
9114e88ee0 mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. 2012-07-26 04:33:17 +02:00
Matthew Wild
e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 2012-07-23 17:32:33 +01:00
Matthew Wild
3bdb9e7da9 mod_presence: Handle nil disconnection error 2012-07-22 17:02:18 +01:00
Matthew Wild
037b82e6f0 mod_presence: Bounce errors for invalid presence types (thanks nolan/Astro) 2011-02-10 21:09:20 +00:00
Robert Hoelz
32c092ae0e mod_presence, mod_offline: Merge message/offline/delete with message/offline/broadcast. 2010-12-09 12:28:05 -06:00
Robert Hoelz
de4b6ceb33 core.offlinemanager, mod_message, mod_presence: Removed core.offlinemanager in favor of mod_offline. 2010-12-09 12:23:37 -06:00
Waqas Hussain
b7e51a203d Monster whitespace commit (beware the whitespace monster). 2010-10-16 23:00:42 +05:00
Robert Hoelz
c74e3999fb Don't send offline messages to resource with negative priorities 2010-10-15 00:53:05 -05:00
Waqas Hussain
fdb9749df9 mod_presence: Fixed a traceback on outgoing subscriptions from offline users. 2010-06-11 20:45:00 +05:00
Waqas Hussain
c7af4d8bf5 mod_presence: Fixed a traceback. 2010-06-09 22:00:01 +05:00
Waqas Hussain
c04a3c71c7 mod_presence: Enable firing of pre-events for all outbound stanzas, and switching completely to core_post_stanza. 2010-06-08 16:21:14 +05:00
Waqas Hussain
5f4b882a77 mod_presence: Enable firing of pre-events for probes. 2010-06-04 18:36:04 +05:00
Waqas Hussain
dfb8c6b98c mod_presence: Don't stop pre-event for outgoing probes. 2010-06-04 18:30:18 +05:00
Waqas Hussain
a5f32b09de mod_presence: Small refactoring. 2010-06-04 18:24:09 +05:00
Waqas Hussain
5ab9107f8d mod_presence: Send unavailable presence in response to probes to the sender's full JID, not bare JID. 2010-06-03 18:01:05 +05:00
Waqas Hussain
b0d58795e1 mod_presence: Removed unnecessary parameter 'core_route_stanza' from various functions. 2010-06-03 17:27:49 +05:00
Waqas Hussain
6523b2bbe5 mod_presence: Don't send 'unsubscribed' in response to probes when roster loading fails. 2010-05-24 00:37:15 +05:00
Waqas Hussain
1ee72fdb11 mod_presence: Removed a useless check when handling incoming presence probes and subscriptions. 2010-05-24 00:04:22 +05:00
Waqas Hussain
3aedbba678 mod_presence: Added option 'ignore_presence_priority'. 2010-05-22 03:20:43 +05:00
Matthew Wild
7b5c488942 Merge with backout 2010-05-21 19:45:33 +01:00
Matthew Wild
017a533158 Backed out changeset c75c22c316d6 (the XMPP spec now gives a better way to do this) 2010-05-21 19:44:31 +01:00
Waqas Hussain
fdcf472ada mod_presence: Added config option 'bare_message_delivery_policy'. Allowed values are 'priority' (default) and 'broadcast'. 2010-02-15 08:04:25 +05:00
Waqas Hussain
a58fef84ce mod_presence: Reflect the user's own presence back to them. 2010-02-15 04:15:37 +05:00
Waqas Hussain
763b4d3fc7 mod_presence: Don't depend on user being online when calculating top resources. 2010-02-12 00:55:06 +05:00
Waqas Hussain
199d21bfc8 mod_presence: Don't depend on sessions array existing for a user when handling outgoing presence broadcast. 2010-02-12 00:54:14 +05:00
Waqas Hussain
927e5d1974 mod_presence: Quick fix to make probes from local users to local hosts work. 2010-01-29 21:08:18 +05:00
Waqas Hussain
90a52d44b3 mod_presence: Added handler for presence subscriptions and probes to local hosts. 2010-01-29 21:06:51 +05:00
Waqas Hussain
0d85845a97 mod_presence: Respond with an unavailable presence when subscribers probe and no resources are available. 2010-01-29 18:16:39 +05:00
Matthew Wild
250664a386 mod_presence: Automatically deny presence requests for hosts, fixes traceback in #153 2010-01-18 17:14:41 +00:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Waqas Hussain
de4aa7b47a mod_presence: Use the local host object as the origin for auto-generated subscription approvals and cancellations. 2009-11-26 15:19:59 +05:00
Waqas Hussain
0554c71543 mod_presence: Use the local host as origin for subscription request acks. 2009-11-26 13:02:10 +05:00
Waqas Hussain
cfce018b80 mod_presence: Removed an unnecessary compatibility workaround which was causing issues with unavailable presence exchange after subscription removal. 2009-11-26 13:00:11 +05:00
Waqas Hussain
889562f945 mod_presence: Route incoming presence subscription stanzas (types unsubscribe, subscribed and unsubscribed) to the user before roster pushes. 2009-11-22 21:47:54 +05:00
Waqas Hussain
7d63169215 mod_presence: Acknowledge subscription requests by responding with an unavailable presence. 2009-11-22 21:45:31 +05:00
Waqas Hussain
15b32576a9 mod_presence: Reflect the user's own presence back to them. 2010-02-15 04:15:37 +05:00
Waqas Hussain
60c40e44de mod_presence: Don't depend on user being online when calculating top resources. 2010-02-12 00:55:06 +05:00
Waqas Hussain
1349805068 mod_presence: Don't depend on sessions array existing for a user when handling outgoing presence broadcast. 2010-02-12 00:54:14 +05:00
Waqas Hussain
0ff3e76b77 mod_presence: Quick fix to make probes from local users to local hosts work. 2010-01-29 21:08:18 +05:00
Waqas Hussain
0e7b83863a mod_presence: Added handler for presence subscriptions and probes to local hosts. 2010-01-29 21:06:51 +05:00
Waqas Hussain
d77c415e76 mod_presence: Respond with an unavailable presence when subscribers probe and no resources are available. 2010-01-29 18:16:39 +05:00
Matthew Wild
649aefc28e mod_presence: Automatically deny presence requests for hosts, fixes traceback in #153 2010-01-18 17:14:41 +00:00
Waqas Hussain
9f001523b2 mod_presence: Send unavailable presence when sending unsubscribed presence stanzas (some legacy clients continue to display unsubscribed contacts as available). 2009-10-21 19:01:02 +05:00
Waqas Hussain
55f1133e4e mod_presence: Fixed: Don't recursively handle inbound presence directed at local host 2009-09-06 01:32:36 +05:00
Waqas Hussain
158acca704 Fixed: Outbound subscription requests silently dropped (regression in hg:7f17d0d00fbb) 2009-08-07 15:30:47 +05:00
Waqas Hussain
a9648ac8e3 Fixed: Self-references could be added to rosters via presence subscriptions 2009-08-03 21:48:51 +05:00