summaryrefslogtreecommitdiffstats
path: root/app/models/repository
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix code indent at app/models/repository/cvs.rbToshi MARUYAMA2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "where" instead of find_by_ at Repository::Cvs classToshi MARUYAMA2015-01-181-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r13901Toshi MARUYAMA2015-01-181-10/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13903 e93f8b46-1217-0410-a6f0-8f06a7374b81
* workaround unit cvs test failure on sqlite3Toshi MARUYAMA2015-01-181-3/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-117-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds configuration settings to limit valid repository path (#1415).Jean-Philippe Lang2014-11-081-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-224-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo of app/models/repository/mercurial.rbToshi MARUYAMA2014-05-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13129 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo of app/models/repository/cvs.rbToshi MARUYAMA2014-05-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13128 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/models/repository/cvs.rbToshi MARUYAMA2014-04-151-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13089 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of Repository::Cvs modelToshi MARUYAMA2014-02-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: insert long id to DB unless existing id in DB is not short ↵Toshi MARUYAMA2014-02-021-2/+8
| | | | | | id (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: switch short or long id of entry by existing value in DB ↵Toshi MARUYAMA2014-02-021-2/+15
| | | | | | (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: override entry and scm_entries (#14361)Toshi MARUYAMA2014-02-021-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add method to switch short or long id by existing value in ↵Toshi MARUYAMA2014-02-021-5/+17
| | | | | | DB (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: split Repository#entries (#14361)Toshi MARUYAMA2014-02-024-10/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* back out r12752 (#14361)Toshi MARUYAMA2014-02-011-11/+3
| | | | | | Revision, Author and Comment of repository browser are broken. git-svn-id: http://svn.redmine.org/redmine/trunk@12753 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use long id in adapter level (#14361)Toshi MARUYAMA2014-02-011-3/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split Repository::Mercurial#latest_changesets_cond for short ↵Toshi MARUYAMA2014-02-011-2/+13
| | | | | | and long id (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use 12 chars id for format_changeset_identifier (#14361)Toshi MARUYAMA2014-02-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Repository::Git modelToshi MARUYAMA2014-01-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12743 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format clean up Repository::Git modelToshi MARUYAMA2014-01-311-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12742 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-297-7/+7
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Repository::Subversion modelToshi MARUYAMA2014-01-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12730 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format cleanup Repository::Subversion modelToshi MARUYAMA2014-01-271-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* backout r12562 : remove unneeded Relation#all from ↵Toshi MARUYAMA2014-01-091-1/+2
| | | | | | Repository::Mercurial#latest_changesets git-svn-id: http://svn.redmine.org/redmine/trunk@12567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Repository::Mercurial#latest_changesetsToshi MARUYAMA2014-01-091-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup of finders with :conditions option.Jean-Philippe Lang2013-06-123-35/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use %r{} instead of // at app/models/repository/subversion.rbToshi MARUYAMA2013-03-071-1/+1
| | | | | | Syntax highlight is broken in gedit 2.28.4 on CentOS 6. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11543 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-127-7/+7
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Repository changesets are already sorted by committed_on DESC (#12713).Jean-Philippe Lang2013-01-031-2/+1
| | | | | | SQLServer raises an error because committed_on is specified twice in the order by list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use \A and \z in validation regexps.Jean-Philippe Lang2012-12-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-5/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix tests fail when extra_info is nil (#12409)Toshi MARUYAMA2012-11-211-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix changesets aren't read after clear_changesets call (#12409)Toshi MARUYAMA2012-11-211-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: bazaar: use log encoding as path encoding (#11834)Toshi MARUYAMA2012-09-181-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10420 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: bazaar: remove unused scm.revisions ":with_paths => true" option from ↵Toshi MARUYAMA2012-09-161-1/+1
| | | | | | fetch_changesets method git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10399 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes repository url read-only after saving.Jean-Philippe Lang2012-06-201-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Safe attributes for repositories.Jean-Philippe Lang2012-06-191-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Subversion#load_entries_changesets raises an error if entries is nil.Jean-Philippe Lang2012-06-121-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use Rails3 ActiveRecord syntax with same as git r9807 at ↵Toshi MARUYAMA2012-06-111-4/+4
| | | | | | find_changeset_by_name git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-06-101-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9808 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-06-101-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Faster changesets loading for subversion.Jean-Philippe Lang2012-06-101-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a method to load changesets for repository entries.Jean-Philippe Lang2012-06-105-7/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed #changes association to #filechanges (clash with AR::Base.changes ↵Jean-Philippe Lang2012-06-032-5/+5
| | | | | | that triggers errors with Rails 3.2.5). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-056-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81