aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util.dataforms: Fix parsing of -multi fieldsFlorian Zeitz2012-06-121-5/+5
|
* 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
* | util.debug: Move boundary markers to top of relevant sections of the stack ↵Matthew Wild2012-03-221-5/+3
| | | | | | | | trace (easier to follow)
* | util.debug: Add a touch of colour to source locationsMatthew Wild2012-03-221-3/+4
| |
* | util.debug: Add a bit of colourMatthew Wild2012-03-221-6/+21
| |
* | util.debug: Move optimal line length (default 65) into a variableMatthew Wild2012-03-221-4/+6
| |
* | util.debug: Add markers in the output when crossing source file boundariesMatthew Wild2012-03-221-0/+14
| |
* | util.debug: Add catch for an "error in error handling"Matthew Wild2012-03-221-1/+9
| |
* | util.debug: Attempt to get debug.traceback() parameter handling correct (again)Matthew Wild2012-03-221-1/+5
| |
* | Merge with 0.9Matthew Wild2012-02-111-3/+3
|\ \
| * | util.prosodyctl: Fix variable name clash introduced in 55ef5d83d00a (thanks ↵Matthew Wild2012-02-111-3/+3
| | | | | | | | | | | | chris)
* | | Merge with 0.9Matthew Wild2012-02-081-1/+5
|\| |
| * | util.prosodyctl: In the register command, check that the virtual exists ↵Kim Alvefur2012-02-081-1/+5
| | | | | | | | | | | | before proceeding.
| * | util.json: Added function encode_ordered(object).Waqas Hussain2012-01-181-6/+25
| | |
| * | util.dataforms: Fix verfication for booleansFlorian Zeitz2011-12-031-1/+1
| | |
| * | util.dataforms: Fix form verificationFlorian Zeitz2011-12-021-7/+13
| | |
| * | util.throttle: Fix 'outstanding' return valueMatthew Wild2012-01-131-1/+1
| | |
| * | util.throttle: Import setmetatableMatthew Wild2012-01-131-0/+1
| | |