1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/modules
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
..
auth Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset Reduce test sensibility (#8393) 2019-10-07 01:49:14 -04:00
context Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
cron Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
generate Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
git Ensure default gpg settings not nil and found commits have reference to repo (#8604) 2019-10-20 23:26:36 +01:00
graceful Graceful fixes (#8645) 2019-10-23 16:32:19 +01:00
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
lfs Ensure Request Body Readers are closed in LFS server (#8454) 2019-10-10 18:42:28 +01:00
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Support inline rendering of CUSTOM_URL_SCHEMES (#8496) 2019-10-15 02:31:09 +01:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
password Fix password complexity regex for special characters (on master) (#8525) 2019-10-16 11:09:58 +08:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
process Restore functionality for early gits (#7775) 2019-10-12 08:13:27 +08:00
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
recaptcha Allow Recaptcha service url to be configured (#6820) 2019-05-02 16:09:39 +03:00
references Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
repofiles Fix #8582 by handling empty repos (#8587) 2019-10-19 23:38:49 +08:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
secret Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
ssh Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
structs Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
task Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
templates [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
test Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add golangci (#6418) 2019-06-12 15:41:28 -04:00
util Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00