aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_internal, datamanager: Add support for iterating over users with ↵Kim Alvefur2012-09-211-0/+19
| | | | data in a store
* storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵Kim Alvefur2012-09-171-21/+31
| | | | list_stores() with an iterator version
* util.datamanager: Make the util.pposix dependency optional.Waqas Hussain2012-09-121-20/+15
|
* util.datetime: Fix timestamp parsing pattern.Waqas Hussain2012-08-281-1/+1
|
* util.datamanager: Ignore errors if the file is gone after removing itKim Alvefur2012-08-261-4/+13
|
* util.prosodyctl: Use usermanager to delete users instead of unsetting their ↵Kim Alvefur2012-08-251-2/+2
| | | | password
* util.datamanager: Collect errors when deleting all stores of a user, but ↵Kim Alvefur2012-08-251-4/+6
| | | | ignore "no such file"
* util.stanza: Use ipairs instead of childtags (behavior changed in 92c86e11fd44)Kim Alvefur2012-08-211-1/+1
|
* util.array: Accept an iterator to the array constructorMatthew Wild2012-08-081-1/+4
|
* util.pluginloader: Remove unused importsMatthew Wild2012-08-011-2/+1
|
* util.pluginloader: Expose load_fileMatthew Wild2012-08-011-1/+1
|
* Merge Waqas<>ZashMatthew Wild2012-07-311-0/+12
|\
| * util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite ↵Waqas Hussain2012-08-011-0/+12
| | | | | | | | exisitng files on Windows.
* | util.datamanager: Try to open in read+write mode, then retry with write mode ↵Kim Alvefur2012-07-311-1/+4
|/ | | | if that fails (usually because it doesn't exist)
* 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