- 13 May, 2016 2 commits
-
-
Douglas Barbosa Alexandre authored
-
Gabriel Mazetto authored
-
- 11 May, 2016 1 commit
-
-
Connor Shea authored
Also fixes the errors caused by enabling the cop. casecmp is more performant than `.downcase` and `==`.
-
- 10 May, 2016 1 commit
-
-
Rémy Coutable authored
- Fix naming of API::CommitStatuses - Ensure we use require_dependency instead of require - Ensure the namespace is right in lib/api/api.rb, otherwise, we might require Grape::API::Helpers which defines the `#params` method. This is to avoid requiring a file multiple times and getting an "Already initialized constant" error. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 04 May, 2016 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Use Rugged's TagCollection#create instead of gitlab-shell's Repository#add_tag for better performance Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 29 Apr, 2016 2 commits
-
-
Matt Oakes authored
This is a combination of 3 commits. - Update the bare repositories info/attributes if the default branch is updated - Check the diff attributes of a file before showing a diff - Update CHANGELOG
-
Paco Guzman authored
- Parameter validation as ISO8601 format
-
- 26 Apr, 2016 1 commit
-
-
Connor Shea authored
"CHANGELOG", "NEWS", "HISTORY", and "CHANGES" are recognized as Changelog files. Also adds relevant tests for each of these names. Resolves #14864.
-
- 25 Apr, 2016 1 commit
-
-
Rémy Coutable authored
Fixes #15470. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 18 Apr, 2016 3 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Yorick Peterse authored
-
P.S.V.R authored
Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/12785 Merge Request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3514
-
- 15 Apr, 2016 1 commit
-
-
Robert Schilling authored
-
- 13 Apr, 2016 1 commit
-
-
Stan Hu authored
To reproduce: 1. Create a project with some content 2. Rename the project 3. Create a new project with the same name. 4. Boom - 404. After step 2, the branch and tag counts were not being cleared. This would cause `repository.has_visible_content?` to erroneously return `true` for the newly-created project. Closes #13384
-
- 11 Apr, 2016 3 commits
-
-
Jeroen Bobbeldijk authored
-
Jeroen Bobbeldijk authored
-
Jeroen Bobbeldijk authored
-
- 09 Apr, 2016 1 commit
-
-
Robert Speicher authored
Closes #14963.
-
- 07 Apr, 2016 1 commit
-
-
Stan Hu authored
Closes #14961
-
- 04 Apr, 2016 1 commit
-
-
Douglas Barbosa Alexandre authored
GitHub Pull Requests importer handle with the repository while importing data, we need to make sure that the cached values are valid.
-
- 02 Apr, 2016 1 commit
-
-
Stan Hu authored
Closes #13957
-
- 01 Apr, 2016 1 commit
-
-
Rubén Dávila authored
This will help us to avoid posible merge conflicts when merging gitlab-ce to gitlab-ee
-
- 27 Mar, 2016 1 commit
-
-
Stan Hu authored
Closes #14659
-
- 25 Mar, 2016 3 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Stan Hu authored
Closes #14580
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 24 Mar, 2016 2 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 19 Mar, 2016 1 commit
-
-
Yorick Peterse authored
This caches the output of Repository#exists? in Redis while making sure it's flushed properly when creating new repositories, deleting them, etc. For the ProjectWiki tests to work I had to make ProjectWiki#create_repo! public as testing private methods in RSpec is a bit of a pain.
-
- 17 Mar, 2016 3 commits
-
-
Yorick Peterse authored
When calling Repository#build_cache we _don't_ want to build the diverging commit count cache as doing so can be _very_ slow for repositories with lots of branches. Because these caches are built whenever needed (= when actually viewing the list of branches in the web UI) we can safely remove this code from Repository#build_cache.
-
Yorick Peterse authored
This method is not used or tested anywhere.
-
Yorick Peterse authored
The avatar logic has been moved from Project to Repository as this makes caching easier. The logic itself in turn has been changed so that the logo file names are cached in Redis. This cache is flushed upon pushing a commit but _only_ if: 1. The commit was pushed to the default branch 2. The commit actually changes any of the logo files If no branch or commit is given the cache is flushed anyway, this ensures that calling Repository#expire_cache without any arguments still flushes the avatar cache (e.g. this is used when removing a project). Fixes gitlab-org/gitlab-ce#14363
-
- 16 Mar, 2016 1 commit
-
-
Hiroyuki Sato authored
-
- 08 Mar, 2016 4 commits
-
-
Yorick Peterse authored
This ensures the right caches are flushed when adding a branch via the UI, instead of only flushing this one random cache.
-
Yorick Peterse authored
This ensures Repository#add_tag calls Repository#before_push_tag instead of just 1 random cache expiration method.
-
Yorick Peterse authored
This ensures that Repository#rm_branch calls before_remove_branch/after_remove_branch instead of just 1 random cache expiration method.
-
Yorick Peterse authored
The methods used for this are Repository#tag_count and Repository#branch_count which cache their output in Redis as well as memoizing it in an instance variable. Both methods have a corresponding methods/hooks to flush the caches at the right time.
-
- 07 Mar, 2016 2 commits
-
-
tiagonbotelho authored
-
tiagonbotelho authored
-