summaryrefslogtreecommitdiffstats
path: root/app/models/repository
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22910, r22924, r22928 and r22929 from trunk to 5.1-stable (#40948).Marius Balteanu2024-07-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-276-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/RedundantSafeNavigation (#36919).Go MAEDA2023-06-071-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-173-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-016-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary disabling of RuboCop Rails/Pluck (#37248).Go MAEDA2022-10-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Pluck (#37248).Go MAEDA2022-10-281-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantStringEscape (#36919).Go MAEDA2022-10-261-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).Go MAEDA2022-09-251-3/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the safe navigation operator instead of checking if an object is nil ↵Go MAEDA2022-09-251-6/+3
| | | | | | | | | (#37614). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/GuardClause (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/IfUnlessModifier (#37614).Go MAEDA2022-09-251-9/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SymbolProc (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Blank (#37614).Go MAEDA2022-09-251-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rename Repository#supports_all_revisions? to Repository#supports_history? ↵Go MAEDA2022-09-151-1/+1
| | | | | | | | | (#37657). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-026-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-256-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of app/models/repository/cvs.rbToshi MARUYAMA2020-11-261-18/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to app/models/repository/bazaar.rbToshi MARUYAMA2020-10-271-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20215 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to app/models/repository/mercurial.rbToshi MARUYAMA2020-09-171-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/repository/mercurial.rbToshi MARUYAMA2020-09-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20024 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of app/models/repository/git.rbToshi MARUYAMA2020-09-121-9/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20019 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/repository/git.rbToshi MARUYAMA2020-07-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use a normal unless-statement over a modifier clause in a multiline ↵Toshi MARUYAMA2020-07-091-14/+16
| | | | | | statement at app/models/repository/bazaar.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19875 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-036-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MultilineIfModifier in ↵Toshi MARUYAMA2019-11-231-12/+15
| | | | | | app/models/repository/subversion.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19215 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in ↵Toshi MARUYAMA2019-11-231-0/+1
| | | | | | app/models/repository/subversion.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19214 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/repository/git.rbToshi MARUYAMA2019-11-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in ↵Toshi MARUYAMA2019-11-221-0/+4
| | | | | | app/models/repository/git.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideParens in ↵Toshi MARUYAMA2019-11-081-1/+1
| | | | | | app/models/repository/mercurial.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in ↵Toshi MARUYAMA2019-11-081-3/+3
| | | | | | app/models/repository/cvs.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in app/models/repository/cvs.rbToshi MARUYAMA2019-11-081-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18943 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/ParenthesesAroundCondition in ↵Toshi MARUYAMA2019-09-241-1/+1
| | | | | | app/models/repository/bazaar.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18512 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceInsideRangeLiteral in ↵Toshi MARUYAMA2019-09-241-1/+1
| | | | | | app/models/repository/cvs.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18507 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/CommentedKeyword in ↵Toshi MARUYAMA2019-09-201-1/+1
| | | | | | app/models/repository/cvs.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-256-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-251-1/+1
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
| | | | | | | 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-176-8/+8
| | | | | | | 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-156-0/+12
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-062-3/+3
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop Darcs support (#26391).Jean-Philippe Lang2017-07-251-114/+0
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-235-5/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-257-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* spelling fixes (#25495)Toshi MARUYAMA2017-04-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use exists? instead of count (#24839).Jean-Philippe Lang2017-01-161-1/+1
| | | | | | Patch by Vincent Robert and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds accessors for report_last_commit.Jean-Philippe Lang2016-10-041-5/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-137-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate the repository when updating/clearing extra info (#19400).Jean-Philippe Lang2015-03-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14143 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2015-03-081-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14055 e93f8b46-1217-0410-a6f0-8f06a7374b81