38 Commits

Author SHA1 Message Date
Christophe Bliard fd61a1dc42 [67893] Hide legal notice link when no impressum is set
The condition was altered when `Homescreen::LinkComponent` component was
introduced in 82a8c3de81.
2025-10-02 17:53:31 +02:00
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
Oliver Günther f791d33b72 Replace specs 2025-01-14 10:20:35 +01:00
Oliver Günther d42c373e77 Add title expects to my page 2024-12-23 17:16:55 +01:00
Oliver Günther cd2d0f0e1a Remove primerized_flash prefix in methods 2024-09-30 21:39:36 +02:00
Oliver Günther 1cf49e2c9f Adapt specs 2024-09-30 20:37:00 +02: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 ba16112745 Use Rails.application instead of OpenProject::Application 2024-02-01 14:22:04 +02: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
Oliver Günther d60120f1fb Adapt specs now that login_required defaults to true 2023-11-08 11:30:58 +01:00
Aaron Contreras 413dc94f30 Add the home item to the global menu
Adds the item to the global menu and binds it to the
`HomescreenController#index` action

As a goodie, some cuprite improvements.
2023-07-12 09:19:11 -05:00
Aaron Contreras 1521f0d7e2 Switch homescreen/index_spec to cuprite 2023-06-28 05:18:59 -05:00
Christophe Bliard 4c2a9d0aa8 Enable RSpec zero monkey patching mode
The plan for RSpec 4.0 is to disable monkey patching.

See https://github.com/rspec/rspec-core/blob/main/features/configuration/zero_monkey_patching_mode.feature for details.
2023-05-31 19:22:29 +02:00
Aaron Contreras 4afb61b343 Dynamically set the Support Link on the Community Block 2023-05-25 07:24:19 +02:00
Christophe Bliard 590aedca99 Fix test expectation
Some browsers add a trailing slash to the url, and some others don't.
2023-05-10 10:14:33 +02:00
Christophe Bliard 246ff4b14d Fix links with edited opSetting:base_url in them
Refs https://community.openproject.org/wp/48158

When editing formatted text, the ckeditor turns
`{{opSetting::base_url}}` into an escaped version of the same link. It
then looks like `http://host:port/%7B%7BopSetting:base_port%7D%7D` and
does not work anymore.

The fix here is to extend the macro recognition regex to include the
http://host:port/ part before with the escaped curly braces, so that
substitution works. It has the nice side effect to make all previously
edited links work again.
2023-05-09 17:26:31 +02:00
ulferts 4d36f144fd update robot.txt
/calendar does no longer exist
/activity and /activities are synonyms for the same route.
/search (global or in project) does not make sense for a robot to process.
2023-02-01 14:44:02 +01:00
Christophe Bliard 85b3258a29 Autocorrect with some rubocop cops
RSpec/Rails/InferredSpecType and Style/RedundantConstantBase

rubocop --autocorrect-all --only RSpec/Rails/InferredSpecType,Style/RedundantConstantBase spec modules/*/spec
2023-01-13 14:28:59 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther f08bea3467 Remove FactoryBot.* prefix where applicable 2022-01-25 08:19:06 +01:00
Henriette Darge c4ba5fb682 Create calendar module 2022-01-05 07:54:08 +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 c3e57f79ea Use alternative {{ ... }} syntax 2021-07-29 13:51:55 +02:00
Oliver Günther 5ccb5af99e Use the setting formatter to replace the static base url 2021-07-27 13:24:00 +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 d8a80de7e4 Move robot spec into one
[ci skip]
2018-08-08 11:11:15 +02:00
Oliver Günther 059770f533 FactoryGirl => FactoryBot
Removes the deprecation
2018-05-07 22:38:20 +02: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 ca3e136cf7 Add feature spec to robots output 2015-10-07 10:28:07 +02:00
Oliver Günther c3b9dea39f Use path helpers instead of manual paths 2015-10-07 10:27:55 +02:00