0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 17:04:12 -05:00
forgejo/routers/repo
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
..
activity.go Git statistics in Activity tab (#4724) 2019-05-04 15:39:03 +03:00
attachment.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
blame.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
branch.go [Branch View] Add Included TAG (#8449) 2019-10-14 23:40:17 +01:00
commit.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
compare.go Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
download.go Add missed close in ServeBlobLFS (#8527) 2019-10-16 06:55:31 +01:00
editor.go Fix editor commit to new branch if PR disabled (#8375) 2019-10-05 10:09:19 +08:00
editor_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
http.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
issue.go Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
issue_dependency.go
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_label_test.go
issue_lock.go Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
issue_stopwatch.go
issue_timetrack.go
issue_watch.go Trace Logging on Permission Denied & ColorFormat (#6618) 2019-04-22 23:40:51 +03:00
main_test.go
middlewares.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
pull_review.go Fix review webhooks (#8570) 2019-10-18 16:33:19 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_test.go
repo.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
search.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
setting.go Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
setting_protected_branch.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
settings_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
view.go Allows external rendering of other filetypes 2 (#8300) 2019-10-21 07:54:18 +01:00
webhook.go Change general form binding to gogs form (#8334) 2019-10-02 20:58:40 +08:00
wiki.go Check for either escaped or unescaped wiki filenames (#8408) 2019-10-09 21:49:37 +03:00
wiki_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00