Commit Graph

1398 Commits (f0d34acdccd0d9d20ae1571d3e9894de03e22ffe)

Author SHA1 Message Date
Kim Alvefur c709121ca7 util.debug: Produce a sensible name for nameless upvalues to C functions 9 years ago
Kim Alvefur 1b147b03d4 util.pubsub: Return item-not-found if a single item is requested, and not there 9 years ago
Kim Alvefur 44c873b647 util.pubsub: Clear data on node deletion 9 years ago
Kim Alvefur 72a554f915 util.datamanager: Encode the 'store' path component, preserving underscores 9 years ago
Kim Alvefur f8505ab244 util.pubsub: Clear data store if it supports being cleared, otherwise fall back to creating a new one 9 years ago
Matthew Wild c15a022de7 util.sql: Don't log at error level if a transaction failed and was retried ok 9 years ago
Kim Alvefur 0f253b261f util.sslconfig: Treat 'curveslist', added in LuaSec 0.7, as a colon-separated list, like ciphers (see #879, #943, #951) 9 years ago
Matthew Wild a99a96f48a util.throttle: Remove unused import of floor() [luacheck] 9 years ago
Matthew Wild 87b9555f23 util.dataforms: Don't include list options in result forms (fixes #983) 9 years ago
Waqas Hussain ec9ba1dbde util.throttle: Fix initial time setting (double accounting the first time) and fractional balance updates (0.1*10 was not the same as 1*1) 9 years ago
Waqas Hussain d88cbfbecd util.throttle: Fix initial time setting (double accounting the first time) and fractional balance updates (0.1*10 was not the same as 1*1) 9 years ago
Kim Alvefur 6c31ce7205 util.random: Add a _source field to match util.crand 9 years ago
Kim Alvefur b8a921f9dd util.random: Remove obsolete noop seed function 9 years ago
Waqas Hussain a408d9d946 util.async: Fix documentation URL 9 years ago
Waqas Hussain 7e94950115 util.format: A string.format wrapper that gracefully handles invalid arguments 9 years ago
Kim Alvefur 6d90645c0a util.pubsub: Don't record publisher when superuser privileges are used (eg by modules) 9 years ago
Kim Alvefur c138f645eb util.dependencies: Add comment about LuaSec compat 9 years ago
Kim Alvefur 463d63187b util.dependencies: Add compatibility code for LuaSocket no longer exporting as a global 9 years ago
Matthew Wild 6bb4201fe2 util.sql: Greedily read all rows so we can close queries early (fixes #391) 9 years ago
Kim Alvefur a7a4931456 util.pubsub: Catch overriden id from storage 9 years ago
Kim Alvefur afb5b682d1 util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency with mod_posix) 9 years ago
Kim Alvefur 84ac4b6752 util.sasl.plain,scram: Record username in sasl state earlier 9 years ago
Kim Alvefur 193ed93b1c util.datamanager: Use already known index instead of measuring length each iteration 9 years ago
Kim Alvefur 2f0ac824b2 util.sql: Produce more SQL-standard-like debug messages 9 years ago
Kim Alvefur 2b914fee7d util.sql: Strip indentation from queries for debug logging 9 years ago
Kim Alvefur 3604a84b9e util.sql: Apply quote transform in engine:execute so it is applied to eg encoding checks in mod_storage_sql (thanks Martin) 9 years ago
Kim Alvefur 1796c07956 SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) 9 years ago
Emmanuel Gil Peyrot 18c92af849 util.pubsub: Add the publisher as an attribute in the item element. 9 years ago
Emmanuel Gil Peyrot aef168e507 util.pubsub: Add a node parameter to itemstore(). 9 years ago
Kim Alvefur 170f67dd58 util.array: Add method for filtering out duplicate values 9 years ago
Kim Alvefur 656d2ad6c7 util.id: New util for producing random identifiers of varying sizes 9 years ago
Kim Alvefur bcc0a4f11d util.datamanager: Log where the error came from 9 years ago
Kim Alvefur ba5133a977 util.datamanager: Rearrange locals 9 years ago
Kim Alvefur 04002ee277 util.datamanager: Remove check for file non-existence since ENOENT tells us that already 9 years ago
Kim Alvefur c92972b137 util.datamanager: Split long line [luacheck] 9 years ago
Kim Alvefur 51f14d52ff util.dependencies: Give APT command for installing lua-sec 9 years ago
Kim Alvefur 2200724140 util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
Kim Alvefur 91262e2bc8 util.array: Add O(n) equality check metamethod 9 years ago
Kim Alvefur 84011a3de7 util.envload: Close file handle after reading data 9 years ago
Kim Alvefur 4eedc9e06d util.datamanager: Expose atomic_store as store_raw 9 years ago
Kim Alvefur c0c7406558 util.datamanager: Use atomic store function when writing the first entry of a list 9 years ago
Kim Alvefur ed6045747c util.datamanager: Import value of ENOENT from util.pposix (if available) 9 years ago
Kim Alvefur 890c5b5f04 util.datamanager: Ignore ENOENT (no such file) when loading data 9 years ago
Kim Alvefur 70941b5f81 util.envload: Open file here instead of letting loadfile do it so that all return values from io.open can be collected 9 years ago
Kim Alvefur 088818ab0f util.datamanager: Use pposix.atomic_append 9 years ago
Kim Alvefur 8dc1b0ae47 util.adhoc: Pass command data to initial_data callback in order to allow loading per-user settings 9 years ago
Kim Alvefur ba9e5e338f util.dependencies: Normalize whitespace 9 years ago
Kim Alvefur e18117b8f9 util.sslconfig: Remvoe flag merging for 'verify' as this is more of a tri-state field than a set of options 9 years ago
Kim Alvefur 8684e88887 util.rsm: Add copyright header 9 years ago
Kim Alvefur 9f2191c8dc util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib transition 9 years ago