gitea/routers
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546)
* Send email to assigned user

* Only send mail if enabled

* Mail also when assigned through API

* Need to refactor functions from models to issue service

* Refer to issue index rather than ID

* Disable email notifications completly at initalization if global disable

* Check of user enbled mail shall be in mail notification function only

* Initialize notifications from routers init function.

* Use the assigned comment when sending assigned mail

* Refactor so that assignees always added as separate step when new issue/pr.

* Check error from AddAssignees

* Check if user can be assiged to issue or pull request

* Missing return

* Refactor of CanBeAssigned check.

CanBeAssigned shall have same check as UI.

* Clarify function names (toggle rather than update/change), and clean up.

* Fix review comments.

* Flash error if assignees was not added when creating issue/pr

* Generate error if assignee users doesn't exist
2019-10-25 22:46:37 +08:00
..
admin Fix password complexity regex for special characters (on master) (#8525) 2019-10-16 11:09:58 +08:00
api/v1 Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
dev
org
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
repo Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
routes
user Fix template error on account page (#8562) 2019-10-19 10:01:33 +01:00
utils
home.go Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
init.go Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
install.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
metrics.go
swagger_json.go