190 Commits

Author SHA1 Message Date
Klaus Zanders 6f02a6642c Always serve repository file entries as application/octet-stream 2026-03-13 14:46:18 +01:00
Oliver Günther 50639e1c74 Use git rev-parse to find commits from input revs (#22)
https://community.openproject.org/work_packages/70988
2026-01-26 11:38:03 +01:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Alexander Brandon Coles f15be6e07f Freeze string literals in app/controllers
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/controllers
2025-07-18 17:51:00 +01:00
Oliver Günther 0b7e3a2d92 Don't override, but append object_src 2025-07-08 16:17:29 +02:00
Dombi Attila 10dc5538a2 [#63386] Use rescue_from ActiveRecord::RecordNotFound
https://community.openproject.org/work_packages/63386
2025-04-14 13:44:28 +03: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
Dombi Attila 2d96ddfc8c Fix repositories_controller_spec.rb 2024-02-01 14:22:08 +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
Klaus Zanders 3e7e286eaf Get rid of explicit usages of allowed_to_in_project? 2023-10-23 16:40:01 +02:00
Klaus Zanders 58a4775f19 Fixes Performance/CompareWithBlock offenses 2023-09-06 10:59:37 +02:00
Dombi Attila 82255c5bc1 [#47615] Modify the Query#timestamps attributes to store data of relative date and fixed time combination
https://community.openproject.org/work_packages/47615
2023-04-20 19:20:43 +03: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
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts 3f8ca13830 rubocop autofix for cops added in 1.31.0 2022-06-27 13:11:02 +02: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
ulferts 89cfee203f remove usage of require_dependency
according to the rails 6 migration guide, it should no longer be necessary: https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#require-dependency
2022-01-07 14:46:21 +01:00
ulferts c6d2fa0896 remove ruby 1.8 specific code 2021-12-20 12:11:47 +01:00
ulferts bb9befbcb9 readd diff_type to user preferences 2021-12-20 12:06:05 +01:00
Oliver Günther 32b67aeca3 Refactor MimeType into OpenProject scope and allow video inlines 2021-11-05 14:23:58 +01:00
ulferts f89f19dffc use resouce based routing 2021-10-29 15:48:18 +02:00
ulferts ec7bcabe81 move repository to nested settings 2021-10-29 09:18:27 +02: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
luz paz 3683042c9b Fix typos in user facing and non-user facing code
Found via `codespell v2.1.dev0`
2021-01-24 15:08:21 +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
ulferts 9e2287bfcc rename and inflect according to zeitwerk 2020-02-21 20:47:24 +01:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Oliver Günther d32e9f6788 Use page_param, not params[:page]
[ci skip]
2019-01-09 08:48:29 +01:00
Markus Kahl 9db7749b4b fixed CSP for dynamic graphs in repo stats page 2018-09-24 13:27:10 +01:00
Oliver Günther 1cd13c9d48 Merge remote-tracking branch 'origin/dev' into feature/commonmark-and-ckeditor 2018-04-03 08:53:05 +02:00
Oliver Günther 8c477e5860 Fix more project settings related specs 2018-03-05 14:16:37 +01:00
Oliver Günther ab4f9b7ed5 Replace settings and boards remotes with actual responses 2018-03-05 07:24:44 +01:00
Oliver Günther 8fb1c1573d Fix repo tests due to changes repo_path 2018-02-26 16:01:26 +01:00
Oliver Günther 85a1079e25 Fix route generation for source urls and general escaping of quotes 2018-02-23 09:27:29 +01:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
ulferts 5471c7686e force html format for viewable repo entries (#5793)
[ci skip]
2017-07-26 20:29:52 +02:00
ulferts 520815956d preserve params when redirecting for login on repository (#5671)
[ci skip]
2017-06-19 12:55:28 +02:00
Markus Kahl 470bf12826 show warning in subfolders too; fixed specs 2017-05-05 12:22:12 +01:00
Markus Kahl c7cec30020 allow truncating repo browser list - Setting.repository_truncate_at 2017-05-04 14:38:44 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Oliver Günther 279ea14775 [24360] Force format when rendering html diff template 2016-11-24 09:47:41 +01:00
Oliver Günther 9c1508bad0 Fix legacy repository specs 2016-09-12 12:01:25 +02:00
Jens Ulferts cf8b2c568e ActionController::Parameter no longer is a hash 2016-09-12 11:02:37 +02:00