Commit Graph

7010 Commits

Author SHA1 Message Date
Marius Balteanu
e0f094d03e Fix rubocop offenses (#43745).
git-svn-id: https://svn.redmine.org/redmine/trunk@24451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-23 04:28:09 +00:00
Marius Balteanu
a1a0959773 Refactor tests related to hire images and inline attachments (#43745).
git-svn-id: https://svn.redmine.org/redmine/trunk@24450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 03:54:26 +00:00
Marius Balteanu
390f581a89 Allow themes to change default icons sprite (#43087):
* name of the sprite must be icons.svg.
* if the icon doesn't exist in the theme sprite, it will fallback to default icon. 



git-svn-id: https://svn.redmine.org/redmine/trunk@24449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 03:23:41 +00:00
Marius Balteanu
fe042f917f Adds test for #31972.
git-svn-id: https://svn.redmine.org/redmine/trunk@24444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 03:15:21 +00:00
Marius Balteanu
faa2683bd8 Improve time log visibility checks (#43830).
git-svn-id: https://svn.redmine.org/redmine/trunk@24443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 03:04:56 +00:00
Marius Balteanu
d434371614 Moves webhook implementation to acts_as_webhookable (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 03:02:22 +00:00
Marius Balteanu
0b802d2585 Reverts r24440 due to wrong issue number (#35685).
git-svn-id: https://svn.redmine.org/redmine/trunk@24441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 02:58:06 +00:00
Marius Balteanu
5ba938f857 Moves webhook implementation to acts_as_webhookable (#35685).
git-svn-id: https://svn.redmine.org/redmine/trunk@24440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-22 02:54:27 +00:00
Go MAEDA
e3b47b663a Highlight selected version on the Roadmap view (#39882).
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-20 22:33:00 +00:00
Marius Balteanu
da22e51b35 Fixes Wiki "Edit this section" does not extract SeText headings correctly in CommonMark Markdown (#40918).
git-svn-id: https://svn.redmine.org/redmine/trunk@24434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-19 04:24:12 +00:00
Go MAEDA
59619979fe Hide unused Options section in spent time report (#15167).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-19 03:29:55 +00:00
Go MAEDA
b5fc96cb74 Filter operator "doesn't contain" on custom fields ignores issues with no value (#38055).
Patch by Tomoko Shimizu (user:tomokosimi), Takashi Kato (user:tohosaku), Mizuki ISHIKAWA (user:ishikawa999) and Ko Nagase (user:sanak).


git-svn-id: https://svn.redmine.org/redmine/trunk@24432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-19 03:24:36 +00:00
Go MAEDA
47e3c27e93 CSV import fails on CRLF files when first row has quoted field with newline (#41434).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-18 21:42:44 +00:00
Go MAEDA
755ae9424e Make first and last name field order follow Users display format setting (#4507).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-18 00:37:29 +00:00
Go MAEDA
9af55cc312 Avoid updating updated_on when submitting the issue edit form without changes (#33610).
Patch by Yuichi HARADA (user:yui.har).


git-svn-id: https://svn.redmine.org/redmine/trunk@24415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-16 08:40:52 +00:00
Marius Balteanu
856a80eca1 Add test for #43801.
git-svn-id: https://svn.redmine.org/redmine/trunk@24414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-15 03:42:11 +00:00
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