| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-07-31 | Reminders: use singular form for mutually exclusive namespace | -1/+1 | ||
| The exception it raises reads better if the singular form of the word is used. | ||||
| 2020-07-31 | Reminders: show error to users if reminder is in use | -3/+3 | ||
| Silent failure is confusing to users. Showing an error message clears up why nothing happened with their command. | ||||
| 2020-07-31 | Send users an error message if command raises LockedResourceError | -0/+3 | ||
| 2020-07-31 | Decorators: optionally raise an exception if resource is locked | -4/+35 | ||
| The exception will facilitate user feedback for commands which use the decorator. | ||||
| 2020-07-31 | Decorators: add some trace logging | -0/+3 | ||
| 2020-07-31 | Decorators: wrap mutually_exclusive to use get_arg_value | -7/+20 | ||
| Instead of taking a callable, this wrapper just takes a name or position to get the resource ID. | ||||
| 2020-07-31 | Decorators: remove redundant word in docstring | -1/+1 | ||
| 2020-07-31 | Decorators: use type aliases from function module | -4/+2 | ||
| 2020-07-31 | Decorators: remove default value for respect_role_hierarchy | -3/+3 | ||
| Explicit is better than implicit, and this default value wasn't much of a convenience. | ||||
| 2020-07-31 | Decorators: use new func utils in respect_role_hierarchy | -30/+13 | ||
| Replace the `_get_arg_value` call with `function.get_arg_value` cause the latter makes use of bound arguments, which are more accurate. | ||||
| 2020-07-31 | Add a function to get bound args | -4/+17 | ||
| 2020-07-31 | Add a function to wrap a decorator to use get_arg_value | -1/+28 | ||
| 2020-07-31 | Reminders: make operations mutually exclusive | -0/+7 | ||
| This fixes race conditions between editing, deleting, and sending a reminder. If one operation is already happening, the others will be aborted. | ||||