githaven-fork/services/forms
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
..
admin.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
auth_form.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
org.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
repo_branch_form.go Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
repo_form_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo_form.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
repo_tag_form.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
user_form_auth_openid.go Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00
user_form_hidden_comments.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
user_form_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
user_form.go Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00