summaryrefslogtreecommitdiffstats
path: root/test/unit/project_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.0-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22756 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22155 from trunk to 5.0-stable (#38286).Go MAEDA2023-03-251-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22157 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/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip validation of required custom fields when creating a project if user ↵Marius Balteanu2022-03-211-0/+7
| | | | | | | | | 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
* Destroy overridden time entry activities and rows from the habtm join table ↵Marius Balteanu2022-02-241-0/+10
| | | | | | | | | | @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
* 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
* Use sanitize_sql_like in like scopes (#35073).Marius Balteanu2021-10-031-0/+16
| | | | | | Patch Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary comments (#35606).Go MAEDA2021-07-281-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21099 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Locked users should not be displayed in the members box of the project ↵Go MAEDA2021-07-271-0/+10
| | | | | | | | | overview page (#35606). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ActiveRecord::StaleObjectError: Attempted to update a stale object: ↵Go MAEDA2021-04-011-1/+1
| | | | | | | | | Issue." (#29914, #32912). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20884 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
* shorten long line of test/unit/project_test.rbToshi MARUYAMA2020-12-191-25/+60
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use more efficient "exists?" instead of "first" in tests when checking the ↵Go MAEDA2020-05-031-3/+3
| | | | | | | | | existence of rows (#33367). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show groups in members box on project overview page (#33174).Go MAEDA2020-04-221-5/+9
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19718 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
* cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-241-1/+1
| | | | | | test/unit/project_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/project_test.rbToshi MARUYAMA2019-11-241-3/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/project_test.rbToshi MARUYAMA2019-11-241-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19263 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in test/unit/project_test.rbToshi MARUYAMA2019-11-241-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstArrayElement in ↵Toshi MARUYAMA2019-11-241-4/+11
| | | | | | test/unit/project_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19243 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/AlignArguments in test/unit/project_test.rbToshi MARUYAMA2019-10-231-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up test/unit/project_test.rbToshi MARUYAMA2019-10-151-2/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs and Layout/EmptyLines ↵Toshi MARUYAMA2019-10-151-1/+0
| | | | | | in app/models/version.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in ↵Toshi MARUYAMA2019-10-141-6/+6
| | | | | | test/unit/project_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18648 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reject project custom field values not visible for the user (#31954, #31925).Go MAEDA2019-08-271-0/+24
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18401 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Some issue fixtures are set inconsistent tracker id which is not available ↵Go MAEDA2019-06-211-0/+1
| | | | | | | | | in the project (#31053). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18309 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
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let admin users unarchive subprojects of archived projects (#29993).Jean-Philippe Lang2018-12-021-5/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failures with sqlite3.Jean-Philippe Lang2018-09-231-9/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17502 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add CSS class to identify public projects (#28413).Go MAEDA2018-07-221-0/+9
| | | | | | | Patch by Sho HASHIMOTO. git-svn-id: http://svn.redmine.org/redmine/trunk@17452 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show statuses of project trackers only (#5385).Jean-Philippe Lang2017-05-271-0/+15
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failures.Jean-Philippe Lang2017-03-031-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unarchive link not working for subprojects of closed projects (#24595).Jean-Philippe Lang2016-12-131-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use assert_nil instead of assert_equal.Jean-Philippe Lang2016-12-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #update! instead of #update_attribute.Jean-Philippe Lang2016-07-161-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15678 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't call #slice on proxy.Jean-Philippe Lang2016-07-161-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .distinct instead of .uniq.Jean-Philippe Lang2016-07-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Project.uniq.visible errors under certain conditions (#21182).Jean-Philippe Lang2015-11-091-0/+9
| | | | | | Patch by Redmine CRM. git-svn-id: http://svn.redmine.org/redmine/trunk@14857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed invalid search link on the new project form (#20565).Jean-Philippe Lang2015-09-201-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14614 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project.copy_from deletes enabled_modules on source (#20512).Jean-Philippe Lang2015-08-181-1/+14
| | | | | | Fix by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@14508 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a few tests.Jean-Philippe Lang2014-12-031-0/+25
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop shoulda.Jean-Philippe Lang2014-11-301-12/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to test/unit/project_test.rbToshi MARUYAMA2014-11-031-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13548 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-2/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81