1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

6318 Commits

Author SHA1 Message Date
Go MAEDA
2e86acfa87 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
2022-03-22 04:02:39 +00:00
Marius Balteanu
81575e7291 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
2022-03-21 22:13:19 +00:00
Marius Balteanu
d9bcb65cb9 Remove system test (#6432).
git-svn-id: http://svn.redmine.org/redmine/trunk@21483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-20 22:17:41 +00:00
Marius Balteanu
3cee462b67 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
2022-03-20 22:16:11 +00:00
Marius Balteanu
e50190a82a 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
2022-03-19 10:14:29 +00:00
Marius Balteanu
23874fa913 Render mentioned users with leading @ and highlight (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +00:00
Marius Balteanu
f286a6044b 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
2022-03-19 09:56:46 +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
b51d40fe38 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
2022-03-17 03:55:24 +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
05714ab18a IssuesControllerTest randomly fails (#36716).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@21445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-03 13:55:22 +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
1ebb8920d2 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
2022-02-25 07:57:37 +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
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
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
5ea0340b8d Add test for #34766.
Patch by Mizuki ISHIKAWA.



git-svn-id: http://svn.redmine.org/redmine/trunk@21393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 13:39:55 +00:00
Marius Balteanu
4807beaebf Explicitly specify text formatting in the tests (#35952).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Marius Balteanu
380a3b0345 Enable task list items for Common Mark text formatting (#35742).
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
8c147ca2b1 Fix that I18nTest#test_custom_pluralization_rules randomly fails (#36396, #36461).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:16:19 +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
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
f2ae2b9936 Duplicate activities in time entry report when project-specific activies exist (#20018).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-19 13:33: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
09dc778eb2 Custom I18n Pluralization rules are not applied correctly (#36396).
Contributed by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
addac907e5 Explicitly set Setting.cross_project_issue_relations to prevent random test failure (#36361).
git-svn-id: http://svn.redmine.org/redmine/trunk@21364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-13 01:20:43 +00:00
Go MAEDA
9bfa91ea38 Restore the value of Setting.cross_project_issue_relations to prevent random test failures (#36361).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-13 00:59:17 +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
f670f0e572 Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +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
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
53682d0a2a Test if the encoding drop-down in the import settings includes all CSV encodings (#36377).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 02:43:54 +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
735005a5a2 IssuesSystemTest fails with ArgumentError in Ruby 3.1 (#36205, #36360).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 09:35:38 +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
2b8aeed917 IssuesSystemTest#test_bulk_edit fails due to r21248 (#35770, #36352).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-25 02:24:38 +00:00
Go MAEDA
531144e6dd Fixes for Style/FileWrite offense introduced in RuboCop 1.24.0 (#35136).
git-svn-id: http://svn.redmine.org/redmine/trunk@21322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-24 05:30:56 +00:00
Go MAEDA
f6acc5164c Add missing fixture to IssuesHelperTest (#36347).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-24 04:45:16 +00:00