# HG changeset patch # User Chris Cannam # Date 1301566407 -3600 # Node ID a0956f78f39c54661d7d760bc5903a9e7b5eef3c # Parent b9d158e46acb88b8e52569a36daf45d250679a1d# Parent 3564e1ae2ff7213987b57f84bc92497ae08b3f3a Merge diff -r 3564e1ae2ff7 -r a0956f78f39c app/controllers/files_controller.rb --- a/app/controllers/files_controller.rb Thu Mar 31 11:13:21 2011 +0100 +++ b/app/controllers/files_controller.rb Thu Mar 31 11:13:27 2011 +0100 @@ -8,7 +8,7 @@ include SortHelper def index - sort_init 'active', 'asc' + sort_init 'active', 'desc' sort_update 'filename' => "#{Attachment.table_name}.filename", 'active' => "#{Attachment.table_name}.active", 'created_on' => "#{Attachment.table_name}.created_on", diff -r 3564e1ae2ff7 -r a0956f78f39c extra/soundsoftware/reposman-soundsoftware.rb --- a/extra/soundsoftware/reposman-soundsoftware.rb Thu Mar 31 11:13:21 2011 +0100 +++ b/extra/soundsoftware/reposman-soundsoftware.rb Thu Mar 31 11:13:27 2011 +0100 @@ -346,14 +346,5 @@ log("\trepository #{repos_path} created"); end - if project.respond_to?(:repository) and project.repository.is_external? - external_url = project.repository.external_url; - log("\tproject #{project.identifier} has external repository url #{external_url}"); - if !external_url.match(/^https?:/) - # wot about git, svn/svn+ssh, etc? should we just check for a scheme at all? - log("\tthis is not an http(s) url: ignoring"); - end - end - end