summaryrefslogtreecommitdiffstats
path: root/app/models/project.rb
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/models/project.rbToshi MARUYAMA2019-11-091-10/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19049 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/BlockAlignment in app/models/project.rbToshi MARUYAMA2019-11-091-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19009 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in app/models/project.rbToshi MARUYAMA2019-11-091-6/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/ParenthesesAroundCondition in ↵Toshi MARUYAMA2019-10-221-2/+2
| | | | | | app/models/project.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/WhileUntilModifier in app/models/project.rbToshi MARUYAMA2019-10-191-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reject project custom field values not visible for the user (#31954, #31925).Go MAEDA2019-08-271-0/+17
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18401 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Fix Style/IdenticalConditionalBranches in ↵Go MAEDA2019-08-201-8/+2
| | | | | | app/models/project.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Per role visibility settings for project custom fields (#31925).Go MAEDA2019-08-201-0/+7
| | | | | | | Patch by Jens Krämer and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Rails/ActiveRecordAliasesGo MAEDA2019-08-171-1/+1
| | | | | | | update_attributes is deprecated in Rails 6.0 and will be removed in Rails 6.1 (#29914). git-svn-id: http://svn.redmine.org/redmine/trunk@18375 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
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-3/+3
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17987 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
* Translation missing error in "Project's Status" filter options (#30718).Go MAEDA2019-02-151-6/+0
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let admin users unarchive subprojects of archived projects (#29993).Jean-Philippe Lang2018-12-021-8/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter issues after project status (#20081).Go MAEDA2018-10-291-0/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add CSS class to identify public projects (#28413).Go MAEDA2018-07-221-0/+1
| | | | | | | Patch by Sho HASHIMOTO. git-svn-id: http://svn.redmine.org/redmine/trunk@17452 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy project attachments (#26622).Go MAEDA2018-05-131-0/+5
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy version attachments (i.e. Files) along with the versions on project ↵Go MAEDA2018-05-131-0/+5
| | | | | | | | | copy (#26622). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17332 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy wiki attachments on project copy (#10282).Go MAEDA2018-04-281-0/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17315 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to copy documents along with projects (#26621).Go MAEDA2018-04-281-1/+16
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes deprecated methods.Jean-Philippe Lang2017-07-231-13/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16871 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-7/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace tabs with spaces (#26333).Toshi MARUYAMA2017-07-041-2/+2
| | | | | | Patched by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16753 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
* Set inverse_of on project boards association.Jean-Philippe Lang2017-06-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16659 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Using #joins is needed here with Rails 5.Jean-Philippe Lang2017-06-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16608 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Statuses of subprojects should be showed too (#5385).Jean-Philippe Lang2017-05-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16576 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show statuses of project trackers only (#5385).Jean-Philippe Lang2017-05-271-0/+12
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to set a default assignee on each project (#482).Jean-Philippe Lang2017-04-081-1/+3
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16525 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't compare LOWER() with #downcase.Jean-Philippe Lang2017-04-041-5/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16480 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Query through multiple projects by issue custom field not possible anymore ↵Jean-Philippe Lang2017-04-031-0/+17
| | | | | | (#25501). git-svn-id: http://svn.redmine.org/redmine/trunk@16467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset status when copying issues (#23610).Jean-Philippe Lang2017-04-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up sort orders.Jean-Philippe Lang2017-01-311-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16321 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time entry queries should be copied and deleted too.Jean-Philippe Lang2017-01-311-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16320 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes default order on Project#versions association.Jean-Philippe Lang2017-01-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use EXISTS instead of IN subquery (#21608).Jean-Philippe Lang2017-01-211-1/+1
| | | | | | Patch by Ondřej Ezr. git-svn-id: http://svn.redmine.org/redmine/trunk@16242 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds updated_by and last_updated_by filters on issues (#17720).Jean-Philippe Lang2017-01-191-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Speeds up Project.allowed_to_condition for users who belong to hundreds of ↵Jean-Philippe Lang2017-01-031-3/+3
| | | | | | projects. git-svn-id: http://svn.redmine.org/redmine/trunk@16124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unarchive link not working for subprojects of closed projects (#24595).Jean-Philippe Lang2016-12-131-2/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enforce issue assignee validation (#23921).Jean-Philippe Lang2016-12-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't return 2 errors when identifier is blank (blank + too short).Jean-Philippe Lang2016-11-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Speedup remove_inherited_roles (#22850).Jean-Philippe Lang2016-10-021-1/+1
| | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@15883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds pagination to admin project list.Jean-Philippe Lang2016-08-301-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable "Select project modules" permission does not apply to the new ↵Jean-Philippe Lang2016-08-301-2/+18
| | | | | | project form (#23470). git-svn-id: http://svn.redmine.org/redmine/trunk@15752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that restricted custom permissions on for non member/anonymous does ↵Jean-Philippe Lang2016-08-301-1/+3
| | | | | | not work (#23655). git-svn-id: http://svn.redmine.org/redmine/trunk@15750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't pass conditions to #delete_all.Jean-Philippe Lang2016-07-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .distinct instead of .uniq.Jean-Philippe Lang2016-07-141-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Assignable users should not include users that cannot view the tracker (#23172).Jean-Philippe Lang2016-06-281-2/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limits the tracker list in filters and issue counts (#285).Jean-Philippe Lang2016-06-181-10/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81