102 Commits

Author SHA1 Message Date
Go MAEDA
f245ddc280 Fix failing tests caused by r24087 (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-30 10:04:15 +00:00
Marius Balteanu
31ce3c99c2 Allow administrators to disable webhooks from settings (#29664).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-27 20:35:17 +00:00
Marius Balteanu
d79fe0df9a Adds @Cache-Control: no-store@ header to login, lost password, change password and sudo pages (#42998).
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-10 13:23:14 +00:00
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
4f761e34e8 Enable browser autocomplete for login input fields (#41937).
Contributed by Thomas Butz (user:otbutz).


git-svn-id: https://svn.redmine.org/redmine/trunk@23361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 06:40:47 +00:00
Go MAEDA
b803bddb1f Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack 3.1.0+ in assert_response (#39889).
Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`.
Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+.

This fix is a follow-up to r22837.


git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 16:09:37 +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
Go MAEDA
4e0bb4990c Display calendar in vertical list layout on mobile screens (#33682).
Patch by Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 06:40:59 +00:00
Go MAEDA
a7bc173a7e Fix incorrect argument format for assert_select that causes ArgumentError with rails-dom-testing >= 2.1.0 (#38797).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-07-02 06:34:03 +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
daca8f0754 Add missing fixture issue_categories to MyControllerTest (#37477).
git-svn-id: https://svn.redmine.org/redmine/trunk@21728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 01:34:53 +00:00
Marius Balteanu
f286a6044b Deprecate and rename rss_* methods to atom_* methods (#15118).
Patch by Mischa The Evil and Marius BĂLTEANU


git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 09:56:46 +00:00
Go MAEDA
f670f0e572 Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +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
Marius Balteanu
805b36cbfb Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 17:25: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
Toshi MARUYAMA
5514fe4555 more strictly assertion at MyControllerTest#test_page_with_calendar
git-svn-id: http://svn.redmine.org/redmine/trunk@20427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-18 16:16:46 +00:00
Toshi MARUYAMA
f7fc041078 prevent random failure of MyControllerTest#test_page_with_calendar
git-svn-id: http://svn.redmine.org/redmine/trunk@20415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-18 01:22:00 +00:00
Toshi MARUYAMA
472e953f5e add my page calendar functional test
git-svn-id: http://svn.redmine.org/redmine/trunk@20280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-06 13:01:07 +00:00
Toshi MARUYAMA
cbde0d5669 shorten long line of MyControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-02 12:58:18 +00:00
Toshi MARUYAMA
a9aea31657 shorten long line of MyControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-26 15:01:37 +00:00
Toshi MARUYAMA
2dfabe59f4 fix source indent of MyControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:06:56 +00:00
Toshi MARUYAMA
895be99bbb add space after comma to MyControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:06:08 +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
ac0b69298c Code cleanup: RuboCop: Fix Layout/EmptyLinesAroundMethodBody in test/functional/my_controller_test.rb (#32628).
git-svn-id: http://svn.redmine.org/redmine/trunk@19450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:26:00 +00:00
Go MAEDA
d48769f152 Enable users to receive email notifications about high issues (only) (#32628).
Patch by Jan Schulz-Hofen.


git-svn-id: http://svn.redmine.org/redmine/trunk@19449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:23:26 +00:00
Toshi MARUYAMA
aace24e561 cleanup: rubocop: fix Layout/AlignArguments in test/functional/my_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:22 +00:00
Go MAEDA
282ddf0ee8 test_page_with_activity fails depending on the current time and zone (#30288).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-25 00:02:17 +00:00
Go MAEDA
9cdd8bf039 Enables API access to /my/account for updating user account data (#31399).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 09:34:49 +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
bf0246ce83 Add avatar_server_url configuration option in order to support Libravatar (#9112).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 15:59:50 +00:00
Go MAEDA
acac5974e3 New My page block: Updated issues (#30975).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 08:10:30 +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
bae9ffd327 Filter out issues from closed projects in the following widgets (#29449):
* Issues assigned to me
* Reported issues
* Watched issues

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 06:14:56 +00:00
Go MAEDA
d3ffa9252c Remove trailing whitespaces from test/functional/my_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 05:48:31 +00:00
Go MAEDA
f42c4be21e Fix a test failure in test/functional/my_controller_test.rb that depends on time and zone (#2471).
git-svn-id: http://svn.redmine.org/redmine/trunk@17465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-09 00:27:21 +00:00
Go MAEDA
cd6ab18209 Add a missing fixture (#2471).
git-svn-id: http://svn.redmine.org/redmine/trunk@17456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-29 07:27:23 +00:00
Go MAEDA
87a671ce75 Add my activities to my page (#2471).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-11 14:51:07 +00:00
Go MAEDA
a4ffda7b37 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-21 12:00:22 +00:00
Jean-Philippe Lang
09e55e3e3a Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-31 16:44:06 +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
b834e81d7f Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-31 17:32:34 +00:00
Jean-Philippe Lang
88a3a351d0 Don't hardcode the groups on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:17:47 +00:00
Jean-Philippe Lang
e7400dfbba Fix tests (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 20:16:51 +00:00
Jean-Philippe Lang
4cfd513373 Allow multiple instances of custom queries on My page (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 18:02:43 +00:00
Jean-Philippe Lang
c23f126f1f Fix link to issues when displaying a project query (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-15 18:14:58 +00:00