Jacob Vosmaer
cb13980db8
Let gitlab-git-http-server handle archive downloads
...
This change relies on changes in gitlab_git and gitlab-git-http-server.
2015-10-08 17:12:00 +02:00
Jeroen van Baarsen
5a4ebfb47a
Fixed the Rails/ActionFilter cop
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Douwe Maan
91761b0685
Add tests.
2015-03-31 13:37:21 +02:00
Douwe Maan
2cfd0b59ae
Archive repositories in background worker.
2015-03-31 12:52:20 +02:00
Dmitriy Zaporozhets
1da71cc520
Introduce shortcuts for routing helpers
2015-02-25 19:34:16 -08:00
Vinnie Okada
2a9eed6620
Merge branch 'master' into rails-4.1.9
...
Conflicts:
app/views/projects/commits/_commit.html.haml
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue_context.html.haml
app/views/projects/merge_requests/_merge_request.html.haml
app/views/projects/merge_requests/show/_context.html.haml
2015-02-21 12:55:28 -07:00
Douwe Maan
00408f37e3
Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404.
2015-02-20 17:20:03 +01:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
9d93729313
Move projects import to separate resource. Add bare repo creation to repository controller
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 00:50:25 +02:00
Valery Sizov
6f34d40436
remove auth duplication
2014-11-05 11:04:08 +02:00
Ciro Santilli
4d0d5e79ba
Factor authorize_push! and authorize_code_access!
...
with existing method_missing. Pattern already used extensively,
so let's be consistent and use it everywhere.
2014-10-13 21:31:49 +02:00
Dmitriy Zaporozhets
20e0c9b132
Rewrite graphs feature
...
* remove commits stats page (will be replaced by graphs)
* remove additions/deletions from graph because of bad performance
* keep graph logic in gitlab
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-26 18:04:41 +03:00
Dmitriy Zaporozhets
619c81b488
Fix Commit stats and diff encoding issues
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 15:26:35 +03:00
Dmitriy Zaporozhets
1d63464c82
Fix repository archive
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-13 21:28:22 +03:00
Dmitriy Zaporozhets
593e262e40
Fix 500 on repo archive download
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-08 14:55:20 +03:00
ahmyi
4d051e987f
Archive with content-length header
2014-07-03 11:05:51 +08:00
ahmyi
dce6cb2d84
Content-length defined in header response
...
Enable Content-Length to be defined in header response
2014-07-03 10:57:01 +08:00
Marin Jankovski
b2959c4102
Remove archives older than 2 hours.
2014-04-09 15:09:11 +02:00
Jacob Vosmaer
200eeea258
Make the repository downloads path configurable
2014-03-31 12:19:37 +02:00
Jason Hollingsworth
7cc2520541
Add support for various archive formats.
...
Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext}
2014-01-02 10:18:56 -06:00
Dmitriy Zaporozhets
88c741dde0
Refactor recent branches page
2013-08-05 17:59:58 +03:00
Dmitriy Zaporozhets
132caae734
Move repo tags to own controller. add ability to remove tags
2013-07-16 23:12:52 +03:00
Dmitriy Zaporozhets
7a167cf1f7
Move branches list to own controller with pagination. Ability to remove branches from UI
2013-07-16 22:19:07 +03:00
Dmitriy Zaporozhets
2ed7cbfba4
Move projects controllers/views in Projects module
2013-06-23 19:47:22 +03:00