prosody.git
15 years agoMerge with 0.4
Matthew Wild [Fri, 22 May 2009 12:35:54 +0000 (13:35 +0100)]
Merge with 0.4

15 years agoFinally add README and INSTALL files
Matthew Wild [Fri, 22 May 2009 12:34:47 +0000 (13:34 +0100)]
Finally add README and INSTALL files

15 years agoMerge with 0.4
Matthew Wild [Thu, 21 May 2009 15:09:15 +0000 (16:09 +0100)]
Merge with 0.4

15 years agostanza_router: Fix for subscriptions to users on components [0.4 branch only]
Matthew Wild [Thu, 21 May 2009 15:06:50 +0000 (16:06 +0100)]
stanza_router: Fix for subscriptions to users on components [0.4 branch only]

15 years agomod_register: Attach session to user-registered and user-deregistered events
Matthew Wild [Thu, 21 May 2009 14:52:20 +0000 (15:52 +0100)]
mod_register: Attach session to user-registered and user-deregistered events

15 years agocore: hosts[*].events
Waqas Hussain [Wed, 20 May 2009 00:23:30 +0000 (05:23 +0500)]
core: hosts[*].events

15 years agoMerge with 0.4
Matthew Wild [Tue, 19 May 2009 12:07:13 +0000 (13:07 +0100)]
Merge with 0.4

15 years agomod_welcome: New plugin to welcome users who register on the server
Matthew Wild [Tue, 19 May 2009 10:56:52 +0000 (11:56 +0100)]
mod_welcome: New plugin to welcome users who register on the server

15 years agomod_register: Fire events and log on account creation/deletion
Matthew Wild [Tue, 19 May 2009 10:53:34 +0000 (11:53 +0100)]
mod_register: Fire events and log on account creation/deletion

15 years agomodulemanager: Add module:fire_event() to module API
Matthew Wild [Tue, 19 May 2009 10:50:22 +0000 (11:50 +0100)]
modulemanager: Add module:fire_event() to module API

15 years agostanza_router: Handle outbound presence if inbound handlers don't catch it
Waqas Hussain [Mon, 18 May 2009 20:07:03 +0000 (01:07 +0500)]
stanza_router: Handle outbound presence if inbound handlers don't catch it

15 years agomod_saslauth: Fix logic error which prevented SASL ANONYMOUS from working
Matthew Wild [Mon, 18 May 2009 03:48:35 +0000 (04:48 +0100)]
mod_saslauth: Fix logic error which prevented SASL ANONYMOUS from working

15 years agoutil.events: Dispatch code now accepts a variable number of arguments
Waqas Hussain [Sat, 16 May 2009 23:50:32 +0000 (04:50 +0500)]
util.events: Dispatch code now accepts a variable number of arguments

15 years agoutil.events: Much more efficient index building
Waqas Hussain [Sat, 16 May 2009 21:06:35 +0000 (02:06 +0500)]
util.events: Much more efficient index building

15 years agostanza_router: s/conn/stream/ in log message
Matthew Wild [Sat, 16 May 2009 19:48:07 +0000 (20:48 +0100)]
stanza_router: s/conn/stream/ in log message

15 years agostanza_router: Remove FIXME and replace with meaningful comment
Matthew Wild [Sat, 16 May 2009 19:19:15 +0000 (20:19 +0100)]
stanza_router: Remove FIXME and replace with meaningful comment

15 years agocomponentmanager: Don't error on stanzas to bare component JID
Matthew Wild [Sat, 16 May 2009 17:23:54 +0000 (18:23 +0100)]
componentmanager: Don't error on stanzas to bare component JID

15 years agoprosody.cfg.lua.dist: Update example to a better one
Matthew Wild [Sat, 16 May 2009 11:01:44 +0000 (12:01 +0100)]
prosody.cfg.lua.dist: Update example to a better one

15 years agoutil.events: handler priorities
Waqas Hussain [Sat, 16 May 2009 10:56:45 +0000 (15:56 +0500)]
util.events: handler priorities

15 years agomodulemanager: require util.stanza
Waqas Hussain [Sat, 16 May 2009 00:28:04 +0000 (05:28 +0500)]
modulemanager: require util.stanza

15 years agomodulemanager: Don't close the stream on unhandled stream:features
Waqas Hussain [Sat, 16 May 2009 00:07:51 +0000 (05:07 +0500)]
modulemanager: Don't close the stream on unhandled stream:features

15 years agostanza_router: Added global function core_post_stanza
Waqas Hussain [Fri, 15 May 2009 22:58:05 +0000 (03:58 +0500)]
stanza_router: Added global function core_post_stanza

15 years agoutil.jid: Eliminate global method use
Waqas Hussain [Fri, 15 May 2009 22:56:51 +0000 (03:56 +0500)]
util.jid: Eliminate global method use

15 years agoutil.muc: Made internal methods local
Waqas Hussain [Fri, 15 May 2009 22:55:53 +0000 (03:55 +0500)]
util.muc: Made internal methods local

15 years agostanza_router: Improved message routing order
Waqas Hussain [Fri, 15 May 2009 21:19:16 +0000 (02:19 +0500)]
stanza_router: Improved message routing order

15 years agoDropped support for resource based components
Waqas Hussain [Fri, 15 May 2009 21:07:27 +0000 (02:07 +0500)]
Dropped support for resource based components

15 years agostanza_router: Removed global function core_handle_stanza
Waqas Hussain [Fri, 15 May 2009 20:41:45 +0000 (01:41 +0500)]
stanza_router: Removed global function core_handle_stanza

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Fri, 15 May 2009 19:38:30 +0000 (20:38 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agostanza_router: Cleaner namespace handling
Waqas Hussain [Fri, 15 May 2009 19:33:49 +0000 (00:33 +0500)]
stanza_router: Cleaner namespace handling

15 years agostanza_router: Refactored core_handle_stanza, and added handling for unsupported...
Waqas Hussain [Fri, 15 May 2009 19:03:24 +0000 (00:03 +0500)]
stanza_router: Refactored core_handle_stanza, and added handling for unsupported top-level stanzas

15 years agostanza_router: Fire events after all checks
Waqas Hussain [Fri, 15 May 2009 18:42:35 +0000 (23:42 +0500)]
stanza_router: Fire events after all checks

15 years agoMerging SASL buggy client workaround with current tip.
Tobias Markmann [Fri, 15 May 2009 15:33:04 +0000 (17:33 +0200)]
Merging SASL buggy client workaround with current tip.

15 years ago.
Tobias Markmann [Fri, 15 May 2009 15:28:39 +0000 (17:28 +0200)]
.

15 years agoSome beauty treatment.
Tobias Markmann [Fri, 15 May 2009 15:28:22 +0000 (17:28 +0200)]
Some beauty treatment.

15 years agoAdding minimal support for authorization identities to workaround buggy SASL implemen...
Tobias Markmann [Fri, 15 May 2009 15:24:52 +0000 (17:24 +0200)]
Adding minimal support for authorization identities to workaround buggy SASL implementations.

15 years agoadding RFC comment
Tobias Markmann [Fri, 15 May 2009 15:05:26 +0000 (17:05 +0200)]
adding RFC comment

15 years agostanza_router: Removed some unnecessary code
Waqas Hussain [Fri, 15 May 2009 03:42:53 +0000 (08:42 +0500)]
stanza_router: Removed some unnecessary code

15 years agostanza_router: Removed a FIXME
Waqas Hussain [Fri, 15 May 2009 03:30:48 +0000 (08:30 +0500)]
stanza_router: Removed a FIXME

15 years agoxmlhandlers: Removed another unnecessary check
Waqas Hussain [Fri, 15 May 2009 02:51:33 +0000 (07:51 +0500)]
xmlhandlers: Removed another unnecessary check

15 years agoxmlhandlers: Removed an unnecessary check
Waqas Hussain [Fri, 15 May 2009 02:27:03 +0000 (07:27 +0500)]
xmlhandlers: Removed an unnecessary check

15 years agocore.xmlhandlers: Removed unused variables
Waqas Hussain [Fri, 15 May 2009 02:24:16 +0000 (07:24 +0500)]
core.xmlhandlers: Removed unused variables

15 years agostanza_router: Fixed an invalid stanza check
Waqas Hussain [Fri, 15 May 2009 02:04:41 +0000 (07:04 +0500)]
stanza_router: Fixed an invalid stanza check

15 years agoutil.stanza: Omit unused clone parameter from error_reply()
Waqas Hussain [Fri, 15 May 2009 01:39:53 +0000 (06:39 +0500)]
util.stanza: Omit unused clone parameter from error_reply()

15 years agomod_presence: Added a FIXME comment about directed presence
Waqas Hussain [Fri, 15 May 2009 01:34:42 +0000 (06:34 +0500)]
mod_presence: Added a FIXME comment about directed presence

15 years agostanza_router: Remove unnecessary directed presence handling
Waqas Hussain [Fri, 15 May 2009 01:34:08 +0000 (06:34 +0500)]
stanza_router: Remove unnecessary directed presence handling

15 years agostanza_router: Prevent further processing of a handled stanza
Waqas Hussain [Fri, 15 May 2009 01:31:32 +0000 (06:31 +0500)]
stanza_router: Prevent further processing of a handled stanza

15 years agomod_presence: return true from the presence handler
Waqas Hussain [Fri, 15 May 2009 01:28:02 +0000 (06:28 +0500)]
mod_presence: return true from the presence handler

15 years agoutil.events: event handlers can now return a result, which also interrupts further...
Waqas Hussain [Fri, 15 May 2009 01:23:55 +0000 (06:23 +0500)]
util.events: event handlers can now return a result, which also interrupts further handling of the event

15 years agoutil.muc: A MUC library - initial commit
Waqas Hussain [Wed, 13 May 2009 18:24:49 +0000 (23:24 +0500)]
util.muc: A MUC library - initial commit

15 years agoMerge with 0.4
Matthew Wild [Wed, 13 May 2009 15:55:20 +0000 (16:55 +0100)]
Merge with 0.4

15 years agostanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error
Matthew Wild [Wed, 13 May 2009 15:54:46 +0000 (16:54 +0100)]
stanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error

15 years agostanza_router: Pass session.to_host to modulemanager, fixes modules for s2sin_unauthed
Matthew Wild [Sat, 9 May 2009 18:43:11 +0000 (19:43 +0100)]
stanza_router: Pass session.to_host to modulemanager, fixes modules for s2sin_unauthed

15 years agomod_muc: commented connection replace detection code because google keeps resendng...
Waqas Hussain [Thu, 7 May 2009 23:41:18 +0000 (04:41 +0500)]
mod_muc: commented connection replace detection code because google keeps resendng directed presence

15 years agomod_muc: s/broadcast_history/send_history/ - since the cast isn't broad
Waqas Hussain [Thu, 7 May 2009 20:29:43 +0000 (01:29 +0500)]
mod_muc: s/broadcast_history/send_history/ - since the cast isn't broad

15 years agomod_muc: Extracted sending of occupant list into its own function
Waqas Hussain [Thu, 7 May 2009 20:27:22 +0000 (01:27 +0500)]
mod_muc: Extracted sending of occupant list into its own function

15 years agomod_muc: Extracted history broadcast into its own function
Waqas Hussain [Thu, 7 May 2009 20:14:01 +0000 (01:14 +0500)]
mod_muc: Extracted history broadcast into its own function

15 years agofallbacks/bit: bit manipulation API (compatible with bitlib for now)
Waqas Hussain [Thu, 7 May 2009 20:09:07 +0000 (01:09 +0500)]
fallbacks/bit: bit manipulation API (compatible with bitlib for now)

15 years agomod_pep: Initial commit (extremely basic implementation)
Waqas Hussain [Thu, 7 May 2009 20:07:35 +0000 (01:07 +0500)]
mod_pep: Initial commit (extremely basic implementation)

15 years agoutil/serialization: Fixed serialization formatting
Waqas Hussain [Thu, 7 May 2009 20:06:45 +0000 (01:06 +0500)]
util/serialization: Fixed serialization formatting

15 years agoutil/sasl: Removed unnecessary references to util.encodings.idna
Waqas Hussain [Thu, 7 May 2009 20:05:53 +0000 (01:05 +0500)]
util/sasl: Removed unnecessary references to util.encodings.idna

15 years agomod_roster: Advertize roster versioning support
Waqas Hussain [Thu, 7 May 2009 20:04:51 +0000 (01:04 +0500)]
mod_roster: Advertize roster versioning support

15 years agoDefault config: Add 'presence' to list of modules
Matthew Wild [Thu, 7 May 2009 18:37:54 +0000 (19:37 +0100)]
Default config: Add 'presence' to list of modules

15 years agoMerge with 0.4
Matthew Wild [Wed, 6 May 2009 20:45:25 +0000 (21:45 +0100)]
Merge with 0.4

15 years agoutil.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)
Matthew Wild [Wed, 6 May 2009 20:45:02 +0000 (21:45 +0100)]
util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)

15 years agoTagging 0.4.1
Matthew Wild [Tue, 5 May 2009 17:08:33 +0000 (18:08 +0100)]
Tagging 0.4.1

15 years agoutil.serialization: Write nil for non-serializable data types, and bump the log level...
Matthew Wild [Tue, 5 May 2009 17:07:13 +0000 (18:07 +0100)]
util.serialization: Write nil for non-serializable data types, and bump the log level to 'error'

15 years agotools/ejabberd2prosody: Fixed private storage export
Waqas Hussain [Tue, 5 May 2009 16:13:09 +0000 (21:13 +0500)]
tools/ejabberd2prosody: Fixed private storage export

15 years agotools/ejabberd2prosody: Fixed private storage export
Waqas Hussain [Tue, 5 May 2009 16:13:09 +0000 (21:13 +0500)]
tools/ejabberd2prosody: Fixed private storage export

15 years agoMerge with 0.4
Matthew Wild [Tue, 5 May 2009 15:41:17 +0000 (16:41 +0100)]
Merge with 0.4

15 years agoprosodyctl: Add message for unable-to-save-data error
Matthew Wild [Tue, 5 May 2009 15:37:43 +0000 (16:37 +0100)]
prosodyctl: Add message for unable-to-save-data error

15 years agoutil.prosodyctl: Return success status of usermanager.create_user()
Matthew Wild [Tue, 5 May 2009 15:37:17 +0000 (16:37 +0100)]
util.prosodyctl: Return success status of usermanager.create_user()

15 years agoprosodyctl: Reformat note to fit in small-width terminals
Matthew Wild [Tue, 5 May 2009 15:25:13 +0000 (16:25 +0100)]
prosodyctl: Reformat note to fit in small-width terminals

15 years agoMerge with 0.4
Matthew Wild [Tue, 5 May 2009 15:17:40 +0000 (16:17 +0100)]
Merge with 0.4

15 years agoprosodyctl: Use correct path for the data directory
Matthew Wild [Tue, 5 May 2009 14:47:34 +0000 (15:47 +0100)]
prosodyctl: Use correct path for the data directory

15 years agoMerge with 0.4
Matthew Wild [Tue, 5 May 2009 13:20:26 +0000 (14:20 +0100)]
Merge with 0.4

15 years agomod_posix: Reload the config and reopen log files on SIGHUP
Matthew Wild [Tue, 5 May 2009 13:19:45 +0000 (14:19 +0100)]
mod_posix: Reload the config and reopen log files on SIGHUP

15 years agologgingmanager: File log sinks react to reopen-log-files event
Matthew Wild [Tue, 5 May 2009 13:19:20 +0000 (14:19 +0100)]
loggingmanager: File log sinks react to reopen-log-files event

15 years agoprosody: Add functions to reload the config and re-open log files
Matthew Wild [Tue, 5 May 2009 13:17:06 +0000 (14:17 +0100)]
prosody: Add functions to reload the config and re-open log files

15 years agoprosodyctl: status: Show warning if we can't find a running Prosody, and we didn...
Matthew Wild [Tue, 5 May 2009 12:24:17 +0000 (13:24 +0100)]
prosodyctl: status: Show warning if we can't find a running Prosody, and we didn't switch user

15 years agoprosodyctl: Switch to Prosody user before attempting to do anything
Matthew Wild [Tue, 5 May 2009 12:23:46 +0000 (13:23 +0100)]
prosodyctl: Switch to Prosody user before attempting to do anything

15 years agonet.httpserver: Fix for urlencoding to always produce 2 digits
Matthew Wild [Mon, 4 May 2009 19:35:44 +0000 (20:35 +0100)]
net.httpserver: Fix for urlencoding to always produce 2 digits

15 years agoMerge with 0.4
Matthew Wild [Mon, 4 May 2009 18:57:05 +0000 (19:57 +0100)]
Merge with 0.4

15 years agonet.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks...
Matthew Wild [Mon, 4 May 2009 18:53:31 +0000 (19:53 +0100)]
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes)

15 years agoMerge with 0.4
Matthew Wild [Sun, 3 May 2009 16:24:57 +0000 (17:24 +0100)]
Merge with 0.4

15 years agoprosodyctl: Hide ejabberd compatibility commands from command listing
Matthew Wild [Sun, 3 May 2009 16:24:35 +0000 (17:24 +0100)]
prosodyctl: Hide ejabberd compatibility commands from command listing

15 years agologgingmanager: Support for specifying a single sink with *sinkname (*syslog should...
Matthew Wild [Sun, 3 May 2009 16:13:43 +0000 (17:13 +0100)]
loggingmanager: Support for specifying a single sink with *sinkname (*syslog should now work)

15 years agoMerge with 0.4
Matthew Wild [Sun, 3 May 2009 00:11:21 +0000 (01:11 +0100)]
Merge with 0.4

15 years agonet.connlisteners: Lower log level of multiple listeners warning (not interesting...
Matthew Wild [Sun, 3 May 2009 00:10:49 +0000 (01:10 +0100)]
net.connlisteners: Lower log level of multiple listeners warning (not interesting to end-users)

15 years agonet.server: Add getserver() method to find the server listening on the specified...
Matthew Wild [Sun, 3 May 2009 00:09:57 +0000 (01:09 +0100)]
net.server: Add getserver() method to find the server listening on the specified port

15 years agoutil.datamanager: Lower log level of 'Setting data path' to 'debug'
Matthew Wild [Sat, 2 May 2009 21:04:21 +0000 (22:04 +0100)]
util.datamanager: Lower log level of 'Setting data path' to 'debug'

15 years agocomponentmanager: Reduce log output at startup to 'debug'
Matthew Wild [Sat, 2 May 2009 21:03:44 +0000 (22:03 +0100)]
componentmanager: Reduce log output at startup to 'debug'

15 years agohostmanager: Reduce log output at startup to 'debug'
Matthew Wild [Sat, 2 May 2009 21:02:43 +0000 (22:02 +0100)]
hostmanager: Reduce log output at startup to 'debug'

15 years agomodulemanager: Don't load modules when modules_enable is false
Matthew Wild [Sat, 2 May 2009 21:01:22 +0000 (22:01 +0100)]
modulemanager: Don't load modules when modules_enable is false

15 years agoprosody: Less verbose logging during shutdown sequence
Matthew Wild [Sat, 2 May 2009 19:36:20 +0000 (20:36 +0100)]
prosody: Less verbose logging during shutdown sequence

15 years agomod_posix: Don't let the server run as root without the magic run_as_root in config
Matthew Wild [Sat, 2 May 2009 19:32:43 +0000 (20:32 +0100)]
mod_posix: Don't let the server run as root without the magic run_as_root in config

15 years agoprosody: Define prosody_shutdown() before emitting the server-starting event
Matthew Wild [Sat, 2 May 2009 19:32:17 +0000 (20:32 +0100)]
prosody: Define prosody_shutdown() before emitting the server-starting event

15 years agoMakefile: Process and install prosodyctl
Matthew Wild [Sat, 2 May 2009 19:30:50 +0000 (20:30 +0100)]
Makefile: Process and install prosodyctl

15 years agoprosodyctl: Multiple fixes for start/status/stop
Matthew Wild [Sat, 2 May 2009 16:48:28 +0000 (17:48 +0100)]
prosodyctl: Multiple fixes for start/status/stop

15 years agoMerge with 0.4
Matthew Wild [Sat, 2 May 2009 16:03:48 +0000 (17:03 +0100)]
Merge with 0.4

15 years agoprosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody servers
Matthew Wild [Sat, 2 May 2009 16:03:19 +0000 (17:03 +0100)]
prosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody servers