Marius Balteanu
473270b63a
Check issue visibility inside Journal#add_watcher ( #2716 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-15 06:57:41 +00:00
Marius Balteanu
4bdac82572
Add test for #2716 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-14 07:21:43 +00:00
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
a2069c2982
Improve issue visibility checks in attachment related methods ( #43635 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 08:25:11 +00:00
Marius Balteanu
1b0307b02d
Fix 500 error when saving a custom field with an invalid regular expression ( #43521 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 08:21:44 +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
43f72bb6f2
Remove unused method addable_watcher_users from acts_as_watchable.rb ( #43429 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-18 10:19:49 +00:00
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
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
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
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
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
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
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
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
bd034751bf
Clear non-editable custom fields when creating an issue (43161).
...
This ensures that only editable custom fields are saved on a new issue
when copying an existing one.
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:18:55 +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
ae3cb747bb
Adds method @initials@ to @Principal@ and return @nil@ by default ( #42623 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-15 05:20:23 +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
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
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
feb751843e
Set default for "Javascript based table sorting in wiki content" to disabled for new installations ( #40588 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:41:16 +00:00
Marius Balteanu
86f1676742
Reverts r23811 ( #31531 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:32:31 +00:00
Marius Balteanu
3d8002febf
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@23811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:28:50 +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