This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/models/migrations
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 191a20a738.

* 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
..
migrations.go System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
v70.go Remove migration support from versions earlier than 1.6.0 (#10026) 2020-01-31 21:42:45 +08:00
v71.go
v72.go
v73.go
v74.go
v75.go
v76.go Remove migration support from versions earlier than 1.6.0 (#10026) 2020-01-31 21:42:45 +08:00
v77.go
v78.go
v79.go
v80.go
v81.go
v82.go
v83.go
v84.go
v85.go
v86.go
v87.go
v88.go
v89.go
v90.go
v91.go
v92.go
v93.go
v94.go
v95.go
v96.go Fix migration bug on v96.go (#10572) 2020-03-02 12:53:39 -03:00
v97.go
v98.go
v99.go
v100.go
v101.go
v102.go
v103.go
v104.go
v105.go
v106.go
v107.go
v108.go
v109.go
v110.go
v111.go
v112.go
v113.go
v114.go
v115.go
v116.go
v117.go
v118.go
v119.go
v120.go
v121.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
v122.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
v123.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
v124.go Add missing columns to repository and user (#9861) 2020-01-19 22:27:44 +00:00
v125.go Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
v126.go Update topics repo count when deleting repository (#10051) 2020-01-31 08:57:19 +02:00
v127.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
v128.go Add migration to fix the old broken merge-bases (#10604) 2020-03-05 09:18:07 +02:00
v129.go Migration for deleting orphaned dependencies (#10617) 2020-03-05 16:54:50 +01:00
v130.go Fix migration (#10641) 2020-03-06 17:43:37 +02:00
v131.go System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00