summaryrefslogtreecommitdiffstats
path: root/app/controllers/trees_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make sure tarballs are generated with a prefixJohan Sørensen2009-09-071-0/+1
| | | | Otherwise we may litter a users directory with our junk
* Handle requests for invalid refs in TreesController#archive by redirecting ↵Marius Mathiesen2009-05-121-1/+1
| | | | to the default tree (HEAD)
* Fixed tests for the TreesController#archiveJohan Sørensen2009-05-091-1/+1
|
* Make the tree archiver deal gracefully with the hashed_path subdirs byJohan Sørensen2009-05-091-1/+1
| | | | replacing the slashes
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+4
|
* Introduce a stale_conditional? controller helper for not setting conditional GETJohan Sørensen2009-04-221-1/+2
| | | | | | headers of there's data in the flash When used, it prevents a certain amount of foot shooting related incidents
* Handle missing tree SHA1s gracefullyJohan Sørensen2009-04-221-5/+11
|
* Rename install_site_before_filters to renders_in_site_specific_context andJohan Sørensen2009-04-221-1/+1
| | | | | | | introduce a renders_in_global_context controller class method as well. This lets us control in the Site context in which specific actions or controllers as a whole are rendered in.
* Redirect to the current_site's subdomain, if it has one and it's a GET requestJohan Sørensen2009-04-221-0/+1
|
* Set the correct filename header for the tarball filenameJohan Sørensen2009-04-221-3/+3
|
* Conditional GETs on trees and blobsJohan Sørensen2009-04-221-6/+8
|
* Use the builtin expires_in instead of the home-rolled cache_for for setting ↵Johan Sørensen2009-04-221-1/+1
| | | | | | max-age, This also uses the correct format on the header.
* Introduce a repo_owner_path() helper that takes care of figuring out how toJohan Sørensen2009-04-221-2/+2
| | | | | namespace a given repository url based on the repos kind. Useful when linking/redirecting to a repository (and any subresources)
* Enable caching in trees controller (via application controller)Marius Mathiesen2009-04-221-0/+1
|
* Show the archive-box right away and don't put items on the queue if it looksJohan Sørensen2009-04-221-1/+3
| | | | like a worker has already begun archiving it
* Make tarball generation being done outside of rails.Johan Sørensen2009-04-221-8/+52
| | | | | | | This leaves the rails app doing better things, and allows us to create a better UI, since the user gets some instant feedback. It also means that generated tarballs are cached on-disk once they're generated
* Work around a rails 2.3 bug, until we have time to fix it properJohan Sørensen2009-04-221-2/+4
|
* Fix browsing trees at a specific commit shaJohan Sørensen2009-04-221-1/+2
|
* - Merged the logscontroller into a more unified commits controllerJohan Sørensen2009-04-221-8/+10
| | | | - Support namespaced branches with an uri alá /tree/branch/subbranch/path/in/repo
* Adding breadcrumb support:Marius Mathiesen2009-04-221-0/+1
| | | | | | | | | | - Adding a Breadcrumb module w/specs - Setting a root in LogsController - Setting a root in TreesController - Adding a Breadcrumb helper, include in Logs-, Repositories- and Projects helpers - Replacing navigation in Logs#show, Projects#show, Repositories#show and Trees#show (Temporarily?) removing the site menu.
* Make trees+logs controllers support head_candidates that is a name spaced branchJohan Sørensen2009-01-151-1/+1
|
* Major refactoring of the whole Gitorious project. I've added both ↵Fabio Akita2009-01-091-1/+1
| | | | localized_date and localied_templates plugin and I've extracted every single string that could be translated. Now you have both locales/en.rb and locales/pt-BR.rb as well as views/pt-BR for localized static pages and email templates. I have not added a locale field in the User model - yet, so you have to change gitorious.yml to change it globally
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+17
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* Refactored BrowseController into several specific controllersJohan Sørensen2008-03-171-0/+35
Grouped by responsibility Trees, Blobs, Commits and Logs