Commit Graph

76 Commits

Author SHA1 Message Date
Go MAEDA
4fb1e4bea0 Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Go MAEDA
47c21fa217 Fix RuboCop offenses in ThemesTest#test_old_theme_compatibility introduced in r23173 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@23176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-02 04:07:22 +00:00
Marius Balteanu
88519264cf Adds asset path to default to support old style theme (#39111).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-31 08:15:57 +00:00
Go MAEDA
ffb78c12c3 Fix invalid "theme-*" CSS class in body element when theme name contains spaces (#26778).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 08:21:18 +00:00
Go MAEDA
de76bb3a4a Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:42:12 +00:00
Go MAEDA
a9518e28b8 Fix RuboCop offense Rails/HttpStatus (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-18 05:56:55 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
17a0ec4c9a Fix ThemesTest may fail if a third-party theme having theme.js is installed (#40205).
git-svn-id: https://svn.redmine.org/redmine/trunk@22707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:58:30 +00:00
Marius Balteanu
437e46aa45 Fix failing tests related to favicon in themes after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:14:34 +00:00
Marius Balteanu
88a8234513 Fix tests after asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:41:50 +00:00
Marius Balteanu
c99bb27e27 Add Propshaft library to enable the asset pipeline without modifying existing assets (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:38:33 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
8c1fda0b5d Repository tab is not displayed if no repository is set as the main repository (#33953).
Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-27 15:35:25 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
be61fe9626 MenuManagerTest randomly fails (#36241).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-29 13:50:47 +00:00
Go MAEDA
7fe7fdd7bc Roadmap tab is missing if there are only inherited from parent project versions (#34983).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-07 05:09:13 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
e0581b34b7 Activity tab in cross-project menu is sometimes broken (#34805).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:46:59 +00:00
Go MAEDA
ce5c54a590 Reverts r20762
git-svn-id: http://svn.redmine.org/redmine/trunk@20763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:45:51 +00:00
Go MAEDA
8fcef23fef Activity tab in cross-project menu is sometimes broken (#34032).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:43:34 +00:00
Toshi MARUYAMA
f3789eed52 fix source indent of AttachmentFieldFormatTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:47 +00:00
Toshi MARUYAMA
8fe020049d shorten long line of AttachmentFieldFormatTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:48:51 +00:00
Toshi MARUYAMA
0d2dd0669e shorten long line of test/integration/lib/redmine/menu_manager_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 14:17:20 +00:00
Go MAEDA
cb0161dc0e Show Roadmap tab when subprojects have defined versions (#7956).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 08:58:26 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
9d18f67f9e Add download buttons in Files columns of the issues list (#32240).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 14:24:51 +00:00
Toshi MARUYAMA
5ee9e0f49c cleanup: rubocop: fix Layout/AlignArguments in test/integration/lib/redmine/menu_manager_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 01:37:35 +00:00
Toshi MARUYAMA
6a6d5e4560 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/integration/lib/redmine/hook_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 05:37:55 +00:00
Go MAEDA
e03617881e ThemesTest may fail if a third-party theme with a favicon is installed (#31941).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-25 21:57:41 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
1d3e2006b1 Hide menu item in the cross-project menu if the module is not enabled in any project (#30207).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-13 03:23:18 +00:00
Go MAEDA
46b028b1b8 Fix that the following tests fail randomly due to uninitialized User.current (#29853):
* AttachmentsVisibilityTest#test_attachment_should_be_visible
*
Redmine::AttachmentFieldFormatTest#test_should_accept_a_hash_with_upload_on_create
*
Redmine::AttachmentFieldFormatTest#test_should_replace_attachment_on_update

Patch by Gilad Shanan.


git-svn-id: http://svn.redmine.org/redmine/trunk@17616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 07:15:00 +00:00
Go MAEDA
cb5fce0442 Adds link to container to attachment view (#29190).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 00:27:58 +00:00
Go MAEDA
fe7e8f1d3b Add CSS to distinguish when a main menu is present or not (#28531).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-23 05:16:25 +00:00
Jean-Philippe Lang
d74f0bfd5c Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
b21af3eaa4 Preview files by default instead of downloading them (#25988).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 07:28:10 +00:00
Jean-Philippe Lang
966f238da4 Use Rails 5 syntax for integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 18:17:27 +00:00
Jean-Philippe Lang
7741263ab6 ThemesTest#test_without_theme_js may fail if third-party theme is installed (#25118).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16347 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:20:17 +00:00
Jean-Philippe Lang
124a459d55 Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 10:30:02 +00:00
Jean-Philippe Lang
f94711ea8c Option to specify allowed extensions for a file custom field (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 11:00:02 +00:00
Jean-Philippe Lang
ef45304817 Adds file custom field format (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
7296b569a3 Leading slash required with Rails 4.2.
git-svn-id: http://svn.redmine.org/redmine/trunk@13783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 15:05:18 +00:00