prosody.git
7 years agoLet Google Hangouts contacts appear offline nohangouts-0.8.2
norly [Wed, 13 Jul 2016 22:37:21 +0000 (00:37 +0200)]
Let Google Hangouts contacts appear offline

12 years agomod_storage_sql: Add extra logging and error handling around table creation
Matthew Wild [Sat, 11 Jun 2011 01:16:26 +0000 (02:16 +0100)]
mod_storage_sql: Add extra logging and error handling around table creation

12 years agomod_storage_sql: Add sql_manage_tables to disable table creation/updating.
Matthew Wild [Sat, 11 Jun 2011 01:15:38 +0000 (02:15 +0100)]
mod_storage_sql: Add sql_manage_tables to disable table creation/updating.

12 years agoMerge 0.8->trunk
Matthew Wild [Tue, 7 Jun 2011 00:29:34 +0000 (01:29 +0100)]
Merge 0.8->trunk

12 years agoBackout bcdff2b1d3ec from 0.8 - going to commit a slightly cleaner patch for the...
Matthew Wild [Tue, 7 Jun 2011 00:29:02 +0000 (01:29 +0100)]
Backout bcdff2b1d3ec from 0.8 - going to commit a slightly cleaner patch for the same issue to trunk

12 years agomod_dialback: More robust handling of multiple outstanding dialback requests for...
Matthew Wild [Mon, 6 Jun 2011 21:51:33 +0000 (22:51 +0100)]
mod_dialback: More robust handling of multiple outstanding dialback requests for the same domain, fixes intermittent s2s with some (patched?) ejabberds

12 years agos2smanager: Fix letter case in log message (thanks darkrain)
Matthew Wild [Sun, 5 Jun 2011 22:55:16 +0000 (23:55 +0100)]
s2smanager: Fix letter case in log message (thanks darkrain)

12 years agoBackout commit d6366294f618 which I was testing and didn't mean to push to 0.8
Matthew Wild [Sun, 5 Jun 2011 11:28:49 +0000 (12:28 +0100)]
Backout commit d6366294f618 which I was testing and didn't mean to push to 0.8

12 years agomod_groups: Persist changes to mod_groups contacts (e.g. moving groups)
Christian Haase [Sun, 5 Jun 2011 11:18:24 +0000 (12:18 +0100)]
mod_groups: Persist changes to mod_groups contacts (e.g. moving groups)

12 years agoMerge 0.8->trunk
Matthew Wild [Sun, 5 Jun 2011 00:54:06 +0000 (01:54 +0100)]
Merge 0.8->trunk

12 years agoutil.xmppstream: Check to make sure parser.stop is present before calling it.
Waqas Hussain [Sat, 4 Jun 2011 20:57:43 +0000 (01:57 +0500)]
util.xmppstream: Check to make sure parser.stop is present before calling it.

12 years agoCOPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.
Waqas Hussain [Sat, 4 Jun 2011 20:52:48 +0000 (01:52 +0500)]
COPYING: Reflow the all-caps text. It was wrapping really badly in the Windows installer.

12 years agoCOPYING: Update copyright year; it's 2011 already.
Waqas Hussain [Sat, 4 Jun 2011 20:51:06 +0000 (01:51 +0500)]
COPYING: Update copyright year; it's 2011 already.

12 years agoutil.encodings: Fix small typo introduced in 7f789266b741
Matthew Wild [Sat, 4 Jun 2011 18:18:11 +0000 (19:18 +0100)]
util.encodings: Fix small typo introduced in 7f789266b741

12 years agomod_component: Small code clarity fix
Matthew Wild [Fri, 3 Jun 2011 23:29:55 +0000 (00:29 +0100)]
mod_component: Small code clarity fix

12 years agoMerge with Florob
Matthew Wild [Fri, 3 Jun 2011 04:36:44 +0000 (05:36 +0100)]
Merge with Florob

12 years agoMerge 0.8->trunk
Matthew Wild [Fri, 3 Jun 2011 04:35:22 +0000 (05:35 +0100)]
Merge 0.8->trunk

12 years agoTagging 0.8.1
Matthew Wild [Fri, 3 Jun 2011 04:34:38 +0000 (05:34 +0100)]
Tagging 0.8.1

12 years agomod_storage_sql: Log error when failing to update MySQL schema
Matthew Wild [Fri, 3 Jun 2011 04:34:22 +0000 (05:34 +0100)]
mod_storage_sql: Log error when failing to update MySQL schema

12 years agomod_admin_adhoc: Only allow global admins to shut the server down
Florian Zeitz [Fri, 3 Jun 2011 00:01:31 +0000 (02:01 +0200)]
mod_admin_adhoc: Only allow global admins to shut the server down

12 years agoMerge 0.8->trunk
Matthew Wild [Thu, 2 Jun 2011 23:58:09 +0000 (00:58 +0100)]
Merge 0.8->trunk

12 years agomigrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use MEDIUMTEXT for...
Matthew Wild [Thu, 2 Jun 2011 23:57:25 +0000 (00:57 +0100)]
migrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use MEDIUMTEXT for the 'value' column to avoid truncation

12 years agomod_admin_adhoc: Add "Reload configuration" command
Florian Zeitz [Thu, 2 Jun 2011 19:56:44 +0000 (21:56 +0200)]
mod_admin_adhoc: Add "Reload configuration" command

12 years agomod_adhoc: Add support for commands only executable by global administrators
Florian Zeitz [Thu, 2 Jun 2011 19:56:24 +0000 (21:56 +0200)]
mod_adhoc: Add support for commands only executable by global administrators

12 years agomigrator/prosody_files: Don't choke on empty data stores for a user (thanks @eoranged)
Matthew Wild [Thu, 2 Jun 2011 16:18:23 +0000 (17:18 +0100)]
migrator/prosody_files: Don't choke on empty data stores for a user (thanks @eoranged)

12 years agoMerge 0.8->trunk
Matthew Wild [Thu, 2 Jun 2011 14:28:41 +0000 (15:28 +0100)]
Merge 0.8->trunk

12 years agoMerge 0.7->0.8
Matthew Wild [Thu, 2 Jun 2011 14:28:12 +0000 (15:28 +0100)]
Merge 0.7->0.8

12 years agoMerge 0.6->0.7
Matthew Wild [Thu, 2 Jun 2011 14:23:58 +0000 (15:23 +0100)]
Merge 0.6->0.7

12 years agoxmlhandlers/xmppstream: Stop the parser when encountering restricted XML, completing...
Matthew Wild [Thu, 2 Jun 2011 14:19:05 +0000 (15:19 +0100)]
xmlhandlers/xmppstream: Stop the parser when encountering restricted XML, completing the fix for the billion laughs attack

12 years agoMerge 0.8->trunk
Matthew Wild [Thu, 2 Jun 2011 01:31:18 +0000 (02:31 +0100)]
Merge 0.8->trunk

12 years agomod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using MySQL, as...
Matthew Wild [Thu, 2 Jun 2011 01:30:26 +0000 (02:30 +0100)]
mod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using MySQL, as it imposes a 64K limit otherwise, potentially truncating data. Automatically upgrades existing tables.

12 years agoutil.json: Fixed handling of truncated JSON.
Waqas Hussain [Thu, 2 Jun 2011 00:36:15 +0000 (05:36 +0500)]
util.json: Fixed handling of truncated JSON.

12 years agoMerge 0.8->trunk
Matthew Wild [Wed, 1 Jun 2011 23:26:48 +0000 (00:26 +0100)]
Merge 0.8->trunk

12 years agoMerge 0.7->0.8
Matthew Wild [Wed, 1 Jun 2011 23:26:23 +0000 (00:26 +0100)]
Merge 0.7->0.8

12 years agoMerge 0.6->0.7
Matthew Wild [Wed, 1 Jun 2011 23:25:44 +0000 (00:25 +0100)]
Merge 0.6->0.7

12 years agoxmlhandlers: Don't restrict CDATA
Matthew Wild [Wed, 1 Jun 2011 23:23:41 +0000 (00:23 +0100)]
xmlhandlers: Don't restrict CDATA

12 years agoMerge 0.8->trunk
Matthew Wild [Wed, 1 Jun 2011 23:05:33 +0000 (00:05 +0100)]
Merge 0.8->trunk

12 years agoMerge 0.7->0.8
Matthew Wild [Wed, 1 Jun 2011 22:26:39 +0000 (23:26 +0100)]
Merge 0.7->0.8

12 years agoMerge 0.6->0.7
Matthew Wild [Wed, 1 Jun 2011 22:25:24 +0000 (23:25 +0100)]
Merge 0.6->0.7

12 years agoxmlhandlers: Reject XML comments, processing instructions and (if supported by LuaExp...
Matthew Wild [Wed, 1 Jun 2011 22:20:54 +0000 (23:20 +0100)]
xmlhandlers: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning. [Backport of 7cc426988bcc in trunk]

12 years agoutil.xmppstream: Reject XML comments, processing instructions and (if supported by...
Matthew Wild [Wed, 1 Jun 2011 22:02:10 +0000 (23:02 +0100)]
util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning.

12 years agoutil.xmppstream: Reject XML comments, processing instructions and (if supported by...
Matthew Wild [Wed, 1 Jun 2011 22:02:10 +0000 (23:02 +0100)]
util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning.

12 years agoutil.encodings: Check return values before proceeding
Paul Aurich [Sun, 22 May 2011 23:14:10 +0000 (16:14 -0700)]
util.encodings: Check return values before proceeding

12 years agoutil.encodings: Swap code order ("ifndef" bugs me)
Paul Aurich [Sun, 22 May 2011 22:40:16 +0000 (15:40 -0700)]
util.encodings: Swap code order ("ifndef" bugs me)

12 years agoutil.encodings: Fix idna.to_unicode
Paul Aurich [Sun, 22 May 2011 22:26:03 +0000 (15:26 -0700)]
util.encodings: Fix idna.to_unicode

12 years agomod_register: Change the default for 'allow_registration' from true to false, most...
Matthew Wild [Fri, 27 May 2011 23:23:05 +0000 (00:23 +0100)]
mod_register: Change the default for 'allow_registration' from true to false, most users shouldn't be affected as allow_registration is already explicitly set in the default config file.

12 years agomod_register: Move allow_registration option into an upvalue for efficiency (now...
Matthew Wild [Fri, 27 May 2011 23:21:12 +0000 (00:21 +0100)]
mod_register: Move allow_registration option into an upvalue for efficiency (now it is being checked on every new c2s stream)

12 years agoAdvertise in-band registration support.
Glenn Maynard [Fri, 27 May 2011 16:04:43 +0000 (17:04 +0100)]
Advertise in-band registration support.
Implement optional registration support advertisement according to
XEP-0077 sec8:

<features>
    <register xmlns='http://jabber.org/features/iq-register'/>
</features>
---
 plugins/mod_register.lua |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

12 years agonet.dns: Support for resolving AAAA records
Matthew Wild [Mon, 16 May 2011 18:33:02 +0000 (19:33 +0100)]
net.dns: Support for resolving AAAA records

12 years agoMUC: Include occupant count in room disco#info response.
Waqas Hussain [Sat, 7 May 2011 16:17:03 +0000 (21:17 +0500)]
MUC: Include occupant count in room disco#info response.

12 years agomod_roster: Remove <optional/> from roster version stream feature, as per latest...
Waqas Hussain [Sat, 7 May 2011 16:16:25 +0000 (21:16 +0500)]
mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.

12 years agomod_dialback: Remove <optional/> from stream feature, as per latest specs.
Waqas Hussain [Sat, 7 May 2011 16:16:06 +0000 (21:16 +0500)]
mod_dialback: Remove <optional/> from stream feature, as per latest specs.

12 years agosessionmanager: Log reason when destroying a session.
Waqas Hussain [Sat, 7 May 2011 16:15:34 +0000 (21:15 +0500)]
sessionmanager: Log reason when destroying a session.

12 years agos2smanager: Log reason when destroying a session.
Waqas Hussain [Sat, 7 May 2011 16:15:13 +0000 (21:15 +0500)]
s2smanager: Log reason when destroying a session.

12 years agoMerge 0.8->trunk
Matthew Wild [Wed, 4 May 2011 22:13:50 +0000 (23:13 +0100)]
Merge 0.8->trunk

12 years agomod_muc: Remove room from memory when it is made non-persistent and is empty
Matthew Wild [Wed, 4 May 2011 22:12:53 +0000 (23:12 +0100)]
mod_muc: Remove room from memory when it is made non-persistent and is empty

13 years agoMerge 0.8->trunk
Matthew Wild [Wed, 20 Apr 2011 17:20:29 +0000 (18:20 +0100)]
Merge 0.8->trunk

13 years agomod_legacyauth: Disallow on unencrypted connections by default, heed allow_unencrypte...
Matthew Wild [Wed, 20 Apr 2011 17:19:28 +0000 (18:19 +0100)]
mod_legacyauth: Disallow on unencrypted connections by default, heed allow_unencrypted_plain_auth config option (thanks Maranda/Zash)

13 years agoMerge 0.8->trunk
Matthew Wild [Mon, 18 Apr 2011 19:39:37 +0000 (20:39 +0100)]
Merge 0.8->trunk

13 years agoTagging 0.8.1
Matthew Wild [Mon, 18 Apr 2011 19:38:44 +0000 (20:38 +0100)]
Tagging 0.8.1

13 years agoMerge 0.8->trunk
Matthew Wild [Fri, 15 Apr 2011 21:46:57 +0000 (22:46 +0100)]
Merge 0.8->trunk

13 years agoMerge Zash->trunk
Matthew Wild [Fri, 15 Apr 2011 21:45:06 +0000 (22:45 +0100)]
Merge Zash->trunk

13 years agoutil.datetime: Fix timestamp parsing when in DST (thanks xnyhps)
Matthew Wild [Fri, 15 Apr 2011 21:39:53 +0000 (22:39 +0100)]
util.datetime: Fix timestamp parsing when in DST (thanks xnyhps)

13 years agoutil.datetime: Fix timestamp parsing when in DST (thanks xnyhps)
Matthew Wild [Fri, 15 Apr 2011 21:39:53 +0000 (22:39 +0100)]
util.datetime: Fix timestamp parsing when in DST (thanks xnyhps)

13 years agonet.dns: Fix TXT records
Kim Alvefur [Thu, 14 Apr 2011 22:54:10 +0000 (00:54 +0200)]
net.dns: Fix TXT records

13 years agoprosody: Add sanity_check() to startup sequence. Check that we have at least one...
Matthew Wild [Thu, 14 Apr 2011 21:40:50 +0000 (22:40 +0100)]
prosody: Add sanity_check() to startup sequence. Check that we have at least one vhost enabled to avoid Bad Things.

13 years agoprosody: Add sanity_check() to startup sequence. Check that we have at least one...
Matthew Wild [Thu, 14 Apr 2011 21:40:50 +0000 (22:40 +0100)]
prosody: Add sanity_check() to startup sequence. Check that we have at least one vhost enabled to avoid Bad Things.

13 years agoMerge 0.8->trunk
Matthew Wild [Mon, 11 Apr 2011 16:01:55 +0000 (17:01 +0100)]
Merge 0.8->trunk

13 years agotools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL (thanks...
Matthew Wild [Mon, 11 Apr 2011 16:01:06 +0000 (17:01 +0100)]
tools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL (thanks Timo)

13 years agomod_pubsub: Support for setting a disco name
Marco Cirillo [Wed, 6 Apr 2011 19:00:44 +0000 (20:00 +0100)]
mod_pubsub: Support for setting a disco name

13 years agoMerge 0.8->trunk
Matthew Wild [Wed, 6 Apr 2011 13:48:00 +0000 (14:48 +0100)]
Merge 0.8->trunk

13 years agomod_tls: Fix for components to more reliably inherit SSL settings from their parentho...
Matthew Wild [Wed, 6 Apr 2011 13:45:44 +0000 (14:45 +0100)]
mod_tls: Fix for components to more reliably inherit SSL settings from their parenthost (thanks Link Mauve)

13 years agoMerge 0.8 -> trunk
Matthew Wild [Tue, 5 Apr 2011 13:38:08 +0000 (14:38 +0100)]
Merge 0.8 -> trunk

13 years agoTagging 0.8.0
Matthew Wild [Tue, 5 Apr 2011 13:37:25 +0000 (14:37 +0100)]
Tagging 0.8.0

13 years agotools/migration/migrator/prosody_files.lua: Fix for previous commit
Matthew Wild [Tue, 5 Apr 2011 13:34:48 +0000 (14:34 +0100)]
tools/migration/migrator/prosody_files.lua: Fix for previous commit

13 years agotools/migration/prosody-migrator.lua: Add messages to show when migration is in progress
Matthew Wild [Tue, 5 Apr 2011 13:34:06 +0000 (14:34 +0100)]
tools/migration/prosody-migrator.lua: Add messages to show when migration is in progress

13 years agotools/migration: Support for ~/ in paths
Matthew Wild [Tue, 5 Apr 2011 13:11:25 +0000 (14:11 +0100)]
tools/migration: Support for ~/ in paths

13 years agoMerge 0.8->trunk
Matthew Wild [Tue, 5 Apr 2011 12:26:43 +0000 (13:26 +0100)]
Merge 0.8->trunk

13 years agousermanager: Check host exists before trying to look up admins for it
Matthew Wild [Tue, 5 Apr 2011 12:26:19 +0000 (13:26 +0100)]
usermanager: Check host exists before trying to look up admins for it

13 years agoutil.dependencies: Add a dummy util.ztact loader to log a message for people still...
Matthew Wild [Tue, 5 Apr 2011 12:20:09 +0000 (13:20 +0100)]
util.dependencies: Add a dummy util.ztact loader to log a message for people still using it (e.g. in their Debian-derived config files)

13 years agotools/migration/prosody-migrator.lua: Refactor store handler loading to report errors...
Matthew Wild [Tue, 5 Apr 2011 11:59:24 +0000 (12:59 +0100)]
tools/migration/prosody-migrator.lua: Refactor store handler loading to report errors they throw

13 years agotools/migration/migrator/prosody_sql: Throw a friendlier error when LuaDBI is not...
Matthew Wild [Tue, 5 Apr 2011 11:58:14 +0000 (12:58 +0100)]
tools/migration/migrator/prosody_sql: Throw a friendlier error when LuaDBI is not found

13 years agoprosody.cfg.lua.dist: Add example of 'authentication' option
Matthew Wild [Tue, 5 Apr 2011 11:36:56 +0000 (12:36 +0100)]
prosody.cfg.lua.dist: Add example of 'authentication' option

13 years agomod_privacy: Remove several unused variable declarations
Matthew Wild [Tue, 29 Mar 2011 14:07:14 +0000 (15:07 +0100)]
mod_privacy: Remove several unused variable declarations

13 years agomod_privacy: Remove unused function, sendUnavailable
Matthew Wild [Tue, 29 Mar 2011 13:57:50 +0000 (14:57 +0100)]
mod_privacy: Remove unused function, sendUnavailable

13 years agosessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to...
Matthew Wild [Tue, 29 Mar 2011 13:10:00 +0000 (14:10 +0100)]
sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction

13 years agotools/migration: Rename main.lua -> prosody-migrator.lua and update the Makefile
Matthew Wild [Mon, 21 Mar 2011 19:39:04 +0000 (19:39 +0000)]
tools/migration: Rename main.lua -> prosody-migrator.lua and update the Makefile

13 years agonet.httpserver: Revert commit eccd3c87d717 which has since been fixed in a better way
Matthew Wild [Mon, 21 Mar 2011 19:35:53 +0000 (19:35 +0000)]
net.httpserver: Revert commit eccd3c87d717 which has since been fixed in a better way

13 years agomod_dialback: Use session:close() on dialback failure instead of s2smanager.destroy_s...
Matthew Wild [Mon, 21 Mar 2011 19:32:51 +0000 (19:32 +0000)]
mod_dialback: Use session:close() on dialback failure instead of s2smanager.destroy_session() (thanks Zash)

13 years agoMerge 0.8->trunk
Matthew Wild [Fri, 18 Mar 2011 10:33:38 +0000 (10:33 +0000)]
Merge 0.8->trunk

13 years agomod_pubsub: Remove checks for whether the JID being (un)subscribed is the actor's...
Matthew Wild [Fri, 18 Mar 2011 10:32:55 +0000 (10:32 +0000)]
mod_pubsub: Remove checks for whether the JID being (un)subscribed is the actor's own - it's possible to (un)subscribe another JID if you have the (un)subscribe_other capability, which is already checked in util.pubsub (thanks Andrew)

13 years agomod_bosh: Fix terminate logic - process any stanzas in a terminating request, and...
Matthew Wild [Fri, 4 Mar 2011 20:27:57 +0000 (20:27 +0000)]
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas).

12 years agomigrator/prosody_sql.lua: Fix for compatibility with non-MySQL databases
Matthew Wild [Sun, 5 Jun 2011 10:53:41 +0000 (11:53 +0100)]
migrator/prosody_sql.lua: Fix for compatibility with non-MySQL databases

12 years agomod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL databases...
Matthew Wild [Sun, 5 Jun 2011 10:53:29 +0000 (11:53 +0100)]
mod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL databases (thanks Ognyan Kulev)

12 years agomod_bosh: Mark a session as active when a request comes in, even if we don't end...
Matthew Wild [Sun, 5 Jun 2011 10:48:57 +0000 (11:48 +0100)]
mod_bosh: Mark a session as active when a request comes in, even if we don't end up holding that request, fixes BOSH ghosts (thanks smoku)

13 years agomod_bosh: Fix terminate logic - process any stanzas in a terminating request, and...
Matthew Wild [Fri, 4 Mar 2011 20:27:57 +0000 (20:27 +0000)]
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas).

13 years agotools/migration/Makefile: Don't install main.lua (we already install it as prosody...
Matthew Wild [Thu, 3 Mar 2011 18:14:08 +0000 (18:14 +0000)]
tools/migration/Makefile: Don't install main.lua (we already install it as prosody-migrator) (thanks Enrico)

13 years agoMerge 0.8->trunk.
Waqas Hussain [Wed, 2 Mar 2011 00:15:54 +0000 (05:15 +0500)]
Merge 0.8->trunk.

13 years agoprosody: Load net.httpserver at startup, to avoid creating a global later.
Waqas Hussain [Wed, 2 Mar 2011 00:13:51 +0000 (05:13 +0500)]
prosody: Load net.httpserver at startup, to avoid creating a global later.

13 years agonet.connlisteners: Log traceback on errors in listener loading.
Waqas Hussain [Wed, 2 Mar 2011 00:11:42 +0000 (05:11 +0500)]
net.connlisteners: Log traceback on errors in listener loading.