summaryrefslogtreecommitdiffstats
path: root/app/controllers/repositories_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't respond with the error template when annotate is not available.Jean-Philippe Lang2016-07-171-8/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15694 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use head instead of render :nothing => true.Jean-Philippe Lang2016-07-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't force download of PDF (#22483).Jean-Philippe Lang2016-05-091-1/+9
| | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add view for "no preview" repository files (#22482).Jean-Philippe Lang2016-05-081-13/+15
| | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15397 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-071-2/+3
| | | | | | | | | | | | | | Depending on the offset between a user's configured timezone and the server timezone, Date.today may be more or less often wrong from the user's perspective, leading to things like issues marked as overdue too early or too late, or yesterday / tomorrow being displayed / selected where 'today' is intended. A test case illustrating the problem with Issue#overdue? is included Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add inline image preview/display for attachments and repository entries ↵Jean-Philippe Lang2016-04-111-1/+3
| | | | | | | | (#22058). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed undefined method `compact!' error when additional_user_ids is empty ↵Jean-Philippe Lang2015-03-071-1/+1
| | | | | | (#19253). git-svn-id: http://svn.redmine.org/redmine/trunk@14053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move some RepositoriesController logic to Repository#stats_by_author (#13487).Jean-Baptiste Barth2014-08-261-9/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo at app/controllers/repositories_controller.rbToshi MARUYAMA2014-04-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated find_all_by_* at RepositoriesController#committersToshi MARUYAMA2014-01-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12615 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed uninitialized constant Redmine::Scm::Adapters::CommandFailed error ↵Jean-Philippe Lang2013-11-111-1/+1
| | | | | | when reloading in development mode. git-svn-id: http://svn.redmine.org/redmine/trunk@12273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept issue id with leading sharp when adding a related issue.Jean-Philippe Lang2013-11-091-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup of finders with :conditions option.Jean-Philippe Lang2013-06-121-8/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* increase base height of author lines on 'Commits per author' graph (#14068, ↵Toshi MARUYAMA2013-05-161-1/+1
| | | | | | | | #1983) Contributed by Mischa The Evil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable autofetching of repository changesets if projects are closed (#13945).Jean-Philippe Lang2013-05-121-1/+1
| | | | | | Patch by Mischa The Evil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11838 e93f8b46-1217-0410-a6f0-8f06a7374b81
* make height of "Commits per author" graph flexible (#1983, #13486)Toshi MARUYAMA2013-04-181-1/+1
| | | | | | Contributed by Max Horn. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11723 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #per_page instead of #items_per_page.Jean-Philippe Lang2013-02-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecation warnings (#12774).Jean-Philippe Lang2013-01-081-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-4/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-space from app/controllers/repositories_controller.rbToshi MARUYAMA2012-10-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* JQuery in, Prototype/Scriptaculous out (#11445).Jean-Philippe Lang2012-07-221-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes RJS from RepositoriesController.Jean-Philippe Lang2012-07-191-25/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10048 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Safe attributes for repositories.Jean-Philippe Lang2012-06-191-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show repository images inline when clicking 'View' (#10362).Jean-Philippe Lang2012-06-071-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* route: scm: split entry and raw actionsToshi MARUYAMA2012-05-051-1/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix creating and updating repositoryToshi MARUYAMA2012-05-031-2/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9616 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed error on commits per month graph (#10806).Jean-Philippe Lang2012-05-011-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a "Manage related isses" permission to add/remove commits/issues ↵Jean-Philippe Lang2012-02-051-6/+54
| | | | | | relations manually from the changeset view (#2009). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use a disabled SCM as a default repository SCM (#779).Jean-Philippe Lang2012-01-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8653 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for multiple repositories per project (#779).Jean-Philippe Lang2012-01-151-9/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Resourcified repositories for CRUD operations to prepare for multiple SCM ↵Jean-Philippe Lang2012-01-151-37/+49
| | | | | | per project (#779). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved Date months/weeks calculations used in Graph to lib.Etienne Massip2012-01-071-10/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed code duplicated in lib.Etienne Massip2011-12-141-6/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* do not annotate text files which exceed the size limit for viewing (#9484)Toshi MARUYAMA2011-11-051-1/+10
| | | | | | Contributed by Antonio García-Domínguez. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: controller: include parents in changesets (#5501)Toshi MARUYAMA2011-11-031-1/+1
| | | | | | Contributed by Jan Topiński. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7715 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: controller: repositories: use to_s for revision parameterToshi MARUYAMA2011-10-091-1/+1
| | | | | | | | | | | | On Rails 3.0 and Ruby 1.8.7, following error raises. Error: test_revision(RepositoriesControllerTest): NoMethodError: undefined method `strip' for 1:Fixnum app/controllers/repositories_controller.rb:252:in `find_repository' test/functional/repositories_controller_test.rb:44:in `test_revision' git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/controllers/repositories_controller.rb.Toshi MARUYAMA2011-08-311-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Separation of RSS/API auth actions.Jean-Philippe Lang2011-07-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not cache I18n strings when truncating a long diff (#5089).Jean-Baptiste Barth2011-06-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6073 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up repositories controller.Toshi MARUYAMA2011-05-211-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5875 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: remove trailing white-spaces from repositories controller.Toshi MARUYAMA2011-05-211-10/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5874 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: use repository merge_extra_info() to save extra_ parameter (#8365, #7047).Toshi MARUYAMA2011-05-131-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5770 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: switch to save repository setting params in "extra_" or not (#8365, #7047).Toshi MARUYAMA2011-05-131-1/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5769 e93f8b46-1217-0410-a6f0-8f06a7374b81