Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-09 | Fix handling of annotated tags when Gitaly is not in use | Stan Hu | |
Attempting to view an annotated tag in the TreeController would result in `NoMethodError: undefined method 'tree'` when Rugged was in use. `Blob#find_by_rugged` assumes that the ref is a true. Using the commit ID ensures that the right ref is being used. Note that in 11.1, `Blob#find` no longer uses Rugged, so this is only a bug in 11.0. Closes gitlab-org/gitlab-ce#47797 | |||
2018-01-31 | Enable RuboCop Style/RegexpLiteral | Takuya Noguchi | |
2017-12-15 | Backport changes from EE | Lin Jen-Shin | |
2017-12-15 | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules | Lin Jen-Shin | |
* upstream/master: (671 commits) Make rubocop happy Use guard clause Improve language Prettify Use temp branch Pass info about who started the job and which job triggered it Docs: add indexes for monitoring and performance monitoring clearer-documentation-on-inline-diffs Add docs for commit diff discussion in merge requests sorting for tags api Clear BatchLoader after each spec to prevent holding onto records longer than necessary Include project in BatchLoader key to prevent returning blobs for the wrong project moved lfs_blob_ids method into ExtractsPath module Converted JS modules into exported modules spec fixes Bump gitlab-shell version to 5.10.3 Clear caches before updating MR diffs Use new Ruby version 2.4 in GitLab QA images moved lfs blob fetch from extractspath file Update GitLab QA dependencies ... | |||
2017-12-14 | moved lfs_blob_ids method into ExtractsPath module | Phil Hughes | |
2017-12-14 | moved lfs blob fetch from extractspath file | Phil Hughes | |
2017-12-11 | fixed project homepage not having correct variable | Phil Hughes | |
2017-11-22 | Move ModuleWithInstanceVariables to Gitlab namespace | Lin Jen-Shin | |
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude. | |||
2017-11-17 | Use StrongMemoize and enable/disable cops properly | Lin Jen-Shin | |
2017-09-18 | Allow simple ivar ||= form. Update accordingly | Lin Jen-Shin | |
2017-09-18 | Add cop to make sure we don't use ivar in a module | Lin Jen-Shin | |
2017-07-05 | Create and use project path helpers that only need a project, no namespace | Douwe Maan | |
2017-03-01 | Enable and autocorrect the CustomErrorClass cop | Sean McGivern | |
2017-02-23 | Stylistic tweaks | Douwe Maan | |
2017-02-23 | Enable Performance/RedundantMatch | Douwe Maan | |
2016-11-06 | Remove 'extended_sha1' option from ExtractsPath module | Hiroyuki Sato | |
2016-11-06 | Network page appear with an error message when entering nonexistent git revision | Hiroyuki Sato | |
2016-10-15 | Improve ExtractsPath logic related to atom format | Dmitriy Zaporozhets | |
* Don't set request format to atom if '.atom' suffix was not provided * Don't try '.atom' detection logic on request that uses extended_sha1 Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2016-10-11 | Allow browsing branches that end with '.atom' | Sean McGivern | |
We need to do two things to support this: 1. Simplify the regex capture in the routing for the CommitsController to not exclude the '.atom' suffix. That's a perfectly valid git branch name, so we shouldn't blow up if we get it. 2. Because Rails now can't automatically detect the request format, add some code to do so in `ExtractPath` when there is no path. This means that, given branches 'foo' and 'foo.atom', the Atom feed for the former is unroutable. To fix this: don't do that! Give the branches different names! | |||
2016-08-24 | Restore get_id in ExtractsPath | winniehell | |
2016-08-19 | Do not escape URI when extracting path (!5878) | winniehell | |
2016-08-11 | Fix front-end for branches that happen to contain urlencoding escape ↵ | Elliot | |
characters (e.g. %) Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2015-10-13 | Only render 404 page from /public | Valery Sizov | |
2015-08-02 | Fix "Network" and "Graphs" pages for branches with encoded slashes | Stan Hu | |
Closes #1359 | |||
2015-07-01 | Extract the longest-matching ref from a commit path when multiple matches occur | Stan Hu | |
Closes #1839 | |||
2015-02-14 | Upgrade to Rails 4.1.9 | Vinnie Okada | |
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-01-27 | Explicitly set before_filter for ref-related controllers | Dmitriy Zaporozhets | |
2014-02-04 | Improve code according to new gitlab_git | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-10-01 | Fix blob and repo stuff after gitlab_git v3 | Dmitriy Zaporozhets | |
2013-10-01 | Update code to work with gitlab_git 3 | Dmitriy Zaporozhets | |
2013-08-21 | A little improvement | Hiroyuki Sato | |
1. Replace params key 'q' with 'extended_sha1'. A extended SHA1 syntax is explained in 'man gitrevisions'. 2. Change the placeholder of looking for commit. 3. Change the label of ref filter. | |||
2013-08-21 | Render not found when failing to look for a commit | Hiroyuki Sato | |
2013-08-05 | Update main calls to gitlab_git | Dmitriy Zaporozhets | |
2013-05-13 | Set @options in assing_ref_vars | Sato Hiroyuki | |
@options enable to keep params when switching ref. | |||
2013-05-13 | Refactor: remove dup code | Sato Hiroyuki | |
2013-04-26 | Fix Gitlab::Git::Repository#commit returns wrong commit, if commit_id is ↵ | Sato Hiroyuki | |
"tag name". | |||
2013-04-02 | Gitlab::Git::Tree & Blob added | Dmitriy Zaporozhets | |
2013-04-02 | store commits for MR as array of hashes | Dmitriy Zaporozhets | |
2013-04-01 | Project.repository should never be nil so you can call repository.exists? or ↵ | Dmitriy Zaporozhets | |
repository.empty? Also specify separate project factory for project with filled repo | |||
2013-04-01 | Extend models functionality with old decorator methods. Use Repository model | Dmitriy Zaporozhets | |
2013-03-31 | Fix tests and remove app/models/repository.rb | Dmitriy Zaporozhets | |
2013-03-21 | Fix 404 error while displaying json files. | Sato Hiroyuki | |
It uses params[:id] instead of request.fullpath. It should fix #3132. | |||
2013-03-06 | Don't set format manually, bacause set in routing. | Sato Hiroyuki | |
2013-03-01 | draper raise now RuntimeError instead of NoMethodError | Dmitriy Zaporozhets | |
2013-02-05 | Fix bug when it has been switched to tag. | Sato Hiroyuki | |
2013-01-30 | Switchable the main branch on network graph | Sato Hiroyuki | |
2013-01-23 | Remove relative_url_root from path. Fixes #2602 | Jun Futagawa | |
Files and Commits render a 404 when running with relative_url_root. | |||
2013-01-09 | Merge pull request #2484 from netdata/fix_url_encode | Dmitriy Zaporozhets | |
Fixing request.fullpath URL encoding | |||
2013-01-09 | Fixed tree logs for branches with slash. Fixed remember of path when switch ↵ | Dmitriy Zaporozhets | |
branch | |||
2013-01-04 | Fixing request.fullpath URL encoding | Wouter D'Haeseleer | |
Let's assume your path is = "project/tree/master/This%20Is%20valid" In this case gitlab renders a 404. To fix this we should decode the path so that it looks like "project/tree/master/This Is valid" |