0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 09:54:15 -05:00
forgejo/modules
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
..
analyze Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
auth Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
avatar
base Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
cache Cache last commit to accelerate the repository directory page visit (#10069) 2020-02-01 19:11:32 +00:00
charset deps: update and fix chardet import (#9351) 2019-12-14 02:15:48 +02:00
context API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
convert Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
cron Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
generate
git Change default value of DefaultCommandExecutionTimeout to match cheatsheet (#10581) 2020-03-02 22:13:01 -03:00
gitgraph Move git graph from models to modules/graph (#9027) 2019-11-16 08:47:57 +08:00
graceful Restore graceful restart on SIGHUP (#10224) 2020-02-11 13:29:45 +08:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Handle panic in indexer initialisation better (#10534) 2020-02-28 22:00:09 +00:00
lfs Fix LFS max file size enforcement (#10593) 2020-03-03 14:57:27 -06:00
log modules/log: remove noop written variables (#10182) 2020-02-07 21:35:30 +01:00
markup Fix task-list checkbox styling (#10668) 2020-03-08 21:17:03 +02:00
metrics
migrations Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 2020-01-28 08:02:03 +00:00
notification Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
options Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
password Add password requirement info on error (#9074) 2019-11-19 22:44:58 +00:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
public Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
queue Fix Workerpool deadlock (#10283) 2020-02-15 18:44:58 +00:00
recaptcha fixed reCAPTCHA URL (#9083) 2019-11-22 08:03:45 +00:00
references Accept punctuation after simple+cross repository issue references (#10091) 2020-02-01 18:01:30 +00:00
repofiles Check for tag, not just new tag (#10663) 2020-03-08 13:27:11 +08:00
repository Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
secret
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Make PR message on pushes configurable (#10664) 2020-03-08 08:34:38 -05:00
ssh Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
structs Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
sync Fix missing unlock in uniquequeue (#9790) 2020-01-15 23:58:33 +02:00
task Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
templates Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
test Code Refactor of IssueWatch related things (#10401) 2020-02-26 03:32:22 -03:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add golangci (#6418) 2019-06-12 15:41:28 -04:00
util inform participants on UI too (#10473) 2020-02-28 05:16:41 -03:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
webhook System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00