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
30880b861f
Run Setting.clear_cache after each test in order to decrease the number of random failing tests ( #43130 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:31:26 +00:00
Marius Balteanu
686c04dd85
Remove redundant fixtures declaration from OauthProviderSystemTest ( #43125 , 24808).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:26:20 +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
65f68c4c59
Fixes syntax in locales/de ( #43106 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 20:30:51 +00:00
Marius Balteanu
86c7a3f2db
Update locales ( #43106 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 20:29:54 +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
Go MAEDA
9605bb4b3b
Add model/controller generators tests ( #42934 ).
...
Patch by Haruka Asakura (Agileware) (user:asakura-agileware).
git-svn-id: https://svn.redmine.org/redmine/trunk@23901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-31 11:49:13 +00:00
Go MAEDA
d6d15737f1
Traditional Chinese translation update ( #43038 ).
...
Patch by ChunChang (Nagaharu) Lo (user:shortie).
git-svn-id: https://svn.redmine.org/redmine/trunk@23898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-31 09:51:33 +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
Go MAEDA
36446be97c
Italian translation update for 6.0-stable ( #42971 ).
...
Patch by Nicola Danese (user:darkfrank_it).
git-svn-id: https://svn.redmine.org/redmine/trunk@23884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-10 10:25:46 +00:00
Go MAEDA
8d83d365b6
Czech translation update ( #42974 ).
...
Patch by Karel Pičman (user:picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@23883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-08 23:16:18 +00:00
Marius Balteanu
560ce7021c
Adds missing blank line.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-07 20:58:49 +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
Go MAEDA
d5690a734f
Fix mail handler failure for emails over 4MB on Rack >= 3.1.14 ( #42962 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-06 05:25:59 +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
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
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
928f57073e
Ensures that @Redmine::PluginLoader.load@ is executed before @Doorkeeper.configure@ in order to properly load plugin permissions ( #24808 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-25 05:36:13 +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
Go MAEDA
a4a32179f6
Fix "Page not found" error when saving workflows with many statuses on Rack >= 3.1.14 ( #42875 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-18 01:57:58 +00:00
Marius Balteanu
9186b8e64d
Replaces webrick server used in @OauthProviderSystemTest@ with puma ( #24808 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-16 21:32:45 +00:00
Marius Balteanu
eb1fcac5e4
Improve text assertion ( #24808 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-16 21:21:24 +00:00
Marius Balteanu
826460c9bc
Update locales ( #24808 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-12 07:10:53 +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
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
5a198c9057
Add missing migration for #40588 that keeps the @wiki_tablesort_enabled@ setting unchanged for existing installations.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 19:45:39 +00:00