Jan Sandbrink
bc26a28335
Clarify task and docs around supported env vars
...
The task did not always print out the name of an environment variable
that we use during documentation, e.g. for OPENPROJECT_OPENID__CONNECT.
By preferring the usage of the env_alias this has been fixed.
Docs have been adapted to indicate when to expect certain variables to
work.
2025-11-12 08:40:06 +01: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
Christophe Bliard
9e865b4f7b
lint: Run rubocop safe autocorrect
...
Command is `rubocop --safe --autocorrect app lib lib_static modules spec`
2023-03-09 10:25:57 +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
Oliver Günther
97e7a9605b
Add description field to settings
2023-01-30 14:46:26 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
ulferts
dddcb167f2
Merge pull request #10682 from opf/feature/rake_task_list_settings_env_var
...
add a setting:available_envs rake task to list overridable env var names
2022-05-17 16:09:20 +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
Oliver Günther
22c643207c
Allow setting new setting from env
...
When setting a value from an ENV for a setting that doesn't exist,
the find_by returned nil.
https://community.openproject.org/work_packages/42375
2022-05-16 20:45:03 +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
Markus Kahl
34a8b7f24c
fix settings application and sendmail error
2022-05-12 12:06:50 +02:00
Markus Kahl
3436b3694d
set smtp opts via settings allowing runtime override
...
otherwise it's impossible to update
it at runtime/inapp since the merge
of configuration and settings in 12.1
2022-05-10 13:29:55 +02: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
Markus Kahl
5f54e89aa9
.update_attributes! is now called .update!
2021-02-01 14:33:40 +00: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
6ef4211e77
Bump copyright to 2018 ( #6171 )
...
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther
7cf11bb689
Update copyright notice
2017-01-10 15:11:43 +01:00
Alex Coles
57618b25ec
Replace dynamic finder usages with #find_by, etc.
...
This patch replaces all dynamic finders, for the sake of consistency,
although only some methods are deprecated. See:
https://github.com/rails/activerecord-deprecated_finders#active-record-deprecated-finders
* Revert some `User#find_by_login` usages in cuke steps accidentally
removed in 74228b59 .
User Story # 20325
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2015-06-30 11:50:26 +02:00
Alex Coles
a58650e7c6
Add/update Copyright headers in lib code
...
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2015-04-21 10:24:04 +02:00
Alex Coles
b8b26cfcf0
Fix syntax (w/Rubocop) in tasks
...
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2014-11-03 22:15:13 +01:00
Cyril Rohr
24df87e713
Simplify database check script
2014-09-01 13:13:13 +02:00
Cyril Rohr
9b3ecece57
Allow to configure settings with rake task
2014-08-14 14:10:03 +02:00