Commit Graph

6994 Commits

Author SHA1 Message Date
Go MAEDA
bf2e86da80 Show 'text-plain' icon for Markdown and Textile files (#43805).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:50:04 +00:00
Go MAEDA
34a7812b71 Add file-type icons for audio, image, and video media types (#43805).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:48:10 +00:00
Marius Balteanu
8bf7f09112 Refactors parse_hires_images and parse_inline_attachments methods from ApplicationHelper to scrubbers (#43745).
git-svn-id: https://svn.redmine.org/redmine/trunk@24406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-12 02:52:28 +00:00
Go MAEDA
ed1d14e2ab Avoid using non-reserved domain names in examples and tests (#43802).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 09:35:39 +00:00
Go MAEDA
2dee4a95ab Rename IconsHelper#mype_type_icon to file_type_icon (#43797).
git-svn-id: https://svn.redmine.org/redmine/trunk@24403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 03:34:21 +00:00
Go MAEDA
1c08b5b7a1 Update attachments list to show file-type icons instead of clip icons (#43797).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 02:46:13 +00:00
Go MAEDA
b69a9397c6 Change IconsHelper#icon_for_mime_type to accept raw MIME types instead of CSS class names (#43797).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 02:42:21 +00:00
Marius Balteanu
84483d6382 Stop traversal of child elements at @Loofah::Scrubber::STOP@ signal (#42737).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@24400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-07 10:38:27 +00:00
Marius Balteanu
3d8c1f01a4 Update tests for @FilesystemAdapter#target@ (#43690).
git-svn-id: https://svn.redmine.org/redmine/trunk@24394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-03 01:55:21 +00:00
Marius Balteanu
94bfc0b9b4 Fix author group filter name in query_test (#43736).
Patch by Jens Krämer (user:jkraemer). 


git-svn-id: https://svn.redmine.org/redmine/trunk@24386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-30 02:08:22 +00:00
Go MAEDA
d11ba8e3d7 Replace hard-coded left, border-left, and top CSS properties with logical properties in Gantt (#43678).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-29 07:34:28 +00:00
Go MAEDA
0329dbd6ba Arrow buttons for Available/Selected columns are misleading in the issues query form on RTL layouts (#43714).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-27 00:32:46 +00:00
Marius Balteanu
1dfd165cbd Improve search filter in LDAP authentication (#43692).
git-svn-id: https://svn.redmine.org/redmine/trunk@24366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-25 15:26:25 +00:00
Marius Balteanu
12964f76ed Code cleanup (#43643).
git-svn-id: https://svn.redmine.org/redmine/trunk@24364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-24 04:53:35 +00:00
Marius Balteanu
cdcc702cc4 Fix failing tests (#43643).
git-svn-id: https://svn.redmine.org/redmine/trunk@24363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-24 04:04:22 +00:00
Marius Balteanu
9e61fc978b Fix failing tests (#43643).
git-svn-id: https://svn.redmine.org/redmine/trunk@24362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 19:28:40 +00:00
Marius Balteanu
083f8af2b8 Fix failing tests (#43643).
git-svn-id: https://svn.redmine.org/redmine/trunk@24361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:31:34 +00:00
Marius Balteanu
da5245ea06 Add stimulus clipboard_controller and render copy button on the backend using copypre_scrubber (#43643).
Patch by Takashi Kato (user:tohosaku).



git-svn-id: https://svn.redmine.org/redmine/trunk@24360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:14:04 +00:00
Marius Balteanu
acf0f9019e Support Loofah for textile (#43643):
* Add TablesortScrubber to both CommonMark and Textile Formatters. It will now be determined on the server-side whether to use tablesort.
* Migrate tablesort to Stimulus controller.
* Update tablesort to v5.7.0.
* Switch tablesort to ESM.

Patch by Takashi Kato (user:tohosaku).



git-svn-id: https://svn.redmine.org/redmine/trunk@24357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:05:42 +00:00
Marius Balteanu
87f7660289 Sanitize query filter name row (#43694).
git-svn-id: https://svn.redmine.org/redmine/trunk@24343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-22 18:33:04 +00:00
Marius Balteanu
587fd2fbc6 Sanitize name in user auto complete (#43691).
git-svn-id: https://svn.redmine.org/redmine/trunk@24342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-22 18:12:19 +00:00
Marius Balteanu
48b610c74c Run recent_pages macro tests on the default text formatter (#43631).
git-svn-id: https://svn.redmine.org/redmine/trunk@24337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-21 07:04:20 +00:00
Marius Balteanu
ff5a336ddb Fixes a bug where the link to subproject wiki page points to parent project (#43631).
git-svn-id: https://svn.redmine.org/redmine/trunk@24336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-21 07:03:25 +00:00
Marius Balteanu
3ad25e2223 Adds a test to ensure that recent_pages do not disclose private project (#43631)..
git-svn-id: https://svn.redmine.org/redmine/trunk@24335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-21 07:02:42 +00:00
Marius Balteanu
c8aa171cfb Adds the include_subprojects=true option to the recent_pages macro, allowing users to list recently updated pages from a project and its subprojects (#43631).
git-svn-id: https://svn.redmine.org/redmine/trunk@24334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-20 18:01:19 +00:00
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
b88b61444c Update Rails to 8.1.1 (#43428, #43205).
Patches by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@24248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-01 18:35:05 +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
e31e2a19e9 Delete link is missing from the context menu when using a relative URL root (#43603).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@24216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-18 11:18:21 +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
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