Marius Balteanu
5914b0ebc2
Allow imported time entries to override the selected project with the actual project of their issue (#36823).
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
Marius Balteanu
b1e4411c49
Add missing partial view (33422).
git-svn-id: https://svn.redmine.org/redmine/trunk@21521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
Marius Balteanu
c431606e3e
Adds context menu to admin projects list (#33422).
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
Marius Balteanu
83ed32e8d7
Reuse ProjectQuery filters on the admin project list (#33422).
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
Marius Balteanu
883fcb89ee
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 ago
Marius Balteanu
9b25b348c3
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 ago
Go MAEDA
750c5e89fb
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 ago
Go MAEDA
32abb15847
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 ago
Marius Balteanu
30d91c8503
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 ago
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
2 years ago
Marius Balteanu
d8d0f38a6b
Revert undesired changes (#36593)
git-svn-id: https://svn.redmine.org/redmine/trunk@21489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
Go MAEDA
ab59d9bf87
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 ago
Go MAEDA
fccc19a451
Reverts r21480 (#36503).
git-svn-id: https://svn.redmine.org/redmine/trunk@21484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
Marius Balteanu
1d32a44afa
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 ago
Marius Balteanu
d07c7d8e26
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 ago
Marius Balteanu
7c0edc26d4
Add missing partial (#4347).
git-svn-id: http://svn.redmine.org/redmine/trunk@21470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Marius Balteanu
65a91d13a0
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 ago
Marius Balteanu
3c2c5fbc50
Reindent code in documents/_form view (#36686).
git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago