Commit Graph

15 Commits

Author SHA1 Message Date
Oliver Günther 6841eb28f6 Extract html_safe_gsub as a core extension 2026-02-19 11:03:42 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02: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
Oliver Günther 49b1cd32e5 Revert timezone setting back to string, validate using canonical (#11607)
* Revert timezone setting back to string, validate using canonical

Add spec

* Update config/constants/settings/definitions.rb

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
2022-11-10 16:07:39 +01:00
Oliver Günther 64801fed54 Allow setting timezone values 2022-11-03 16:31:04 +01:00
Christophe Bliard 48986c80be Make String#squish remove sql comments
Add `using CoreExtensions::SquishSql` to use it.
2022-09-19 10:17:43 +02:00
Andreas Pfohl 5356118cf6 [#40941] Meeting Time in iCalendar is wrong
https://community.openproject.org/work_packages/40941
2022-04-25 08:27:38 +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
Oliver Günther 2896afe6c4 Assign project identifier in backend (#9196)
* Introduce localizable slug url

Stringex currently works only with english strings for wiki. But that default
is actually confusing.

Instead, add an explicit localizable helper that receives the locale and sets the
stringex backend locale temporarily

* Generate a default identifier in the backend

* Remove JS based identifier updating

* Remove identifier attribute

* Add button to change identifier

* Adapt tests to changed identifier

* Linting

* Fix invalid selector
2021-04-29 15:30:31 +02: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
Markus Kahl 1547a75a16 log sql statements by default in dev mode 2019-07-18 07:59:34 +01:00