Author | SHA1 | Message | Date |
---|---|---|---|
|
bf59956391 | Move actions to notification (#8785) | 5 years ago |
|
6aba0f6dd0 | Move issue notifications (#8713) | 5 years ago |
|
3e50c75c46 |
Move more issue assignee code from models to issue service (#8690)
* Move more issue assignee code from models to issue service * fix test |
5 years ago |
|
ecd7a7f601 |
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 |
|
66132b60a6 |
Move change issue title from models to issue service package (#8456)
* move change issue title from models to issue service package * make the change less * fix typo |
6 years ago |
|
947a425da3 |
Extract actions on new issue from models to services (#8217)
* extract actions on new issue from models to services * improve code * rename services/issues to services/issue |
6 years ago |