Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins: Switch to :get_option_period() for time range options | Kim Alvefur | 2023-07-16 | 1 | -1/+1 |
| | | | | Improves readability ("1 day" vs 86400) and centralizes validation. | ||||
* | mod_invites: Refactor argument handling using util.argparse | Kim Alvefur | 2022-01-12 | 1 | -63/+59 |
| | | | | | | | | | | This makes it so that --admin and --role are no longer mutually exclusive, they the former is simply treated as another --role. This was likely a leftover from when only a single role was possible. It does however become unclear which should be the primary, since the order is not preserved by argparse. Bonus: Loading of modules is avoided with only the --help is shown. | ||||
* | mod_invites: Fix password reset invites | Kim Alvefur | 2023-05-07 | 1 | -1/+1 |
| | | | | Caused by roles changing from table|nil to always table in c2616274bef7 | ||||
* | mod_invites: Record roles as ordered list, first becoming primary role | Kim Alvefur | 2023-03-30 | 1 | -4/+4 |
| | | | | For mod_invites_register to apply on user creation. | ||||
* | plugins: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-24 | 1 | -8/+8 |
| | |||||
* | mod_invites: Prefer landing page over xmpp URI in shell command | Kim Alvefur | 2023-01-10 | 1 | -2/+2 |
| | | | | To mirror behavior of prosodyctl invocation | ||||
* | mod_invites: Comment on module loading for HTTP invite URLs | Kim Alvefur | 2022-01-05 | 1 | -0/+1 |
| | |||||
* | mod_invites: Silence luacheck warning | Kim Alvefur | 2022-01-05 | 1 | -1/+1 |
| | |||||
* | mod_invites: Import from prosdy-modules@5fc306239db3 | Kim Alvefur | 2021-12-27 | 1 | -0/+339 |