Commit graph

14 commits

Author SHA1 Message Date
Alessio Caiazza
867a1acc90
Move Projects::ReleasesController under Tags
Rename Projects::ReleasesController to
Projects::Tags::ReleasesController
2018-12-18 11:07:31 +01:00
Kia Mei Somabes
c03bc268be Transfer to commits_controller, add test, and update changelog 2018-07-24 08:04:16 +08:00
Kia Mei Somabes
11d56a1551 Redirect commits to root_ref if no ref is provided 2018-07-20 16:13:29 +08:00
Marc
0aa1f53d10 Add signature verification badge to compare view 2018-05-07 08:41:36 +00:00
James Ramsay
07f517d441 Add new repository archive route
Repository archives are always named `<project>-<ref>-<sha>` even if
the ref is a commit. A consequence of always including the sha even
for tags is that packaging a release is more difficult because both
the ref and sha must be known by the packager.

- add `<project>/-/archive/<ref>/<filename>.<format>` route using the
`-` separator to prevent namespace collisions. If the filename is
`<project>-<ref>` or the ref is a sha, the sha will be omitted,
otherwise the default filename will be used.
- deprecate previous archive route `repository/<ref>/archive`
2018-04-06 08:45:17 -04:00
Takuya Noguchi
580d895363 Add overview of branches and a filter for active/stale branches 2018-03-06 21:28:14 +09:00
Robert Speicher
4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
haseeb
892ddd386a alternative route for download archive 2017-08-10 08:49:11 +00:00
haseeb
4974f1ef86 fix #3686 make tarball download url to end with extension 2017-08-03 16:44:48 +00:00
Alexis Reigel
eda001565c fetch gpg signature badges by ajax 2017-07-27 15:46:03 +02:00
Douwe Maan
43b1750892 Revert "Remove changes that are not absolutely necessary"
This reverts commit b0498c176f
2017-05-24 20:59:26 +00:00
Douwe Maan
00c4e14103 Remove format from end of URL for URLs that take a ref or path 2017-04-17 19:03:21 -05:00
Dmitriy Zaporozhets
6683fdcfb0
Add nested groups support to the routing
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-11-23 14:08:36 +02:00
Dmitriy Zaporozhets
41990128a3
Refactor project routing
* split on multiple files
* improve routing order

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-11-07 17:14:34 +02:00