Commit Graph

2823 Commits

Author SHA1 Message Date
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
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
d46e990d5a Adds missing files from previous commit (#43643).
git-svn-id: https://svn.redmine.org/redmine/trunk@24359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:09:34 +00:00
Marius Balteanu
f7f585a6d3 Unify syntax_highlight_scrubber in textile and common (#43643).
Patch by Takashi Kato (user:tohosaku).
 


git-svn-id: https://svn.redmine.org/redmine/trunk@24358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:08:33 +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
8560be5b12 Updates description for include_subprojects=true (#43631).
git-svn-id: https://svn.redmine.org/redmine/trunk@24339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-22 07:32:47 +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
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
Go MAEDA
6c932cf98c Add a MySQL optimizer hint to fix a performance regression introduced in r23979 when searching issues with custom fields (#43651).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-10 01:58:32 +00:00
Marius Balteanu
154cc9557a Updates for 6.1.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@24276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-06 02:15:12 +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
23a93e0e06 Use MIME type instead of the is_pdf flag to detect PDFs when generating thumbnails (#43451).
Patch by Go MAEDA (user:maeda).



git-svn-id: https://svn.redmine.org/redmine/trunk@24266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 08:30:07 +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
2cd1e05fe8 Fixes significant performance degradation introduced in r24094 by removing the CSS selectors from scrubbers (#43446).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@24139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-10 08:23:01 +00:00
Go MAEDA
48a0e9ade2 Fix RuboCop Style/RedundantRegexpEscape (#43437).
git-svn-id: https://svn.redmine.org/redmine/trunk@24120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-05 06:56:50 +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
Marius Balteanu
d5c21a7ae2 Properly rename scrubber files (#42737).
git-svn-id: https://svn.redmine.org/redmine/trunk@24096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 07:22:50 +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
3775bb31d6 Extract Gantt view structure and wire Stimulus controllers (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-29 02:35:11 +00:00
Marius Balteanu
27bade55ee Localize commonmark alert extension (#43379).
Patch by Florian Walchshofer (user:amiswalc).


git-svn-id: https://svn.redmine.org/redmine/trunk@24077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-27 22:06:45 +00:00
Marius Balteanu
8669c87b94 Updates propshaft to 1.3.
Patch by Takashi Kato (user:tohosaku).



git-svn-id: https://svn.redmine.org/redmine/trunk@24074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-27 20:36:32 +00:00
Go MAEDA
48d1a43882 Update Gantt chart colors to use Open Color palette (#43256).
git-svn-id: https://svn.redmine.org/redmine/trunk@24036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 08:33:38 +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
Marius Balteanu
4837c0fbe3 Replaces the use of text_area with textarea (#43276).
git-svn-id: https://svn.redmine.org/redmine/trunk@24030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-06 22:45:02 +00:00
Marius Balteanu
e349d3d959 Fix labels not displayed for form.text_area fields in Redmine with Rails 8 (#43268, #43205).
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@24020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-29 20:12:23 +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
72064629b0 Updates for 6.1.0 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@24007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 17:19:06 +00:00
Marius Balteanu
c85c827d22 Updates for 6.0.7 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 10:01:13 +00:00
Marius Balteanu
b21e0513aa Adds documentation for recent_pages macro (#38501).
git-svn-id: https://svn.redmine.org/redmine/trunk@23974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-13 08:51:04 +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
81d647e34d Render anonymous and group avatars also when gravatar is disabled (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-06 22:11:58 +00:00
Marius Balteanu
d79fe0df9a Adds @Cache-Control: no-store@ header to login, lost password, change password and sudo pages (#42998).
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-10 13:23:14 +00:00
Marius Balteanu
458072ab7d When the Gravatar service is disabled, display the user's initials as a fallback avatar. This provides a consistent user interface than the generic icon (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 19:07:33 +00:00
Marius Balteanu
bc427b6cea Updates for 6.0.6 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-07 20:51:41 +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
c1115fea4a Fixes @icon-only@ class for quote reply button and test assertions that are always true (#42515).
git-svn-id: https://svn.redmine.org/redmine/trunk@23853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 05:28:34 +00:00
Go MAEDA
068a2868ae Fix RuboCop Lint/AmbiguousRange (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-18 02:46:27 +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
Marius Balteanu
53da670334 Removes custom backend @Redmine::I18n::Backend@ (#42859):
* move custom logic to get the available locales by looking at translation file names to @config.i18n.available_locales@ option.
* remove unnecessary fallback include which does the same thing as @config.i18n.fallbacks = true@.
* include custom pluralization rules as Rails suggests.

git-svn-id: https://svn.redmine.org/redmine/trunk@23830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 20:07:28 +00:00
Marius Balteanu
300d342488 Fix limit available locales to those defined by Redmine itself (#42815).
git-svn-id: https://svn.redmine.org/redmine/trunk@23829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 19:48:18 +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