]> source.dussan.org Git - redmine.git/log
redmine.git
2 years agoMerged r21548 from trunk to 5.0-stable (#37025).
Go MAEDA [Sun, 1 May 2022 07:11:26 +0000 (07:11 +0000)]
Merged r21548 from trunk to 5.0-stable (#37025).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21549 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21541 and r21542 to 5.0-stable (#36932).
Marius Balteanu [Thu, 28 Apr 2022 05:40:32 +0000 (05:40 +0000)]
Merged r21541 and r21542 to 5.0-stable (#36932).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21546 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21540 to 5.0-stable (#36817).
Marius Balteanu [Thu, 28 Apr 2022 05:36:38 +0000 (05:36 +0000)]
Merged r21540 to 5.0-stable (#36817).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21544 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21539 to 5.0-stable (#36912).
Marius Balteanu [Wed, 27 Apr 2022 21:00:17 +0000 (21:00 +0000)]
Merged r21539 to 5.0-stable (#36912).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21543 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21536 to 5.0-stable (#37045).
Marius Balteanu [Wed, 27 Apr 2022 20:02:44 +0000 (20:02 +0000)]
Merged r21536 to 5.0-stable (#37045).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21537 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21534 from trunk to 5.0-stable (#36934).
Go MAEDA [Sat, 16 Apr 2022 03:28:16 +0000 (03:28 +0000)]
Merged r21534 from trunk to 5.0-stable (#36934).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21535 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21532 from trunk to 5.0-stable (#36930).
Go MAEDA [Thu, 14 Apr 2022 13:49:40 +0000 (13:49 +0000)]
Merged r21532 from trunk to 5.0-stable (#36930).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21533 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21523 to 5.0-stable (#36887).
Marius Balteanu [Mon, 11 Apr 2022 07:09:58 +0000 (07:09 +0000)]
Merged r21523 to 5.0-stable (#36887).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21530 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21518 from trunk to 5.0-stable (#36863).
Go MAEDA [Sun, 10 Apr 2022 07:41:31 +0000 (07:41 +0000)]
Merged r21518 from trunk to 5.0-stable (#36863).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21529 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21517 from trunk to 5.0-stable (#36862).
Go MAEDA [Sun, 10 Apr 2022 07:39:30 +0000 (07:39 +0000)]
Merged r21517 from trunk to 5.0-stable (#36862).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21528 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21524 from trunk to 5.0-stable (#36917).
Go MAEDA [Sun, 10 Apr 2022 07:01:40 +0000 (07:01 +0000)]
Merged r21524 from trunk to 5.0-stable (#36917).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21526 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21512 to 5.0-stable.
Marius Balteanu [Mon, 28 Mar 2022 19:42:49 +0000 (19:42 +0000)]
Merged r21512 to 5.0-stable.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21513 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoChangelog for 5.0.0.
Marius Balteanu [Mon, 28 Mar 2022 19:41:52 +0000 (19:41 +0000)]
Changelog for 5.0.0.

git-svn-id: https://svn.redmine.org/redmine/trunk@21512 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoSet stable version.
Marius Balteanu [Mon, 28 Mar 2022 19:39:33 +0000 (19:39 +0000)]
Set stable version.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21511 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMerged r21509 to 5.0-stable.
Marius Balteanu [Mon, 28 Mar 2022 19:39:16 +0000 (19:39 +0000)]
Merged r21509 to 5.0-stable.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21510 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoBump version to 5.0.0.
Marius Balteanu [Mon, 28 Mar 2022 19:36:13 +0000 (19:36 +0000)]
Bump version to 5.0.0.

git-svn-id: https://svn.redmine.org/redmine/trunk@21509 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdded 5.0-stable branch.
Marius Balteanu [Sun, 27 Mar 2022 21:36:44 +0000 (21:36 +0000)]
Added 5.0-stable branch.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21506 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd test for #34029.
Marius Balteanu [Sun, 27 Mar 2022 21:30:33 +0000 (21:30 +0000)]
Add test for #34029.

Patch by Vincent Robert.

git-svn-id: https://svn.redmine.org/redmine/trunk@21503 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoInclude roles of built-in "Non member users" and "Anonymous users" members when user...
Marius Balteanu [Sun, 27 Mar 2022 21:29:05 +0000 (21:29 +0000)]
Include roles of built-in "Non member users" and "Anonymous users" members when user is not a member of the project. This fixes #34029.

git-svn-id: https://svn.redmine.org/redmine/trunk@21502 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Rails/RefuteMethods (#36824, #30924).
Go MAEDA [Sat, 26 Mar 2022 04:01:51 +0000 (04:01 +0000)]
Fix RuboCop offense Rails/RefuteMethods (#36824, #30924).

git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) (#36824...
Go MAEDA [Sat, 26 Mar 2022 03:57:48 +0000 (03:57 +0000)]
Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) (#36824, #30924).

git-svn-id: https://svn.redmine.org/redmine/trunk@21500 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAllow to filter issues by its version status with shared versions (#36824, #30924).
Marius Balteanu [Thu, 24 Mar 2022 16:52:20 +0000 (16:52 +0000)]
Allow to filter issues by its version status with shared versions (#36824, #30924).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21499 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix Redmine::Plugin.assets_directory is not working after r21283 (#36835).
Marius Balteanu [Thu, 24 Mar 2022 16:47:54 +0000 (16:47 +0000)]
Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoIncrease email address length limit from 60 to 254 (#36825).
Go MAEDA [Wed, 23 Mar 2022 15:26:59 +0000 (15:26 +0000)]
Increase email address length limit from 60 to 254 (#36825).

Contributed by Brice Beaumesnil.

git-svn-id: https://svn.redmine.org/redmine/trunk@21497 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd support for PUT API to journals (#10171).
Go MAEDA [Wed, 23 Mar 2022 14:26:47 +0000 (14:26 +0000)]
Add support for PUT API to journals (#10171).

Patch by Mizuki ISHIKAWA .

git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix that Log time and/or Add notes sections from issue form page do not show or hide...
Marius Balteanu [Tue, 22 Mar 2022 07:03:19 +0000 (07:03 +0000)]
Fix that Log time and/or Add notes sections from issue form page do not show or hide dynamically based on user permission (#34641).

git-svn-id: https://svn.redmine.org/redmine/trunk@21495 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd tasks to prune registered users after a certain number of days (#30998).
Go MAEDA [Tue, 22 Mar 2022 04:02:39 +0000 (04:02 +0000)]
Add tasks to prune registered users after a certain number of days (#30998).

Patch by Yuichi HARADA and Marius BALTEANU.

git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRevert undesired changes (#36593)
Marius Balteanu [Mon, 21 Mar 2022 22:16:29 +0000 (22:16 +0000)]
Revert undesired changes (#36593)

git-svn-id: https://svn.redmine.org/redmine/trunk@21489 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoSkip validation of required custom fields when creating a project if user does not...
Marius Balteanu [Mon, 21 Mar 2022 22:13:19 +0000 (22:13 +0000)]
Skip validation of required custom fields when creating a project if user does not have permissions to see those custom fields (#36593).

Patch by mathieu-mbru.

git-svn-id: https://svn.redmine.org/redmine/trunk@21488 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoTraditional Chinese translation update (#36815).
Go MAEDA [Mon, 21 Mar 2022 11:59:08 +0000 (11:59 +0000)]
Traditional Chinese translation update (#36815).

Patch by ChunChang Lo.

git-svn-id: https://svn.redmine.org/redmine/trunk@21487 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDo not fire a query to get user default query when user has no default query set...
Go MAEDA [Mon, 21 Mar 2022 06:10:54 +0000 (06:10 +0000)]
Do not fire a query to get user default query when user has no default query set (#36503).

Patch by Dmitry Makurin.

git-svn-id: https://svn.redmine.org/redmine/trunk@21485 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReverts r21480 (#36503).
Go MAEDA [Mon, 21 Mar 2022 06:00:21 +0000 (06:00 +0000)]
Reverts r21480 (#36503).

git-svn-id: https://svn.redmine.org/redmine/trunk@21484 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove system test (#6432).
Marius Balteanu [Sun, 20 Mar 2022 22:17:41 +0000 (22:17 +0000)]
Remove system test (#6432).

git-svn-id: http://svn.redmine.org/redmine/trunk@21483 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to...
Marius Balteanu [Sun, 20 Mar 2022 22:16:11 +0000 (22:16 +0000)]
Fix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to @test_index@ (#6432).

git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoOnly check for @set_filter@ param when retriving the default query (#7360, 35795...
Marius Balteanu [Sun, 20 Mar 2022 21:49:57 +0000 (21:49 +0000)]
Only check for @set_filter@ param when retriving the default query (#7360, 35795, #36389).

git-svn-id: http://svn.redmine.org/redmine/trunk@21481 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDo not fire a query to get user default query when user has no default query set...
Marius Balteanu [Sun, 20 Mar 2022 21:38:45 +0000 (21:38 +0000)]
Do not fire a query to get user default query when user has no default query set (#36503).

Patch by Dmitry Makurin.

git-svn-id: http://svn.redmine.org/redmine/trunk@21480 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd Chromium to the list of supported browsers (#34978).
Marius Balteanu [Sun, 20 Mar 2022 21:21:41 +0000 (21:21 +0000)]
Add Chromium to the list of supported browsers (#34978).

git-svn-id: http://svn.redmine.org/redmine/trunk@21479 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd supported browsers to doc/INSTALL (#34978).
Marius Balteanu [Sun, 20 Mar 2022 21:20:28 +0000 (21:20 +0000)]
Add supported browsers to doc/INSTALL (#34978).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21478 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop Rails to 2.14 (#35207).
Go MAEDA [Sun, 20 Mar 2022 07:05:56 +0000 (07:05 +0000)]
Update RuboCop Rails to 2.14 (#35207).

git-svn-id: http://svn.redmine.org/redmine/trunk@21473 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoJapanese translation update (#36813).
Go MAEDA [Sun, 20 Mar 2022 06:46:52 +0000 (06:46 +0000)]
Japanese translation update (#36813).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21472 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd locales (#4347).
Marius Balteanu [Sat, 19 Mar 2022 12:30:33 +0000 (12:30 +0000)]
Add locales (#4347).

git-svn-id: http://svn.redmine.org/redmine/trunk@21471 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd missing partial (#4347).
Marius Balteanu [Sat, 19 Mar 2022 11:27:57 +0000 (11:27 +0000)]
Add missing partial (#4347).

git-svn-id: http://svn.redmine.org/redmine/trunk@21470 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAutomatically add the user to the watchers list after contributing to an issue (...
Marius Balteanu [Sat, 19 Mar 2022 10:14:29 +0000 (10:14 +0000)]
Automatically add the user to the watchers list after contributing to an issue (#4347). User can enable/disable this feature from My Account.

Patch by Takenori TAKAKI and Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21469 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRender mentioned users with leading @ and highlight (#36699, #13919).
Marius Balteanu [Sat, 19 Mar 2022 10:00:30 +0000 (10:00 +0000)]
Render mentioned users with leading @ and highlight (#36699, #13919).

git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDeprecate and rename rss_* methods to atom_* methods (#15118).
Marius Balteanu [Sat, 19 Mar 2022 09:56:46 +0000 (09:56 +0000)]
Deprecate and rename rss_* methods to atom_* methods (#15118).

Patch by Mischa The Evil and Marius BĂLTEANU

git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix file drop feature not working in @documents#new@ (#36686).
Marius Balteanu [Sat, 19 Mar 2022 08:08:09 +0000 (08:08 +0000)]
Fix file drop feature not working in @documents#new@ (#36686).

git-svn-id: http://svn.redmine.org/redmine/trunk@21466 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReindent code in documents/_form view (#36686).
Marius Balteanu [Sat, 19 Mar 2022 08:07:32 +0000 (08:07 +0000)]
Reindent code in documents/_form view (#36686).

git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAvoid passing ActionController::Parameters outside of MailHandlerController (#36394).
Marius Balteanu [Fri, 18 Mar 2022 18:42:55 +0000 (18:42 +0000)]
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

2 years agoUse @clipboardData.files@ instead of @clipboardData.items@ to get the images from...
Marius Balteanu [Fri, 18 Mar 2022 17:43:21 +0000 (17:43 +0000)]
Use @clipboardData.files@ instead of @clipboardData.items@ to get the images from the clipboard (#36013).

git-svn-id: http://svn.redmine.org/redmine/trunk@21463 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoSet the minimum required version of ROTP gem to 5.0.0 (#36795).
Go MAEDA [Fri, 18 Mar 2022 02:19:30 +0000 (02:19 +0000)]
Set the minimum required version of ROTP gem to 5.0.0 (#36795).

git-svn-id: http://svn.redmine.org/redmine/trunk@21462 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDatabase migration from Redmine 0.8.7 or earlier fails (#36766).
Go MAEDA [Fri, 18 Mar 2022 02:07:14 +0000 (02:07 +0000)]
Database migration from Redmine 0.8.7 or earlier fails (#36766).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21461 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoShow a custom field description as a placeholder (#14275).
Go MAEDA [Thu, 17 Mar 2022 11:52:12 +0000 (11:52 +0000)]
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

2 years agoUse a variable to reference a CustomField object (#14275).
Go MAEDA [Thu, 17 Mar 2022 11:50:44 +0000 (11:50 +0000)]
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

2 years agoFix to use a correct exception class ActiveRecord::IrreversibleMigration in migration...
Go MAEDA [Thu, 17 Mar 2022 08:25:23 +0000 (08:25 +0000)]
Fix to use a correct exception class ActiveRecord::IrreversibleMigration in migrations (#36770).

git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoComments for Textile text formatting (#20511).
Go MAEDA [Thu, 17 Mar 2022 03:55:24 +0000 (03:55 +0000)]
Comments for Textile text formatting (#20511).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReplace Member.find_or_new with ActiveRecord's find_or_initialize_by (#36730).
Go MAEDA [Mon, 14 Mar 2022 14:25:24 +0000 (14:25 +0000)]
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

2 years agoUpdate Rails to 6.1.4.7 (#29914).
Go MAEDA [Sat, 12 Mar 2022 05:34:57 +0000 (05:34 +0000)]
Update Rails to 6.1.4.7 (#29914).

git-svn-id: http://svn.redmine.org/redmine/trunk@21453 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop to 1.26 (#35136).
Go MAEDA [Thu, 10 Mar 2022 02:51:59 +0000 (02:51 +0000)]
Update RuboCop to 1.26 (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21452 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRegenerate .rubocop_todo.yml (#35136).
Go MAEDA [Thu, 10 Mar 2022 02:43:57 +0000 (02:43 +0000)]
Regenerate .rubocop_todo.yml (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21451 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoPolish translation update (#36493).
Go MAEDA [Mon, 7 Mar 2022 09:49:29 +0000 (09:49 +0000)]
Polish translation update (#36493).

Patch by Robert Korulczyk.

git-svn-id: http://svn.redmine.org/redmine/trunk@21450 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReorder keys in pl.yml to the same order with en.yml (#36493).
Go MAEDA [Mon, 7 Mar 2022 09:48:21 +0000 (09:48 +0000)]
Reorder keys in pl.yml to the same order with en.yml (#36493).

Patch by Robert Korulczyk.

git-svn-id: http://svn.redmine.org/redmine/trunk@21449 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoLazy load locales (#36728).
Marius Balteanu [Sun, 6 Mar 2022 17:23:36 +0000 (17:23 +0000)]
Lazy load locales (#36728).

Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@21448 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoImprove performance of adding or removing members of a group (#36696).
Go MAEDA [Sat, 5 Mar 2022 08:41:55 +0000 (08:41 +0000)]
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

2 years agoUpdate Chart.js to 3.7.1 (#36701).
Go MAEDA [Thu, 3 Mar 2022 14:17:19 +0000 (14:17 +0000)]
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

2 years agoIssuesControllerTest randomly fails (#36716).
Go MAEDA [Thu, 3 Mar 2022 13:55:22 +0000 (13:55 +0000)]
IssuesControllerTest randomly fails (#36716).

Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@21445 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd habtm relation between roles and queries_roles (#36416).
Marius Balteanu [Mon, 28 Feb 2022 21:16:08 +0000 (21:16 +0000)]
Add habtm relation between roles and queries_roles (#36416).

git-svn-id: http://svn.redmine.org/redmine/trunk@21444 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix rubocop offense (#36416).
Marius Balteanu [Sun, 27 Feb 2022 14:06:01 +0000 (14:06 +0000)]
Fix rubocop offense (#36416).

git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate roadie-rails to 3.0 (#36355).
Go MAEDA [Sat, 26 Feb 2022 06:54:19 +0000 (06:54 +0000)]
Update roadie-rails to 3.0 (#36355).

git-svn-id: http://svn.redmine.org/redmine/trunk@21442 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate API test to use token based authentication when twofa is enabled for user...
Marius Balteanu [Fri, 25 Feb 2022 07:57:37 +0000 (07:57 +0000)]
Update API test to use token based authentication when twofa is enabled for user (#35001).

git-svn-id: http://svn.redmine.org/redmine/trunk@21441 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd class @user-mention@ to user classes when user is linked using @ (#36699, #13919).
Marius Balteanu [Thu, 24 Feb 2022 21:54:30 +0000 (21:54 +0000)]
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

2 years agoUpdate jQuery to 3.6.0 (#35729).
Marius Balteanu [Thu, 24 Feb 2022 20:45:56 +0000 (20:45 +0000)]
Update jQuery to 3.6.0 (#35729).

git-svn-id: http://svn.redmine.org/redmine/trunk@21439 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd migration to delete orphaned time entry activities (#36416).
Marius Balteanu [Thu, 24 Feb 2022 19:55:42 +0000 (19:55 +0000)]
Add migration to delete orphaned time entry activities (#36416).

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21438 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDestroy overridden time entry activities and rows from the habtm join table @queries_...
Marius Balteanu [Thu, 24 Feb 2022 19:44:36 +0000 (19:44 +0000)]
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

2 years agoDisable API authentication with username and password when two-factor authentication...
Marius Balteanu [Thu, 24 Feb 2022 19:10:35 +0000 (19:10 +0000)]
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

2 years agoAllow users to be mentioned using @ in issues and wiki pages (#13919):
Marius Balteanu [Wed, 23 Feb 2022 21:16:18 +0000 (21:16 +0000)]
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

2 years agoUpdates for 4.2.4 release.
Marius Balteanu [Sun, 20 Feb 2022 22:08:07 +0000 (22:08 +0000)]
Updates for 4.2.4 release.

git-svn-id: http://svn.redmine.org/redmine/trunk@21430 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix gantt PNG export ignores imagemagick_convert_command (#35027).
Marius Balteanu [Sun, 20 Feb 2022 19:05:49 +0000 (19:05 +0000)]
Fix gantt PNG export ignores imagemagick_convert_command (#35027).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21427 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix time entries of sub-projects are not listed when activity is specified in filters...
Marius Balteanu [Sun, 20 Feb 2022 18:50:22 +0000 (18:50 +0000)]
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

2 years agoFix import with issue relations and invalid issues hangs without any error message...
Marius Balteanu [Sun, 20 Feb 2022 18:12:42 +0000 (18:12 +0000)]
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

2 years agoTraditional Chinese translation update (#36606).
Go MAEDA [Sun, 20 Feb 2022 08:02:51 +0000 (08:02 +0000)]
Traditional Chinese translation update (#36606).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@21417 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate I18n to 1.10 (#36564).
Go MAEDA [Sun, 20 Feb 2022 05:41:21 +0000 (05:41 +0000)]
Update I18n to 1.10 (#36564).

git-svn-id: http://svn.redmine.org/redmine/trunk@21416 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix code copying in common browsers (#36580).
Go MAEDA [Sat, 19 Feb 2022 07:36:40 +0000 (07:36 +0000)]
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

2 years agoFix WikiContentVersion API returns 500 if author is nil (#36494).
Marius Balteanu [Fri, 18 Feb 2022 08:08:10 +0000 (08:08 +0000)]
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

2 years agoReturn 404 if revision URL doesn't exist (#36561).
Marius Balteanu [Fri, 18 Feb 2022 08:03:52 +0000 (08:03 +0000)]
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

2 years agoJapanese translation update (#36651).
Go MAEDA [Fri, 18 Feb 2022 01:46:48 +0000 (01:46 +0000)]
Japanese translation update (#36651).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21412 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReduce database queries when rendering Custom fields box in the project settings...
Go MAEDA [Mon, 14 Feb 2022 08:08:47 +0000 (08:08 +0000)]
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

2 years agoUpdate Rails to 6.1.4.6 (#29914).
Go MAEDA [Sat, 12 Feb 2022 06:04:00 +0000 (06:04 +0000)]
Update Rails to 6.1.4.6 (#29914).

git-svn-id: http://svn.redmine.org/redmine/trunk@21408 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoStructured Document list for more flexible UI design with CSS (#17924).
Go MAEDA [Tue, 8 Feb 2022 02:40:24 +0000 (02:40 +0000)]
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

2 years agoUpdate Rouge to 3.28 (#36325).
Go MAEDA [Fri, 4 Feb 2022 05:14:18 +0000 (05:14 +0000)]
Update Rouge to 3.28 (#36325).

git-svn-id: http://svn.redmine.org/redmine/trunk@21402 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoEscape HTML in the code highlighter help (#33859).
Go MAEDA [Fri, 4 Feb 2022 03:02:41 +0000 (03:02 +0000)]
Escape HTML in the code highlighter help (#33859).

git-svn-id: http://svn.redmine.org/redmine/trunk@21401 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate I18n to 1.9 (#36564).
Go MAEDA [Thu, 3 Feb 2022 04:06:27 +0000 (04:06 +0000)]
Update I18n to 1.9 (#36564).

git-svn-id: http://svn.redmine.org/redmine/trunk@21400 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoLabel error_can_not_execute_macro_html in Russian translation is broken (#36517).
Go MAEDA [Thu, 3 Feb 2022 03:26:18 +0000 (03:26 +0000)]
Label error_can_not_execute_macro_html in Russian translation is broken (#36517).

Patch by Dmitry Makurin.

git-svn-id: http://svn.redmine.org/redmine/trunk@21398 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd locales (#35439).
Marius Balteanu [Tue, 1 Feb 2022 20:27:27 +0000 (20:27 +0000)]
Add locales (#35439).

git-svn-id: http://svn.redmine.org/redmine/trunk@21396 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd "required for administrators" option to Two-factor authentication settings that...
Marius Balteanu [Tue, 1 Feb 2022 20:17:27 +0000 (20:17 +0000)]
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

2 years agoFix autocomplete for users fails with 403 error when there are multiple objects from...
Marius Balteanu [Tue, 1 Feb 2022 20:11:56 +0000 (20:11 +0000)]
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

2 years agoAdd test for #34766.
Marius Balteanu [Sun, 30 Jan 2022 13:39:55 +0000 (13:39 +0000)]
Add test for #34766.

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21393 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReturn 406 status code instead of 500 when API request has an invalid format (#34766).
Marius Balteanu [Sun, 30 Jan 2022 13:39:06 +0000 (13:39 +0000)]
Return 406 status code instead of 500 when API request has an invalid format (#34766).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21392 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove sidebar views (#36524).
Marius Balteanu [Sun, 30 Jan 2022 09:27:23 +0000 (09:27 +0000)]
Remove sidebar views (#36524).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21391 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove sidebar with invalid query links from imports views (#36524).
Marius Balteanu [Sun, 30 Jan 2022 09:24:37 +0000 (09:24 +0000)]
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

2 years agoImprove readability of @must_activate_twofa?@ function (#31920).
Marius Balteanu [Sat, 29 Jan 2022 09:43:46 +0000 (09:43 +0000)]
Improve readability of @must_activate_twofa?@ function (#31920).

git-svn-id: http://svn.redmine.org/redmine/trunk@21389 e93f8b46-1217-0410-a6f0-8f06a7374b81