You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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
5 years ago
..
admin Fix password complexity regex for special characters (on master) (#8525) 5 years ago
api/v1 Mail assignee when issue/pull request is assigned (#8546) 5 years ago
dev Display ui time with customize time location (#7792) 5 years ago
org Fix errors in create org UI regarding team access permission. (#8506) 5 years ago
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
repo Mail assignee when issue/pull request is assigned (#8546) 5 years ago
routes Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 5 years ago
user Fix template error on account page (#8562) 5 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go Use AppSubUrl for more redirections (#8647) 5 years ago
init.go Mail assignee when issue/pull request is assigned (#8546) 5 years ago
install.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Swagger.v1.json template (#3572) 6 years ago