aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.10->trunkMatthew Wild2015-02-241-1/+1
|\
| * Merge 0.9->0.10Kim Alvefur2015-02-211-1/+1
| |\
| | * util.datamanager: Check that the global 'prosody' exists before using it ↵Kim Alvefur2015-02-201-1/+1
| | | | | | | | | | | | (fixes nil indexing in use outside of prosody)
* | | Merge 0.10->trunkMatthew Wild2015-01-311-1/+1
|\| |
| * | util.statistics: Return 0 as percentile if data out of rangeMatthew Wild2015-01-301-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2015-01-212-7/+173
|\| |
| * | statsmanager, util.statistics: API changes, remove debuggingMatthew Wild2015-01-211-24/+53
| | |
| * | util.statistics: New library for gathering various kinds of statisticsMatthew Wild2015-01-201-0/+131
| | |
| * | util.hex: Pedantic optimization, 1 table lookup per byte instead of 3 ↵Kim Alvefur2015-01-121-7/+13
| | | | | | | | | | | | function calls makes it go faster
* | | Merge 0.10 -> trunkWaqas Hussain2014-12-161-0/+1
|\| |
| * | mod_storage_sql2, util.sql: Set character encoding on every connectKim Alvefur2014-12-111-0/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2014-11-201-1/+1
|\| |
| * | mod_pubsub: Add support for including the publisher in item broadcastsPhilipp Hancke2014-11-201-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2014-11-091-0/+6
|\| |
| * | util.paths: Add function for joining path segmentsKim Alvefur2014-11-081-0/+6
| | |
* | | Merge 0.10->trunkKim Alvefur2014-10-261-13/+2
|\| |
| * | Merge 0.9->0.10Kim Alvefur2014-10-261-13/+2
| |\|
| | * Backout changeset 6e67c73f730c: not a major fix and it breaks interop with ↵Matthew Wild2014-10-241-13/+2
| | | | | | | | | | | | at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either.
* | | Move timer code out of util.timer and into relevant net.server backendsdaurnimator2014-10-201-66/+1
| | |
* | | Merge 0.10->trunkWaqas Hussain2014-10-082-3/+14
|\| |
| * | Merge 0.9->0.10Waqas Hussain2014-10-082-3/+14
| |\|
| | * util/dataforms: Make sure we iterate over field tagsdaurnimator2014-10-071-1/+1
| | |
| | * util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas. ↵Waqas Hussain2014-10-081-2/+13
| | | | | | | | | | | | \r\n transforms into \n otherwise, and \r\n\t in attributes transforms into spaces.
* | | Merge 0.10->trunkKim Alvefur2014-09-281-6/+37
|\| |
| * | util.pubsub: Add support for limiting the number of item in a node (default ↵Kim Alvefur2014-09-281-0/+11
| | | | | | | | | | | | to 20)
| * | util.pubsub: Add support for node configurationKim Alvefur2014-09-281-2/+22
| | |
| * | util.pubsub: One less table allocated per pubsub object createdKim Alvefur2014-09-281-3/+3
| | |
| * | util.pubsub: Use localKim Alvefur2014-09-271-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2014-09-231-4/+4
|\| |
| * | util.random: Ensure at least 4 bytes of previous random state is used when ↵Kim Alvefur2014-09-181-2/+2
| | | | | | | | | | | | generating new randomness
| * | util.random: Switch to SHA512Kim Alvefur2014-09-181-2/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2014-09-181-0/+1
|\| |
| * | util.array: Add type() localKim Alvefur2014-09-171-0/+1
| | |
* | | util.vcard: Turn PHOTO fields into data-urisKim Alvefur2014-09-101-1/+5
| | |
* | | Merge 0.10->trunkKim Alvefur2014-09-031-2/+2
|\| |
| * | util.hex: Use locals!Kim Alvefur2014-09-031-2/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2014-09-023-31/+75
|\| |
| * | util.uuid: Use util.hex and util.randomMatthew Wild2014-09-021-31/+13
| | |
| * | util.random: Generic util lib for generating strings of random bytesMatthew Wild2014-09-021-0/+43
| | |
| * | util.hex: Small util lib for converting to/from hex stringsMatthew Wild2014-09-021-0/+19
| | |
* | | Merge 0.10->trunkMatthew Wild2014-08-283-16/+22
|\| |
| * | Merge 0.9->0.10Matthew Wild2014-08-283-15/+21
| |\|
| | * util.filters: Ignore filters being added twice (fixes issues on removal)Matthew Wild2014-08-281-0/+2
| | |
| | * util.xmppstream: When error is 'no-stream', pass the received tagname to the ↵Matthew Wild2014-08-231-1/+1
| | | | | | | | | | | | error handler
| | * prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwiseKim Alvefur2014-08-261-0/+4
| | |
| * | util.xmppstream: Don't include empty stream ID in stream header (got here ↵Kim Alvefur2014-08-271-1/+1
| | | | | | | | | | | | from mod_c2s)
* | | Merge 0.10->trunkKim Alvefur2014-08-091-25/+13
|\| |
| * | util.jid: Optimize bareKim Alvefur2014-08-071-5/+1
| | |
| * | util.jid: Use existing join function in jid.prepKim Alvefur2014-08-071-15/+8
| | |
| * | util.jid: Return early in join on invalid jidsKim Alvefur2014-08-071-6/+5
| | |