- Mar 27, 2018
-
-
Douwe Maan authored
-
- Mar 23, 2018
-
-
Jan Provaznik authored
Now the issuable reference check works only in project scope, if we reference an issuable from a non-project resource (e.g. epics), then project is not set, and there is mismatch in generated issue references. This patch enables issuable reference state check also from group scope. Closes gitlab-ee#4683 Related to #30916
-
- Mar 22, 2018
-
-
Alejandro Rodríguez authored
Before we were using a "plumbing" Gitlab::Git method that does not go through Gitaly migration checking.
-
Stan Hu authored
Fix "A copy of Gitlab::Middleware::Readonly has been removed from the module tree but is still active" Similar to #34047 and #29327
-
James Edwards-Jones authored
-
- Mar 21, 2018
-
-
Francisco Javier López authored
-
Francisco Javier López authored
-
Sean McGivern authored
-
Jacob Vosmaer (GitLab) authored
-
Ahmad Sherif authored
They were probably added to compensate for tests shortcomings, but now they don't complain. Closes gitaly#1095
-
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337
-
Alejandro Rodríguez authored
-
Lin Jen-Shin authored
Updated in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17673
-
- Mar 20, 2018
-
-
Andreas Brandl authored
Closes #43887.
-
Andreas Brandl authored
Index creation does not have an effect if the index is present already. Index removal does not have an affect if the index is not present. This helps to avoid patterns like this in migrations: ``` if index_exists?(...) remove_concurrent_index(...) end ```
-
James Edwards-Jones authored
-
James Edwards-Jones authored
This should simplify refactoring and allow testing
-
Mike Greiling authored
-
- Mar 19, 2018
-
-
Felipe Artur authored
-
Sean McGivern authored
But first, rewrite the performance bar in Vue: 1. Remove the peek-host gem and replace it with existing code. This also allows us to include the host in the JSON response, rather than in the page HTML. 2. Leave the line profiler parts as here-be-dragons: nicer would be a separate endpoint for these, so we could use them on Ajax requests too. 3. The performance bar is too fiddly to rewrite right now, so apply the same logic to that. Then, add features! All requests made through Axios are able to be tracked. To keep a lid on memory usage, only the first two requests for a given URL are tracked, though. Each request that's tracked has the same data as the initial page load, with the exception of the performance bar and the line profiler, as explained above.
-
Jan Provaznik authored
'/-/' delimiter is used only in UI, in API we don't use it for other endpoints. To align search endpoints with the rest of API endpoints, this patch makes '/-/' optional for existing endpoints (to keep backward compatibility). Documentation is updated to prefer paths without '/-/'.
-
Jasper Maes authored
Split repository search result on \n instead of $ to prevent the items of the array to start with a newline. Remove the strip from parsing the search result to keep result endlines.
-
- Mar 16, 2018
-
-
Stan Hu authored
Closes #44365
-
Sean McGivern authored
These can be a `BatchLoader` which is proxying a nil, while not being concrete nils themselves.
-
Tiago Botelho authored
and fixes the project description not being imported
-
James Edwards-Jones authored
-
Lin Jen-Shin authored
This eliminate the warnings: WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.
-
- Mar 15, 2018
-
-
James Edwards-Jones authored
-
James Edwards-Jones authored
Prevents `.gitattributes` blob lookup being repeated for every file checked at a given ref
-
Stan Hu authored
Closes #43355
-
Stan Hu authored
This is most a backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4987/diffs but includes other columns that use column_exists? in a way that may cause unnecessary schema loads.
-
Sean McGivern authored
Carried over from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8857
-
Sean McGivern authored
This may lead to some being evicted and having to be cached again, but many MRs get closed or updated in that time anyway.
-
Sean McGivern authored
Previously, we kept them all in the cache. We don't need the highlight results for older diffs - if someone does view that (which is rare), we can do the highlighting on the fly.
-
Pirate Praveen authored
-
- Mar 14, 2018
-
-
Andreas Brandl authored
The concurrency issue originates from inserts on `user_interacted_projects` from the app while running the post-deploy migration. This change comes with a strategy to lock the table while removing duplicates and creating the unique index (and similar for FK constraints). Also, we'll have a non-unique index until the post-deploy migration is finished to speed up queries during that time. Closes #44205.
-
Bob Van Landuyt authored
When importing from a GitLab archive, an admin can carry over the assignations. Other users can not. When a regular user is importing an issue with multiple assignees, the assignee is replaced with the current user, meaning we would try to insert current user as an assignee multiple times. By filtering the array before storing it, the import becomes more robust.
-
Grzegorz Bizon authored
-
Zeger-Jan van de Weg authored
On .com repositories are created through Gitaly for a while now. For customers this is not the case unless these have chosen to do so through feature flags. By moving this to opt out, everyone will be using this. This move is part of the migration issue https://gitlab.com/gitlab-org/gitaly/issues/593 The bigger impact this commit will have is that tests that use a repository through `FactoryBot.create(:project, :repository)` will now use Gitaly to do so. As tests run on the same disk, or at least machine, this will most probably slow them down.
-
Zeger-Jan van de Weg authored
Prior to this change, this method was called add_namespace, which broke the CRUD convention and made it harder to grep for what I was looking for. Given the change was a find and replace kind of fix, this was changed without opening an issue and on another feature branch. If more dynamic calls are made to add_namespace, these could've been missed which might lead to incorrect bahaviour. However, going through the commit log it seems thats not the case.
-