gitea/services
oliverpool c81b26b0e5
refactor webhook *NewPost ()
* 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
..
agit Add more linters to improve code readability ()
asymkey Move issues related files into models/issues ()
attachment Move almost all functions' parameter db.Engine to context.Context ()
auth Fix typo in source ()
automerge Add more linters to improve code readability ()
comments Move issues related files into models/issues ()
context Move almost all functions' parameter db.Engine to context.Context ()
cron Make better use of i18n ()
externalaccount
forms refactor webhook *NewPost ()
gitdiff Improve code diff highlight, fix incorrect rendered diff result ()
issue Check if project has the same repository id with issue when assign project to issue ()
lfs Move some code into models/git ()
mailer Fix init mail render logic ()
migrations Add tests for the host checking logic, clarify the behaviors ()
mirror Add new API endpoints for push mirrors management ()
org Move almost all functions' parameter db.Engine to context.Context ()
packages Use correct context to get package content ()
pull Ensure that all unmerged files are merged when conflict checking ()
release fix permission check for delete tag ()
repository Remove manual rollback for failed generated repositories ()
task Add more linters to improve code readability ()
user Fix: Actor is required to get user repositories ()
webhook refactor webhook *NewPost ()
wiki Move some helper files out of models ()