- 17 2月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This ensures the caches for Repository#empty? and Repository#has_visible_content? are flushed after a repository has been imported or forked. Fixes gitlab-org/gitlab-ce#13505
-
- 16 2月, 2016 3 次提交
-
-
由 Rémy Coutable 提交于
-
由 Rémy Coutable 提交于
-
由 Yorick Peterse 提交于
The "default_branch" argument is never used and the "project" argument isn't optional.
-
- 15 2月, 2016 1 次提交
-
-
由 Rémy Coutable 提交于
1. We now display the index of the current issuable among all its project's issuables, of the same type and with the same state. 2. Also, refactored a bit the Issuable helpers into a new IssuablesHelper module. 3. Added acceptance specs for the sidebar counter.
-
- 12 2月, 2016 1 次提交
-
-
由 Kirill Zaitsev 提交于
- Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`, `path_with_namespace` and `default_branch` in `project` in push, issue, merge-request and note webhooks data - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in favor of `git_http_url` in `project` for push, issue, merge-request and note webhooks data - Deprecate the `repository` key in push, issue, merge-request and note webhooks data, use `project` instead
-
- 11 2月, 2016 1 次提交
-
-
由 Nemanja Boric 提交于
In case merge request is broken, we shouldn't check if the sha is mergable, as it will be null, and there's no point, as we know that it's not mergable.
-
- 10 2月, 2016 5 次提交
-
-
-
由 Bram Daams 提交于
-
由 Rémy Coutable 提交于
-
由 Rémy Coutable 提交于
Also: - Get rid of legacy :strict_mode - Get rid of custom :email validator - Add some shared examples to spec emails validation
-
由 Yorick Peterse 提交于
Instead of flushing the behind/ahead counts for all branches upon every push we now only flush the cache of branches that actually need to have these statistics recalculated. There are now basically 2 scenarios and their effects: 1. A user pushes a commit to the default branch, this results in the cache being flushed for all branches. 2. A user pushes to a non default branch, this results in _only_ the cache for that branch being flushed. The existing code (Repository#expire_cache) remains backwards compatible with the previous behaviour, the new behaviour is only applied when a branch name is passed as an argument. This ensures that when for example a project is deleted the cache for all branches is flushed.
-
- 09 2月, 2016 2 次提交
-
-
由 Jason Lee 提交于
-
由 Grzegorz Bizon 提交于
`max_attachment_size` in `ApplicationSetting` should be present, only integers greater than zero are valid. Closes #13188
-
- 08 2月, 2016 3 次提交
-
-
由 Yorick Peterse 提交于
This caches the output of the following methods: * Repository#empty? * Repository#has_visible_content? * Repository#root_ref The cache for Repository#has_visible_content? is flushed whenever a commit is pushed to a new branch or an existing branch is removed. The cache for Repository#root_ref is only flushed whenever a user changes the default branch of a project. The cache for Repository#empty? is never explicitly flushed as there's no need for it.
-
由 Zeger-Jan van de Weg 提交于
Fixes #3903
-
由 Tony Chu 提交于
-
- 05 2月, 2016 2 次提交
-
-
由 Yorick Peterse 提交于
gitlab_git 8.1 adds the ability to count the amount of commits between two references without having to allocate anything but regular Rugged::Commit objects. This in turn speeds up the process of counting the number of commits a branch is ahead/behind by about 3.5x.
-
由 Josh Frye 提交于
-
- 04 2月, 2016 5 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Zeger-Jan van de Weg 提交于
Fixes #3339 This MR hides the 'Remove source branch' button when a new commit is added to the source branch
-
由 Kamil Trzcinski 提交于
-
- 03 2月, 2016 3 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
-
- 02 2月, 2016 6 次提交
-
-
由 Jacob Vosmaer 提交于
-
-
-
-
由 Stan Hu 提交于
Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
-
由 Kamil Trzcinski 提交于
This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
-
- 01 2月, 2016 2 次提交
-
-
由 Yorick Peterse 提交于
Instead of running ClosingIssueExtractor for every commit in a merge request we can gather all the commit messages (and the merge request description), concatenate all this together and then run ClosingIssueExtractor only once. The result of this is that MergeRequest#closes_issues is now between 3.5x and 4x faster than the old setup. Using a merge request with 10 commits (each referencing a number of issues to close) this reduced the call duration from around 200 milliseconds to around 50 milliseconds. As a result of these changes the Jira related tests for MergeRequest#closes_issues have been removed. These tests stubbed Commit#closes_issues meaning that the only code that was really tested was the call to Array#uniq to filter out duplicate issues. As this code is no longer used (nor present) the corresponding tests were removed. Related: gitlab-org/gitlab-ce#12419
-
由 Jacob Vosmaer 提交于
-
- 30 1月, 2016 4 次提交
-
-
由 Robert Speicher 提交于
This is the git default and will help to prevent false positive matches. Closes #12706
-
由 Josh Frye 提交于
-
由 Josh Frye 提交于
-
-
- 29 1月, 2016 1 次提交
-
-
由 Josh Frye 提交于
-