29 Commits

Author SHA1 Message Date
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Ivan Kuchin fa5d03eae0 rubocop safe autocorrect all except Rails/WhereRange 2024-05-30 19:54:08 +02:00
Pavel Balashou 3da0d59485 [#53672] Refactor hide attachments. Add tests. 2024-05-06 08:20:06 +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
Marcello Rocha 4fea4e5c1a Implements the command 2024-02-22 10:35:33 +01:00
Pavel Balashou e91b13c3c2 Merge branch 'dev' into task/50684-migrate-to-httpx-http-ruby-client 2024-01-08 11:42:15 +01:00
Christophe Bliard 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +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
Pavel Balashou 822608741f [#50684] Migrate to httpx http ruby client
https://community.openproject.org/work_packages/50684
2023-12-04 11:13:12 +01:00
Kabiru Mwenja 0441d6a5be Fix(WebMock): Allow openproject-ci-public-logs.s3.eu-west-1.amazonaws.com CI s3 bucket host 2023-07-25 15:57:53 +03:00
ulferts bd66251313 disable flaky spec 2023-07-24 10:15:24 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01: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
Cyril Rohr b4086b2968 Standalone CI docker container (#8943) 2021-02-02 15:33:33 +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
Oliver Günther 5f422e46d9 Test augur with puffing-billy to mock browser requests with a proxy 2020-04-09 13:29:46 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Jens Ulferts 0257b31ebe bump webmock 2019-02-06 21:59:49 +01: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 4fb23c957b Restructure spec_helper into rails_helper and support files 2016-10-31 20:38:36 +01:00
Oliver Günther d2764478ac Feature specs for remote repository management
Introduces a metadata key `:webmock` that can be used to enable
mocking HTTP requests in an environment on demand.
2015-10-13 12:47:16 +02:00
Oliver Günther 408e241a36 Enable webmock as a context explictly in examples
As webmock breaks default Net::HTTP behavior, it should not be run unless explictly requested.
Requiring it in the spec_helper breaks some other integration tests.
2015-10-13 12:47:16 +02:00