Commit graph

125 commits

Author SHA1 Message Date
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
Matthew Wild
a0b8648d1f mod_presence: Tag outgoing unavailables generated by a disconnect with a from attribute 2009-07-27 01:27:51 +01:00
Matthew Wild
3be56d2e6e mod_presence: Ignore presence sent to host and invalid JIDs, fixes traceback (thanks Deepspawn) 2009-07-22 21:35:41 +01:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
73ab70b38b mod_presence: Convert from Windows line endings 2009-07-09 22:57:59 +01:00
Waqas Hussain
bfba1b141b mod_presence: Fixed: Presence probe replies now get sent to the full JID of the probe sender 2009-07-06 01:37:57 +05:00
Waqas Hussain
d1ee8e0f53 mod_presence: Send unavailable presence to resources from non-available resources on disconnect 2009-07-05 20:40:31 +05:00
Waqas Hussain
44ba02eef0 Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence 2009-07-05 17:45:44 +05:00
Waqas Hussain
4fecbc0bbf mod_presence: Broadcast presence to resources before contacts 2009-07-05 12:43:25 +05:00
Waqas Hussain
d7fd01bb42 mod_presence: Prevented normal presence from non-interested resources from being dropped 2009-07-05 12:40:18 +05:00
Waqas Hussain
25a62bae4e mod_presence: Changed handle_normal_presence to use a local roster rather than origin's roster 2009-07-05 12:25:15 +05:00
Waqas Hussain
0d35651c13 mod_presence: Simplified roster iteration 2009-07-05 12:17:22 +05:00
Waqas Hussain
b5bf437c6f mod_presence: Eliminated a jid_split 2009-07-05 11:59:51 +05:00
Waqas Hussain
720184a0b5 mod_presence: Removed some unnecessary code 2009-07-05 11:57:18 +05:00
Matthew Wild
6d2714d32f mod_presence: Declare t_insert, fixes a potential traceback 2009-07-03 21:44:30 +01:00
Waqas Hussain
11e4a5fa67 mod_presence: Removed dead code 2009-07-02 23:46:27 +05:00