Commit graph

28 commits

Author SHA1 Message Date
jesopo
d588760fc4 update other modules to use categorised require_access 2020-02-07 00:11:28 +00:00
jesopo
18b27c256e check git-show-private *after* we have unfiltered_targets 2020-02-01 00:23:41 +00:00
jesopo
10676d70a6 default bot-wide private webhooks to enabled but per-channel disabled 2020-01-22 07:10:32 +00:00
jesopo
7287d9d083 we still need to pass the base "event" to handler.webhook 2019-10-28 14:13:14 +00:00
jesopo
7766c889f4 support event 'category' for GitLab (e.g. Note events but only for Issues) 2019-10-28 14:10:42 +00:00
jesopo
6a2e4f70df re-add lost git_webhook branch filtering 2019-10-25 11:29:27 +01:00
jesopo
39d14102f9 support channels GET param for git webhooks, to denote target channels 2019-10-25 10:09:17 +01:00
jesopo
ae549575e4 still show url when shortening is turned off 2019-10-19 18:58:29 +01:00
jesopo
4cce0bb54e dont shorten git webhook urls by default 2019-10-19 17:09:04 +01:00
jesopo
86147ded77 pass git_webhook urls up to __init__.py to be shortened 2019-10-18 14:03:20 +01:00
jesopo
2f94e7546f actually instantiate gitlab in git_webhooks/__init__.py 2019-10-15 16:10:18 +01:00
jesopo
be30cb81af add first draft of gitlab webhook support 2019-10-15 16:04:30 +01:00
jesopo
32a9a39e88 'hooked_repos_lowers' -> 'hooked_repos_lower' 2019-09-15 19:59:40 +01:00
jesopo
786117b998 add a bot-wide setting to allow showing git webhook activity for private repos
closes #127
2019-09-04 11:15:59 +01:00
jesopo
0b192d0feb count numeric OR non-alphanumeric as a word boundary 2019-08-16 15:33:34 +01:00
jesopo
bd5bc81d1c match .lower() repo names against .lower() hooked repo names 2019-08-14 15:28:20 +01:00
jesopo
2885b41bbb .lower()ify webhook repo names for case insensitive checks 2019-07-08 23:14:26 +01:00
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
e6d8e75086 DEBUG log when trying to git.io-shorten a github url 2019-06-28 15:29:59 +01:00
jesopo
12181bfec6 Add system to have multiple url shorteners and chose which to use 2019-06-25 17:53:00 +01:00
jesopo
882bbdf0ff 'sucess_message' -> 'success_message' 2019-06-24 22:49:44 +01:00
jesopo
010f594774 'web hooks' -> 'webhooks' 2019-06-24 22:46:15 +01:00
jesopo
2ccebaa4a0 Add missing import re 2019-06-24 19:32:32 +01:00
jesopo
622eda5a99 Don't show webhook notifications for private repos 2019-06-24 18:33:24 +01:00
jesopo
dd6b0fdfbd set git_webhooks _name to something nicer ("Webhooks") 2019-06-24 18:18:42 +01:00
jesopo
f10989e8bf Actually pass gitea handler for gitea hooks 2019-06-24 17:35:55 +01:00
jesopo
6b8120dc51 Add gitea.py, fix some consts being in the wrong file 2019-06-24 17:14:39 +01:00
jesopo
9ae97627c6 'webhooks' -> 'git-webhooks'. move all 'webhooks' settings to 'git-webhooks' 2019-06-24 15:51:55 +01:00
Renamed from modules/webhooks/__init__.py (Browse further)