6959 Commits

Author SHA1 Message Date
Marius Balteanu
785eb325cb Updates test data for version and news webhook payload tests (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-08 08:36:08 +00:00
Marius Balteanu
c749dc2bd3 Adds webooks for versions (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-06 13:59:14 +00:00
Marius Balteanu
ea0a6dfbcb Adds webooks for news (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-06 13:58:51 +00:00
Marius Balteanu
6bc29c40fd Adds webhook events for time entries (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-06 12:38:39 +00:00
Marius Balteanu
4898e01652 Includes project in wiki page API response (#43569).
git-svn-id: https://svn.redmine.org/redmine/trunk@24201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-06 12:27:53 +00:00
Marius Balteanu
e072374b80 Reverts unwanted change (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-04 22:24:09 +00:00
Marius Balteanu
79a0fbc459 Removes wrong assertion (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-04 22:20:07 +00:00
Marius Balteanu
8c229711d5 Adds webhook events for WikiPage (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-03 22:31:03 +00:00
Go MAEDA
7b1083698b Locked users are not shown in gray in the user list (#43282).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-28 01:13:16 +00:00
Go MAEDA
4791d3801f Declare text direction on HTML element for better RTL/LTR styling support (#43506).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-20 23:51:55 +00:00
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
f28c12a997 Fix wrong RuboCop's cop name (#43437).
git-svn-id: https://svn.redmine.org/redmine/trunk@24127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-05 07:51:47 +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
3a3194bbd5 Add copyright headers to webhook-related files (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 09:28:35 +00:00
Go MAEDA
1525eef7dd Progress bar custom field shows only "%" instead of "0%" when value is nil (#43409).
Patch by Nishida Yuya (user:nishidayuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 08:23:58 +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
42a8c0e38f Use require_relative to load test_helper so that tests can be run with the ruby command (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-03 03:07:38 +00:00
Marius Balteanu
6860fdcd50 Fixes Layout/EmptyLinesAroundClassBody (#42737).
git-svn-id: https://svn.redmine.org/redmine/trunk@24097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 07:48:51 +00:00
Marius Balteanu
949431a7a8 Properly rename scrubber files (#42737).
git-svn-id: https://svn.redmine.org/redmine/trunk@24095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 07:22:23 +00:00
Marius Balteanu
d89a3b5e6f Replacing html-pipeline with Loofah for HTML Filtering (#42737).
Patch by Takashi Kato (user:tohosaku).



git-svn-id: https://svn.redmine.org/redmine/trunk@24094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 06:38:27 +00:00
Marius Balteanu
19927b2382 Localize default commonmark alert titles (#43379).
Patch by Go MAEDA (user:maeda) and Marius BALTEANU (user:marius.balteanu).



git-svn-id: https://svn.redmine.org/redmine/trunk@24093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 06:32:31 +00:00
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
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
8aeb1991b1 Fix RuboCop offenses in alerts_icons_filter_test.rb (#43379).
git-svn-id: https://svn.redmine.org/redmine/trunk@24082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-28 00:52:28 +00:00
Go MAEDA
5d59be15b2 Move alerts_icons_filter_test.rb to proper location (#43379).
git-svn-id: https://svn.redmine.org/redmine/trunk@24081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-28 00:48:00 +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
Go MAEDA
25d6a2d555 Column headers are slightly shifted to the right in tables in list views (#43378).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-24 06:19:15 +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
Go MAEDA
40dedd82de Remove deprecated method ApplicationHelper#render_if_exist (#43321).
git-svn-id: https://svn.redmine.org/redmine/trunk@24040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-08 05:23:11 +00:00
Go MAEDA
8ce553727d Remove unnecessary fixture declarations (#29664).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-08 04:56:24 +00:00
Marius Balteanu
a524967fbc Adds the :use_webhooks permission in order to allow users to use webhooks only in projects where they have this permission. This is checked when a hook is saved, and before a hook runs (#29664).
Patch by Jens Krämer (user:jkraemer).



git-svn-id: https://svn.redmine.org/redmine/trunk@24035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 06:51:33 +00:00
Marius Balteanu
d90d192f48 Introduces issue webhooks (#29664):
* users can set up hooks for issue creation, update and deletion events, for any number of projects
* hooks run in the context of the creating user, and only if the object in question is visible to that user
* the actual HTTP call is done in ActiveJob
* webhook calls are optionally signed the same way GitHub does

Patch by Jens Krämer (user:jkraemer).



git-svn-id: https://svn.redmine.org/redmine/trunk@24034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 06:49:14 +00:00
Go MAEDA
3ef7e5624b Incorrect comments_count value in News fixture for news_001 (#43289).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-05 08:27:54 +00:00
Marius Balteanu
d745168d57 Enables CJK friendly emphasis extension for CommonMark (#43234).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-25 05:30:33 +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
bda20bad30 Remove unused tooltip variables from reactions_helper_test.rb (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 06:39:28 +00:00
Go MAEDA
f465577b78 Improve consistency and visibility of reaction buttons with reactions (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 06:36:41 +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
724c4c0024 Fix tests when checking custom fields editability (#43161).
Patch by Holger Just  (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-08 21:02:44 +00:00
Marius Balteanu
da2095ca43 Improve test cases for #42880.
git-svn-id: https://svn.redmine.org/redmine/trunk@23960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-08 20:07:57 +00:00
Marius Balteanu
f78c463043 Offer %done values in issue context menu based on Done ratio options interval setting (#43192).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-08 19:58:19 +00:00
Marius Balteanu
48e2621fa6 Fixes failing test introduced in r23956 (#42880).
git-svn-id: https://svn.redmine.org/redmine/trunk@23958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-08 06:12:16 +00:00
Marius Balteanu
3a19544136 Adds {{recent_pages}} macro that displays a list of recently updated Wiki pages (#38501).
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 08:20:04 +00:00
Marius Balteanu
2d44c48657 Makes 'auto watch issues' default user settings configurable (#42880).
Patch by Jan Catrysse (user:jcatrysse).

git-svn-id: https://svn.redmine.org/redmine/trunk@23956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 08:02:04 +00:00
Marius Balteanu
343a2b4f2e Adds specific classes for anonymous and group avatars (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:59:25 +00:00
Marius Balteanu
283a7ed07a Mark accounts#register with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:21:11 +00:00