2797 Commits

Author SHA1 Message Date
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
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
Go MAEDA
d2a9223c4a Improve method and variable naming for clarity and consistency (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:09:17 +00:00
Marius Balteanu
66e2d1a9a9 Adds Initials to the list of default gratavar options (#42623).
git-svn-id: https://svn.redmine.org/redmine/trunk@23767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-14 19:41:04 +00:00
Go MAEDA
403c10091f Introduce reactions feature (so-called "like button") to issues, notes, news, and forums (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-11 07:59:16 +00:00
Go MAEDA
6b06d5b171 Add support for Trilogy adapter (#42675).
Patch by Pavel Rosický (user:ahorek).


git-svn-id: https://svn.redmine.org/redmine/trunk@23753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-10 07:28:36 +00:00
Go MAEDA
b408b59d99 Optimize Gantt chart rendering by reducing version-related queries (#42663).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-07 06:54:08 +00:00
Go MAEDA
c227b006e1 Avoid unnecessary SQL queries by reordering conditions in Gantt version subject rendering (#42681).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 02:34:06 +00:00
Go MAEDA
444a94c7cb Make commonmarker gem required to avoid runtime error (#37394).
Although the commonmarker gem is marked as optional in the Gemfile, Redmine fails to start without it, raising a NameError: "uninitialized constant Redmine::WikiFormatting::CommonMark::HTML". This patch makes the gem required to ensure Redmine starts correctly.


git-svn-id: https://svn.redmine.org/redmine/trunk@23734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 10:28:14 +00:00
Marius Balteanu
e25f391677 Fixes rubocop offenses (#42648, #42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:56:45 +00:00
Marius Balteanu
e6f00370ee Fixes broken references for multiple footnote usage (#42648).
git-svn-id: https://svn.redmine.org/redmine/trunk@23726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:40:18 +00:00
Marius Balteanu
8fa4c44581 Enable CommonMark alert extension (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-29 21:13:55 +00:00
Marius Balteanu
6faaf3d038 Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).
git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 06:58:32 +00:00
Marius Balteanu
9a0fc14754 Fixes Rubocop offenses (#42510).
git-svn-id: https://svn.redmine.org/redmine/trunk@23699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 07:21:40 +00:00
Go MAEDA
a1b5495e89 Fix Rubocop Style/ArgumentsForwarding (#42496).
git-svn-id: https://svn.redmine.org/redmine/trunk@23698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:57:01 +00:00
Marius Balteanu
524a41eb6c Disable header_ids, tasklist, shortcodes extensions and github_pre_lang render option that are now enabled by default in commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:29:13 +00:00
Marius Balteanu
320ed9c3d8 Updates commonmarker to 2.3.0 (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:26:03 +00:00
Marius Balteanu
9a9ba1d217 Updates for 6.0.5 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 07:15:47 +00:00
Go MAEDA
18909613f0 Ensure Mercurial uses Python >= 3.5 (#33784).
Redmine no longer supports Python 2.7.
Mercurial does not support Python 3.0 to 3.4.

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 02:22:18 +00:00
Go MAEDA
ce94a1d71a Adds interval ratio setting to progressbar custom field (#42335).
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 08:46:02 +00:00
Marius Balteanu
d76cf64516 Fixes rubocop offense "Layout/SpaceAroundBlockParameters: Space before first block parameter detected" (#42509).
git-svn-id: https://svn.redmine.org/redmine/trunk@23684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 07:31:03 +00:00
Marius Balteanu
ae566b3bf9 Fixes plugin activity SVG icons broken when multiple plugins are loaded (#42509).
Patch by Stefan Rinkes (user:srinkes).

git-svn-id: https://svn.redmine.org/redmine/trunk@23683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 07:24:46 +00:00
Marius Balteanu
6951e569c4 Improve SVG icon compatibility with RTL languages by adding the @rtl@ parameter to @sprite_icon@ method. When it is @true@, it adds the 'icon-rtl' class to SVG icons, flipping their direction if an RTL language is used (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:30:19 +00:00
Go MAEDA
1d0a389b40 Update RuboCop to 1.74 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 01:52:56 +00:00
Go MAEDA
065a44749d Fix RuboCop Lint/UselessConstantScoping (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 10:19:05 +00:00
Go MAEDA
626bd9efe2 Fix RuboCop Style/ComparableBetween (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 10:11:44 +00:00
Go MAEDA
5668aa651f Fix RuboCop Lint/SuppressedExceptionInNumberConversion (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:00:58 +00:00