Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-03-20Merge branch '44280-fix-code-search' into 'master'Sean McGivern
Resolve "Search code blob sometimes shows filename and branch" Closes #44280 See merge request gitlab-org/gitlab-ce!17777
2018-03-20Merge branch 'issue_25542' into 'master'Sean McGivern
Improve JIRA event descriptions Closes #25542 See merge request gitlab-org/gitlab-ce!17811
2018-03-20move render_gfm into behaviors directoryMike Greiling
2018-03-20Merge branch 'ajax-requests-in-performance-bar' into 'master'Robert Speicher
Show Ajax requests in performance bar Closes #43925 See merge request gitlab-org/gitlab-ce!17742
2018-03-19Improve JIRA event descriptionsFelipe Artur
2018-03-19Show Ajax requests in performance barSean McGivern
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.
2018-03-19Optional '/-/' delimiter for search APIJan Provaznik
'/-/' 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 '/-/'.
2018-03-19Split repository search result on \n instead of $ to prevent the items of ↵Jasper Maes
the array to start with a newline. Remove the strip from parsing the search result to keep result endlines.
2018-03-19Merge branch ↵Douwe Maan
'44257-viewing-a-particular-commit-gives-500-error-error-undefined-method-binary' into 'master' Resolve "Viewing a particular commit gives 500 error ~ Error (undefined method `binary?')" Closes #44257 See merge request gitlab-org/gitlab-ce!17805
2018-03-17Merge branch 'master' into 'update-kubeclient'Grzegorz Bizon
Conflicts: Gemfile.lock
2018-03-16Fix "A copy of Gitlab::Metrics::Methods" have been removed errorStan Hu
Closes #44365
2018-03-16Ensure that we never assume old_blob or new_blob are nilSean McGivern
These can be a `BatchLoader` which is proxying a nil, while not being concrete nils themselves.
2018-03-16Merge branch ↵Grzegorz Bizon
'41902-add-api-option-to-overwrite-project-description-on-project-export' into 'master' Resolve "Extend API for exporting a project with option to overwrite project description" Closes #41902 and #34936 See merge request gitlab-org/gitlab-ce!17744
2018-03-16Merge branch '44126-setup-middleware-before-adapter' into 'master'Kamil Trzciński
Eliminate Faraday warnings Closes #44126 See merge request gitlab-org/gitlab-ce!17795
2018-03-16Merge branch 'jej/commit-api-tracks-lfs' into 'master'Dmitriy Zaporozhets
Create commit API and Web IDE obey LFS filters Closes #42287 See merge request gitlab-org/gitlab-ce!16718
2018-03-16Adds the option to override project description on export via APITiago Botelho
and fixes the project description not being imported
2018-03-16Extract constant for LfsPointerFile::VERSION_LINEJames Edwards-Jones
2018-03-16Merge branch 'sh-cache-table-exists' into 'master'Yorick Peterse
Cache table_exists?('application_settings') to reduce repeated schema reloads Closes #43355 See merge request gitlab-org/gitlab-ce!17781
2018-03-16Merge branch 'sh-cache-column-exists' into 'master'Yorick Peterse
Cache column_exists? for application settings See merge request gitlab-org/gitlab-ce!17780
2018-03-16Setup Faraday middleware before adapterLin Jen-Shin
This eliminate the warnings: WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.
2018-03-16Avoid printing data for LfsPointerFile#inspectJames Edwards-Jones
2018-03-16Lfs::FileTranformer caches .gitattributes parserJames Edwards-Jones
Prevents `.gitattributes` blob lookup being repeated for every file checked at a given ref
2018-03-15Cache table_exists?('application_settings') to reduce repeated schema reloadsStan Hu
Closes #43355
2018-03-15Cache column_exists? for application settingsStan Hu
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.
2018-03-15Merge branch '44191-reduce-redis-usage-from-merge-request-diffs-caching' ↵Stan Hu
into 'master' Resolve "Reduce Redis usage from merge request diffs caching" Closes #44191 See merge request gitlab-org/gitlab-ce!17746
2018-03-15Merge branch 'adamco/gitlab-ce-move-issue-command' into 'master'Grzegorz Bizon
Add slash command for moving an issue See merge request gitlab-org/gitlab-ce!17691
2018-03-15Merge branch 'fix-42459-#-in-branch' into 'master'Sean McGivern
Manually escape '#' when building relative uris, closes #42459 Closes #42459 See merge request gitlab-org/gitlab-ce!17679
2018-03-15Add slash command for moving an issueSean McGivern
Carried over from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8857
2018-03-15Merge branch 'backstage/gb/refactor-ci-cd-variables-collections' into 'master'Kamil Trzciński
Introduce CI/CD variables collection Closes #33042 See merge request gitlab-org/gitlab-ce!14439
2018-03-15Merge branch 'ab-44205-user_interacted_projects-migration' into 'master'Yorick Peterse
Fix concurrency issue with migration for user_interacted_projects table. Closes #44205 See merge request gitlab-org/gitlab-ce!17728
2018-03-15Only cache MR diffs for one weekSean McGivern
This may lead to some being evicted and having to be cached again, but many MRs get closed or updated in that time anyway.
2018-03-15Only cache highlight results for latest MR diffsSean McGivern
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.
2018-03-15Replace KubeException with Kubeclient::HttpError (kubeclient 3.0)Pirate Praveen
2018-03-15Merge branch 'mk/fix-move-upload-files-on-group-transfer' into 'master'Robert Speicher
Fix moving local, unhashed upload or pages directories during group transfer Closes #43993 See merge request gitlab-org/gitlab-ce!17658
2018-03-14Fix concurrency issue with migration for user_interacted_projects table.Andreas Brandl
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.
2018-03-14Merge branch 'bvl-import-zip-multiple-assignees' into 'master'Sean McGivern
Import multiple issue assignees from GitLab export Closes #40275 See merge request gitlab-org/gitlab-ce!17718
2018-03-14Import multiple issue assignees from GitLab exportBob Van Landuyt
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.
2018-03-14Improve predefined variables collection methodsGrzegorz Bizon
2018-03-14Set Gitlab::Shell#create_repository as OPT_OUTZeger-Jan van de Weg
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.
2018-03-14Merge branch 'master' into backstage/gb/refactor-ci-cd-variables-collectionsGrzegorz Bizon
* master: (211 commits)
2018-03-14Change Gitlab::Shell#add_namespace to #create_namespaceZeger-Jan van de Weg
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.
2018-03-14Fix moving local files during namespace transferMichael Kozono
2018-03-13Merge branch '44161-use-configured-git' into 'master'Douwe Maan
Resolve "lib/gitlab/git/gitlab_projects.rb does not respect Gitlab.config.git.bin_path" Closes #44161 See merge request gitlab-org/gitlab-ce!17693
2018-03-13Capture Gitaly calls that don't go through `migrate`Sean McGivern
2018-03-13Add more unit tests for variables collection classGrzegorz Bizon
2018-03-13Improve how we handle persistent runner variablesGrzegorz Bizon
2018-03-13Make predefined variables in a collection public by defaultGrzegorz Bizon
2018-03-13DRY project-level predefined variablesGrzegorz Bizon
2018-03-13Add Gitaly call details to the performance barSean McGivern
The same as the SQL queries, show the details of Gitaly calls in the performance bar, as a modal that can be opened in the same way.
2018-03-13Merge branch 'rd-fix-github-url-when-listing-repositories-at-importing' into ↵Douwe Maan
'master' Fix provider server URL used when listing repos to import See merge request gitlab-org/gitlab-ce!17692