1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-21 14:52:59 +00:00

8725 Commits

Author SHA1 Message Date
Go MAEDA
8d1ad3f239 Allow reactions on journals with property changes only (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-17 08:46:25 +00:00
Go MAEDA
48f09a5d87 Improve reaction button style to better highlight existing reactions (#42630):
* Hide count when zero
* Make non-zero count bold
* Remove underline on hover and active

Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-16 02:57:04 +00:00
Go MAEDA
319724fed4 Restrict copy button scope to .wiki pre tags (#29214, #42697).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:59:52 +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
Go MAEDA
e7703a0170 Show reaction counts and user names only for reactions visible to the logged-in user (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:01:54 +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
Marius Balteanu
76590c2b5e Adds wiki syntax help for commonmark alerts (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-14 18:31:36 +00:00
Marius Balteanu
3ca91c63a4 Adjust spacing in rendered commonmark alerts (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-14 17:48:30 +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
1b9698df2c Add a sticky issue header to issue page (#42684).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-10 01:00:13 +00:00
Go MAEDA
3c0faad370 Optimize the rendering of versions on the roadmap by preloading the email addresses of issue assignees (#42682).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-07 04:39:24 +00:00
Go MAEDA
7e4acb6b23 Optimize Version::FixedIssuesExtension#issues_progress by avoiding repeated Issue#closed? calls (#42673).
Since the issues are already filtered by open or closed status using the `open` argument through the `self.open(open)` scope, the call to expensive method `Issue#closed?` can be safely replaced with a check of the `open` argument.

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 06:45:36 +00:00
Go MAEDA
2d064e6952 Avoid unnecessary SQL query for subprojects in ProjectsController#show when project has no children (#42671).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 02:16:37 +00:00
Go MAEDA
52ded33986 Reorder "Also available in" links to place Atom at the end (#42598).
git-svn-id: https://svn.redmine.org/redmine/trunk@23744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-05 02:31:38 +00:00
Go MAEDA
c88d14d389 Drop Atom icon in "Also available in" links (#42598).
git-svn-id: https://svn.redmine.org/redmine/trunk@23743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-05 02:29:29 +00:00
Go MAEDA
2ec9ee5a32 Text in project jump box is vertically misaligned (#42654).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 06:04:05 +00:00
Go MAEDA
5ad773e95b Fix StyleLint "declaration-block-no-shorthand-property-overrides" (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 05:41:55 +00:00
Go MAEDA
1262676655 Noto Sans fonts are not applied on Wiki syntax help pages due to change in r23275 (#42644).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 04:54:42 +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
Go MAEDA
9052d4d05b Optimize watchers list rendering by eager loading email addresses (#42589).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 08:27:08 +00:00
Go MAEDA
a29d511580 Adjust padding of the copy-to-clipboard button in pre tag (#29214, #42625).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 08:09:32 +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
235179d13a Improves SVG contrast when an item is selected in administration sidebar (#42641).
git-svn-id: https://svn.redmine.org/redmine/trunk@23714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-26 11:22:46 +00:00
Marius Balteanu
b1ed2630df Align query totals to left when an RTL language is used (#42640).
git-svn-id: https://svn.redmine.org/redmine/trunk@23713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-26 11:14:37 +00:00
Go MAEDA
646bb36874 Joining both atom_token and api_token on the User model causes an error due to the ambiguous column name "action" (#42622).
Patch by Lorin Thwaits (user:lorint).


git-svn-id: https://svn.redmine.org/redmine/trunk@23712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-25 04:37:30 +00:00
Go MAEDA
38274c06e7 Add missing allowed CSS properties to the CommonMark Markdown help (#42618).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@23710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-24 06:02:03 +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
3407711118 Introduces Stimulus as a Javascript framework (#42510):
* old @application.js@ from @app/assets/javascripts@ become @application-legacy.js@ in favour of @application.js@ provided by Stimulus
 * adds @importmap@ gem to handle JavaScript modules using logical names that map to versioned/digested files
 
 Stimulus will be used for new functionality and, over time, to migrate existing features from JQuery / JQuery UI.

git-svn-id: https://svn.redmine.org/redmine/trunk@23697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:48:38 +00:00
Go MAEDA
abbaaf73fa Add missing _filters.html.erb view file that was not included in r23686 (#42335).
git-svn-id: https://svn.redmine.org/redmine/trunk@23688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 03:33:53 +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
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
de96d418b1 Add "editable" attribute in the custom fields API response (#41935).
git-svn-id: https://svn.redmine.org/redmine/trunk@23678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 14:44:17 +00:00
Marius Balteanu
5f29dd87b2 Replaces legacy atom icon with file-rss filled (#42577).
git-svn-id: https://svn.redmine.org/redmine/trunk@23673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:41:05 +00:00
Marius Balteanu
e0403f99b1 Fixes commit message in issue history might be rendered in incorrect context (#42545).
Patch by Felix Schäfer (user:felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@23672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:04:37 +00:00
Marius Balteanu
b9bb441dc6 Hide user icon in add watchers modal when gravatar is disabled (#42596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 12:19:05 +00:00
Marius Balteanu
727edd15a6 Replaces legacy del and attachment icons with SVG in attachments form (#42576).
git-svn-id: https://svn.redmine.org/redmine/trunk@23667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 11:43:31 +00:00
Go MAEDA
41ed48fd7d NoMethodError when creating a user with an invalid email address and domain restrictions are enabled (#42584).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 07:43:14 +00:00
Go MAEDA
38730e5b3c Add a button to copy pre code block content to the clipboard (#29214).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-17 06:52:50 +00:00
Go MAEDA
113d7f50a9 Optimize autocomplete issue listing triggered by typing "##" by eager loading trackers (#42574).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-16 06:50:26 +00:00
Marius Balteanu
5c0525a459 Prevent delete relation icon overflow with long related issue subjects on related issues sections on an issue page in mobile view (#41828).
git-svn-id: https://svn.redmine.org/redmine/trunk@23658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-15 06:23:07 +00:00
Marius Balteanu
99cc321840 Add/remove @icon-rtl@ class when switching between angle-down / angle-right SVG icons (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:57:15 +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
Marius Balteanu
e85cd113fe Do not show legacy bullet add icon in search for watchers if SVG is rendered for RTL languages (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:49:44 +00:00
Marius Balteanu
40c7203b08 Replaces magnifier legacy icon with SVG icon for RTL language (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:47:56 +00:00
Marius Balteanu
6c5136e2f3 Removes extra padding in administration menu icons for RTL languages (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:21:40 +00:00
Marius Balteanu
33384d74a5 Fixes sidebar switch button display in RTL language (#42575).
git-svn-id: https://svn.redmine.org/redmine/trunk@23649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:13:06 +00:00
Go MAEDA
a08ce1c54f Update RuboCop to 1.75 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 02:07:11 +00:00
Go MAEDA
08ea4e0323 Fix RuboCop Style/RedundantCondition (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:21:17 +00:00
Go MAEDA
dcdd453287 Fix RuboCop Lint/SharedMutableDefault (#41884).
Although `Hash.new {|h, k| h[k] = []}` is commonly used for this pattern, `Hash.new {|_h, _k| []}` is more appropriate here to avoid modifying the hash when accessing missing keys, which would cause `UserTest#test_accessing_projects_by_role_with_no_projects_should_return_an_empty_array` to fail.


git-svn-id: https://svn.redmine.org/redmine/trunk@23622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 07:43:44 +00:00
Go MAEDA
630f2863ba Improve role deletion error message to display projects containing members under the role (#42441).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 10:14:30 +00:00