as-op
5b5caaa186
[ #65994 ] PDF export of project list
...
https://community.openproject.org/work_packages/65994
2025-07-31 14:59:03 +02:00
Alexander Brandon Coles
bc693e02ea
Fix missing copyright notices in app/workers
2025-07-18 18:10:42 +01:00
Alexander Brandon Coles
03572f4444
Freeze string literals in app/workers
...
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/workers
2025-07-18 17:42:42 +01:00
Dombi Attila
28cd76c40e
Refactor Projects::Phases::ApplyWorkingDaysChangeJob methods
2025-06-16 18:10:03 +03:00
Dombi Attila
46ef0c505f
[ #64836 ] Incorrect rescheduling after non working days are changed
...
https://community.openproject.org/work_packages/64836
Change Project::Phase::ApplyWorkingDaysChangeJob to reschedule only from the first phase that has a start date.
2025-06-16 16:13:28 +03:00
ulferts
abc3f387c2
rename project phases` services and contracts
2025-06-10 13:12:51 +02:00
Ivan Kuchin
fc25368a7a
use batch processing insted of iterating project ids
2025-06-04 18:33:33 +02:00
Ivan Kuchin
3aadf2b2fd
pass user exclipictly in ApplyWorkingDaysChangeJob
2025-06-04 18:33:32 +02:00
Ivan Kuchin
29a444ab2a
simplify for rubocop
2025-06-04 18:33:32 +02:00
Ivan Kuchin
a637335fe2
rename covering_dates_and_days_of_week to covering_dates_or_days_of_week
2025-06-04 18:33:32 +02:00
Ivan Kuchin
427fd8d4cf
force querying phases and use first defined start_date to reschedule from
2025-06-04 18:33:31 +02:00
Ivan Kuchin
23463ef3a8
agreed to use simpler active and not visible scope in the job
2025-06-04 18:33:30 +02:00
Ivan Kuchin
2c2b409137
all active phases should be rescheduled when working days are added
2025-06-04 18:33:25 +02:00
Ivan Kuchin
143e35d52a
journal change
2025-06-04 18:33:25 +02:00
Ivan Kuchin
eece87476b
implement Projects::Phases::ApplyWorkingDaysChangeJob
2025-06-04 18:33:24 +02:00
Ivan Kuchin
cde4bba693
extract common parts of ApplyWorkingDaysChangeJobs
2025-06-04 18:33:24 +02:00
Ivan Kuchin
4d0d2a94eb
empty Projects::Phases::ApplyWorkingDaysChangeJob
2025-06-04 18:33:20 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Klaus Zanders
db580141cc
Move ProjectQuery model to the main namespace
2024-06-26 16:23:10 +02:00
ulferts
3b2121f733
Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
...
This reverts commit 40b2bbeb09 , reversing
changes made to b4c6cb17cc .
2024-03-21 11:31:17 +01:00
Ivan Kuchin
7787e457a3
Revert "Merge branch 'dev' into release/13.4"
...
This reverts commit a901541269 , reversing
changes made to e573ca00b7 .
2024-03-20 20:19:08 +01:00
Ivan Kuchin
9e4934cd0a
change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a
2024-03-20 18:05:22 +01:00
Oliver Günther
337eda7dfa
Revert "Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob""
...
This reverts commit dfa75621ea .
2024-03-07 13:59:24 +01:00
Markus Kahl
dfa75621ea
Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob"
...
This reverts commit 9f3e4c48ea , reversing
changes made to 10412f7c85 .
2024-03-07 12:40:15 +00:00
Oliver Günther
f17ad241b1
Remove the reorder_hierarchy_job and inline it in the migration
2024-02-20 12:39:40 +01:00
Christophe Bliard
c795874f7f
Update copyright year for 2024
...
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Pavel Balashov
7b978bf8db
Use OpenProject.logger instead of Rails.logger.
2023-03-16 15:47:20 +01:00
Pavel Balashov
d1f4fc50f6
Fix issue with DeleteProjectJob logger.
...
- `Delayed::Worker.logger` is set to nil in `config/initializers/delayed_job_config.rb:30`. Hence `Rails.logger` is used.
- Simplify code a by reducing its size.
2023-03-15 20:43:04 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
ulferts
3f8ca13830
rubocop autofix for cops added in 1.31.0
2022-06-27 13:11:02 +02:00
Christophe Bliard
48a4f1b6ad
lint with rubocop --autocorrect (safe cops only)
2022-06-02 10:40:10 +02:00
Oliver Günther
300da0608b
Also reorder project roots and sort by lft only
...
Previously, we only reordered children when a project gets saved,
this obviously does not sort the project roots.
To fix this, the reorder job is extended to resort all project roots.
When saving a project, all its siblings are being resorted.
2022-04-28 21:23:12 +02:00
Christophe Bliard
a33524ef6d
remove ruby magic comment for utf-8
...
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard
bc8d423ec2
update copyright information for 2022
2022-03-01 17:05:59 +01:00
Oliver Günther
512f35a96f
Merge remote-tracking branch 'origin/release/12.0' into dev
2022-02-15 11:52:21 +01:00
Markus Kahl
f83f96a172
elevated prio for jobs users might wait for
2022-02-09 10:59:47 +01:00
Oliver Günther
78e404412a
Resort projects when creating or updating their name
2022-02-07 09:03:30 +01:00
Oliver Günther
83bd71d085
Fix serialization of project query by adding mixin
2021-11-02 16:15:02 +01:00
Oliver Günther
eb4d7a19d9
Add CSV project export functionality
2021-11-02 16:14:59 +01:00
Oliver Günther
ccfa29c728
Move license and copyright docs to root, fix names and references
2021-09-02 21:50:46 +02:00
Oliver Günther
06bcfbbb06
Add user job to provide system user with privileges ( #9191 )
2021-04-27 08:54:51 +02:00
Oliver Günther
1963bd9c65
Correct error message output
2021-04-26 20:00:16 +02:00
ulferts
6140f4c7e9
update copyright to 2021 ( #8925 )
...
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
2021-01-13 17:47:45 +01:00
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01:00
Oliver Günther
a7ed2e9da0
Rewrite jobs to use ActiveJob syntax
2019-10-25 09:09:45 +02:00
ulferts
05ac3af1ee
add projects delete end point to api
2019-09-19 07:34:50 +02:00
Oliver Günther
369b668e64
Make ProjectsController#destroy use background worker + service
...
[ci skip]
2018-12-21 14:15:16 +01:00