- 21 Jun, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 19 Jun, 2017 4 commits
-
-
Yorick Peterse authored
This optimises how GroupProjectsFinder builds it collection, producing simpler and faster queries in the process. It also cleans up the code a bit to make it easier to understand.
-
Douwe Maan authored
-
Douwe Maan authored
-
Tiago Botelho authored
-
- 16 Jun, 2017 9 commits
-
-
Tiago Botelho authored
-
Sean McGivern authored
This adds an ID-less table containing one row per file, per merge request diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised currently, with the advantage that we can easily query the attributes of this new table. It does not migrate existing data, so we have fallback code when the legacy st_diffs column is present instead. For a merge request diff to be valid, it should have at most one of: * Rows in this new table, with the correct merge_request_diff_id. * A non-NULL st_diffs column. It may have neither, if the diff is empty.
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Yorick Peterse authored
This method used to use a UNION, which would lead to it performing the same query twice; producing less than ideal performance. Further, in certain cases ActiveRecord could get confused and mess up the variable bindings, though it's not clear how/why exactly this happens. Fortunately we can work around all of this by building some of the WHERE conditions manually, allowing us to use a simple OR statement to get all the data we want without any of the above problems.
-
- 15 Jun, 2017 6 commits
-
-
Sean McGivern authored
Create a post-deployment migration to update all existing notification settings with at least one custom level enabled to the new format. Also handle the same conversion when updating settings, to catch any stragglers.
-
Sean McGivern authored
Add columns for each custom notification level, defaulting to null. Read from those columns if non-null, otherwise fall back to the serialized column. Writing will write to the new column if `events` isn't manually set.
-
Eric Eastwood authored
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
-
Mike Ricketts authored
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
- 14 Jun, 2017 3 commits
-
-
Robin Bobbitt authored
-
Douwe Maan authored
-
Nick Thomas authored
-
- 13 Jun, 2017 3 commits
-
-
Kamil Trzcinski authored
-
Z.J. van de Weg authored
Older pipelines can contain jobs without a name, in which case 'nameless' is used right now, so we can properly still handle other actions on these jobs. Fixes gitlab-org/gitlab-ce#33403
-
Kamil Trzcinski authored
Allow to access pipelines even if they are disabled, but only present jobs and commit statuses without giving ability to access them
-
- 12 Jun, 2017 3 commits
-
-
Z.J. van de Weg authored
Fixes gitlab-org/gitlab-ce#33106
-
Filipa Lacerda authored
-
James Lopez authored
-
- 08 Jun, 2017 5 commits
-
-
Douwe Maan authored
Detect if file that appears to be text in the first 1024 bytes is actually binary afer loading all data
-
Douwe Maan authored
-
Yorick Peterse authored
In EE we don't want to remove import data for mirrors. By moving this logic to a separate method we can simply re-define the method in EE using "prepend" and call "super" whenever necessary.
-
Yorick Peterse authored
This ensures the order of these methods is identical in CE and EE.
-
Kim Carlbäcker authored
-
- 07 Jun, 2017 5 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Yorick Peterse authored
One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
-
Ahmad Sherif authored
-
Felipe Artur authored
-
- 06 Jun, 2017 1 commit
-
-
Paul Charlton authored
-