summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Only preload member records for the relevant projects/groups/user in ↵dm-api-projects-members-preloadDouwe Maan2018-05-302-16/+20
| | | | projects API
* Merge branch 'fix/bitbucket_import_anonymous' into 'master'Douwe Maan2018-05-302-1/+2
|\ | | | | | | | | | | | | Import bitbucket issues that are reported by an anonymous user Closes #44381 See merge request gitlab-org/gitlab-ce!18199
| * Import bitbucket issues that are reported by an anonymous userBart Libert2018-05-242-1/+2
| | | | | | | | | | | | | | | | | | For these kind of issues, the "reporter" field is present but zero. In such a case, "fetch" will not return the default value, but it will return nil. Hence, importing fails, because the "username" field of nil is referenced Fixes issue #44381
* | Merge branch 'mattermost-api-v4' into 'master'Sean McGivern2018-05-303-6/+6
|\ \ | | | | | | | | | | | | | | | | | | Updated Mattermost integration to use Mattermost API v4 Closes #41631 See merge request gitlab-org/gitlab-ce!19043
| * | Updated Mattermost integration to use Mattermost API v4Harrison Healey2018-05-283-6/+6
| | |
* | | Merge branch 'blackst0ne-squash-and-merge-in-gitlab-core-ce' into 'master'Phil Hughes2018-05-304-10/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Squash and merge in GitLab Core (CE)" Closes #34591 See merge request gitlab-org/gitlab-ce!18956
| * | | Add 'squash and rebase' feature to CEblackst0ne-squash-and-merge-in-gitlab-core-ceblackst0ne2018-05-294-10/+13
| | | |
* | | | Merge branch '6045-extract-ee-specific-specs-lines' into 'master'Robert Speicher2018-05-291-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [CE] Resolve "Extract EE specific files/lines for some controller specs" Closes #6045 See merge request gitlab-org/gitlab-ce!19089
| * | | | Try to fetch the CE branch in EE because sometimes it has the same name6045-extract-ee-specific-specs-linesRémy Coutable2018-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | Merge remote-tracking branch 'dev/master'Mayra Cabrera2018-05-297-17/+41
|\ \ \ \ \
| * \ \ \ \ Merge branch 'security-fj-import-export-assignment' into 'master'Mayra Cabrera2018-05-296-14/+38
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [master] Arbitrary assignment of Project fields using "Import project" from a Gitlab tar.gz Closes #2678 See merge request gitlab/gitlabhq!2378
| | * | | | | Blacklisting attributes in the project import processFrancisco Javier López2018-05-146-14/+38
| | | | | | |
| * | | | | | Merge branch 'security-dm-delete-deploy-key' into 'master'Mayra Cabrera2018-05-291-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [master] Fix API to remove deploy key from project instead of deleting it entirely See merge request gitlab/gitlabhq!2379
| | * | | | | | Fix API to remove deploy key from project instead of deleting it entirelyDouwe Maan2018-05-041-3/+3
| | | | | | | |
* | | | | | | | Merge branch '46758-fallout-of-cacheable-attribute' into 'master'Douwe Maan2018-05-292-4/+28
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set when retrieved from cache Closes #46758 See merge request gitlab-org/gitlab-ce!19144
| * | | | | | | | Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set ↵Rémy Coutable2018-05-292-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when retrieved from cache Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | | | | | Merge branch '44602-clarify-update-docs-text-about-restrictions' into 'master'Achilleas Pipinellis2018-05-291-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Clarify/Update docs/text about restrictions." See merge request gitlab-org/gitlab-ce!17970
| * | | | | | | | | include groups in descriptionDavin Walker2018-05-281-1/+1
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | Merge branch ↵Kamil Trzciński2018-05-291-16/+1
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster' into 'master' Resolve "Fetch available parameters directly from GKE when creating a cluster" Closes #38759 See merge request gitlab-org/gitlab-ce!17806
| * | | | | | | | Merge remote-tracking branch 'origin/master' into ↵Dennis Tang2018-05-2579-569/+1099
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * | | | | | | | | Remove redundant GoogleApi::CloudPlatform::Client methodsMatija Čupić2018-05-111-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The methods removed are #projects_list #get_project_billing_info as well as #project_zones_list and #project_zone_machine_types_list
| * | | | | | | | | Merge remote-tracking branch 'origin/master' into ↵Dennis Tang2018-05-1137-84/+600
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into ↵Matija Čupić2018-05-0253-183/+685
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into ↵Matija Čupić2018-04-20249-1089/+3614
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * | | | | | | | | | | | Add zones_list and machine_types_list to Google Cloud API clientMatija Čupić2018-03-161-0/+19
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge branch 'add-artifacts_expire_at-to-api' into 'master'Grzegorz Bizon2018-05-291-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose artifacts_expire_at field for job entity in api See merge request gitlab-org/gitlab-ce!18872
| * | | | | | | | | | | | | Expose artifacts_expire_at field for job entity in apiSemyon Pupkov2018-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/45798
* | | | | | | | | | | | | | Merge branch 'sh-tag-queue-duration-api-calls' into 'master'Sean McGivern2018-05-292-1/+28
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log queue duration for Grape API calls Closes #46601 See merge request gitlab-org/gitlab-ce!19159
| * | | | | | | | | | | | | | Log queue duration for Grape API callssh-tag-queue-duration-api-callsStan Hu2018-05-282-1/+28
| | |_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mimics the same thing the RailsQueueDuration does for Rails controller requests and will help diagnose issues with API delays. Closes #46601
* | | | | | | | | | | | | | Merge branch 'groups-controller-show-performance' into 'master'Douwe Maan2018-05-291-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve performance of GroupsController#show See merge request gitlab-org/gitlab-ce!18973
| * | | | | | | | | | | | | Eager load project routes for issue referencesYorick Peterse2018-05-281-1/+2
| | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the number of queries necessary when displaying the activity page of a group.
* | | | | | | | | | | | | Merge branch 'add-background-migration-to-fill-file-store' into 'master'Kamil Trzciński2018-05-283-0/+61
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add background migration to fill file stores from `NULL` to `1` Closes #45337 and #45476 See merge request gitlab-org/gitlab-ce!18557
| * | | | | | | | | | | | Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classesShinya Maeda2018-05-283-6/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Rename FillFileStoreUpload to FillStoreUploadShinya Maeda2018-05-281-2/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add spec for fill_file_store migrationShinya Maeda2018-05-283-6/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Remove legacy artifacts file_store migrationShinya Maeda2018-05-282-42/+0
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add background migration to fill file storesShinya Maeda2018-05-285-0/+103
| | |_|_|_|_|_|/ / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge branch 'ignore-writing-trace-if-it-already-archived' into 'master'Kamil Trzciński2018-05-281-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disallow updating job status if the job is not running Closes #46383 See merge request gitlab-org/gitlab-ce!19101
| * | | | | | | | | | | Revert correctlyShinya Maeda2018-05-282-6/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Disallow updating job stauts if it's not runningShinya Maeda2018-05-281-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Revert trace changeShinya Maeda2018-05-281-3/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Ignore writing traces if it's already been archivedShinya Maeda2018-05-281-1/+3
| |/ / / / / / / / / /
* | | | | | | | | | | Merge branch 'sh-fix-admin-page-counts-take-2' into 'master'Yorick Peterse2018-05-281-17/+55
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix fast admin counters not working when PostgreSQL has secondaries Closes #46742 See merge request gitlab-org/gitlab-ce!19154
| * | | | | | | | | | | Fix fast admin counters not working when PostgreSQL has secondariessh-fix-admin-page-counts-take-2Stan Hu2018-05-251-17/+55
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit does a number of things: 1. Reduces the number of queries needed by perform a single query to get all the tuples for the relevant rows. 2. Uses a transaction to query the tuple counts to ensure that the data is retrieved from the primary. Closes #46742
* | | | | | | | | | | Use Gitaly's DeleteAllRepositories RPC during backup restoreJacob Vosmaer (GitLab)2018-05-282-20/+51
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'bvl-add-username-to-terms-message' into 'master'Douwe Maan2018-05-281-4/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add username to terms message in git and API calls Closes #46649 See merge request gitlab-org/gitlab-ce!19126
| * | | | | | | | | | | Add username to terms message in git and API callsbvl-add-username-to-terms-messageBob Van Landuyt2018-05-241-4/+4
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it clearer to users which account is being used to make the API/git call. So they know which account needs to be used to accept the terms. Closes #46649
* | | | | | | | | | | Merge branch '45190-create-notes-diff-files' into 'master'Douwe Maan2018-05-281-0/+7
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Persist and use truncated note diffs instead requesting Gitaly in a N+1 manner on MR page Closes #45190 See merge request gitlab-org/gitlab-ce!18991
| * | | | | | | | | | | Persist truncated note diffs on a new table45190-create-notes-diff-filesOswaldo Ferreira2018-05-241-0/+7
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response. With this change we solve this problem and simplify a lot fetching this piece of info.
* | | | | | | | | | | Merge branch 'zj-internal-repo-path' into 'master'Grzegorz Bizon2018-05-282-7/+5
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't pass the repository path to Gitlab Shell See merge request gitlab-org/gitlab-ce!19011