Commit Graph

3 Commits (a7f7d1399f2f0c4ee9d13d595607c4fe2fd437e8)

Author SHA1 Message Date
Jeff Stein e661cd0321
Set correct content_type value for Gogs/Gitea webhooks () ()
The content_type value was defaulting to the string value of the
ContentType, not the integer value as expected by the backend.
Russell Aunger b34996a629 Implement Default Webhooks ()
Partially implement .
Add "Default Webhooks" page in site admin UI.
Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0.
Upon repo creation, copy the set of default webhooks into the new repo.
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory ()
* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* update vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* load attributes when created release

* update comparsion doc