24 Commits

Author SHA1 Message Date
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 e863c603e5 Include version in cache key for CachedRepresenter so that cache is properly invalidatd 2023-12-11 09:24:18 +01:00
ulferts b61ef7fd8c fix typo 2023-02-23 09:31:14 +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 c5866298da Feature/disable bcf creation when lacking permission (#8160)
* prevent internal key to be visible in json

* explicitly check that bcf viewpoints are not supported in some cases

* check permission before attempting to create a viewpoint

* linting

* more linting

[ci skip]
2020-03-18 10:54:50 +01:00
Oliver Günther eafa84c6df Let work package cache associated bcf_issue
and touch it when changing associated viewpoints
2020-03-10 08:48:13 +01:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
ulferts 7971a29a8b don't cache the attribute_groups 2019-06-11 10:46:11 +02:00
ulferts a199c94a6a have permission specific schema caching 2019-06-11 10:46:11 +02:00
ulferts e8f2ad5516 reenable caching using standard methods 2019-06-11 10:46:11 +02:00
ulferts 1850622f20 Feature/versions api update (#7299)
Feature/versions api update

[ci skip]
2019-05-22 10:29:06 +03:00
Oliver Günther 0b96d2876c Cached avatar image 2018-08-08 10:38:52 +02:00
Jens Ulferts ce21ee20f7 cached representers 2018-04-25 14:36:10 +02:00
Oliver Günther 29d69a3fc5 Introduce header and Rails caching for schemas
This commit introduces cached project-scoped work packages schema.
Their caches are expired on a key based on

- the Project ID
- the Type ID
- the allowed custom fields for the given project

This commit only caches schema, not form endpoints.
2016-04-26 07:57:08 +02:00