Alexander Brandon Coles
d17da65477
Freeze string literals in app/models
...
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/models
2025-07-22 18:26:13 +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
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
1bdd2ab9ae
safe automatic fixes by rubocop ( #8994 )
2021-02-11 16:02:18 +01: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
Oliver Günther
53f2d694ff
Use AnyFixtures to generate fixtures from factories ( #7230 )
...
Uses FactoryBot to keep and maintain specific records in a special transaction that does not get removed after each spec.
They automatically are created whenever first hitting them.
This makes an excellent time saver for items that are commonly used, such as an admin user account
2020-04-09 11:54:26 +02:00
Oliver Günther
18e4ed1a9a
Change case insensitive validations to false
2020-03-11 11:32:53 +01:00
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01:00
ulferts
c83ba63640
Revert revert unwanted in dev branch
...
This reverts commit b05a8f7b54 .
The release/10 branch received a revert that was applied after changes
from dev unwillingly where merged into it. But when merging release/10.0
back into dev, that revert was also applied to dev where the changes are
indeed wanted. So we revert the revert for dev.
2019-09-20 08:36:05 +02:00
Oliver Günther
b05a8f7b54
Revert "[31080] Trigger wpEvent after custom action"
2019-09-18 14:28:33 +02:00
ulferts
e7263fcedb
migrate to rails 6.0.0
2019-09-12 16:14:51 +02: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
Oliver Günther
3a1279bf60
Allow categories to be max. 255 long
2016-12-21 14:57:53 +01:00
Oliver Günther
10be42200c
Remove category length restriction
2016-12-13 19:25:33 +01:00
Mohamed Wael Khobalatte
d2349cf819
Delete Redmine's safe_attributes implementation
...
It was an early implementation of strong_parameters, more or less.
Going forward, we should strive to make the whitelisting of attributes
a controller responsibility only.
2015-10-23 14:33:55 +02:00
Mohamed Wael Khobalatte
972b04d86e
Refactor to allow for strong params
...
We no longer need attr_accessible.
2015-10-23 14:33:55 +02:00
Alex Coles
b2790b8db1
Migrate deprecated .update_all with conditions
...
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2015-06-30 22:01:03 +02:00
Alex Coles
e0191e759c
Update year in copyright header to 2015
...
[ci skip]
2015-01-01 00:02:57 +00:00
Alex Coles
6fe9535b1f
Fix syntax (w/Rubocop) in (Rails) models
...
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2014-11-03 22:15:11 +01:00
Alex Coles
721101ed25
Use 1.9+ Hash syntax in (Rails) models
...
Signed-off-by: Alex Coles <alex@alexbcoles.com >
2014-11-03 22:15:11 +01:00
Johannes Wollert
8b096975fe
updates copyright headers
...
updates more copyright
more copyright headers
2014-02-27 16:39:51 +01:00
Hagen Schink
1cb831877b
Renames issue category to category
2013-10-02 14:18:32 +02:00