Commit Graph

1224 Commits (47c821cf549c8ea4645190a8f4bb18b7a2eaee2b)

Author SHA1 Message Date
Kim Alvefur a18da188f6 util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency with mod_posix) 9 years ago
Kim Alvefur c510e41dc8 util.sasl.plain,scram: Record username in sasl state earlier 9 years ago
Kim Alvefur 33be2cd463 util.datamanager: Use already known index instead of measuring length each iteration 9 years ago
Kim Alvefur 656c5d45a1 util.sql: Produce more SQL-standard-like debug messages 9 years ago
Kim Alvefur b3cd19063f util.sql: Strip indentation from queries for debug logging 9 years ago
Kim Alvefur f2c30c688f 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 91baabfede SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) 9 years ago
Kim Alvefur 72018f7be7 util.array: Add method for filtering out duplicate values 9 years ago
Kim Alvefur 7b5aa05b02 util.id: New util for producing random identifiers of varying sizes 9 years ago
Kim Alvefur 0f578fb9f3 util.datamanager: Log where the error came from 9 years ago
Kim Alvefur 5c4a8d13e2 util.datamanager: Rearrange locals 9 years ago
Kim Alvefur 7b4ad0e694 util.datamanager: Use pposix.atomic_append 9 years ago
Kim Alvefur 2e06e8e75d util.datamanager: Remove check for file non-existence since ENOENT tells us that already 9 years ago
Kim Alvefur d496a96705 util.datamanager: Split long line [luacheck] 9 years ago
Kim Alvefur 4a5b4067a9 util.dependencies: Give APT command for installing lua-sec 9 years ago
Kim Alvefur 83d1e9570a util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
Kim Alvefur 0bf98e614f util.array: Add O(n) equality check metamethod 9 years ago
Kim Alvefur f637fde31f util.envload: Close file handle after reading data 9 years ago
Kim Alvefur cb0953029e util.datamanager: Expose atomic_store as store_raw 9 years ago
Kim Alvefur c3aae40b19 util.datamanager: Use atomic store function when writing the first entry of a list 9 years ago
Kim Alvefur f0c676e8c6 util.datamanager: Import value of ENOENT from util.pposix (if available) 9 years ago
Kim Alvefur fc38b8c4f4 util.datamanager: Ignore ENOENT (no such file) when loading data 9 years ago
Kim Alvefur d6c9f0ce59 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 fdea58765a util.adhoc: Pass command data to initial_data callback in order to allow loading per-user settings 9 years ago
Kim Alvefur 87f325ecd7 util.dependencies: Normalize whitespace 9 years ago
Kim Alvefur a67d0bfb97 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 84fa1ca45e util.rsm: Add copyright header 9 years ago
Kim Alvefur 09450f23e4 util.dependencies: Set ssl.x509 so core.certmanager knows that LuaSec is capable of certificate validation (fixes #781) 9 years ago
Kim Alvefur e7a31b6e19 util.rsm: Move out from mod_mam directory 9 years ago
Kim Alvefur 43cc8f2d9d util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib transition 9 years ago
Kim Alvefur 00e5c2d7d3 util.dependencies: Add check and info about lua-bitops (for mod_websockets) 9 years ago
Kim Alvefur 1c652e0883 util.dependencies: Update links for LuaExpat and LuaSec which have moved to new locations 9 years ago
Kim Alvefur 2d642bfb76 util.stanza: Add an is_stanza() function to check if an object is a stanza 9 years ago
Kim Alvefur f36fed39e8 util.datamanager: Shorter pattern 9 years ago
Kim Alvefur f0bd3ec403 util.datamanager: Remove extraneous decoding of + to space, which we never never encode to 9 years ago
Kim Alvefur e3ab638262 util.datamanager: Use the 'base' argument to tonumber() to indicate hexadecimal 9 years ago
Kim Alvefur bd940f0f8c util.envload: Ignore use of Lua 5.1-only setfenv function [luacheck] 9 years ago
Kim Alvefur c3a4324ff1 util.pubsub: Fix item retrieval by including the item order as it was before using util.cache (thanks walduhu) 9 years ago
Kim Alvefur 73d36e3ff9 util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3) 9 years ago
Kim Alvefur 8624ff8562 util.helpers: List event priorities instead of useless array index 9 years ago
Kim Alvefur 5bbd2aa2ff util.pubsub: Rename loop variable to avoid name clash [luacheck] 9 years ago
Kim Alvefur 5205d9f5b3 util.cache: Ignore unused argument [luacheck] 9 years ago
Kim Alvefur 2fa313a15f util.statsd: Ignore unused argument [luacheck] 9 years ago
Kim Alvefur 71d4c99a5d util.array: Remove unused arguments [luacheck] 9 years ago
Kim Alvefur 53bcabeef5 util.array: Rename arguments to avoid name clash [luacheck] 9 years ago
Kim Alvefur ffbc38cfa3 util.pubsub: Factor item storage cache into a per service configurable option 9 years ago
Kim Alvefur 8ebfeb497e util.pubsub: Switch to use util.cache for item data 9 years ago
Kim Alvefur d56bd9dbdb util.datamanager: Add annotations to ignore name clashes [luacheck] 9 years ago
Kim Alvefur c331fe1594 util.datamanager: Rename variables to avoid name clashes [luacheck] 9 years ago
Kim Alvefur c200735dba util.dependencies: Set global 'ssl' for compat with LuaSec 0.6 (fixes #749) 9 years ago