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 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
Benjamin Bädorf 066673e7a4 Change DatasetInputs into a stateful function
The DatasetInputs decorator was extending the component class, causing
the Angular dependency injection system not to recognize the component
anymore. DatasetInputs is removed and changed into a function called
populateInputsFromDataset that can be called in the contructor of
the necessary component.
2022-05-25 11:35:34 +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 228a7aa4e2 Make principal component use DataInputs decorator
https://community.openproject.org/work_packages/40035
2021-11-29 21:03:00 +01:00
Oliver Günther 98f46ee7bd Convert attribute help text to datset inputs
Improves the angular helper to allow passing and converting inputs
[OP#40035](https://community.openproject.org/wp/40035)
2021-11-24 10:35:20 +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
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Oliver Günther 8e32895ce3 Remove legacy frontend 2019-07-01 20:08:06 +02:00
Oliver Günther f13b72ecd8 [28065] Avoid firefox CSP warning by setting ng-csp globally
AngularJS will try to autodetect CSP in a setting where the ng-csp
selector is not globally available before onLoad (which is not always
the case in our legacy app usage).

This will result in a CSP warning in Firefox. This is cosmetic only.

https://community.openproject.com/projects/openproject/work_packages/28065
2018-07-24 08:39:10 +02:00
Oliver Günther 7b7c126c0a Merge remote-tracking branch 'origin/dev' into angular-cli-plugin-context 2018-06-25 10:25:16 +02:00
Oliver Günther 0a6df24346 Add ng-csp to angularjs legacy frontend 2018-06-22 15:23:33 +02:00
Oliver Günther 2ab1a51d7a Link legacy frontends in the same fashion 2018-06-21 14:00:38 +02:00
Oliver Günther 614f6d2400 Bundle into legacy application 2018-06-21 14:00:38 +02:00
Jens Ulferts ecfcdbc8f8 reactivate legacy collapsible-sections directive 2018-06-14 19:37:10 +02:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther 5e7e9dce84 [26277] Project autocompleter from select2 to jquery-ui with fuzzy and match
Replaced autocompletion with jquery-ui formatter/highlighter and fuzzy
searching to micro libraries for that task (fuzzy, mark.js).

https://community.openproject.com/wp/26277
2018-01-09 08:16:17 +01:00