Log

description author age
MUC: Add allowmemberinvites to disco#info so clients know whether to allow users to invite others in a members-only room Matthew Wild 2018-07-07
util.dataforms: More robust handling of field values, especially booleans Matthew Wild 2018-07-07
net.server: Set default read timeout to 14 minutes (fixes #971) Kim Alvefur 2018-07-06
mod_pep_plus: Use service discovery helpers from pubsub.lib Kim Alvefur 2018-07-06
mod_pubsub: Advertise title and description in disco#info Kim Alvefur 2018-07-06
mod_pubsub: Move service discovery to pubsub.lib to allow reuse Kim Alvefur 2018-07-06
mod_pubsub: Support configurable title and description fields Kim Alvefur 2018-07-06
mod_pubsub: Translate missing fields into node config Kim Alvefur 2018-07-06
mod_muc: Add support for muc_room_default_allow_member_invites Matthew Wild 2018-07-06
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this) Matthew Wild 2018-07-06
luacheckrc: Remove exception for modules that produce no warnings Kim Alvefur 2018-07-05
mod_announce: Fix luacheck warnings Kim Alvefur 2018-07-05
luacheckrc: Consider mod_http clean Kim Alvefur 2018-07-05
mod_http: Rename argument to avoid name clash with outer scope [luacheck] Kim Alvefur 2018-07-05
mod_http: Rename loop variable to avoid name clash [luacheck] Kim Alvefur 2018-07-05
mod_http: Rename loop variable to avoid name clash [luacheck] Kim Alvefur 2018-07-05
mod_http: Silecence harmless warnings Kim Alvefur 2018-07-05
luacheckrc: Remove exception for mod_pep, it's clean Kim Alvefur 2018-07-05
mod_pep: Remove unused variable [luacheck] Kim Alvefur 2018-07-05
mod_pep: Rename variables to avoid name clash [luacheck] Kim Alvefur 2018-07-05
mod_pep: Move comment to a shorter line [luacheck] Kim Alvefur 2018-07-05
mod_admin_telnet: Add some experimental commands for inspecting stats Matthew Wild 2018-07-04
mod_ping: Fix typo Kim Alvefur 2018-07-02
mod_uptime: Depend on mod_adhoc Kim Alvefur 2018-07-02
mod_ping: Depend on mod_ahoc Kim Alvefur 2018-07-02
mod_announce: Depend on mod_adhoc for consistent behaviour (thanks meaz, Link Mauve) Kim Alvefur 2018-07-02
CHANGES: Restructure Pubsub category Kim Alvefur 2018-07-02
util.startup: Add a comment marking some compat code Kim Alvefur 2018-07-01
mod_pubsub: Remove feature flag for data persistence since node config is now persistent Kim Alvefur 2018-07-01
util.pubsub: Return error code known by pubsub.lib if persistent creation fails Kim Alvefur 2018-07-01
util.pubsub: Store subscription changes Kim Alvefur 2018-07-01
util.pubsub: Persistence on affiliation change Kim Alvefur 2018-07-01
mod_pubsub: Make pubsub.lib aware of internal-server-error condition Kim Alvefur 2018-07-01
util.pubsub: Remove node from persistent storage on deletion Kim Alvefur 2018-07-01
util.pubsub: Persist nodes on configuration change Kim Alvefur 2018-07-01
util.pubsub: Fix applying per service node defaults when loading from nodestore Kim Alvefur 2018-07-01
mod_pep_plus: Support persistence of node configuration Kim Alvefur 2018-07-01
Merge 0.10->trunk Kim Alvefur 2018-06-28
prosodyctl: Warn if attempting to run an unknown check (fixes #1161) Kim Alvefur 2018-06-28
mod_pubsub: Handle optional item (thanks jonasw) Kim Alvefur 2018-06-27
util.dataforms: Add support for field descriptions in <desc> Kim Alvefur 2018-06-27
MUC: Remove affiliation notify support, nothing uses it Matthew Wild 2018-06-27
MUC: Remove text body from affiliation change notification Matthew Wild 2018-06-27
MUC: Remove 'affiliation notify' config option, as it's irrelevant to room owners, always notify instead Matthew Wild 2018-06-27
util.pubsub: Fix typo Kim Alvefur 2018-06-26
mod_pubsub: Apply normalization to JIDs retrieved from attributes Kim Alvefur 2018-06-26
mod_pubsub: Handle :set_affiliation errors (not completely in line with the XEP) Kim Alvefur 2018-06-26
mod_pubsub: Support for setting affiliations (#622) Kim Alvefur 2018-06-26
mod_pubsub: Add boilerplate for changing affiliations Kim Alvefur 2018-06-26
util.pubsub: Normalize JID used as affiliation Kim Alvefur 2018-06-26
mod_pubsub: Add the list of affiliations to reply Kim Alvefur 2018-06-26
mod_pubsub: Retrieve the node object Kim Alvefur 2018-06-26
mod_pubsub: Boilerplate checks for affiliation retrieval Kim Alvefur 2018-06-26
mod_pubsub: Add stubs for affiliation handling Kim Alvefur 2018-06-26
MUC: Avoid sending error for unavailable presence in GC 1.0 check Kim Alvefur 2018-06-26
Backed out changeset d41f8ce67c8e Kim Alvefur 2018-06-26
MUC: Record timestamp of subject changes and stamp delay tag later Kim Alvefur 2018-06-26
MUC: Reorder subject related arguments to increasing requiredness (API break) Kim Alvefur 2018-06-26
util.async: Copy hooks from main thread into coroutines Matthew Wild 2018-06-25
MUC: Measure cache hits and misses Kim Alvefur 2018-06-23
MUC: Rename eviction hit rate measure Kim Alvefur 2018-06-23
prosodyctl: Restrict c2s checks for when c2s is enabled Kim Alvefur 2018-06-23
prosodyctl: Only check for s2s if mod_s2s is enabled (fixes #1031) Emmanuel Gil Peyrot 2018-06-23
Merge 0.10->trunk Matthew Wild 2018-06-22
mod_admin_telnet: Add debug:events() and debug:logevents() Matthew Wild 2018-06-22
Merge 0.10->trunk Kim Alvefur 2018-06-22
mod_s2s: Close sockets held by resolver (#1170) Kim Alvefur 2018-06-17
mod_bosh: Add extra debug logging to help with #1134 Kim Alvefur 2018-05-14
prosodyctl: check: Replace loaded-module calculation with a more accurate query to modulemanager, fixes #1171 Matthew Wild 2018-06-20
modulemanager: Expose function to get the list of modules that should be loaded on a host Matthew Wild 2018-06-20
MUC: Normalize role value, fixes removal on loss of membership (thanks mimi89999) Kim Alvefur 2018-06-18
MUC: Remove support for GC 1.0 for joining Kim Alvefur 2018-03-09
MUC: Remove support for GC 1.0 during room creation Kim Alvefur 2018-03-09
MUC: Move extraction of <{muc}x> earlier, to be used later to differentiate between join and presence update Kim Alvefur 2018-03-09
mod_s2s: Use session logger to ease debugging Kim Alvefur 2018-06-14
mod_s2s: Log a message before trying the next SRV record Kim Alvefur 2018-06-14
Merge 0.10->trunk Kim Alvefur 2018-06-10
net.dns: Lazily generate unknown RR type names Kim Alvefur 2018-06-10
Backed out changeset eae606b9266c: Used a lot of memory Kim Alvefur 2018-06-10
Merge 0.10->trunk Kim Alvefur 2018-06-09
mod_mam: Add coment on how 'complete' works Kim Alvefur 2018-06-09
mod_mam: Handle edge-case of max=0 so that complete attr is set (fixes #1128) Kim Alvefur 2018-06-09
net.dns: Expand table of known RR types from IANA registry Kim Alvefur 2018-06-09
Merge 0.10->trunk Kim Alvefur 2018-06-09
net.dns: Syntesize type names for the full range Kim Alvefur 2018-06-09
net.dns: Don't attempt to cache unparsed data (fixes #1056) Kim Alvefur 2018-06-09
mod_s2s: Fix DNS timeout setting for per-session resolvers (fixes #1167) Kim Alvefur 2018-06-08
net.dns: Also cache records from the 'additional' section Kim Alvefur 2018-06-02
net.dns: Cache all records from the 'answer' section (fixes #487) Kim Alvefur 2018-06-08
mod_s2s: Add setting for overriding DNS resolvers (and avoid reading /etc/resolv.conf every time) Kim Alvefur 2018-06-02
mod_pep_plus: Prevent nil from being added as a child on item deletion. Emmanuel Gil Peyrot 2018-06-08
util.stanza: Remove redundant check from :text now done in :add_direct_child Kim Alvefur 2018-06-08
net.websocket: Honour ex.insecure to match net.http's new parameter for that Matthew Wild 2018-06-08
net.websocket: Fix incompatibility with net.http changes Matthew Wild 2018-06-08
MUC: Ignore unused 'self' [luacheck] Kim Alvefur 2018-06-08
util.stanza: Verify that other objects added as children are valid strings Kim Alvefur 2018-06-08
util.stanza: Verify that child tags added are really stanzas (closes #1165) Kim Alvefur 2018-06-08
Merge 0.10->trunk Kim Alvefur 2018-06-08
Backed out changeset b8c3dbf76a2e (fixes #1162) Kim Alvefur 2018-06-08
mod_component: Fix a wrongly-placed closing parenthesis, fixes #1164. Emmanuel Gil Peyrot 2018-06-08
util.presence: Remove TODO about deprecated XEP-0016. Emmanuel Gil Peyrot 2018-06-08
Backed out changeset cd186331ab1f (subject in disco#info) Kim Alvefur 2018-06-07
util.prosodyctl: Rename variables for consistency (thanks Link Mauve) Kim Alvefur 2018-06-06
Merge 0.10->trunk Matthew Wild 2018-06-07
prosodyctl: Make log level configurable through PROSODYCTL_LOG_LEVEL (useful for debugging) Matthew Wild 2018-06-07
Added tag 0.10.2 for changeset 7ec098b68042 Matthew Wild 2018-05-31
MUC: Expose method for creating a bare room object Kim Alvefur 2018-06-06
mod_muc_unique: Use util.id for more compact identifiers Kim Alvefur 2018-06-06
MUC: Track rooms created via internal public API Kim Alvefur 2018-06-05
console: Allow passing a config when creating a room Kim Alvefur 2018-04-14
MUC: Allow passing config to public create_room API Kim Alvefur 2018-04-14
util.sasl.anonymous: Shorter! Kim Alvefur 2018-06-05
util.sasl.anonymous: Generate shorter random usernames Kim Alvefur 2018-05-29
sessionmanager: Generate shorter random resoures Kim Alvefur 2018-05-29
MUC: Advertise support for voice requests Kim Alvefur 2018-06-02
MUC: Fix Ooo (thanks pep.) Kim Alvefur 2018-06-03
MUC: Make rooms hidden (non-public) by default for improved privacy Kim Alvefur 2018-06-03
MUC: Use xml:lang from stanza that creates a room as default for language Kim Alvefur 2018-06-03
MUC: Add support for setting MUC room defaults from the config file Kim Alvefur 2018-06-03
MUC: Enable room locking by default to gather feedback (#328) Kim Alvefur 2018-06-03
MUC: Move voice request into its own lib Kim Alvefur 2018-06-02
util.dataforms: Add a simple function for identifying form types Kim Alvefur 2018-06-02
util.dataforms: Remove string conversion to let util.stanza validate types Kim Alvefur 2018-06-02
util.dataforms: Add initial tests Kim Alvefur 2018-06-02
MUC: Correctly use a multiple options field for requested role (thanks jonasw) Kim Alvefur 2018-06-02
MUC: Handle and return error in role change when granting voice Kim Alvefur 2018-06-01
MUC: Add some debug logging for voice requests Kim Alvefur 2018-06-01
MUC: Invert final conditional to be consistent with the other if statements Kim Alvefur 2018-06-01
MUC: Get acting occupant into a local variable for easier access Kim Alvefur 2018-06-01
MUC: Use util.jid.resource Kim Alvefur 2018-06-01
CHANGES: Mention voice request Kim Alvefur 2018-02-19
MUC: Split out the nickname from the full room JID in voice request from Kim Alvefur 2017-10-21
MUC: Reuse the same dataform for voice requests Kim Alvefur 2017-10-20
MUC: Ignore unused argumens [luacheck] Kim Alvefur 2017-10-20
MUC: Support MUC voice requests and approvals in moderated rooms (closes #655) (thanks to Lance Stout) Kim Alvefur 2017-10-20
MUC: Include a human-readable error message when not allowed to change subject Kim Alvefur 2018-06-01
MUC: Advertise room subject in disco#info Kim Alvefur 2018-06-01
MUC: Advertise in whether participants are allowed to change the subject (#1155) Kim Alvefur 2018-06-01
Merge 0.10->trunk Matthew Wild 2018-05-30
Merge 0.9->0.10 0.10.2 Matthew Wild 2018-05-30
Added tag 0.9.14 for changeset 29c6d2681bad Matthew Wild 2018-05-30
mod_c2s: Do not allow the stream 'to' to change across stream restarts (fixes #1147) 0.9.14 Kim Alvefur 2018-05-25
Merge 0.10->trunk Matthew Wild 2018-05-30
MUC: Revert unstable MUC commits since 0.10.1 Matthew Wild 2018-05-30
MUC: Fix error logged when no persistent rooms present Matthew Wild 2018-05-30
mod_bosh: Store the normalized hostname on session (fixes #1151) Kim Alvefur 2018-05-30
MUC: Handle setting default history messages when history length is unset (thanks tmolitor) Kim Alvefur 2018-05-29
MUC: ensure that x/item/@jid is always a bare JID Jonas Wielicki 2018-05-17
MUC: correctly emit <status/> tags Jonas Wielicki 2018-05-17
MUC: reject non-bare JIDs in set_affiliation requests with not-acceptable Jonas Wielicki 2018-05-17
MUC: fix set_role invocation Jonas Wielicki 2018-05-17
mod_disco: Skip code specific to disco on user accounts (avoids invoking usermanager, fixes #1150) Kim Alvefur 2018-05-28
MUC: Add support for setting a room language (closes #1149) Kim Alvefur 2018-05-30
mod_muc_mam: Set status code 170/171 on archiving configuration change Kim Alvefur 2018-05-29
MUC: Some spacing to improve readability Kim Alvefur 2018-05-26
MUC: Pass description via formdata field where it should be Kim Alvefur 2018-05-26
MUC: Use correct field name for description in disco#info (fixes #1148) Kim Alvefur 2018-05-26
Merge 0.10->trunk Kim Alvefur 2018-05-25
core.certmanager: Allow all non-whitespace in service name (fixes #1019) Kim Alvefur 2018-05-25
mod_pubsub: Add support for parsing subscription options form (no options supported yet) Kim Alvefur 2018-05-23
mod_pubsup: Ignore unused 'self' argument [luacheck] Kim Alvefur 2018-05-23
.luacheckrc: Remove mod_pubsub/pubsub.lib.lua from files excluded from checks Kim Alvefur 2018-05-23
Backed out changeset bf91de890107: It did not have the intended effectc Kim Alvefur 2018-05-22
mod_pubsub: Fix syntax error Kim Alvefur 2018-05-22
.luacheckrc: Only ignore warnings for excluded files, not syntax errors Kim Alvefur 2018-05-22
Merge 0.10->trunk Kim Alvefur 2018-05-22
mod_c2s: Avoid concatenating potential nil value (fixes #753) Kim Alvefur 2018-05-22
MUC: Add support for an optional hard limit on number of rooms (fixes #766) Kim Alvefur 2018-05-22
spec/util_pubsub: Test whether someone can subscribe to a node Kim Alvefur 2018-05-20
util.pubsub: Also check for affiliation set on bare JID Kim Alvefur 2018-05-21
mod_pubsub: Add support for generation of a plain text <body> from Atom payloads Kim Alvefur 2018-05-20
mod_pubsub: Make the 'type' attribute on broadcast messages configurable Kim Alvefur 2018-05-20
util.pubsub: Pass node and service objects to broadcaster to allow eg config access Kim Alvefur 2018-05-20
mod_watchregistrations: Allow making the message type configurable Kim Alvefur 2018-05-20
mod_pubsub: Set an id attribute on outgoing event messages Kim Alvefur 2018-05-20
util.pubsub: Add a default/fallback JID normalization function Kim Alvefur 2018-05-20
util.pubsub: Don't record the superuser as owner on creation Kim Alvefur 2018-05-20
mod_pubsub: Use moduleapi broadcast method Kim Alvefur 2018-05-20
GNUmakefile: Add a fallback for `hg files` not working in linter target Kim Alvefur 2018-05-20
.luacheckrc: Ignore attempts to get table.unpack Kim Alvefur 2018-05-18
spec/util_iterators: Remove unused import of util.set [luacheck] Kim Alvefur 2018-05-18
.luacheckrc: Remove mod_limits from excluded files as it should now be clean Kim Alvefur 2018-05-18
mod_limits: Rename variable to avoid name clash [luacheck] Kim Alvefur 2018-05-02
Fix wrong tests committed with 7b621a4a2e8d Matthew Wild 2018-05-18
.luacheckrc: Add some additional stricter requirements when PROSODY_STRICT_LINT=1 Matthew Wild 2018-05-18
.luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1 Matthew Wild 2018-05-18
.luacheckrc: Fix whitespace Matthew Wild 2018-05-18
GNUmakefile: Add 'lint' target Matthew Wild 2018-05-18
util.iterators: Add join() method and tests Matthew Wild 2018-05-18
Merge 0.10 -> trunk Matthew Wild 2018-05-16
MUC: Restore status codes on presence sent to occupant when their affiliation changes (thanks jonasw) Matthew Wild 2018-05-16
Merge 0.10 -> trunk Matthew Wild 2018-05-16
MUC: Allow the number of messages sent by default to be configured (fixes #397) Matthew Wild 2018-05-16
MUC: Import revised, more comprehensive patch for 8da11142fabf (#345) Matthew Wild 2018-05-16
muc: Allow clients to change multiple affiliations or roles at once (#345) Lennart Sauerbeck 2017-03-18
Added tag 0.10.1 for changeset 4ae8dd415e94 Matthew Wild 2018-05-11
mod_websocket: Store the request object on the session for use by other modules 0.10.1 Matthew Wild 2018-05-08
util.async: Move runner id into log tag Kim Alvefur 2018-05-03
prosodyctl: Config check for modules that are also components (fixes #1138) Kim Alvefur 2018-05-11
mod_muc_mam: Have stanza-id filtering over all groupchat messages, not just ones considered for history Kim Alvefur 2018-04-27
mod_muc_mam: Skip fetching history if built-in recent history is enough Kim Alvefur 2018-04-27
mod_muc_mam: Skip fetching history if no history was requested Kim Alvefur 2018-04-27
mod_muc_mam: Tweak calculation of max history to retrieve Kim Alvefur 2018-04-27
GNUMakefile: Add note about how to list coverage of individual files Matthew Wild 2018-04-30
net.server: Add watchfd, a simple API for watching file descriptors Kim Alvefur 2018-05-09
MUC: Introduce an event to allow plugins to influence which messages are added to history Kim Alvefur 2018-05-07
MUC: Move condition for what gets added to history so that other modules benefit (thanks jcbrand) Kim Alvefur 2018-05-07
net.server_epoll: Guard against connection missing the getpeername method (thanks LuaSec) Kim Alvefur 2018-05-02
net.server_epoll: Retry retrieving peername once connected Kim Alvefur 2018-05-02
net.server_epoll: Handle connection being closed and destroyed in onconnect callback Kim Alvefur 2018-05-02
net.resolvers.basic: Support IP address literals Kim Alvefur 2018-05-02
mod_privacy: Silence long line warning [luacheck] Kim Alvefur 2018-05-02
mod_admin_adhoc: Silence various harmless warnings [luacheck] Kim Alvefur 2018-05-01
mod_admin_adhoc: Rename loop variable to avoid name clash [luacheck] Kim Alvefur 2018-05-01
mod_admin_adhoc: Rename variable to avoid name clash [luacheck] Kim Alvefur 2018-05-01
mod_admin_adhoc: Remove unused initial values [luacheck] Kim Alvefur 2018-05-01
mod_admin_adhoc: Split a long line (improves readability) [luacheck] Kim Alvefur 2018-05-01
mod_legacyauth: Split a long line [luacheck] Kim Alvefur 2018-05-01
mod_bosh: Fix inconsistent whitespace [luacheck] Kim Alvefur 2018-05-01
util.async: Add helper methods for setting watchers Matthew Wild 2018-04-30
mod_bosh: Fix for 7be8f649d97d to skip error handling and allow other modules to handle the request Matthew Wild 2018-04-29
mod_c2s: Add a counter for IPv6. Emmanuel Gil Peyrot 2017-09-09
mod_s2s: Add a counter for IPv6. Emmanuel Gil Peyrot 2017-09-09
util.timer: Ensure we don't try to schedule negative timeouts (which rightly upset libevent). Fixes #1135 Matthew Wild 2018-04-29
util.events: Add more tests (100% line coverage) Matthew Wild 2018-04-25
util.events: Add tests Matthew Wild 2018-04-24
Merge 0.10->trunk Matthew Wild 2018-04-24
util.events: Fix loop construct (negative step required) Matthew Wild 2018-04-24
mod_http_files: Correct cache insertion (fixes #1130) Kim Alvefur 2018-04-17
util.startup: Don't initialize global protection for prosodyctl, for now Matthew Wild 2018-04-18
util.startup: Force console logging before initializing logging (see 2fdeb979cc7c) Kim Alvefur 2018-04-14
MUC: Move something into empty if branch Kim Alvefur 2018-03-09
mod_pep_plus: Skip getting PEP service instance for sessions that have not touched PEP Kim Alvefur 2018-04-11
mod_bosh: Increase number of stored responses to ensure we always keep responses within the rid window available Matthew Wild 2018-04-11
net.server_event: Don't close servers if just quitting the loop once Matthew Wild 2018-04-10
loggingmanager: Remove luacheck annotations for global log functions that are now set in util.startup Kim Alvefur 2018-04-10
net.server_select: Allow setquitting("once") to allow resuming the loop later Matthew Wild 2018-04-10
util.startup: Initialize logging immediately after configuration is read (which is how it used to work) Matthew Wild 2018-04-10
mod_bosh: Improve connection robustness with better handling of unexpected rids Matthew Wild 2018-04-10
mod_bosh: Some additonal comments to improve code readability Matthew Wild 2018-04-10
mod_bosh: Whitespace Matthew Wild 2018-04-10
mod_bosh: Improve logging - parse errors will now log through the session logger if possible Matthew Wild 2018-04-10
mod_bosh: Improve logging on session close (reason may be a table with params) Matthew Wild 2018-04-10
Merge 0.10->trunk Kim Alvefur 2018-04-10
mod_blocklist: Allow mod_presence to handle subscription stanzas before bouncing outgoing presence (fixes #575) Kim Alvefur 2018-04-06
mod_register_limits: Promote log message about inability to apply black/whitelists to a warning Kim Alvefur 2018-04-09
mod_register_limits: Change debug message wording, there's no user yet Kim Alvefur 2018-04-09
mod_register_limits: Use existing local variable Kim Alvefur 2018-04-09
mod_register_ibr: Return a textual error to the user for problems with parsing form data Kim Alvefur 2018-04-09
mod_register_ibr: Reshape the code using early returns to reduce needless indentation Kim Alvefur 2018-04-07
util.ringbuffer: Fix typo in comment [codespell] Kim Alvefur 2018-04-06
util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR) Kim Alvefur 2018-04-06
util.startup: Fix traceback due to both plugin path becoming nil if plugin_paths is unset Kim Alvefur 2018-04-06
net.connlisteners: Remove duplicated field in exports [luacheck] Kim Alvefur 2018-04-05
Merge 0.10->trunk Kim Alvefur 2018-04-05
net.http: Import setmetatable into local scope (fixes #1125) Kim Alvefur 2018-04-05
mod_ping: Ignore unused arguments [luacheck] Kim Alvefur 2018-04-05
Fix spelling throughout the codebase [codespell] Kim Alvefur 2018-02-04
luacheckrc: No longer ignore use of the global 'server' (net.server) Kim Alvefur 2018-04-05
prosody: Get net.server via requre to avoid relying on globals Kim Alvefur 2018-04-05
mod_muc_mam: Save the MUC <x> on recorded join stanzas Kim Alvefur 2018-03-24
mod_muc_mam: Let muc/history.lib decide which messages to store Kim Alvefur 2018-03-24
mod_muc_mam: Remove 0.10 compat code Kim Alvefur 2017-12-12
mod_muc_mam: Import mod_mam_muc from prosody-modules ba6466fa6823 Kim Alvefur 2018-04-02
util.startup: Set up event hooks for reloading logging here instead of in loggingmanager to simplify startup dependencies Kim Alvefur 2018-04-05
util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies Kim Alvefur 2018-04-05
util.startup: Initialize logging earlier, so that messages from eg net.server are shown Kim Alvefur 2018-04-05
prosodyctl: Use prosody.hosts instead of _G.hosts Kim Alvefur 2018-03-29
core: Use prosody.hosts instead of _G.hosts for consistency Kim Alvefur 2018-03-29
luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts Kim Alvefur 2018-03-29
util.startup: Access the hosts table via the prosody global for consistency Kim Alvefur 2018-03-29
prosody: Use prosody.log instead of _G.log because it looks nicer Kim Alvefur 2018-04-05
util.startup: Use own logger instead of the possibly not available yet _G.log Kim Alvefur 2018-04-05
util.startup: Remove luacheck directive for ignoring use of _G.log which might not exist until loggingmanager has been loaded Kim Alvefur 2018-04-05
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization) Kim Alvefur 2018-04-05
luacheckrc: Remove allowance for the global log() since it may not exist as early as before Kim Alvefur 2018-04-05
Merge 0.10 -> trunk Matthew Wild 2018-04-04
CHANGES: Normalize syntax Kim Alvefur 2018-04-02
Merge 0.10 -> trunk Matthew Wild 2018-04-04
net.http: Fix parameter order to http request callbacks Matthew Wild 2018-04-04
MUC: Don't reply to errors with more errors (fixes #1122) Kim Alvefur 2018-03-28
MUC: Say something about storage failure before aborting (see #1091) Kim Alvefur 2018-03-12
MUC: Prevent creation of room that could not be loaded from storage (see #1091) Kim Alvefur 2018-03-09
MUC: Abort module loading if unable to get list of persistent rooms from storage (fixes #1091) Kim Alvefur 2018-03-07
prosodyctl: Increase robustness in luarocks version detection (fixes #1003) Kim Alvefur 2018-03-30
Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1 Kim Alvefur 2018-03-29
util.startup: Initialize the 'prosody' global earlier (various things needs the global util.events instance) Kim Alvefur 2018-03-29
util.startup: Factor out processing of plugin and data paths into a separate functions Kim Alvefur 2018-03-29
util.json: Unescape surrogate pairs Matthew Wild 2018-03-27
mod_pep_plus: Validate items here too (thanks Link Mauve) Kim Alvefur 2018-03-25
mod_pubsub: Reject publishing of non-items Kim Alvefur 2018-03-21
util.pubsub: Allow setting a callback for validating items to be published Kim Alvefur 2018-03-21
loggingmanager: Hook event for reopening log files instead of config reloaded Kim Alvefur 2018-03-25
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) Kim Alvefur 2018-03-25
storagemanager: Default storage_async_check to false for a while Matthew Wild 2018-03-25
net.http: Allow enabling/disabling error suppression, useful for tests Matthew Wild 2018-03-24
net.http: Fix for Lua 5.2: return error from error handler (xpcall changed) Matthew Wild 2018-03-24
util.startup: Read version for prosodyctl (restores version in 'about' command) Kim Alvefur 2018-03-24
net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason) Kim Alvefur 2018-03-23
net.server: Try to require configmanager instead checking for the prosody global which does not yet exist when net.server is loaded now Kim Alvefur 2018-03-23
util.timer: Move sleep() here from util.async Kim Alvefur 2018-03-23
util.async: Remove last trace of async.once [luacheck] Kim Alvefur 2018-03-23
util.async: Remove async.once(), can now be replaced by runner():run(func) Matthew Wild 2018-03-23
prosody, util.startup: Switch from async.once() to long-lived thread, to avoid GC Matthew Wild 2018-03-23
util.async: Make parameters to async.runner() optional Matthew Wild 2018-03-23
mod_announce: Remove unreachable return statement [luacheck] Kim Alvefur 2018-03-23
net.httpserver: Make function local, fixes loading since there is no environment [luacheck] Kim Alvefur 2018-03-23
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck] Kim Alvefur 2018-03-23
luacheckrc: Let luacheck know about the log and server globals Kim Alvefur 2018-03-23
stanza_router: Limit scope of deprecated warning function since it is not used anywhere else [luacheck] Kim Alvefur 2018-03-23
s2smanager: Explicitly export the incoming_s2s table [luacheck] Kim Alvefur 2018-03-23
luacheckrc: Only allow top level declarations in the main prosody executable Kim Alvefur 2018-03-23
util.startup: Expose make_host() function Matthew Wild 2018-03-22
util.startup: Expose user switching information via prosody global object Matthew Wild 2018-03-22
prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixes Matthew Wild 2018-03-22
storagemanager: Remove unused variable [luacheck] Kim Alvefur 2018-03-22
util.async: Use wrapper for once runner (thanks luacheck) Kim Alvefur 2018-03-22
prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable Matthew Wild 2018-03-22
util.startup: Fix variable usage [luacheck] Matthew Wild 2018-03-22
util.startup: Move original_logging_config to a local variable Matthew Wild 2018-03-22
util.startup: Restore user switching Matthew Wild 2018-03-22
util.startup: Fix chdir() to use correct path variable Matthew Wild 2018-03-22
mod_posix: Delay setting signal handlers until in the main thread Matthew Wild 2018-03-22
MUC: Catch and log error in case of storage failure in iterator over rooms Kim Alvefur 2018-03-15
MUC: Override methods on broken rooms to return internal-server-error instead Kim Alvefur 2018-03-22
MUC: Return error if unable to keep track of room due to storage failure Kim Alvefur 2018-03-07
MUC: Log failure to load room state Kim Alvefur 2018-03-16
MUC: Only fetch stored room state if room config is loaded without error Kim Alvefur 2018-03-16
MUC: Prevent room eviction on storage failure Kim Alvefur 2018-03-07
MUC: Produce an untracked, locked room on failure to read room from storage (#1091) Kim Alvefur 2018-03-12
util.async: Allow nil as a guard key Matthew Wild 2018-03-22
storagemanager: Log warning on storage access outside of async contexts Matthew Wild 2018-03-22
util.startup: Execute startup routine inside async context Matthew Wild 2018-03-22
prosodyctl: Run commands inside async context Matthew Wild 2018-03-22
util.async: Add sleep() method Matthew Wild 2018-03-22
util.async: tests: ensure async.once() propagates errors Matthew Wild 2018-03-22
util.async: Add once() to create temporary runners Matthew Wild 2018-03-22
util.async: Add ready() to check whether running in async context Matthew Wild 2018-03-22
util.pubsub: Add simple test covering publishing and retrieving an item Kim Alvefur 2018-03-21
mod_roster: Use new :text_tag() Kim Alvefur 2018-03-21
util.stanza: Add :text_tag(), a shortcut for adding nodes with text Kim Alvefur 2018-03-21
mod_roster: Iterate over roster group items in more modern manner Kim Alvefur 2018-03-21
mod_proxy65: Fix all warnings from luacheck Matthew Wild 2018-03-21
mod_proxy65: Fix passing number to stanza API (thanks mimi89999) Matthew Wild 2018-03-21
util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("") Matthew Wild 2018-03-21
util.stanza: Allow :text(nil) and :text("") as harmless nops Matthew Wild 2018-03-21
util.startup: Remove unused loop variable [luacheck] Kim Alvefur 2018-03-21
util.startup: Ignore various globals being read and written as part of startup [luacheck] Kim Alvefur 2018-03-21
util.startup: Trim trailing whitespace [luacheck] Kim Alvefur 2018-03-21
util.startup: Oops, uncomment accidentally-commented code Matthew Wild 2018-03-20
prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module Matthew Wild 2018-03-20
util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2 Matthew Wild 2018-03-20
util.async: tests: more code re-use Matthew Wild 2018-03-19
util.async: tests: luacheck-clean, fixes some actual issues Matthew Wild 2018-03-19
util.async: tests: remove obsolete code and comments Matthew Wild 2018-03-19
util.async: tests: slight modifications to allow more code reuse in tests Matthew Wild 2018-03-19
util.async: Bump log warnings to error level Matthew Wild 2018-03-19
util.async: Add some more tests for wait/done Matthew Wild 2018-03-18
util.async: Split runner_continue into smaller functions for easier testing and safety Matthew Wild 2018-03-18
util.stanza: Switch from asserts to if's, improve performance, errors and tests Matthew Wild 2018-03-18
util.async: Remove redundant line committed by mistake (Zash, luacheck) Matthew Wild 2018-03-17
util.async: tests: Ensure done() can be called before wait() Matthew Wild 2018-03-17
util.async: tests: Add helper function to create mock watcher callbacks Matthew Wild 2018-03-17
util.async: Trim trailing whitespace in tests [luacheck] Kim Alvefur 2018-03-17
util.stanza: Test coverage of is_stanza() Kim Alvefur 2018-03-17
util.format: Add test coverage for case of extra nil argument Kim Alvefur 2018-03-17
util.format: Fix tests to have expected value first Kim Alvefur 2018-03-17
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour Matthew Wild 2018-03-17
util.async: if debugging is enabled, use runner id in logs Matthew Wild 2018-03-17
util.async: ensure change in e77b37de482e applies after out-of-loop resume also Matthew Wild 2018-03-17
util.async: Behaviour change: continue to process queued items after errors Matthew Wild 2018-03-17
util.async: Yet more tests Matthew Wild 2018-03-17
util.async: Convert asserts to a return false (same as other unexpected behaviour) Matthew Wild 2018-03-17
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console) Matthew Wild 2018-03-17
util.async: Add comment Matthew Wild 2018-03-16
util.async: You can never have too many asserts! Matthew Wild 2018-03-16
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests) Matthew Wild 2018-03-16
util.async: Add test to ensure waiters throw an error outside async contexts Matthew Wild 2018-03-16
util.async: Add tests to specifically cover error handling Matthew Wild 2018-03-16
MUC: Use empty string if no subject provided (thanks pep+) Matthew Wild 2018-03-16
util.async: Add tests Matthew Wild 2018-03-16
util.async: Log the non-error state as well when there is an error being processed Matthew Wild 2018-03-16
util.async: Bugfix, don't continue main loop while there is a pending error Matthew Wild 2018-03-16
util.async: Fix order of statements so queue count makes more sense Matthew Wild 2018-03-16