11 Commits

Author SHA1 Message Date
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +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
Pavel Balashov c5d75459dd [#45965] Setting definitions validations access nonloaded constants
https://community.openproject.org/work_packages/45965
2023-02-22 16:03:50 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 51ec0870cb Allow partial overriding of settings from file in test env
When Rails environment is test, overriding definition values from file
is still not possible from default section, and becomes possible from
the test section.

For instance with this `config/configuration.yml` file:

    default:
      edition: bim
    test:
      log_level: debug

In tests, log level will be debug but the edition will NOT be bim.
2022-06-28 08:28:02 +02:00
Christophe Bliard 126fab49ba add setting:available_envs rake task to list overridable env var names 2022-05-17 09:56:11 +02:00
Christophe Bliard 670f2a0093 fix setting:set rake task when setting already set by env or config file
WP [#42349](https://community.openproject.org/projects/openproject/work_packages/42349/activity)
2022-05-12 15:05:28 +02:00