Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_invites: Fix argument handling | Kim Alvefur | 2024-01-21 | 1 | -1/+1 |
| | | | | | Not sure what the next() was supposed to do. Reject unknown --options perhaps? | ||||
* | mod_invites: Show short help instead of traceback on missing hostname | Kim Alvefur | 2024-01-13 | 1 | -2/+3 |
| | |||||
* | mod_invites: Show help if --help passed instead of hostname | Kim Alvefur | 2024-01-13 | 1 | -18/+25 |
| | | | | | Because I couldn't guess the right way to get the help message without reading the source twice. | ||||
* | mod_invites: Allow specifying invite ttl on command line | Kim Alvefur | 2024-01-13 | 1 | -1/+3 |
| | | | | Was missing a way to pass TTL via command or shell. | ||||
* | mod_invites: Fix linter issues | Matthew Wild | 2023-11-29 | 1 | -4/+4 |
| | |||||
* | mod_invites: Use new shell-command API | Matthew Wild | 2023-11-29 | 1 | -22/+25 |
| | |||||
* | 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 |