util.array: Fix new() library function
0.12
|
Kim Alvefur |
17 months ago |
mod_tokenauth: Fix revoking a single token without revoking whole grant
|
Kim Alvefur |
17 months ago |
util.array: Fix new() library function
|
Kim Alvefur |
17 months ago |
tests: Add hack to test only a single storage driver
|
Kim Alvefur |
17 months ago |
tests: Update storagemanager tests for prosody.* namespace change
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Spell out missing dependencies
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Pass variables as arguments instead of upvalues
|
Kim Alvefur |
17 months ago |
util.sql: Remove unused String() and Integer() functions
|
Kim Alvefur |
17 months ago |
util.sqlite3: Clean up unused variables
|
Kim Alvefur |
17 months ago |
util.datamanager: Always reset index after list shift
|
Kim Alvefur |
17 months ago |
core.moduleapi: Parse period min/max arguments
|
Kim Alvefur |
17 months ago |
util.datamanager: Add way to close indexed list store
|
Kim Alvefur |
17 months ago |
util.datamanager: Close file handle when done using it
|
Kim Alvefur |
17 months ago |
util.datamanager: Disable blockwise removal
|
Kim Alvefur |
17 months ago |
mod_muc: Use enum config API for 'restrict_room_creation'
|
Kim Alvefur |
17 months ago |
plugins: Use get_option_array for some list shaped options
|
Kim Alvefur |
17 months ago |
util.datamanager: Disable block alignment
|
Kim Alvefur |
17 months ago |
plugins: Handle how get_option_period returns "never"
|
Kim Alvefur |
17 months ago |
plugins: Use boolean config method in some places
|
Kim Alvefur |
17 months ago |
mod_storage_internal: Use integer option method for cache size
|
Kim Alvefur |
17 months ago |
mod_muc_mam: Use period option method
|
Kim Alvefur |
17 months ago |
mod_muc: Use enum option method for 'muc_room_default_presence_broadcast'
|
Kim Alvefur |
17 months ago |
mod_storage_xep0227: Use enum option method
|
Kim Alvefur |
17 months ago |
mod_auth_ldap: Use enum option method
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Use integer config option for cache size
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Use config enum for 'sqlite_tune'
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Allow higher precision timestamps in SQLite3
|
Kim Alvefur |
17 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
17 months ago |
util.prosodyctl.check: Hint about the 'external_addresses' config option
0.12
|
Kim Alvefur |
17 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
17 months ago |
util.prosodyctl.check: Validate format of module list options
0.12
|
Kim Alvefur |
17 months ago |
util.prosodyctl.check: Get some config options via minimal moduleapi #896
0.12
|
Kim Alvefur |
17 months ago |
core.moduleapi: Fix min/maxinteger fallback for Lua 5.2
|
Kim Alvefur |
17 months ago |
mod_http: Fix passing minimum limits in wrong argument position
|
Kim Alvefur |
17 months ago |
plugins: Use integer config API with interval specification where sensible
|
Kim Alvefur |
17 months ago |
core.moduleapi: Add min/max range support to :get_option_period
|
Kim Alvefur |
17 months ago |
moduleapi: Add :get_option_integer()
|
Kim Alvefur |
17 months ago |
util.human.io: Fix stray 'stty' error by only querying width of real ttys
|
Kim Alvefur |
17 months ago |
plugins: Switch to :get_option_period() for time range options
|
Kim Alvefur |
17 months ago |
core.moduleapi: Accept boolean false to disable period setting
|
Kim Alvefur |
17 months ago |
core.moduleapi: Log error for unexpected types (booleans?) set as periods
|
Kim Alvefur |
17 months ago |
core.moduleapi: Turn negative periods or "never" into infinity
|
Kim Alvefur |
17 months ago |
core.moduleapi: Improve handling of different types in :get_option_period
|
Kim Alvefur |
17 months ago |
core.moduleapi: Add :get_option_period for parsing time intervals
|
Kim Alvefur |
17 months ago |
core.moduleapi: Allow specifying an acceptable range for number options
|
Kim Alvefur |
2021-10-05 |
plugins: Use get_option_enum where appropriate
|
Kim Alvefur |
2021-01-16 |
moduleapi: Add enum config option method
|
Kim Alvefur |
2021-01-16 |
tools: Fix file ending of mod2spec.sh (thanks buildbot)
|
Kim Alvefur |
17 months ago |
util.human.io: Fix pattern in parse_duration() to cover all used letters
|
Kim Alvefur |
17 months ago |
util.human.io: Add tests for parse_duration() (some failing)
|
Kim Alvefur |
17 months ago |
util.human.io: Include relevant arguments in test messages
|
Kim Alvefur |
17 months ago |
util.human.io: Use tail call in test to get correct line numbers
|
Kim Alvefur |
17 months ago |
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
|
Kim Alvefur |
17 months ago |
editorconfig: Include the command used to normalize *.xml
|
Kim Alvefur |
17 months ago |
editorconfig: Specify max line length to match luacheck settings
|
Kim Alvefur |
17 months ago |
editorconfig: Explicitly specify preferred charset (UTF-8)
|
Kim Alvefur |
17 months ago |
editorconfig: Add link to format description
|
Kim Alvefur |
17 months ago |
mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL)
|
Kim Alvefur |
17 months ago |
CHANGES: Move line about LuaSQLite3 to Storage section
|
Kim Alvefur |
17 months ago |
CHANGES: Mention performance improvements for internal archives
|
Kim Alvefur |
17 months ago |
mod_storage_internal: Implement efficient deletion of oldest archive items
|
Kim Alvefur |
17 months ago |
util.datamanager: Pad list writes to avoid crossing block boundaries
|
Kim Alvefur |
19 months ago |
util.datamanager: Efficiently remove whole blocks to shift lists
|
Kim Alvefur |
17 months ago |
util.pposix: Add remove_blocks() for deleting parts of files
|
Kim Alvefur |
19 months ago |
util.datamanager: Add way to efficiently remove first items in a list
|
Kim Alvefur |
17 months ago |
util.datamanager: Fix indexing first item if not at the very start
|
Kim Alvefur |
17 months ago |
util.datamanager: Reduce log level of left over debug messages to debug (thanks Trung)
|
Kim Alvefur |
17 months ago |
util.datamanager: Fix missing separator in log line
|
Kim Alvefur |
17 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
17 months ago |
core.certmanager: Update Mozilla TLS config to version 5.7
0.12
|
Kim Alvefur |
17 months ago |
mod_pubsub: Send correct jid attribute in disco#items
|
Kim Alvefur |
17 months ago |
mod_http_file_share: Put 'expires' back, thought it was unused
|
Kim Alvefur |
18 months ago |
util.cache: Pass cache itself to eviction callback
|
Kim Alvefur |
18 months ago |
util.cache: Keep eviction candidate if callback resized to make room
|
Kim Alvefur |
18 months ago |
util.serialization: Teach Teal about the new "pretty" preset
|
Kim Alvefur |
18 months ago |
util.jsonpointer: Change function prototype to allow anything
|
Kim Alvefur |
18 months ago |
util.jsonpointer: Silence Teal warning
|
Kim Alvefur |
18 months ago |
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
|
Matthew Wild |
18 months ago |
usermanager: Add create_user_with_role() method to atomically set initial role
|
Matthew Wild |
18 months ago |
mod_http_file_share: Set slot token TTL so util.jwt validates expiry
|
Kim Alvefur |
18 months ago |
prosodyctl: Add experimental way to reload specific modules directly
|
Kim Alvefur |
18 months ago |
net.server: Handle loading from outside Prosody (e.g. Verse)
|
Kim Alvefur |
19 months ago |
renamening: Fix newly added imports to use the new namespace
|
Kim Alvefur |
18 months ago |
util.jsonschema: Remove wrapper function
|
Kim Alvefur |
18 months ago |
util.jsonschema: Silence Teal warnings about utf8 library
|
Kim Alvefur |
18 months ago |
util.jsonschema: Silence Teal warnings about counting items in tables
|
Kim Alvefur |
18 months ago |
mod_invites: Refactor argument handling using util.argparse
|
Kim Alvefur |
2022-01-12 |
util.argparse: Add support for repeatable parameters
|
Kim Alvefur |
2022-01-05 |
mod_storage_sql: Fix column name in index check for PostgreSQL
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Adjust indentation to align with surrounding code
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Only remove old index if it exists
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Be more specific when checking for old index in SQLite3
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Improve check for old table index on PostgreSQL
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Enable UPSERT with PostgreSQL
|
Kim Alvefur |
18 months ago |
doap: Fix typo in attribute name
|
Kim Alvefur |
18 months ago |
util.pposix: Use Lua enum API for resource limit name argument
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Add some TODO comments for future UPSERT work
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Do not keep track of quota when no quota is set
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Add setting to tune SQLite3 performance vs safety
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Record all SQLite3 compile options for potential use
|
Kim Alvefur |
18 months ago |
util.sqlite3: Don't cache prepared statements for one-off queries
|
Kim Alvefur |
18 months ago |
util.sqlite3: Deduplicate query methods
|
Kim Alvefur |
18 months ago |
util.sqlite3: Fix indentation
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Compose a keyval+ store out of keyval and map store methods
|
Kim Alvefur |
18 months ago |
mod_storage_sql: Add UPSERT support
|
Kim Alvefur |
18 months ago |
tools: Update imports to use new prosody.* namespace
|
Kim Alvefur |
19 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
18 months ago |
mod_http: Simplify conversion of Set to Array
|
Kim Alvefur |
18 months ago |
mod_http: Fix error if 'access_control_allow_origins' is set
0.12
|
Kim Alvefur |
18 months ago |
util.array: Expose new() on module table
0.12
|
Kim Alvefur |
18 months ago |
util.datamanager: Halve size of list index
|
Kim Alvefur |
2021-05-14 |
mod_storage_internal: Use a binary search for time based ranges
|
Kim Alvefur |
2021-05-11 |
mod_storage_internal: Lazy-load archive items while iterating
|
Kim Alvefur |
2021-05-11 |
util.datamanager: Add O(1) list indexing with on-disk index
|
Kim Alvefur |
2021-05-11 |
storagemanager tests: Reorder test data in chronological order
|
Kim Alvefur |
2021-05-11 |
mod_admin_shell: Use new serialize preset to simplify default config
|
Kim Alvefur |
18 months ago |
util.serialization: Add a "pretty" preset
|
Kim Alvefur |
18 months ago |
doc/hgrc-email: Example config for using 'hg email' to contribute
|
Kim Alvefur |
19 months ago |
doc/hgrc: Some useful Mercurial settings
|
Kim Alvefur |
19 months ago |
mod_admin_shell: Warn when (un-)loading module would be undone by restart
|
Kim Alvefur |
19 months ago |
mod_http: Make RFC 7239 Forwarded opt-in for now to be safe
|
Kim Alvefur |
19 months ago |
mod_http: Use RFC 7239 Forwarded header to find original client IP
|
Kim Alvefur |
19 months ago |
mod_http: Handle bracketed IP address format from RFC 7239
|
Kim Alvefur |
19 months ago |
util.http: Implement parser for RFC 7239 Forwarded header
|
Kim Alvefur |
19 months ago |
util.set: Remove duplicate __freeze metamethod
|
Kim Alvefur |
19 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
19 months ago |
util.prosodyctl.check: Fix error where hostname can't be turned into A label
0.12
|
Kim Alvefur |
19 months ago |
util.startup: Record current version in a metric
|
Kim Alvefur |
19 months ago |
util.startup: Remove componentmanager backwards compatibility
|
Kim Alvefur |
19 months ago |
net.http.server: Return request ID in header to aid debugging
|
Kim Alvefur |
19 months ago |
mod_admin_shell: Show internal URL where different from external
|
Kim Alvefur |
19 months ago |
net.tls_luasec: Expose method for loading a certificate
|
Kim Alvefur |
19 months ago |
net.certmanager: Move LuaSec feature detection to net.tls_luasec
|
Kim Alvefur |
19 months ago |
util.dependencies: Print tables itself to reduce number of imports
|
Kim Alvefur |
19 months ago |
util.sasl: Add basic tests for OAUTHBEARER
|
Kim Alvefur |
19 months ago |
util.sasl.oauthbearer: Tighter parsing of SASL message
|
Kim Alvefur |
19 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
19 months ago |
mod_s2s: Add event where resolver for s2sout can be tweaked
0.12
|
Kim Alvefur |
2022-08-18 |
teal: Describe http_url method
|
Kim Alvefur |
19 months ago |
mod_admin_shell: Show internal URL in addition to external in http:list
|
Kim Alvefur |
19 months ago |
mod_http: Add way to retrieve internal URL instead of external
|
Kim Alvefur |
19 months ago |
util.jsonschema: Update test suite ignore rules
|
Kim Alvefur |
19 months ago |
mod_admin_shell: Allow logging HTTP events with debug:logevents("http")
|
Kim Alvefur |
19 months ago |
mod_admin_shell: Allow logging global events with debug:logevents("*")
|
Kim Alvefur |
19 months ago |
net.http.server: Remove "Firing event" logs, use event logging instead
|
Kim Alvefur |
19 months ago |
net.http.server: Log request and response status lines
|
Kim Alvefur |
19 months ago |
net.http.server: Assign each request its own log source
|
Kim Alvefur |
19 months ago |
net.http.server: Assign an ID to each request, shared with response
|
Kim Alvefur |
19 months ago |
mod_tokenauth: Support selection of _no_ role at all
|
Kim Alvefur |
20 months ago |
mod_tokenauth: Return error instead of session for token without role
|
Kim Alvefur |
20 months ago |
mod_adhoc: Silence permission errors when listing commands
|
Kim Alvefur |
20 months ago |
mod_invites: Fix password reset invites
|
Kim Alvefur |
20 months ago |
core.sessionmanager: Delay closing a replaced connection after replacement
|
Kim Alvefur |
20 months ago |
doap: Update reference for publishing of XEP-0478: Stream Limits Advertisement
|
Kim Alvefur |
20 months ago |
mod_c2s,mod_s2s: Fix tag name for SLA (thanks mjk)
|
Kim Alvefur |
20 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
20 months ago |
mod_csi_simple: Disable revert-to-inactive timer when going to active mode
0.12
|
Kim Alvefur |
20 months ago |
mod_csi_simple: Clear delayed active mode timer on disable
0.12
|
Kim Alvefur |
20 months ago |
mod_admin_shell: Refactor 'cert' column
|
Kim Alvefur |
20 months ago |
util.jsonschema: Fix UTF-8ness of 'minLength' and 'maxLength'
|
Kim Alvefur |
20 months ago |
util.jsonschema: Implement 'minContains' and 'maxContains'
|
Kim Alvefur |
20 months ago |
util.jsonschema: Add some comments wrt Lua-specifics
|
Kim Alvefur |
20 months ago |
util.jsonschema: Implement 'luaPattern' - Lua variant of 'pattern'
|
Kim Alvefur |
20 months ago |
util.jsonschema: Implement 'luaPatternProperties' as Lua variant of 'patternProperties'
|
Kim Alvefur |
20 months ago |
util.jsonschema: Tweak description of disabled test
|
Kim Alvefur |
20 months ago |
util.jsonschema: Enable passing IEEE 754 equality test
|
Kim Alvefur |
20 months ago |
util.jsonschema: Fix NYI 'patternProperties' definition
|
Kim Alvefur |
20 months ago |
util.error: Add test for #1805
|
Kim Alvefur |
20 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
20 months ago |
util.error: Fix error on conversion of invalid error stanza, fix #1805
0.12
|
Kim Alvefur |
20 months ago |
mod_admin_shell: Fix display of remote cert status when expired etc
0.12
|
Kim Alvefur |
21 months ago |
mod_tls: Drop request for client certificates on outgoing connections
|
Kim Alvefur |
20 months ago |
mod_csi: Always advertise feature
|
Kim Alvefur |
20 months ago |
mod_tokenauth: Fix parsing binary part of tokens
|
Kim Alvefur |
20 months ago |
mod_tokenauth: Only check if expiry of expiring tokens
|
Kim Alvefur |
20 months ago |
mod_admin_shell: Use same wildcard matching in other s2s command
|
Kim Alvefur |
20 months ago |
mod_admin_shell: Factor apart wildcard matching into function for reuse
|
Kim Alvefur |
20 months ago |
mod_csi: Remove module status, doesn't work because of mod_smacks
|
Kim Alvefur |
20 months ago |
mod_http: Fix reliance on previous tostring() format of util.set
|
Kim Alvefur |
20 months ago |
util.human.io: Fix column width miscalculation
|
Kim Alvefur |
20 months ago |
util.human.io: Fix error with ellipsis to negative length
|
Kim Alvefur |
21 months ago |
tools/tb2err: Trim trailing whitespace
|
Kim Alvefur |
21 months ago |
tools/tb2err: Rewrite prosody-modules paths to ../modules
|
Kim Alvefur |
21 months ago |
tools/tb2err: Add some example usage in a comment
|
Kim Alvefur |
21 months ago |
tools/tb2err: Drop use of lua-any since it should run fine on any Lua
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Add config:set([host,] key, value) because why not
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Allow wildcard matches like s2s:show("*.example.com")
|
Kim Alvefur |
21 months ago |
util.sasl: Fix a singulars
|
Kim Alvefur |
21 months ago |
Merge 0.12->trunk
|
Matthew Wild |
21 months ago |
util.argparse: Translate '-' to '_' in long option names for convenience
|
Matthew Wild |
21 months ago |
prosodyctl: Fix using variable content in a format string
0.12
|
Matthew Wild |
21 months ago |
mod_http_file_share: use util.human.io.parse_duration
|
Jonas Schäfer |
2022-04-28 |
mod_mam: port to use util.human.io.parse_duration
|
Jonas Schäfer |
2022-04-28 |
util.human.io: Add parse_duration() method to parse a duration string
|
Matthew Wild |
21 months ago |
mod_admin_shell: Allow "*" as substitute for 'nil' for easier CLI usage
|
Kim Alvefur |
21 months ago |
util.prosodyctl.shell: Fix sending terminal width with single argument
|
Kim Alvefur |
21 months ago |
util.human.io: Coerce $COLUMNS to number
|
Kim Alvefur |
21 months ago |
util.prosodyctl.shell: Coerce terminal width to string (for util.stanza)
|
Kim Alvefur |
21 months ago |
util.human.io: table: don't read $COLUMNS directly, just use term_width()
|
Matthew Wild |
21 months ago |
util.human.io: table: Return determined width as a second result
|
Matthew Wild |
21 months ago |
util.human.io: Prefer using the $COLUMNS environment variable if set (by readline)
|
Kim Alvefur |
21 months ago |
util.prosodyctl.shell: Use new term_width() for width
|
Kim Alvefur |
21 months ago |
util.human.io: table: use term_width() to discover terminal width
|
Matthew Wild |
21 months ago |
util.human.io: Add term_width() method to discover the terminal width
|
Matthew Wild |
21 months ago |
mod_admin_shell: Make IP column thinner if IPv6 is disabled
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Make default column width 1 part
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Fix attempt to compare number with string
|
Kim Alvefur |
21 months ago |
util.human.io: Pass the whole column definition to mapper function
|
Kim Alvefur |
21 months ago |
util.human.io: Allow defining per column ellipsis function
|
Kim Alvefur |
21 months ago |
util.human.io: Pass expected width to mapper function
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Dynamically size JIDs and hosts
|
Kim Alvefur |
21 months ago |
mod_admin_shell: More dynamic widths calculations
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Calculate widths of columns from example values
|
Kim Alvefur |
21 months ago |
mod_admin_shell: Strip 'prosody:' prefix to allow narrower Role column
|
Kim Alvefur |
21 months ago |
util.set: Change tostring format to {a, b, c}
|
Kim Alvefur |
21 months ago |
util.array: Change tostring format to [a,b,c]
|
Kim Alvefur |
21 months ago |
util.human.io: Fix pattern to support fractional proportions
|
Matthew Wild |
21 months ago |
util.human.io: Support for dynamic "proportional" columns
|
Matthew Wild |
21 months ago |
mod_debug_reset: Remove now unused import of util.time (thanks luacheck)
|
Matthew Wild |
21 months ago |
mod_debug_reset: Don't delay operations until next tick
|
Matthew Wild |
21 months ago |
integration tests: Preserve unmocked time.monotonic()
|
Matthew Wild |
21 months ago |
mod_csi: Drop summary stats, doesn't work in normal module
|
Kim Alvefur |
21 months ago |
mod_csi: Add metrics, covering changes and totals
|
Kim Alvefur |
21 months ago |
mod_tokenauth: Add API method to revoke a grant by id
|
Matthew Wild |
21 months ago |
Merge 0.12->trunk
|
Kim Alvefur |
21 months ago |
mod_smacks: Replace existing watchdog when starting hibernation
0.12
|
Kim Alvefur |
21 months ago |
mod_smacks: Fix stray watchdog closing sessions
0.12
|
Kim Alvefur |
21 months ago |
mod_adhoc: Remove "mod_" prefix from permission action name
|
Kim Alvefur |
21 months ago |
util.fsm: New utility lib for finite state machines
|
Matthew Wild |
2022-03-17 |
util.set: Add missing remove function in Teal spec
|
Kim Alvefur |
21 months ago |
net.http: Rename enum in Teal spec to avoid name clash
|
Kim Alvefur |
21 months ago |
moduleapi: Add luacheck annotation to suppress warning about unused self
|
Matthew Wild |
21 months ago |
moduleapi: Add module:once() to execute a function after module load/startup
|
Matthew Wild |
21 months ago |
util.startup: Add prosody.started promise to easily execute code after startup
|
Matthew Wild |
21 months ago |
mod_admin_shell: Allow matching on host or bare JID in c2s:show
|
Kim Alvefur |
21 months ago |
mod_invites: Record roles as ordered list, first becoming primary role
|
Kim Alvefur |
21 months ago |
mod_invites_register: Allow roles to be an ordered list, first being primary
|
Kim Alvefur |
21 months ago |
mod_tokenauth: Add API to inspect individual grants or all of a user's grants
|
Matthew Wild |
21 months ago |
mod_tokenauth: Move grant validation to a reusable function
|
Matthew Wild |
21 months ago |
sessionmanager: Preserve 'since' property of original session after resumption
|
Matthew Wild |
21 months ago |