aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util.datamanager: Add missing mode flag to seek callKim Alvefur2012-07-311-1/+1
|
* util.datamanager: Remove a few unused importsKim Alvefur2012-07-291-4/+3
|
* util.datamanager: Write to a temporary file and atomically move it into placeKim Alvefur2012-07-291-14/+33
|
* util.datamanager: Use pposix.fallocate() to make sure appends succeed. Also ↵Kim Alvefur2012-07-281-4/+27
| | | | add a fallback fallocate()
* util.datamanager: Add function for removing all data belonging to a userKim Alvefur2012-07-281-0/+14
|
* util.datamanager: Add function for listing storesKim Alvefur2012-07-281-0/+27
|
* Merge with FlorobMatthew Wild2012-07-287-22/+25
|\
| * mod_auth_cyrus, util.sasl_cyrus: Add new option 'cyrus_server_fqdn' to ↵Matthew Wild2012-07-241-2/+6
| | | | | | | | override the hostname passed to Cyrus (and used in e.g. GSSAPI/Kerberos) - fixes #295
| * Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-9/+9
| | | | | | | | removing all cases of concatenation when building log messages
| * util.throttle: floor() internal balance calculationMatthew Wild2012-07-091-1/+2
| |
| * util.logger: Remove some redundant codeMatthew Wild2012-06-251-2/+0
| |
| * util.stanza: Make stanza:childtags() behave like :get_child()Kim Alvefur2012-07-051-2/+2
| |
| * util.sasl: Make registerMechanism a public functionMatthew Wild2012-06-181-1/+1
| |
| * util.dataforms: Fix parsing of -multi fieldsFlorian Zeitz2012-06-121-5/+5
| |
* | mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on ↵Florian Zeitz2012-06-091-0/+2
| | | | | | | | modules setting globals
* | Eliminate direct setfenv usageFlorian Zeitz2012-06-083-11/+13
| |
* | util.envload: New module to abstract Lua 5.1's setfenv and Lua 5.2's loadFlorian Zeitz2012-06-071-0/+34
|/
* util.sasl.plain: make it return "not-authorized" in case of non-existant ↵Marco Cirillo2012-05-281-1/+3
| | | | accounts instead of "account-disabled" to avoid enumeration.
* util.set: Change '/' operator from filter to map+filter (nil to drop from ↵Matthew Wild2012-05-241-2/+3
| | | | set, false is a valid item). No code found which depends on current behaviour.
* util.multitable: Some fixes for iter()... always match against query, and ↵Matthew Wild2012-05-221-10/+11
| | | | pass value after path results
* util.multitable: No longer use table.remove to drop elements from the stack, ↵Matthew Wild2012-05-191-3/+2
| | | | when key is nil immediately (on empty tables) the previous stack entry's key gets removed instead
* util.multitable: Add :iter() method to iterate over results at a fixed depth ↵Matthew Wild2012-05-191-5/+38
| | | | (parameters are equivalent to :search())
* util.watchdog: Pass watchdog object to callback so that it doesn't always ↵Matthew Wild2012-05-181-1/+1
| | | | have to be a closure
* util.dataforms: Don't return invalid JIDs in jid-single.Kim Alvefur2012-05-171-1/+1
|
* util.dataforms: Fix validation of booleans.Kim Alvefur2012-05-171-1/+1
|
* util.dataforms: Do field validation and normalization in field readers.Kim Alvefur2012-05-171-101/+53
|
* Remove util.broadcastMatthew Wild2012-05-161-68/+0
|
* util.timer: Always pass the current time to timer callbacks.Waqas Hussain2012-05-121-2/+2
|
* util.rfc3484: Don't pollute the global scope.Kim Alvefur2012-05-101-2/+2
|
* util.x509: Remove logic for generating certificate configsKim Alvefur2012-05-091-105/+0
|
* util.openssl: Add wrapper for the openssl cli tool and move certificate ↵Kim Alvefur2012-05-091-0/+156
| | | | config logic from util.x509 into it.
* util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)Matthew Wild2012-05-031-2/+2
|
* net.server, net.timer, net.server_select: Rearrange dependencies between ↵Matthew Wild2012-05-031-7/+6
| | | | these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
* util.xmlrpc: Remove (unused)Matthew Wild2012-04-291-182/+0
|
* util.debug: Add +1 to level when getting locals table, to account for ↵Matthew Wild2012-04-281-1/+1
| | | | current function
* util.debug: Re-fix parameter handling (I think it matches debug.traceback() ↵Matthew Wild2012-04-281-11/+16
| | | | more accurately now) and document level fudge
* util.httpstream: Remove COMPAT properties from requestMatthew Wild2012-04-281-3/+0
|
* util.timer: Remove unused function importsMatthew Wild2012-04-281-2/+1
|
* util.stanza: Remove unused function importsMatthew Wild2012-04-281-6/+0
|
* util.helpers: show_events(): Make more robust, and allow filtering results ↵Matthew Wild2012-04-261-9/+11
| | | | to a specific event
* util.debug: Remove 'white' from boundary style (leave at default colour)Matthew Wild2012-04-261-1/+1
|
* util.termcolours: tohtml() for converting output to HTML. I don't know.Matthew Wild2012-04-261-0/+23
|
* util.debug: Some more magic constant fiddling. Don't ask me.Matthew Wild2012-04-251-4/+4
|
* Merge timber->trunk - thanks everyone!Matthew Wild2012-04-245-50/+63
|\
| * util.helpers: Add show_events(), to show the events and handlers in a ↵Matthew Wild2012-04-241-0/+29
| | | | | | | | util.events object
| * util.debug: Turn into a real-ish module ('debugx'), and require you call ↵Matthew Wild2012-04-241-4/+12
| | | | | | | | use() to override debug.traceback()
| * loggingmanager, util.logger: Remove name sinks and the ability to filter ↵Matthew Wild2012-03-151-30/+1
| | | | | | | | logs by source name (lots of code, hardly used if at all, and possibly broken)
| * util.iterators: Make a standard library (no longer injects into global ↵Matthew Wild2012-01-231-11/+14
| | | | | | | | namespace)
| * util.set: Accept nil to add_list()Matthew Wild2012-01-221-2/+4
| |
| * util.helpers: After nearly 'fixing' this code, I conclude it instead only ↵Matthew Wild2012-01-221-1/+1
| | | | | | | | deserves a bigger smile