summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).Go MAEDA2024-09-011-7/+7
| | | | | | | Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant. git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-215-13/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in ↵Go MAEDA2024-08-121-3/+3
| | | | | | rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove commented-out dead code and fix RuboCop offense ↵Go MAEDA2024-08-121-1/+0
| | | | | | Layout/LeadingCommentSpace (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22952 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses ↵Go MAEDA2024-08-122-2/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-2610-10/+10
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuntimeError on `reload!` in the Rails console (#38155).Go MAEDA2024-02-051-0/+1
| | | | | | | Patch by Thomas Löber (@tloeber). git-svn-id: https://svn.redmine.org/redmine/trunk@22681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ScmData.binary? method not to consider UTF-8 text as binary (#40020).Go MAEDA2024-01-301-1/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace regular expression matches with String#start_with? / end_with? (#40010).Go MAEDA2024-01-114-12/+12
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing copyrights (#37730).Marius Balteanu2023-11-261-0/+17
| | | | | | Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated methods in Repository and AbstractAdapter (#39558).Marius Balteanu2023-11-181-12/+0
| | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantRegexpArgument (#36919).Go MAEDA2023-06-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantArrayConstructor (#36919).Go MAEDA2023-06-071-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "View annotation prior to this change" button in the annotate view of ↵Go MAEDA2023-04-302-3/+9
| | | | | | | | | Git (#35432). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Presence in ↵Go MAEDA2023-03-241-2/+2
| | | | | | lib/redmine/scm/adapters/abstract_adapter.rb (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22150 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/MissingSuper (#36919).Go MAEDA2023-03-246-23/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/ConstantRegexp (#38146).Go MAEDA2023-01-111-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22029 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).Go MAEDA2023-01-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-019-9/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix repository browser does not show \"+\" (plus sign) in filename (#37718).Marius Balteanu2022-10-021-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support revision without any message in Mercurial repositories (#36258).Go MAEDA2022-09-011-1/+1
| | | | | | | Patch by salman mp and Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@21792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/LineLength due to r21785 (#37586).Go MAEDA2022-09-011-2/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21791 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo in an argument name: s/trailling/trailing/ (#37586).Go MAEDA2022-08-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo in method names: s/trailling/trailing/ (#37586).Go MAEDA2022-08-283-6/+16
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix unnecessary requirement in ↵Go MAEDA2022-08-251-1/+0
| | | | | | | | | /lib/redmine/scm/adapters/filesystem_adapter.rb (#37587). Contributed by Mischa The Evil. git-svn-id: https://svn.redmine.org/redmine/trunk@21780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use start_with? or end_with? to check the first or last character of a ↵Go MAEDA2022-08-241-3/+3
| | | | | | | | | string (#37591). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-029-9/+9
| | | | 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-1/+1
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use File.exist? instead of deprecated File.exists? (#36358).Go MAEDA2021-12-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stricter validation of given revisions of repositories (#35085).Go MAEDA2021-04-233-0/+29
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for Git repositories with default branch "main" (#34942).Go MAEDA2021-03-261-7/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-259-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant 'return' from lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2020-12-121-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant 'return' from lib/redmine/scm/adapters/bazaar_adapter.rbToshi MARUYAMA2020-12-121-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20644 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2020-12-121-38/+50
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/mercurial_adapter.rbToshi MARUYAMA2020-12-021-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20537 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2020-11-301-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2020-11-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2020-11-201-10/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/mercurial_adapter.rbToshi MARUYAMA2020-10-281-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20223 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2020-10-271-16/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20214 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/abstract_adapter.rbToshi MARUYAMA2020-10-271-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/filesystem_adapter.rbToshi MARUYAMA2020-10-261-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/bazaar_adapter.rbToshi MARUYAMA2020-10-261-26/+30
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20193 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/filesystem_adapter.rbToshi MARUYAMA2020-10-241-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/subversion_adapter.rbToshi MARUYAMA2020-10-241-29/+41
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use match? instead of =~ when MatchData is not used (#34150).Go MAEDA2020-10-232-7/+7
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove extra empty line at class body beginning of ↵Toshi MARUYAMA2020-10-051-1/+0
| | | | | | lib/redmine/scm/adapters/bazaar_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20125 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove space inside parentheses from lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2020-10-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20101 e93f8b46-1217-0410-a6f0-8f06a7374b81