126 Commits

Author SHA1 Message Date
Go MAEDA
9c8287dff1 Fix issues system tests by ensuring request completion (#43441).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-06 06:59:11 +00:00
Go MAEDA
157986c778 Fix RuboCop Rails/OrderArguments (#43438).
git-svn-id: https://svn.redmine.org/redmine/trunk@24125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-05 07:41:46 +00:00
Go MAEDA
8a6ef6ddbc Fix a test failure in the Gantt chart context menu caused by unintended button clicks (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-05 04:21:51 +00:00
Go MAEDA
ca921b2eea Fix Gantt system test to correctly verify context menu open/close behavior (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 07:43:04 +00:00
Go MAEDA
c338a0c88a Fix Gantt context menu system test flakiness (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 07:40:06 +00:00
Go MAEDA
3775bb31d6 Extract Gantt view structure and wire Stimulus controllers (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-29 02:35:11 +00:00
Go MAEDA
53ac36c3b8 Add functional and system tests for current Gantt behaviour (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-29 01:32:48 +00:00
Go MAEDA
fd4a0d8020 Automatic list marker does not work for task list items (#43265).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-21 04:54:34 +00:00
Marius Balteanu
0da90f00e1 Support automatic list marker insertion in textareas (#43095).
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@24003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 16:42:07 +00:00
Marius Balteanu
d39ff6e666 Adds button to copy API access key to clipboard.
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@23991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-20 07:41:50 +00:00
Go MAEDA
a56c55a628 Add system test for Edit heading visibility (#42684, #43143).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-11 04:07:18 +00:00
Marius Balteanu
2116ebb79a Fix Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body (#43125).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 20:34:33 +00:00
Marius Balteanu
686c04dd85 Remove redundant fixtures declaration from OauthProviderSystemTest (#43125, 24808).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:26:20 +00:00
Marius Balteanu
e940540e2e Refactor, refresh UI and unify the structure of journals, replies and comments (#42972, #40744).
git-svn-id: https://svn.redmine.org/redmine/trunk@23887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-14 21:33:33 +00:00
Marius Balteanu
a531b4fe80 Reimplement partial quote feature using Stimulus JS (#42515).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 05:45:29 +00:00
Marius Balteanu
9186b8e64d Replaces webrick server used in @OauthProviderSystemTest@ with puma (#24808).
git-svn-id: https://svn.redmine.org/redmine/trunk@23840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-16 21:32:45 +00:00
Marius Balteanu
eb1fcac5e4 Improve text assertion (#24808).
git-svn-id: https://svn.redmine.org/redmine/trunk@23839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-16 21:21:24 +00:00
Marius Balteanu
2d3b3b939e Add OAuth2 provider capability using doorkeeper gem (#24808).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-12 07:09:03 +00:00
Marius Balteanu
e56d84b632 Reverts r23835 due to wrong issue ID (#40856).
git-svn-id: https://svn.redmine.org/redmine/trunk@23836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-12 07:05:01 +00:00
Marius Balteanu
ebdd1a40f4 Add OAuth2 provider capability using doorkeeper gem (#40856).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 20:30:44 +00:00
Go MAEDA
d911e0d0fd Fix system test failure in reactions_test.rb caused by r23809 (#31531).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 02:02:19 +00:00
Go MAEDA
8d1ad3f239 Allow reactions on journals with property changes only (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-17 08:46:25 +00:00
Go MAEDA
48f09a5d87 Improve reaction button style to better highlight existing reactions (#42630):
* Hide count when zero
* Make non-zero count bold
* Remove underline on hover and active

Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-16 02:57:04 +00:00
Go MAEDA
9232726b95 Fix random failures in several system tests with Chrome 133 and later (#42687).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-11 11:03:09 +00:00
Go MAEDA
403c10091f Introduce reactions feature (so-called "like button") to issues, notes, news, and forums (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-11 07:59:16 +00:00
Go MAEDA
1b9698df2c Add a sticky issue header to issue page (#42684).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-10 01:00:13 +00:00
Go MAEDA
38730e5b3c Add a button to copy pre code block content to the clipboard (#29214).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-17 06:52:50 +00:00
Go MAEDA
bc90e0670d Add missing assertions to InlineAutocompleteTest (#42200).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 03:24:48 +00:00
Go MAEDA
fb5c2395b2 Fix random failures in InlineAutocompleteTest due to interference from requests in the previous test (#42200).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 03:22:04 +00:00
Go MAEDA
9aa00d6f16 Fix random failures in IssuesTest#test_bulk_copy due to StaleElementReferenceError (#42244).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 02:58:22 +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
Marius Balteanu
c7509aebc2 Adds system test for #40301.
git-svn-id: https://svn.redmine.org/redmine/trunk@23362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 23:27:24 +00:00
Marius Balteanu
62ed68323c Fixes class name to match file name in keyboard_shortcuts_test.rb (#41902).
Patch by Katsuya HIDAKA (user:hidakatsuya)

git-svn-id: https://svn.redmine.org/redmine/trunk@23330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 16:55:36 +00:00
Go MAEDA
2e4c0df758 Fix tests for the partial quoting feature that randomly fail (#41294).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-26 02:29:09 +00:00
Go MAEDA
b03ab8b353 Fix failing system test for keyboard shortcuts to reflect CommonMark toolbar's output (#40149, #40939).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-24 06:14:51 +00:00
Go MAEDA
5407fea873 Drop deprecated Redcarpet based Markdown formatter (#40149).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Go MAEDA
8ca5d2fa1a Partial quoting feature for Issues and Forums (#41294).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 21:51:52 +00:00
Go MAEDA
51312cc318 Fix test failure in IssuesSystemTest due to incorrect attachment count expectation (#41238).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-11 08:13:32 +00:00
Go MAEDA
6e21ae7209 Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:36:05 +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
9b247230f7 Fix RuboCop offense Layout/EmptyLinesAroundClassBody introduced in r22562 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 01:17:28 +00:00
Marius Balteanu
5a5c621f43 Add system test for #39747.
git-svn-id: https://svn.redmine.org/redmine/trunk@22562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-26 15:43:25 +00:00
Marius Balteanu
01e9671291 Wait for autocomplete to return all 3 issues in order to avoid @StaleElementReferenceError@ (#38852).
git-svn-id: https://svn.redmine.org/redmine/trunk@22429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 22:17:55 +00:00
Marius Balteanu
daa5010cbb Add system test for #39521.
git-svn-id: https://svn.redmine.org/redmine/trunk@22428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 21:41:12 +00:00
Marius Balteanu
5f028722d5 Keep existing @##@ syntax when triggering an issue from the inline autocomplete (#38852).
git-svn-id: https://svn.redmine.org/redmine/trunk@22419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 07:10:51 +00:00
Marius Balteanu
f6c9c725bd Fixes failing system test caused by unavailable Underline button in CommonMark (#34863).
git-svn-id: https://svn.redmine.org/redmine/trunk@22399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 12:50:59 +00:00
Marius Balteanu
7ba9cb1da6 Use assert_selector which automatically waits until the HTML condition is met (#39109).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 19:06:43 +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
ee1476f802 Fix RuboCop offense Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 07:50:11 +00:00