1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

8780 Commits

Author SHA1 Message Date
Marius Balteanu
e67680a694 Mark sensitive user forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:15:43 +00:00
Marius Balteanu
5f4ce0fe0e Mark sensitive auth_source forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:15:09 +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
Go MAEDA
e06b4a8435 CookieOverflow error when deleting a tracker used by many projects (#43174).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-05 06:45:30 +00:00
Go MAEDA
9b4f905c78 Show the "Delete" item in the context menu only when opened from Issues#index, Gantts#show, or Calendars#show. (#35616).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-04 05:31:22 +00:00
Go MAEDA
b1c25dfc8b Fix missing HTML closing tags in several views (#43175).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-04 01:23:48 +00:00
Go MAEDA
47bfd69f33 Add svg icons sample view accessible at /rails/info/svg_icons in development mode (#41725).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-30 07:45:27 +00:00
Go MAEDA
aef12fbe49 Fix CookieOverflow error when deleting a role used by many projects (#42441, #43164).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@23933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-30 06:38:26 +00:00
Go MAEDA
a175bc5aac Submit button incorrectly displayed in the middle of the form on mobile view (#38795).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@23932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-22 09:03:07 +00:00
Marius Balteanu
7657a0e89a Reverts r23919 due to an unwanted change (#43125).
git-svn-id: https://svn.redmine.org/redmine/trunk@23922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 20:44:09 +00:00
Go MAEDA
88f4ead595 Update locales (#43083).
git-svn-id: https://svn.redmine.org/redmine/trunk@23919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 08:17:26 +00:00
Marius Balteanu
9b807267ac Add sudo-mode to all 2fa actions
The sudo-mode window should ensure this does not impede users
currently setting up 2fa things, but adds protection when not
in 2fa activation/deactivation mode. (#43083).

Patch by Felix Schäfer (user:felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@23918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:59:53 +00:00
Marius Balteanu
2d1f1684a1 Explicitly don't cache sensitive 2FA actions (#43083).
Patch by Felix Schäfer (user:felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@23917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:58:49 +00:00
Marius Balteanu
8f002c297e Deny 2fa setup when 2fa already present (#43083).
Patch by Felix Schäfer (user:felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@23916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:57:21 +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
1a5fb1325b Refactor avatar helper method (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 20:33:50 +00:00
Marius Balteanu
bffc7cce58 Removes undesired change introduced in r23903 (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 20:26:30 +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
0b5c1972c3 Translate position and message labels in imports/show (#43106).
Patch by Kenta Kumojima (user:kumojima).

git-svn-id: https://svn.redmine.org/redmine/trunk@23902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 18:56:11 +00:00
Marius Balteanu
1026e63c56 Fixes wrong class name introduced in r23887 (#42972, #40744).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-24 06:43:32 +00:00
Go MAEDA
e76fb425c5 Fix the "for" attribute of the labels in partial imports/issues_relations_mapping (#42957).
Patch by Thomas Löber (user:tloeber).


git-svn-id: https://svn.redmine.org/redmine/trunk@23895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-20 02:06:12 +00:00
Marius Balteanu
d6ff934943 Fixes content in selected columns overflows to the right in Gantt chart (#43014).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-16 05:40:23 +00:00
Marius Balteanu
92bad6b191 Fixes watchers list is not properly displayed in Gantt table (#43004).
git-svn-id: https://svn.redmine.org/redmine/trunk@23890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-15 05:50:57 +00:00
Marius Balteanu
26233e9ba2 Display icon-actions icon on hover with the same color as links (#43008).
git-svn-id: https://svn.redmine.org/redmine/trunk@23889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-15 05:39:15 +00:00
Marius Balteanu
ae3cb747bb Adds method @initials@ to @Principal@ and return @nil@ by default (#42623).
git-svn-id: https://svn.redmine.org/redmine/trunk@23888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-15 05:20:23 +00:00
Marius Balteanu
e940540e2e Refactor, refresh UI and unify the structure of journals, replies and comments (#42972, #40744).
git-svn-id: https://svn.redmine.org/redmine/trunk@23887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-14 21:33:33 +00:00
Marius Balteanu
bcf6352783 Do not add attribute "icon" to attachment elements when the icon option is passed (#42953).
git-svn-id: https://svn.redmine.org/redmine/trunk@23862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 22:10:19 +00:00
Marius Balteanu
198569065b Adds missing buttons class to column header (#42794).
git-svn-id: https://svn.redmine.org/redmine/trunk@23861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 12:11:22 +00:00
Marius Balteanu
e29a4f73e6 Hide action buttons when printing (#42794).
Patch by Luc Luc (user:iq2luc).

git-svn-id: https://svn.redmine.org/redmine/trunk@23860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 12:10:15 +00:00
Go MAEDA
69dde23d5c Downloading .js files from the repository browser fails with a 422 error due to ActionController::InvalidCrossOriginRequest (#42839).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 02:22:30 +00:00
Marius Balteanu
52daa476c9 Adds missing Stimulus controller for quote reply (#42515).
git-svn-id: https://svn.redmine.org/redmine/trunk@23856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 07:02:40 +00:00
Marius Balteanu
4698bdd1d8 Replaces hourglass.png file with hourglass-empty.svg from Tabler (#42797).
git-svn-id: https://svn.redmine.org/redmine/trunk@23855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 06:15:50 +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
955d508588 Replaces legacy other download icon with SVG icon (#42953).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 05:09:01 +00:00
Marius Balteanu
f291d38314 Fixes missing icon in attachments upload form in case of validation errors (#42920).
Patch by Karel Pičman (user:picman).

git-svn-id: https://svn.redmine.org/redmine/trunk@23848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-29 06:52:00 +00:00
Go MAEDA
8cc3e1a5ac Fix N+1 query in Wiki history page by preloading the author of each Wiki content version (#42933).
Patch by [Agileware]Kota Uchino (user:uchinokot).


git-svn-id: https://svn.redmine.org/redmine/trunk@23847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-29 04:55:22 +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
99e21aa46d Removes border top from progress bar in issues list (#42807).
Patch by Mizuki ISHIKAWA (#ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 20:08:57 +00:00
Go MAEDA
40ab48325e Replace nil check using ternary operator with safe navigation operator when accessing hashes (#41884).
Using the ternary operator for nil checking caused a runtime error in the Style/SafeNavigation cop during `rubocop --regenerate-todo` with RuboCop 1.76.0. Replacing it with the safe navigation operator avoids the error.


git-svn-id: https://svn.redmine.org/redmine/trunk@23824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-08 02:12:29 +00:00
Go MAEDA
ddd7beecf1 Fix RuboCop Lint/UselessOr (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-06 09:13:25 +00:00
Go MAEDA
8c10cf3f30 Fix render_flash_messages method to ignore non-string flash values and prevent errors (#42073).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-06 06:34:26 +00:00
Go MAEDA
6824ee98f4 Adjust margin around icons in project list descriptions (#42818).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-05 03:56:02 +00:00
Marius Balteanu
1b6bbbe4a4 Fix loading and waiting icons overlap filename when attaching files (#42797).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-04 06:25:05 +00:00
Go MAEDA
200eced469 "Clear" button for custom queries has incorrect styling inside the flyout menu (#42786).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-03 07:37:41 +00:00
Go MAEDA
bcfd80917e Fix unintended top/bottom margin in rows of project and issue lists (#42773).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-03 07:17:01 +00:00
Marius Balteanu
3aecd67e36 Replaces custom CSS rules with the @style: filled@ parameter to render the thumbs up icon as filled (#42630).
git-svn-id: https://svn.redmine.org/redmine/trunk@23814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 21:01:21 +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
Go MAEDA
1545119ff0 Fix anchor-linked content being hidden behind sticky issue header and project jump in responsive UI (#42684, #42774).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-30 06:33:59 +00:00