summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Merged r21578-r21580 to 5.0-stable (#37053).Marius Balteanu2022-05-161-1/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21568 to 5.0-stable (#37030).Marius Balteanu2022-05-121-0/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21569 to 5.0-stable (#36909).Marius Balteanu2022-05-121-3/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21571 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include roles of built-in "Non member users" and "Anonymous users" members ↵Marius Balteanu2022-03-271-0/+9
| | | | | | 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
* Allow to filter issues by its version status with shared versions (#36824, ↵Marius Balteanu2022-03-241-2/+4
| | | | | | | | | #30924). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Increase email address length limit from 60 to 254 (#36825).Go MAEDA2022-03-231-1/+1
| | | | | | | Contributed by Brice Beaumesnil. git-svn-id: https://svn.redmine.org/redmine/trunk@21497 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for PUT API to journals (#10171).Go MAEDA2022-03-231-0/+2
| | | | | | | Patch by Mizuki ISHIKAWA . git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that Log time and/or Add notes sections from issue form page do not show ↵Marius Balteanu2022-03-222-11/+5
| | | | | | or hide dynamically based on user permission (#34641). git-svn-id: https://svn.redmine.org/redmine/trunk@21495 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tasks to prune registered users after a certain number of days (#30998).Go MAEDA2022-03-221-0/+4
| | | | | | | Patch by Yuichi HARADA and Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert undesired changes (#36593)Marius Balteanu2022-03-211-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip validation of required custom fields when creating a project if user ↵Marius Balteanu2022-03-212-2/+13
| | | | | | | | | 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
* Do not fire a query to get user default query when user has no default query ↵Go MAEDA2022-03-211-1/+1
| | | | | | | | | set (#36503). Patch by Dmitry Makurin. git-svn-id: https://svn.redmine.org/redmine/trunk@21485 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r21480 (#36503).Go MAEDA2022-03-211-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21484 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that @tracker_ids[]@ field is rendered multiple time. Add some ↵Marius Balteanu2022-03-201-1/+1
| | | | | | assertions to @test_index@ (#6432). git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only check for @set_filter@ param when retriving the default query (#7360, ↵Marius Balteanu2022-03-202-2/+2
| | | | | | 35795, #36389). git-svn-id: http://svn.redmine.org/redmine/trunk@21481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not fire a query to get user default query when user has no default query ↵Marius Balteanu2022-03-201-1/+1
| | | | | | | | | | set (#36503). Patch by Dmitry Makurin. git-svn-id: http://svn.redmine.org/redmine/trunk@21480 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing partial (#4347).Marius Balteanu2022-03-191-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatically add the user to the watchers list after contributing to an ↵Marius Balteanu2022-03-195-1/+34
| | | | | | | | | 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
* Render mentioned users with leading @ and highlight (#36699, #13919).Marius Balteanu2022-03-191-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecate and rename rss_* methods to atom_* methods (#15118).Marius Balteanu2022-03-1930-64/+93
| | | | | | | Patch by Mischa The Evil and Marius BĂLTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix file drop feature not working in @documents#new@ (#36686).Marius Balteanu2022-03-191-6/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reindent code in documents/_form view (#36686).Marius Balteanu2022-03-191-13/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid passing ActionController::Parameters outside of MailHandlerController ↵Marius Balteanu2022-03-181-1/+26
| | | | | | | | | | (#36394). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show a custom field description as a placeholder (#14275).Go MAEDA2022-03-171-0/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a variable to reference a CustomField object (#14275).Go MAEDA2022-03-171-5/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Member.find_or_new with ActiveRecord's find_or_initialize_by (#36730).Go MAEDA2022-03-142-12/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21456 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve performance of adding or removing members of a group (#36696).Go MAEDA2022-03-052-27/+24
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21447 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Chart.js to 3.7.1 (#36701).Go MAEDA2022-03-032-21/+29
| | | | | | | Patch by Maciej Pankanin. git-svn-id: http://svn.redmine.org/redmine/trunk@21446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add habtm relation between roles and queries_roles (#36416).Marius Balteanu2022-02-281-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add class @user-mention@ to user classes when user is linked using @ ↵Marius Balteanu2022-02-241-1/+1
| | | | | | | | | (#36699, #13919). git-svn-id: http://svn.redmine.org/redmine/trunk@21440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update jQuery to 3.6.0 (#35729).Marius Balteanu2022-02-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Destroy overridden time entry activities and rows from the habtm join table ↵Marius Balteanu2022-02-241-2/+2
| | | | | | | | | | @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
* Disable API authentication with username and password when two-factor ↵Marius Balteanu2022-02-241-1/+8
| | | | | | | | | 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
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-238-16/+90
| | | | | | | | | | * 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
* Fix time entries of sub-projects are not listed when activity is specified ↵Marius Balteanu2022-02-201-1/+1
| | | | | | | | | in filters (#36248). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21423 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix import with issue relations and invalid issues hangs without any error ↵Marius Balteanu2022-02-201-1/+5
| | | | | | message in UI (#35656). git-svn-id: http://svn.redmine.org/redmine/trunk@21422 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix code copying in common browsers (#36580).Go MAEDA2022-02-193-16/+22
| | | | | | | Patch by Vitaly vit9696. git-svn-id: http://svn.redmine.org/redmine/trunk@21415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix WikiContentVersion API returns 500 if author is nil (#36494).Marius Balteanu2022-02-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Return 404 if revision URL doesn't exist (#36561).Marius Balteanu2022-02-182-6/+2
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reduce database queries when rendering Custom fields box in the project ↵Go MAEDA2022-02-141-1/+2
| | | | | | | | | settings tab (#36505). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21411 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Structured Document list for more flexible UI design with CSS (#17924).Go MAEDA2022-02-083-7/+15
| | | | | | | Patch by Yonghwan SO and Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21403 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "required for administrators" option to Two-factor authentication ↵Marius Balteanu2022-02-013-2/+9
| | | | | | 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
* Fix autocomplete for users fails with 403 error when there are multiple ↵Marius Balteanu2022-02-012-3/+7
| | | | | | | | | | objects from different projects (#36446). Patch by Dmitry Makurin. git-svn-id: http://svn.redmine.org/redmine/trunk@21394 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove sidebar views (#36524).Marius Balteanu2022-01-302-6/+0
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove sidebar with invalid query links from imports views (#36524).Marius Balteanu2022-01-305-10/+0
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve readability of @must_activate_twofa?@ function (#31920).Marius Balteanu2022-01-291-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21389 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reduce extra database queries in IssueQuery.default (#7360, #36503).Go MAEDA2022-01-231-3/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21387 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display "Two-factor authentication" on two lines to save some space (#35934).Marius Balteanu2022-01-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21381 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Two-factor authentication" filter and column to Users list in ↵Marius Balteanu2022-01-222-0/+20
| | | | | | administration (#35934). git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default protect from forgery true (#36317).Marius Balteanu2022-01-221-7/+10
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21379 e93f8b46-1217-0410-a6f0-8f06a7374b81