summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-111-8/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure in ↵Go MAEDA2024-12-041-1/+1
| | | | | | | | | ProjectsControllerTest::test_post_copy_should_copy_requested_items due to missing :issue_categories fixture (#41934). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23352 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed tests (#23980).Marius Balteanu2024-09-051-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23023 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-0/+9
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Link "Last activity" column to project activity page (#40706, #23954).Marius Balteanu2024-05-281-1/+4
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/HttpStatus (#39889).Go MAEDA2024-05-181-13/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the date of the last activity to the list of available columns for ↵Marius Balteanu2024-05-031-0/+12
| | | | | | | | Projects (#23954). Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22438 (#35189).Marius Balteanu2024-01-231-12/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New email notification option "For any event on my bookmarked projects" ↵Go MAEDA2023-11-161-0/+12
| | | | | | | | | (#35189). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce permission to set a project public (#38048).Go MAEDA2023-01-121-2/+55
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/FreezeTime (#37248).Go MAEDA2022-10-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default query should not be applied if the query is not allowed to be set as ↵Go MAEDA2022-07-311-0/+33
| | | | | | | | | the default (#37499). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds projects bulk delete (#36691).Marius Balteanu2022-05-171-0/+25
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Background job for project deletion (#36691).Marius Balteanu2022-05-171-0/+20
| | | | | | | | | | | | | | | Due to the deletion of dependent objects (issues etc), project deletion may take a long time. This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately. A security notification is sent out to the user that deleted the project, informing about success / failure. The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination. Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify text formatting in the tests (#35952).Marius Balteanu2022-01-221-19/+21
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default value for "Time span format" from "decimal" to "minutes" ↵Go MAEDA2022-01-081-2/+2
| | | | | | (#36391). git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-2/+2
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* You can configure default project queries in the following places (#35795):Marius Balteanu2021-11-151-1/+24
| | | | | | | * App-level: Administration > Projects > Default query (Projects list defaults section) * User-level: My account > Default project query git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that deleting a closed or archived projects not working anymore after ↵Marius Balteanu2021-09-061-0/+38
| | | | | | | | r20034 (#35827). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 6.1: add header=present to csv tests (#29914, #32921).Go MAEDA2021-04-011-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix cannot change the default version under settings (#34982).Go MAEDA2021-03-311-0/+22
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20875 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that disabled trackers of subprojects are listed in project overview ↵Go MAEDA2020-12-121-0/+19
| | | | | | | | | (#10084). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require to enter project's identifier to confirm project deletion (#34417).Go MAEDA2020-12-101-3/+13
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20601 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow normal users to delete a project (#33945).Go MAEDA2020-09-151-0/+34
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20034 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify CSS classes for custom fields in issue#show, issue#edit and ↵Go MAEDA2020-04-111-1/+1
| | | | | | | | | issue#bulk_edit (#32471). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating custom fields does not trigger update to "updated_on" field in the ↵Go MAEDA2020-02-291-0/+24
| | | | | | | | | customized object (#5354). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19541 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19510 that breaks ↵Go MAEDA2020-02-111-24/+0
| | | | | | IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue (#5354). git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating custom fields does not trigger update to "updated_on" field in the ↵Go MAEDA2020-02-111-0/+24
| | | | | | | | | customized object (#5354). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19510 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix totals not displayed in projects list view (#32896).Go MAEDA2020-01-281-0/+18
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19469 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #media_type instead of #content_type to test the MIME type of a response ↵Go MAEDA2020-01-271-2/+2
| | | | | | | | | (#32886). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix sort projects table by custom field (#32769).Go MAEDA2020-01-121-2/+25
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19421 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV related tests fail with Rails 5.2.4 (#32526, #32525).Go MAEDA2019-12-081-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstHashElement in ↵Toshi MARUYAMA2019-11-251-191/+165
| | | | | | test/functional/projects_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in ↵Toshi MARUYAMA2019-11-241-2/+2
| | | | | | test/functional/projects_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix CSV export of projects (#29482).Jean-Philippe Lang2019-11-021-0/+49
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure (#29482).Jean-Philippe Lang2019-10-191-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default columns for the projects list (#29482).Jean-Philippe Lang2019-10-191-0/+10
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to switch between table list and board list (#29482).Jean-Philippe Lang2019-10-191-0/+53
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter after parent project (#29482).Jean-Philippe Lang2019-10-191-0/+19
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter after projects (#29482).Jean-Philippe Lang2019-10-191-0/+19
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18762 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix test failure due to missing call to set_tmp_attachments_directory (#32122).Go MAEDA2019-10-041-0/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Per role visibility settings for project custom fields (#31925).Go MAEDA2019-08-201-0/+12
| | | | | | | Patch by Jens Krämer and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Duplicate method definition in tests (#31093).Jean-Philippe Lang2019-06-201-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18267 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81