25 Commits

Author SHA1 Message Date
Alexander Brandon Coles 8428c44e81 Freeze string literals in app/helpers
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/helpers
2025-07-18 17:49:49 +01:00
Ivan Kuchin 68ba0a171b require enterprise token 2025-01-08 11:53:21 +01:00
Oliver Günther 23f12be1b3 Remove op_primer_flash as it is no longer needed 2024-09-30 20:37:00 +02:00
Oliver Günther 7e6a923790 Remove instance variables in error helper and lint 2024-09-30 20:37:00 +02:00
Oliver Günther 5f1a4005c7 Allow dismiss none 2024-09-30 20:36:59 +02:00
Oliver Günther da4ffd7f2f Replace common error and errorExplanation with banners 2024-09-30 20:36:59 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +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
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
Klaus Zanders 0ff0e80295 Fixes Performance/StringIdentifierArgument offenses 2023-09-06 10:59:37 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +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 ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +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
ulferts 5968c0b18a Fix/replace custom i18n function (#8681)
* replace custom i18n function calls

* remove custom i18n method
2020-09-16 11:26:15 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Oliver Günther 8a8193fa15 Add info on thread and connection pool for timeouts errors
- Added to Rails controller request handling
- Added to API root to catch all api requests as well

Tested on sentry with both as https://sentry.openproject.com/sentry/localhost/issues/909/?query=is:unresolved
2019-08-28 14:52:16 +02:00
Markus Kahl 8ebbdbc065 log actual errors 2019-05-16 14:15:58 +01:00
Oliver Günther 9a2568f390 Fix silent syntax error in 2FA spec
[ci skip]
2019-04-29 14:02:30 +02:00
Oliver Günther 997e410463 Fix autocompletion of groups 2019-04-25 19:48:03 +02:00
Oliver Günther 0d5f50395e [29253] Render error message in production on pending migrations
Creates a new warning bar (previously top-shelf item) that renders a
warning when migrations are pending. These did raise exceptions before
in production and would result in users running in internal errors due
to pending migration on some actions on the instance.

https://community.openproject.com/wp/29253
2019-04-24 07:45:09 +02:00