Marius Balteanu
d3aa4e1458
Avoid generating PDF thumbnails for PostScript files ( #43451 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 08:32:06 +00:00
Marius Balteanu
b8daf724f8
Adds 'project' option to recent_pages macro in order to display recent pages from a specific project ( #43372 ).
...
Patch by Florian Walchshofer (user:amiswalc).
git-svn-id: https://svn.redmine.org/redmine/trunk@24235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-28 02:57:00 +00:00
Marius Balteanu
11612e5174
Fixes error executing the include macro (Page not found) in projects list ( #43526 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@24234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-28 02:55:01 +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
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
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
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
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
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
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
30880b861f
Run Setting.clear_cache after each test in order to decrease the number of random failing tests ( #43130 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:31:26 +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
Go MAEDA
bb6b8e1e43
Fix RuboCop Style/RedundantArrayFlatten ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-07 07:42:07 +00:00
Marius Balteanu
7645774634
Change quote note icon to quotation marks ( #31531 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu).
git-svn-id: https://svn.redmine.org/redmine/trunk@23809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-30 20:04:46 +00:00
Marius Balteanu
3090bf6906
Adds icons to commonmark alerts ( #42603 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-24 21:29:21 +00:00
Go MAEDA
4b42d68842
Avoid adding "%" suffix in CSV export for Progress Bar custom fields to prevent import errors ( #42335 , #42706 ).
...
Patch by Kenta Kumojima (user:kumojima).
git-svn-id: https://svn.redmine.org/redmine/trunk@23780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-17 02:02:04 +00:00
Go MAEDA
d2a9223c4a
Improve method and variable naming for clarity and consistency ( #42630 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:09:17 +00:00
Go MAEDA
e7703a0170
Show reaction counts and user names only for reactions visible to the logged-in user ( #42630 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:01:54 +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
Marius Balteanu
e25f391677
Fixes rubocop offenses ( #42648 , #42603 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:56:45 +00:00
Marius Balteanu
acb6ae97c2
Fixes rubocop offense "Prefer assert_not_includes over refute_includes" ( #42603 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:46:39 +00:00
Marius Balteanu
e6f00370ee
Fixes broken references for multiple footnote usage ( #42648 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:40:18 +00:00
Marius Balteanu
2b9c6f64b1
Fixes failing test ( #42603 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:30:14 +00:00
Marius Balteanu
8fa4c44581
Enable CommonMark alert extension ( #42603 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-29 21:13:55 +00:00
Go MAEDA
0dc7337c7d
Fix RuboCop Layout/EmptyLinesAroundMethodBody ( #42602 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 09:37:30 +00:00
Marius Balteanu
6faaf3d038
Replaces deckar01-task_list gem with commonmarks tasklist extension ( #42602 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 06:58:32 +00:00
Go MAEDA
ce94a1d71a
Adds interval ratio setting to progressbar custom field ( #42335 ).
...
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 08:46:02 +00:00
Go MAEDA
15d33f6827
Fix RuboCop Style/RedundantFormat by renaming custom format method to to_html to avoid name conflict with Kernel#format ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:37:27 +00:00
Go MAEDA
1e9f1229e6
Skip repository tests when the SCM client command is unavailable ( #42500 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 09:42:10 +00:00
Go MAEDA
2b26027982
"Progress bar" custom field format ( #42335 ).
...
Patch by Jens Krämer (user:jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 10:33:46 +00:00
Marius Balteanu
40b6dce2de
Correctly handle exception messages in macros ( #42326 ).
...
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-06 21:42:27 +00:00
Go MAEDA
005f7d2166
Fix: Float custom values with ',' as decimal separator are not converted to '.' and cause SQL errors when sorting or summing ( #42233 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-08 06:42:11 +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
8d218ba6b9
Fix random test failures in Redmine::Acts::MentionableTest due to unsorted mentioned_users ( #41889 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 01:15:14 +00:00
Marius Balteanu
a6f1be6270
Update Rouge gem version to 4.5 ( #41728 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 19:58:42 +00:00
Marius Balteanu
a5d263dba8
Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust ( #40197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:28:41 +00:00
Go MAEDA
0abf7105da
Fix random test failures due to missing fixtures ( #41623 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 01:46:04 +00:00
Marius Balteanu
3ff8031094
Fix RuboCop Layout/SpaceAfterComma in test/unit/lib/redmine/menu_manager/menu_helper_test.rb.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 23:10:26 +00:00
Marius Balteanu
d8fa577550
Allows plugins to add custom SVG icons for menu items added by the plugin ( #23980 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@23234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 15:54:34 +00:00
Marius Balteanu
39401e4b95
Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed to build gem native extension" ( #40197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:34:06 +00:00
Marius Balteanu
da87320ebc
Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:02:39 +00:00
Marius Balteanu
826980bc40
Upgrades propshaft to 1.1.0 ( #39111 ).
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-31 08:17:01 +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
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