10 Commits

Author SHA1 Message Date
Alexander Brandon Coles 3eeb5abfab Fix missing copyright notices in config 2025-08-19 17:40:34 +01:00
Alexander Brandon Coles 78ed9ea580 Freeze string literals in config
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze config
2025-08-19 17:04:00 +01:00
ulferts 0815cb5f7d defer registering for op notification 2022-04-04 16:46:01 +02:00
ulferts 9fa5599392 Feature/member notifications (#8958)
* spec with correctly scoped links

* move db check into own file - fix deprecation

* basic spec for member creation service

* use constants for all notifications

* send an OP notification after member has been created

* send an OP notification after member has been updated

* mails on group member added

Depending on whether the membership existed before or not, an updated or
a created notification is send. This is done asynchronously.

* move all mail sender background jobs into namespace

* wip

* wip

* correct handling group member notifications

* add setting enable/disable mail sending on member alterations

* use services in members controller

* move Notifiable to OpenProject

* remove member after save hooks

* cleanup/testing/linting

* render member mails in receiver locale

* remove add_member! method

* use mailer layout for all mailers

* Update app/services/groups/cleanup_inherited_roles_service.rb

Co-authored-by: Oliver Günther <mail@oliverguenther.de>

* use around callback to avoid prepending

* handle nil params

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-04-20 13:45:42 +02:00
Oliver Günther a7ed2e9da0 Rewrite jobs to use ActiveJob syntax 2019-10-25 09:09:45 +02:00
Oliver Günther f2ceec1c78 Set DJ priorities and lower max attempts 2018-09-03 15:58:16 +02:00
Markus Kahl a9382e8802 resend invitation feature 2016-01-22 15:01:56 +01:00
Markus Kahl 708596c735 delay user invitation mails 2015-10-16 16:02:51 +01:00
Mohamed Wael Khobalatte 3a0034de19 Use Rails 4's deliver_now 2015-10-04 20:37:54 +01:00
Markus Kahl 42506dacf6 moved invitation email sub to initializer 2015-09-14 13:53:22 +01:00