Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move almost all functions' parameter db.Engine to context.Context (#19748) | Lunny Xiao | 2022-05-20 | 1 | -2/+2 |
| | | | | * Move almost all functions' parameter db.Engine to context.Context * remove some unnecessary wrap functions | ||||
* | Only send webhook events to active system webhooks and only deliver to ↵ | zeripath | 2022-03-28 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | active hooks (#19234) There is a bug in the system webhooks whereby the active state is not checked when webhooks are prepared and there is a bug that deactivating webhooks do not prevent queued deliveries. * Only add SystemWebhooks to the prepareWebhooks list if they are active * At the time of delivery if the underlying webhook is not active mark it as "delivered" but with a failed delivery so it does not get delivered. Fix #19220 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> | ||||
* | Move webhook into models/webhook/ (#17579) | Lunny Xiao | 2021-11-10 | 1 | -4/+4 |
| | |||||
* | Rename context.Query to context.Form (#16562) | Lunny Xiao | 2021-07-29 | 1 | -1/+1 |
| | |||||
* | Refactor routers directory (#15800) | Lunny Xiao | 2021-06-09 | 1 | -0/+72 |
* refactor routers directory * move func used for web and api to common * make corsHandler a function to prohibit side efects * rm unused func Co-authored-by: 6543 <6543@obermui.de> |