* 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>
* Move replacing invalid references into separate job for principals
* Write migration to remove existing invalid custom values and responsible
* Fix other specs
* Fix other specs
* rewrite replacing user in records
* consolidate principal deletion
* include placeholder users in spec
Co-authored-by: ulferts <jens.ulferts@googlemail.com>
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.
Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
* rename timestamps on time entry
* add updated_at filter/order for time entries
* rename on cost entries as well
This will make handling in the cost query easier
* adapt specs
* linting
* adapt project activity
* update references to updated_on
* rename costs, introduce budgets
* move files from costs to budgets
* rename cost_object to budget
* remove unused code
* move hook - should be turned into standard code in the long run
* move type attributes change over to budgets
* move patch to work_package proper
* move budget menu item up
* combine reporting, time and cost module
* remove rails based time_entries & reports code
* rename cost object filter
* adapt menu spec expectations
* use cost project module name in administration
* include timeline labels in migration
* properly place budget linking method
* fix permitted params
* remove outdated routing spec
* adapt budget request specs
* ensure order of descendent updates
* remove outdated specs
* fix checking for reporting to be enabled
* fix displaying spent units
* fix time entries activity event url
* reenable current rate tab
* fix path on budget page
* allow bulk editing of budgets only in one project scenario
* fix sanitizing reference in controller
* include module required for format_date
* fix reference to correct units from work package spent units
* linting
* remove outdated spec
* remove outdated views and permission references
* remove acts_as_event from time_entries
There is no atom link for time entries
* remove acts_as_event from projects
There are no atom links for projects
* introduce budget filter for cost reports
* remove actions added to removed controller
* move time entries to the costs module
* factor in view_own permission when calculating time entry visibility
* linting
* move mounting of time entries
* include budgets into api v3 documentation