Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-18Fix rubocop Style/ZeroLengthPredicateSemyon Pupkov
2018-07-09Fix handling of annotated tags when Gitaly is not in useStan 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-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2017-12-15Backport changes from EELin Jen-Shin
2017-12-15Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin 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-14moved lfs_blob_ids method into ExtractsPath modulePhil Hughes
2017-12-14moved lfs blob fetch from extractspath filePhil Hughes
2017-12-11fixed project homepage not having correct variablePhil Hughes
2017-11-22Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-09-18Allow simple ivar ||= form. Update accordinglyLin Jen-Shin
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-03-01Enable and autocorrect the CustomErrorClass copSean McGivern
2017-02-23Stylistic tweaksDouwe Maan
2017-02-23Enable Performance/RedundantMatchDouwe Maan
2016-11-06Remove 'extended_sha1' option from ExtractsPath moduleHiroyuki Sato
2016-11-06Network page appear with an error message when entering nonexistent git revisionHiroyuki Sato
2016-10-15Improve ExtractsPath logic related to atom formatDmitriy 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-11Allow 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-24Restore get_id in ExtractsPathwinniehell
2016-08-19Do not escape URI when extracting path (!5878)winniehell
2016-08-11Fix 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-13Only render 404 page from /publicValery Sizov
2015-08-02Fix "Network" and "Graphs" pages for branches with encoded slashesStan Hu
Closes #1359
2015-07-01Extract the longest-matching ref from a commit path when multiple matches occurStan Hu
Closes #1839
2015-02-14Upgrade to Rails 4.1.9Vinnie 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-27Explicitly set before_filter for ref-related controllersDmitriy Zaporozhets
2014-02-04Improve code according to new gitlab_gitDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-10-01Fix blob and repo stuff after gitlab_git v3Dmitriy Zaporozhets
2013-10-01Update code to work with gitlab_git 3Dmitriy Zaporozhets
2013-08-21A little improvementHiroyuki 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-21Render not found when failing to look for a commitHiroyuki Sato
2013-08-05Update main calls to gitlab_gitDmitriy Zaporozhets
2013-05-13Set @options in assing_ref_varsSato Hiroyuki
@options enable to keep params when switching ref.
2013-05-13Refactor: remove dup codeSato Hiroyuki
2013-04-26Fix Gitlab::Git::Repository#commit returns wrong commit, if commit_id is ↵Sato Hiroyuki
"tag name".
2013-04-02Gitlab::Git::Tree & Blob addedDmitriy Zaporozhets
2013-04-02store commits for MR as array of hashesDmitriy Zaporozhets
2013-04-01Project.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-01Extend models functionality with old decorator methods. Use Repository modelDmitriy Zaporozhets
2013-03-31Fix tests and remove app/models/repository.rbDmitriy Zaporozhets
2013-03-21Fix 404 error while displaying json files.Sato Hiroyuki
It uses params[:id] instead of request.fullpath. It should fix #3132.
2013-03-06Don't set format manually, bacause set in routing.Sato Hiroyuki
2013-03-01draper raise now RuntimeError instead of NoMethodErrorDmitriy Zaporozhets
2013-02-05Fix bug when it has been switched to tag.Sato Hiroyuki
2013-01-30Switchable the main branch on network graphSato Hiroyuki
2013-01-23Remove relative_url_root from path. Fixes #2602Jun Futagawa
Files and Commits render a 404 when running with relative_url_root.
2013-01-09Merge pull request #2484 from netdata/fix_url_encodeDmitriy Zaporozhets
Fixing request.fullpath URL encoding
2013-01-09Fixed tree logs for branches with slash. Fixed remember of path when switch ↵Dmitriy Zaporozhets
branch