- 25 Sep, 2018 1 commit
-
-
Valery Sizov authored
We started syncing all the wiki regardless of the fact it's disabled or not. We couldn't do that in one stage because of needing of smoth update and deprecating things. This is the second stage that finally removes unused columns in the geo_node_status table.
-
- 24 Sep, 2018 1 commit
-
-
Michael Kozono authored
These are clear wins.
-
- 21 Sep, 2018 2 commits
-
-
Douglas Barbosa Alexandre authored
We should not synchronize the source repository with the target root ref while updating a push mirror.
-
🙈 jacopo beschi 🙉 authored
-
- 17 Sep, 2018 1 commit
-
-
Yorick Peterse authored
This commit adds the module `FromUnion`, which provides the class method `from_union`. This simplifies the process of selecting data from the result of a UNION, and reduces the likelihood of making mistakes. As a result, instead of this: union = Gitlab::SQL::Union.new([foo, bar]) Foo.from("(#{union.to_sql}) #{Foo.table_name}") We can now write this instead: Foo.from_union([foo, bar]) This commit also includes some changes to make this new setup work properly. For example, a bug in Rails 4 (https://github.com/rails/rails/issues/24193) would break the use of `from("sub-query-here").includes(:relation)` in certain cases. There was also a CI query which appeared to repeat a lot of conditions from an outer query on an inner query, which isn't necessary. Finally, we include a RuboCop cop to ensure developers use this new module, instead of using Gitlab::SQL::Union directly. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/51307
-
- 12 Sep, 2018 1 commit
-
-
Alejandro Rodríguez authored
-
- 11 Sep, 2018 1 commit
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- 10 Sep, 2018 1 commit
-
-
Douglas Barbosa Alexandre authored
-
- 07 Sep, 2018 2 commits
-
-
James Lopez authored
-
James Lopez authored
-
- 06 Sep, 2018 1 commit
-
-
James Lopez authored
Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
-
- 05 Sep, 2018 1 commit
-
-
Duana Saskia authored
-
- 04 Sep, 2018 1 commit
-
-
Kamil Trzciński authored
This MR backports PrometheusMetric model to CE and adds: common, identifier to figure out what kind of metric is used.
-
- 26 Aug, 2018 1 commit
-
-
Gabriel Mazetto authored
-
- 23 Aug, 2018 1 commit
-
-
Gabriel Mazetto authored
-
- 22 Aug, 2018 2 commits
-
-
Gabriel Mazetto authored
-
Gabriel Mazetto authored
We usually want a feature flag to be disabled by default and hide the feature until it's enabled. This is an unconventional use: when the flag is enabled, it will "DISABLE" the behavior.
-
- 20 Aug, 2018 2 commits
-
-
Gilbert Roulot authored
-
Yorick Peterse authored
This refactors the AutocompleteController according to the guidelines and boundaries discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/49653. Specifically, ActiveRecord logic is moved to different finders, which are then used in the controller. View logic in turn is moved to presenters, instead of directly using ActiveRecord's "to_json" method. The finder MoveToProjectFinder is also adjusted according to the abstraction guidelines and boundaries, resulting in a much more simple finder. By using finders (and other abstractions) more actively, we can push a lot of logic out of the controller. We also remove the need for various "before_action" hooks, though this could be achieved without using finders as well. The various finders related to AutcompleteController have also been moved into a namespace. This removes the need for calling everything "AutocompleteSmurfFinder", instead you can use "Autocomplete::SmurfFinder".
-
- 16 Aug, 2018 1 commit
-
-
Dylan Griffith authored
-
- 13 Aug, 2018 1 commit
-
-
Duana Saskia authored
Allow specificying a branch filter for a project hook and only trigger a project hook if either the branch filter is blank or the branch matches. Only supported for push_events for now.
-
- 06 Aug, 2018 1 commit
-
-
Mike Greiling authored
-
- 03 Aug, 2018 2 commits
-
-
James Ramsay authored
System hooks were not being triggered when projects were archived or unarchived. Reuse the Projects::UpdateService to automatically trigger system hooks and increase code reuse.
-
Valery Sizov authored
Resolve "Hashed storage: extend "Enable hashed storage for all new projects" to "for all new and renamed projects""
-
- 01 Aug, 2018 1 commit
-
-
Zeger-Jan van de Weg authored
Our friends at GitHub show the programming languages for a long time, and inspired by that this commit means to create about the same functionality. Language detection is done through Linguist, as before, where the difference is that we cache the result in the database. Also, Gitaly can incrementaly scan a repository. This is done through a shell out, which creates overhead of about 3s each run. For now this won't be improved. Scans are triggered by pushed to the default branch, usually `master`. However, one exception to this rule the charts page. If we're requesting this expensive data anyway, we just cache it in the database. Edge cases where there is no repository, or its empty are caught in the Repository model. This makes use of Redis caching, which is probably already loaded. The added model is called RepositoryLanguage, which will make it harder if/when GitLab supports multiple repositories per project. However, for now I think this shouldn't be a concern. Also, Language could be confused with the i18n languages and felt like the current name was suiteable too. Design of the Project#Show page is done with help from @dimitrieh. This change is not visible to the end user unless detections are done.
-
- 30 Jul, 2018 1 commit
-
-
Francisco Javier López authored
-
- 26 Jul, 2018 1 commit
-
-
gfyoung authored
Partially addresses #47424.
-
- 25 Jul, 2018 1 commit
-
-
Yorick Peterse authored
This adds a database migration that creates routes for any projects and namespaces that don't already have one. We also remove the runtime code for dynamically creating routes, as this is no longer necessary.
-
- 24 Jul, 2018 1 commit
-
-
Gabriel Mazetto authored
-
- 23 Jul, 2018 1 commit
-
-
Marko, Peter authored
Signed-off-by:
Marko, Peter <peter.marko@siemens.com>
-
- 17 Jul, 2018 2 commits
-
-
Jacob Vosmaer authored
[ci-skip]
-
Jacob Vosmaer (GitLab) authored
-
- 15 Jul, 2018 1 commit
-
-
Stan Hu authored
-
- 14 Jul, 2018 1 commit
-
-
Kukovskii Vladimir authored
-
- 12 Jul, 2018 1 commit
-
-
Grzegorz Bizon authored
-
- 11 Jul, 2018 3 commits
-
-
Rémy Coutable authored
This reverts commit 1915c9f0cf1ec3e836c02ba57c97e5a9a61d487b.
-
Mark Chao authored
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- 06 Jul, 2018 1 commit
-
-
James Lopez authored
-
- 04 Jul, 2018 1 commit
-
-
Reuben Pereira authored
Add back the Project#to_reference_with_postfix function since it can be used in the ProjectReferenceFilter#link_to_project function
-