Marius Balteanu
ce622c428e
Avoid passing ActionController::Parameters outside of MailHandlerController ( #36394 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-18 18:42:55 +00:00
Go MAEDA
8529e39e6d
Show a custom field description as a placeholder ( #14275 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 11:52:12 +00:00
Go MAEDA
e1ae7f5c84
Use a variable to reference a CustomField object ( #14275 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 11:50:44 +00:00
Go MAEDA
2d6f552599
Replace Member.find_or_new with ActiveRecord's find_or_initialize_by ( #36730 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-14 14:25:24 +00:00
Go MAEDA
cd688a1781
Improve performance of adding or removing members of a group ( #36696 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-05 08:41:55 +00:00
Go MAEDA
4926771a8a
Update Chart.js to 3.7.1 ( #36701 ).
...
Patch by Maciej Pankanin.
git-svn-id: http://svn.redmine.org/redmine/trunk@21446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-03 14:17:19 +00:00
Marius Balteanu
4cb518049f
Add habtm relation between roles and queries_roles ( #36416 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-28 21:16:08 +00:00
Marius Balteanu
fbca88afc4
Add class @user-mention@ to user classes when user is linked using @ ( #36699 , #13919 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 21:54:30 +00:00
Marius Balteanu
8470b8b478
Update jQuery to 3.6.0 ( #35729 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 20:45:56 +00:00
Marius Balteanu
96d32a5226
Destroy overridden time entry activities and rows from the habtm join table @queries_roles@ on project deletion ( #36416 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@21437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:44:36 +00:00
Marius Balteanu
1db2566ff9
Disable API authentication with username and password when two-factor authentication is enabled for the user ( #35001 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:10:35 +00:00
Marius Balteanu
ba74ba1c70
Allow users to be mentioned using @ in issues and wiki pages ( #13919 ):
...
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned
git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Marius Balteanu
9a738c2069
Fix time entries of sub-projects are not listed when activity is specified in filters ( #36248 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 18:50:22 +00:00
Marius Balteanu
3e9f0023a1
Fix import with issue relations and invalid issues hangs without any error message in UI ( #35656 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 18:12:42 +00:00
Go MAEDA
6a46743cd3
Fix code copying in common browsers ( #36580 ).
...
Patch by Vitaly vit9696.
git-svn-id: http://svn.redmine.org/redmine/trunk@21415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-19 07:36:40 +00:00
Marius Balteanu
9f82265782
Fix WikiContentVersion API returns 500 if author is nil ( #36494 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-18 08:08:10 +00:00
Marius Balteanu
d8263dcdee
Return 404 if revision URL doesn't exist ( #36561 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-18 08:03:52 +00:00
Go MAEDA
b0e1f8d8f3
Reduce database queries when rendering Custom fields box in the project settings tab ( #36505 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-14 08:08:47 +00:00
Go MAEDA
6f6d380e74
Structured Document list for more flexible UI design with CSS ( #17924 ).
...
Patch by Yonghwan SO and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-08 02:40:24 +00:00
Marius Balteanu
eb868ad932
Add "required for administrators" option to Two-factor authentication settings that behaves like optional, but will require all users with administration rights to set up two-factor authentication at their next login ( #35439 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-01 20:17:27 +00:00
Marius Balteanu
d2f64ee928
Fix autocomplete for users fails with 403 error when there are multiple objects from different projects ( #36446 ).
...
Patch by Dmitry Makurin.
git-svn-id: http://svn.redmine.org/redmine/trunk@21394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-01 20:11:56 +00:00
Marius Balteanu
ca3f4d0e0a
Remove sidebar views ( #36524 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 09:27:23 +00:00
Marius Balteanu
a2997b8f78
Remove sidebar with invalid query links from imports views ( #36524 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 09:24:37 +00:00
Marius Balteanu
972edf78cc
Improve readability of @must_activate_twofa?@ function ( #31920 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-29 09:43:46 +00:00
Go MAEDA
146097c610
Reduce extra database queries in IssueQuery.default ( #7360 , #36503 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-23 11:55:44 +00:00
Marius Balteanu
218948d4c5
Display "Two-factor authentication" on two lines to save some space ( #35934 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:14:23 +00:00
Marius Balteanu
a5cd3f791c
Add "Two-factor authentication" filter and column to Users list in administration ( #35934 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:53:41 +00:00
Marius Balteanu
9cda1638bd
Set default protect from forgery true ( #36317 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:43:42 +00:00
Go MAEDA
8bb06c04ba
Update session token only once per minute ( #29041 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@21376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 04:04:05 +00:00
Go MAEDA
5d0798c0d1
Include avatar URL in Users API ( #36303 ).
...
Contributed by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-21 00:31:11 +00:00
Go MAEDA
a5785c8ee6
Display source project for cross-project associated revisions for issues ( #5242 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-18 15:03:29 +00:00
Go MAEDA
8cc4cff362
Make issue tabs DOM more consistent ( #36429 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-17 13:53:35 +00:00
Go MAEDA
41c8d8a7f6
"Edit" misaligned in project members view ( #13199 ).
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-16 05:02:31 +00:00
Go MAEDA
9670c7fe22
Mailer.with_synched_deliveries doesn't correctly detect other async Queue adapters ( #36393 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-12 15:13:47 +00:00
Go MAEDA
873580ca74
Permission check of the setting button on the issues page mismatches button semantics ( #35090 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@21357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-10 07:11:14 +00:00
Go MAEDA
4fbbcf3cdf
Fix wrong variable name in Import#set_default_settings ( #34718 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 10:06:28 +00:00
Go MAEDA
e00f28e82e
RuboCop: fix Style/RedundantSort in app/models/import.rb ( #34718 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:49:21 +00:00
Go MAEDA
ec0ce00b95
Auto guess file encoding when importing CSV file ( #34718 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:29:55 +00:00
Go MAEDA
bcdb13f1fd
Change Delete button name to Delete issue ( #31278 ).
...
Contributed by Frederico Camara.
git-svn-id: http://svn.redmine.org/redmine/trunk@21346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-05 00:05:45 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
32dfdf186f
Update copyright year in the footer to 2022 ( #36378 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 04:50:14 +00:00
Go MAEDA
f3f355a8bf
Fix that encoding drop-down in the import settings defaults to US-ASCII instead of general_csv_encoding in Thai ( #36377 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 02:38:32 +00:00
Go MAEDA
a99567846c
Fix that encoding drop-down in the import settings defaults to US-ASCII instead of general_csv_encoding in Korean ( #36377 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 02:37:13 +00:00
Go MAEDA
b6a26a60f3
Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 ( #35142 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
4db7397d2a
Use File.exist? instead of deprecated File.exists? ( #36358 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 03:20:31 +00:00
Go MAEDA
91c00f51ec
Fixes for Performance/BigDecimalWithNumericArgument introduced in RuboCop Performance 1.13.0 ( #35142 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-25 08:59:22 +00:00
Go MAEDA
fde1e18b3a
Saving time tracking activities without any change may turn a system activity into a project activity ( #36318 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-21 06:42:47 +00:00
Go MAEDA
81e25404aa
Fix a missing closing div due to r21312 ( #35755 , #36326 ).
...
Contributed by Enziin System.
git-svn-id: http://svn.redmine.org/redmine/trunk@21318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-16 04:30:51 +00:00
Go MAEDA
e623582536
Lazy load inline images ( #36294 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 01:24:13 +00:00
Go MAEDA
9955844da1
Drop OpenID support ( #35755 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 00:09:53 +00:00