- 28 1月, 2017 2 次提交
-
-
由 Berna Castro 提交于
Refactor overall code and fix failing specs Fix Project#to_reference Fix wrong spaces and update changelog Refactor #to_reference for Project & Issue Fix and improves Project#to_reference
-
由 Berna Castro 提交于
-
- 20 1月, 2017 2 次提交
-
-
由 Robert Speicher 提交于
- 16 1月, 2017 1 次提交
-
-
由 Minqi Pan 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 11 1月, 2017 1 次提交
-
-
由 James Lopez 提交于
-
- 03 1月, 2017 1 次提交
-
-
由 Robert Speicher 提交于
-
- 22 12月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 21 12月, 2016 4 次提交
-
-
由 Markus Koller 提交于
This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.
-
由 Adam Niedzielski 提交于
The button allows to choose a ".gitlab-ci.yml" template that automatically sets up the deployment of an application. The currently supported template is Kubernetes template.
-
-
-
- 20 12月, 2016 1 次提交
-
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 19 12月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 16 12月, 2016 2 次提交
-
-
由 Adam Niedzielski 提交于
This commit introduces the concept of deployment variables - variables that are collected from deployment services and passed to CI runner during a deployment build. Deployment services specify the variables by overriding "predefined_variables" method. This commit also configures variables for KubernetesService
-
由 Felipe Artur 提交于
-
- 15 12月, 2016 1 次提交
-
-
由 Felipe Artur 提交于
-
- 08 12月, 2016 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
* add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 06 12月, 2016 1 次提交
-
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 03 12月, 2016 1 次提交
-
-
由 Oswaldo Ferreira 提交于
-
- 29 11月, 2016 1 次提交
-
-
由 Douwe Maan 提交于
Replace issue access checks with use of IssuableFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 ## Which fixes are in this MR?
⚠ - Potentially untested💣 - No test coverage🚥 - Test coverage of some sort exists (a test failed when error raised)🚦 - Test coverage of return value (a test failed when nil used)✅ - Permissions check tested ### Issue lookup with access check Using `visible_to_user` likely makes these security issues too. See [Code smells](#code-smells). - [x]🚦 app/finders/notes_finder.rb:15 [`visible_to_user`] - [x]🚥 app/views/layouts/nav/_project.html.haml:73 [`visible_to_user`] [`.count`] - [x]✅ app/services/merge_requests/build_service.rb:84 [`issue.try(:confidential?)`] - [x]✅ lib/api/issues.rb:112 [`visible_to_user`] - CHANGELOG: Prevented API returning issues set to 'Only team members' to everyone - [x]✅ lib/api/helpers.rb:126 [`can?(current_user, :read_issue, issue)`] Maybe here too? - [x]✅ lib/gitlab/search_results.rb:53 [`visible_to_user`] ### Previous discussions - [ ] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b2ff264eddf9819d7693c14ae213d941494fe2b3_128_126 - [ ] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#7b6375270d22f880bdcb085e47b519b426a5c6c7_87_87 See merge request !2031
-
- 23 11月, 2016 1 次提交
-
-
由 Ahmad Sherif 提交于
Closes #23938
-
- 21 11月, 2016 1 次提交
-
-
由 Yorick Peterse 提交于
This refactors repository caching so it's possible to selectively refresh certain caches, instead of just expiring and refreshing everything. To allow this the various methods that were cached (e.g. "tag_count" and "readme") use a similar pattern that makes expiring and refreshing their data much easier. In this new setup caches are refreshed as follows: 1. After a commit (but before running ProjectCacheWorker) we expire some basic caches such as the commit count and repository size. 2. ProjectCacheWorker will recalculate the commit count, repository size, then refresh a specific set of caches based on the list of files changed in a push payload. This requires a bunch of changes to the various methods that may be cached. For one, data should not be cached if a branch used or the entire repository does not exist. To prevent all these methods from handling this manually this is taken care of in Repository#cache_method_output. Some methods still manually check for the existence of a repository but this result is also cached. With selective flushing implemented ProjectCacheWorker no longer uses an exclusive lease for all of its work. Instead this worker only uses a lease to limit the number of times the repository size is updated as this is a fairly expensive operation.
-
- 19 11月, 2016 2 次提交
-
-
由 Ahmad Sherif 提交于
Closes #23150
-
由 Kamil Trzcinski 提交于
-
- 18 11月, 2016 5 次提交
-
-
由 Robert Speicher 提交于
This also updates _some_ specs to use these new methods, just to serve as an example for others going forward, but by no means is this exhaustive. Original implementations at !5992 and !6012. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20944
-
由 Lin Jen-Shin 提交于
This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all.
-
由 Z.J. van de Weg 提交于
This prevents leakage of project names on an endpoint which is unauthenticated and thus open to the world.
-
由 Z.J. van de Weg 提交于
-
由 Z.J. van de Weg 提交于
-
- 16 11月, 2016 2 次提交
-
-
由 Adam Niedzielski 提交于
-
由 Grzegorz Bizon 提交于
-
- 11 11月, 2016 1 次提交
-
-
由 Nick Thomas 提交于
-
- 09 11月, 2016 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 07 11月, 2016 1 次提交
-
-
由 tiagonbotelho 提交于
reactivates all tests and writes more tests for it
-
- 04 11月, 2016 1 次提交
-
-
由 Nick Thomas 提交于
-
- 01 11月, 2016 1 次提交
-
-
由 Felipe Artur 提交于
-
- 20 10月, 2016 2 次提交
-
-
由 Felipe Artur 提交于
-
-
- 13 10月, 2016 1 次提交
-
-
由 Paco Guzman 提交于
-