Commit Graph

9010 Commits

Author SHA1 Message Date
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
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
dd9cbfcf6d Improve visibility of error message during file upload (#43381).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@24439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-20 22:45:03 +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
b2a412a00f Extract code related to user mention to its own method @link_to_mention@ (#39528).
git-svn-id: https://svn.redmine.org/redmine/trunk@24437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-20 03:26:00 +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
498ce9434c Fix missing #wrapper positioning that increased reflow cost (#43742).
Contributed by Jimmy Westberg (user:Grovkillen).


git-svn-id: https://svn.redmine.org/redmine/trunk@24429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-18 23:34:10 +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
2578d091a5 An empty group_count badge is displayed when grouped with created_on (#31972).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-18 00:50:59 +00:00
Go MAEDA
fbfce79b6c Add view_issues_edit_top hook to customize the issue editing form (#43084).
Patch by Haruka Asakura (Agileware) (user:asakura-agileware).


git-svn-id: https://svn.redmine.org/redmine/trunk@24423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-18 00:42:30 +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
d09d914fa3 Remove broken and unused options handling from AttachmentsHelper#render_api_attachment (#43661).
git-svn-id: https://svn.redmine.org/redmine/trunk@24421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-17 07:50:09 +00:00
Go MAEDA
cf831f815f Show warning for closed projects on all project pages not only on Overview (#43818).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-16 23:37:36 +00:00
Go MAEDA
49482ace2d Move #context-menu from #content to body to fix mispositioning when #content is relatively positioned by themes (#25114).
Patch by Serge Galanin (user:galanin).


git-svn-id: https://svn.redmine.org/redmine/trunk@24417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-16 09:15:03 +00:00
Go MAEDA
bbcbfec138 Change default admin email to admin@dummy.invalid for clarity (#43808).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-16 08:51:46 +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
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
Go MAEDA
0b48e10367 Use logical CSS property in CommonMark help examples for RTL support (#43822).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:36:46 +00:00
Go MAEDA
2d72d76f6f Remove unused CSS rule: body.controller-issues h2.inline-flex (#43823).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:33:21 +00:00
Go MAEDA
d454acbceb Improve usability and visual appearance by increasing page-side spacing (#43824).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:31:14 +00:00
Marius Balteanu
d7d3b6ac9b Simplify code (#43745).
git-svn-id: https://svn.redmine.org/redmine/trunk@24407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-12 02:52:52 +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
ea918839f8 Avoid using non-reserved domain names in Wiki syntax helps (#43802).
git-svn-id: https://svn.redmine.org/redmine/trunk@24405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-10 08:00:10 +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
Go MAEDA
2d04b34b85 Update calendar today styling to blue date indicator (#43728).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-31 07:54:11 +00:00
Marius Balteanu
b4115e3434 Serialize address limit checks during email_addresses#create (#43668).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@24387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-30 02:12:55 +00:00
Go MAEDA
f4eae3be77 Force LTR layout for Gantt table in RTL locales (#43678).
Some Gantt features (column resizing, relation lines, progress line) do not work correctly in RTL yet. As a workaround, Gantt is always rendered in LTR even when the current locale is RTL.

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-29 07:42:05 +00:00
Go MAEDA
3a23ddac1f Update Gantt collapse/expand handler to use CSS logical properties (#43678).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-29 07:36:07 +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
15c3877fee Replace physical CSS properties with logical ones in gantt.css for better RTL support (#43678).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-29 07:27:32 +00:00
Go MAEDA
a324737008 Fix missing -- prefix on Open Color variables (#43256).
git-svn-id: https://svn.redmine.org/redmine/trunk@24381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-29 04:48:27 +00:00
Go MAEDA
cee2a01eaa Issue beginning/ending arrows should be flipped in RTL calendars (#43718).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-27 00:36:01 +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
Go MAEDA
56a8b5a13a Project selector does not indent subprojects in RTL layout (#43715).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-26 23:55:37 +00:00
Go MAEDA
399c347119 Replace physical CSS properties with logical ones in Classic theme for better RTL support (#43700).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-26 14:01:52 +00:00
Go MAEDA
c57c883588 Replace physical CSS properties with logical ones in Alternate theme for better RTL support (#43700).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-26 13:57:42 +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
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
Go MAEDA
8a305ec99c Fix race condition in addInlineAttachmentMarkup causing cursor movement before async image markup insertion (#43662).
Patch by Yasu Saku (user:skys).


git-svn-id: https://svn.redmine.org/redmine/trunk@24352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 02:47:13 +00:00
Go MAEDA
9a710dc313 Replace physical CSS properties with logical ones in wiki_syntax_detailed.css for better RTL support (#43700).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 01:41:09 +00:00
Go MAEDA
2d9278bd5a Replace physical CSS properties with logical ones in wiki_syntax.css for better RTL support (#43700).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 01:40:22 +00:00
Go MAEDA
ec65b34b5b Replace physical CSS properties with logical ones in responsive.css for better RTL support (#43700).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 01:39:29 +00:00