1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/services
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729)
* refactor webhook *NewPost

* remove empty values

* always show errs.Message

* remove utils.IsValidSlackChannel

* move IsValidSlackChannel to services/webhook package

* binding: handle empty Message case

* make IsValidSlackChannel more strict
2022-08-11 17:48:23 +02:00
..
agit Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
asymkey Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
attachment Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
auth Fix typo in source (#20723) 2022-08-09 09:53:40 +08:00
automerge Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
comments Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
context Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
cron Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
externalaccount Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
forms refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
gitdiff Improve code diff highlight, fix incorrect rendered diff result (#19958) 2022-07-23 19:28:02 +08:00
issue Check if project has the same repository id with issue when assign project to issue (#20133) 2022-06-30 23:55:08 +08:00
lfs Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
mailer Fix init mail render logic (#20704) 2022-08-08 20:04:28 +02:00
migrations Add tests for the host checking logic, clarify the behaviors (#20328) 2022-07-13 09:07:16 +08:00
mirror Add new API endpoints for push mirrors management (#19841) 2022-07-30 18:45:59 +02:00
org Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
packages Use correct context to get package content (#20673) 2022-08-04 16:14:47 -05:00
pull Ensure that all unmerged files are merged when conflict checking (#20528) 2022-07-29 01:19:55 +02:00
release fix permission check for delete tag (#19985) 2022-06-16 22:03:03 +02:00
repository Remove manual rollback for failed generated repositories (#20639) 2022-08-09 17:41:52 +08:00
task Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
user Fix: Actor is required to get user repositories (#20443) 2022-07-21 23:31:22 +02:00
webhook refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
wiki Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00