aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_presence.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_presence: Advertise support for Subscription Pre-ApprovalKim Alvefur2020-03-191-0/+8
| | | | | | | | RFC 6121 ?3.4 says: > If a server supports subscription pre-approvals, then it MUST > advertise the following stream feature during stream negotiation. The feature itself (#686) was added in f0e9e5bda415
* mod_presence: Ignore an unused variable [luacheck]Kim Alvefur2019-12-231-0/+2
| | | | Not sure if it should be unused, hence the TODO
* rostermanager, mod_presence: Support for subscription preapproval (fixes #686)Matthew Wild2019-12-191-2/+10
|
* Merge 0.11->trunkKim Alvefur2019-01-171-0/+1
|\
| * mod_presence: Revert empty 'to' attribute of presence before ↵Kim Alvefur2019-01-171-0/+1
| | | | | | | | presence/initial event (fixes #1296)
* | mod_presence: Handle older boolean subscription request data (thanks Martin)Kim Alvefur2018-12-021-3/+7
| |
* | mod_presence: Remove unnecessary stanza clone callKim Alvefur2018-12-021-1/+1
| |
* | rostermanager, mod_presence: Store stanza for incoming subscription requests ↵Matthew Wild2018-12-011-3/+5
|/ | | | (fixes #689) (thanks Zash, Ge0rG)
* Fix spelling throughout the codebase [codespell]Kim Alvefur2018-02-041-3/+3
|
* mod_presence: Ignore unused argument but make note of its use elsewhere ↵Kim Alvefur2018-03-091-0/+2
| | | | [luacheck]
* mod_presence: Remove unused local [luacheck]Kim Alvefur2018-03-091-1/+0
|
* mod_presence: Use get_child_text on priority child element (fixes #552)Kim Alvefur2017-04-101-8/+5
|
* mod_presence: No need to overwrite index 1 since it's set on the line belowKim Alvefur2017-04-101-1/+1
|
* Merge 0.9->0.10Kim Alvefur2016-12-091-1/+3
|\
| * mod_presence: Send probe once subscribed (fixes #794)Kim Alvefur2016-12-081-1/+3
| |
* | mod_presence: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-091-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2016-05-221-0/+1
|\|
| * mod_presence: Re-probe for contacts presence after outgoing 'subscribed' ↵Kim Alvefur2016-05-211-0/+1
| | | | | | | | (fixes #673)
* | mod_presence: Fix variable nameKim Alvefur2016-04-081-1/+1
| |
* | mod_presence: Construct a 'from' JID when roster items are removed outside ↵Kim Alvefur2016-04-081-2/+3
| | | | | | | | of a session
* | mod_presence: Send unavailable presence when roster items are removed (fixes ↵Kim Alvefur2016-04-041-0/+1
| | | | | | | | #331)
* | mod_presence, mod_roster: Move responsibility for sending presence on roster ↵Kim Alvefur2016-04-041-0/+22
| | | | | | | | removal to mod_presence
* | mod_presence: Fix partial renameKim Alvefur2016-03-141-1/+1
| |
* | mod_presence: Move function for selecting "top resources" into a new ↵Kim Alvefur2016-03-141-24/+2
| | | | | | | | util.presence
* | mod_presence: Use type-specific config API for boolean ↵Kim Alvefur2016-03-111-1/+1
| | | | | | | | 'ignore_presence_priority' option
* | rostermanager, mod_roster, mod_presence: Move pending roster items to roster ↵Kim Alvefur2015-04-031-4/+2
| | | | | | | | metadata field
* | mod_lastactivity, mod_legacyauth, mod_presence, mod_saslauth, mod_tls: Use ↵Kim Alvefur2014-07-041-2/+2
| | | | | | | | the newer stanza:get_child APIs and optimize away some table lookups
* | mod_presence: Move presence/initial event to correct place so it actually firesKim Alvefur2014-07-031-3/+1
| |
* | mod_presence: Fire a presence/initial event on initial presenceKim Alvefur2014-06-201-0/+3
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-4/+4
|/
* mod_presence: Remove some unused variablesMatthew Wild2013-04-031-2/+2
|
* mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, ↵Kim Alvefur2013-03-231-1/+3
| | | | mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
* mod_presence: Put a timestamp on presence we store for probesKim Alvefur2013-01-111-0/+2
|
* mod_presence: Fix indentationKim Alvefur2012-10-141-2/+2
|
* mod_presence, rostermanager: Bring outbound subscription cancellation in ↵Waqas Hussain2012-08-011-5/+12
| | | | line with RFC6121.
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-0/+1
| | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
* Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-3/+3
| | | | removing all cases of concatenation when building log messages
* mod_presence: Handle nil disconnection errorMatthew Wild2012-07-221-4/+6
|
* mod_presence: Bounce errors for invalid presence types (thanks nolan/Astro)Matthew Wild2011-02-101-1/+7
|
* mod_presence, mod_offline: Merge message/offline/delete with ↵Robert Hoelz2010-12-091-1/+0
| | | | message/offline/broadcast.
* core.offlinemanager, mod_message, mod_presence: Removed core.offlinemanager ↵Robert Hoelz2010-12-091-8/+3
| | | | in favor of mod_offline.
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-18/+18
|
* Don't send offline messages to resource with negative prioritiesRobert Hoelz2010-10-151-16/+19
|
* mod_presence: Fixed a traceback on outgoing subscriptions from offline users.Waqas Hussain2010-06-111-1/+1
|
* mod_presence: Fixed a traceback.Waqas Hussain2010-06-091-1/+2
|
* mod_presence: Enable firing of pre-events for all outbound stanzas, and ↵Waqas Hussain2010-06-081-33/+19
| | | | switching completely to core_post_stanza.
* mod_presence: Enable firing of pre-events for probes.Waqas Hussain2010-06-041-1/+1
|
* mod_presence: Don't stop pre-event for outgoing probes.Waqas Hussain2010-06-041-1/+4
|
* mod_presence: Small refactoring.Waqas Hussain2010-06-041-6/+5
|
* mod_presence: Send unavailable presence in response to probes to the ↵Waqas Hussain2010-06-031-1/+1
| | | | sender's full JID, not bare JID.