aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* mod_websocket: Guard against upgrading to websocket from a HEAD requestKim Alvefur2019-10-121-1/+1
|
* mod_http: Unhook CORS related event handlersKim Alvefur2019-10-101-3/+10
| | | | | | | Prevents CORS related handlers from being left over on reload. BC: `mod_http.apps[app_name][event_name]` is now a table instead of the main handler function.
* mod_s2s: Close with a stream error in case neither SASL or Dialback are ↵Kim Alvefur2019-10-061-1/+4
| | | | | | | available This both tells the remote server and users who sent any queued stanzas why it failed.
* mod_admin_telnet: xmpp:ping: Log ping timeKim Alvefur2019-10-061-1/+3
|
* mod_csi_simple: Always remove session filters when disabling CSIKim Alvefur2019-10-051-3/+3
| | | | | | Only guard the actual pausing of outgoing data on the method existing. This prevents the filters from lingering in case something happened to the connection. Removing already removed filters should be a safe noop.
* mod_csi_simple: Try not to flush buffer while already flushing itKim Alvefur2019-10-051-0/+5
| | | | Reduces log noice
* Merge 0.11->trunkMatthew Wild2019-10-031-0/+2
|\
| * mod_mam: Add flag to session when it performs a MAM queryMatthew Wild2019-10-031-0/+2
| |
* | mod_offline: Log a debug message when message is storedKim Alvefur2019-09-291-1/+5
| |
* | Merge 0.11-trunkKim Alvefur2019-09-291-0/+1
|\|
| * MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427)Kim Alvefur2019-09-291-0/+1
| | | | | | | | Prevents duplication since it adds another <{muc#user}x> here
* | mod_admin_telnet: Use new compact function for waiting on promisesKim Alvefur2019-09-291-7/+1
| |
* | mod_register_ibr: Distinguish between failure to create account or save ↵Kim Alvefur2019-09-291-6/+5
| | | | | | | | extra data
* | mod_register_ibr: Reminder to maybe use util.error in the futureKim Alvefur2019-09-291-0/+1
| |
* | mod_register_ibr, mod_register_limits: Add support for custom error type and ↵Emmanuel Gil Peyrot2019-09-292-1/+7
| | | | | | | | defined-condition.
* | mod_register_ibr: Add FORM_TYPE as required by XEP-0077.Emmanuel Gil Peyrot2019-09-291-0/+2
| |
* | mod_csi_simple: Remove duplicated check for connectionKim Alvefur2019-09-281-3/+3
| |
* | mod_pubsub: Remove the unwanted check for @notify on <purge/>.Emmanuel Gil Peyrot2019-09-281-3/+2
| | | | | | | | | | | | This most likely was copied from the handling of <retract/>, where it actually is required by the spec (XEP-0060 §7.2.2.1), but this attribute doesn’t exist for purge.
* | Merge 0.11->trunkKim Alvefur2019-09-211-4/+10
|\|
| * mod_vcard_legacy: Don't owerwrite empty photo elements (fixes #1432)Kim Alvefur2019-09-211-3/+9
| |
| * mod_vcard_legacy: Advertise lack of avatar correctly (fixes #1431) (thanks ↵Kim Alvefur2019-09-211-2/+2
| | | | | | | | lovetox)
* | mod_http: Add support for configuring CORS Access-Control-Allow-CredentialsMatthew Wild2019-09-111-2/+6
| |
* | mod_admin_telnet: Identify native bidi sessionsKim Alvefur2019-09-081-1/+3
| |
* | mod_s2s_bidi: Enables bi-directional streams via XEP-0288Kim Alvefur2019-09-081-0/+38
| |
* | mod_s2s: Remove warning about hostname mismatchKim Alvefur2019-09-071-5/+0
| | | | | | | | | | | | It triggers on bidi-related routing where this to/from is flipped. Removing since I don't think we have ever seen this potential bug.
* | mod_s2s: Insert s2sin into outgoing routing table when bidirectionalKim Alvefur2019-09-071-0/+4
| |
* | mod_s2s: Add function to send replies on s2sout connections that support ↵Kim Alvefur2019-09-071-0/+7
| | | | | | | | incoming traffic
* | mod_s2s: Handle authentication of s2sin and s2sout the same wayKim Alvefur2019-09-071-7/+5
| |
* | mod_offline: Add some debug logging to reduce confusionKim Alvefur2019-09-081-1/+5
| | | | | | | | Where did these messages come from???
* | mod_s2s: Remove obsolete cleanup codeKim Alvefur2019-09-071-7/+0
| | | | | | | | These were added by s2sout.lib
* | mod_admin_telnet: Identify bidi-capable s2sout sessions (fixes #1403)Kim Alvefur2019-09-071-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-08-311-2/+2
|\|
| * MUC: Fix delay@from to be room JID (fixes #1416)0.11.3Kim Alvefur2019-08-311-2/+2
| |
* | Remove COMPAT with temporary luasec forkKim Alvefur2019-08-253-7/+0
| | | | | | | | | | The changes in the temporary fork were merged into mainline luasec ca 2013 and included in the 0.5 release in 2014.
* | MUC: Simplify nickname refresh loopKim Alvefur2019-08-251-2/+1
| | | | | | | | Affiliation data is passed as a loop variable so no need to retrieve it
* | mod_storage_internal: Include last text messageKim Alvefur2019-08-231-1/+4
| | | | | | | | | | | | A protocol built on this API now allows showing a list of unread conversations with a counter, ordered by either oldest or newest message, along with the text body itself.
* | mod_storage_*: Also include timestmap of first message in :summary APIKim Alvefur2019-08-233-3/+15
| | | | | | | | | | For completeness along with most recent timestamp. Might be nice to be able to order by oldest unread message.
* | mod_storage_*: Include timestamp of latest message in :summary APIKim Alvefur2019-08-233-3/+12
| | | | | | | | | | | | | | Clients may want to show a list of conversations ordered by how timestamp of most recent message. The counts allow a badge with unread message counter.
* | mod_storage_*: Tweak :summary API to allow future expansion with more fieldsKim Alvefur2019-08-233-9/+15
| | | | | | | | Eg might want to include last message, timestamp, chat state or other info.
* | mod_auth_internal_hashed: Precompute SCRAM authentication profile name ↵Kim Alvefur2019-08-221-1/+2
| | | | | | | | (thanks MattJ)
* | mod_auth_internal_hashed: Add support for optionally using SCRAM-SHA-256 ↵Kim Alvefur2019-01-131-6/+7
| | | | | | | | | | | | | | instead of SHA-1 This will currently require a hard reset of all passwords back to plain. This will be least painful on new deployments.
* | mod_vcard_legacy: Use PEP nickname if vcard4 data is unavailableKim Alvefur2019-08-221-0/+8
| | | | | | | | | | | | | | Last remaining nice feature from mod_profile. Allows setting eg nickname and avatar as completely public while restricting private details in vcard4 to only contacts.
* | Merge 0.11->trunkKim Alvefur2019-08-211-0/+1
|\|
| * MUC: Advertise XEP-0410 supportKim Alvefur2019-07-301-0/+1
| | | | | | | | Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83
* | mod_s2s: Use net.connect instead of s2sout.lib for outgoing s2s connectionsKim Alvefur2018-11-102-364/+23
| |
* | mod_muc_mam: Conditionally advertise MAM feature on rooms (fixes #1407)Kim Alvefur2019-08-101-1/+3
| |
* | mod_vcard_legacy: Complete roundtrip support for ORG/ORGNAMEKim Alvefur2019-08-021-0/+4
| | | | | | | | vcard-temp -> vcard4 worked previously but not the other way around
* | mod_vcard_legacy: Add support for JABBERID - impp/uri conversionKim Alvefur2019-01-191-0/+9
| |
* | mod_s2s: Distinguish between high and low level errors in bouncesKim Alvefur2019-08-011-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | `remote-server-not-found` is reported for problems occurring without a reply `<stream>` having been opened, e.g. DNS records were not found or no TCP stream could be established to a functioning XMPP entity. `remote-server-timeout` is reported for problems that occurring after a stream has been opened, such as configuration problems, inability to perform TLS or unsuccessful certificate validation. Related: #770
* | plugins: Remove tostring call from loggingKim Alvefur2019-07-3014-39/+37
| | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()`