1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 09:15:53 +01:00
gitea/routers
James Lakin a9f4489bbc
System-wide webhooks (#10546)
* Create system webhook column (and migration)

* Create system webhook DB methods

Based on the default webhook ones

* Modify router to handle system webhooks and default ones

* Remove old unused admin nav template

* Adjust orgRepoCtx to differentiate system and default webhook URLs

* Assign IsSystemWebhook when creating webhooks

* Correctly use booleans for IsSystemWebhook

* Use system webhooks when preparing webhooks for payload

* Add UI and locale changes

* Use router params to differentiate admin hook pages

* Fix deleting admin webhooks and rename method

* Add clarity to webhook docs

* Revert "Remove old unused admin nav template"

This reverts commit 191a20a7389fe5f6256b0ad6aafd04b9b0e295c5.

* Rename WebHooksNewPost to GiteaHooksNewPost for clarity

* Reintroduce blank line lost during merge conflict

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-03-09 00:08:05 +02:00
..
admin System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
api/v1 Prevent panic in stopwatch (#10670) 2020-03-08 14:46:24 -03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
private Make PR message on pushes configurable (#10664) 2020-03-08 08:34:38 -05:00
repo System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
routes System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
user Add Approval Counts to pulls list (#10238) 2020-03-06 03:44:06 +00:00
utils Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
home.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
init.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
install.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00