summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't use bang method when there is no safe methodReuben Pereira2019-07-121-33/+59
| | | | https://github.com/rubocop-hq/ruby-style-guide#dangerous-method-bang
* Clean up CI reportsPhilippe Lafoucrière2019-07-111-0/+1
| | | | | Also, `SAST_CONFIDENCE_LEVEL` has been renamed in https://gitlab.com/gitlab-org/security-products/sast/merge_requests/72
* Remove unused methodRyan Cobb2019-07-111-4/+0
|
* Merge branch '63667-hashed-storage-migration-count-correctly' into 'master'Douglas Barbosa Alexandre2019-07-112-49/+41
|\ | | | | | | | | | | | | Display the amount for Hashed Storage migration/rollback correctly Closes #63667 See merge request gitlab-org/gitlab-ce!29996
| * Display the amount for Hashed Storage migration/rollback correctly63667-hashed-storage-migration-count-correctlyGabriel Mazetto2019-07-102-49/+41
| | | | | | | | | | Rake script considers the specified range, if present, to calculate the affected amount of projects correctly.
* | Give Knative serving permissions to service accountHordur Freyr Yngvason2019-07-113-3/+35
| | | | | | | | | | | | | | | | GitLab uses a kubernetes service account to perform deployments. For serverless deployments to work as expected with externally created clusters with their own knative installations (e.g. via Cloud Run), this account requires additional permissions in the serving.knative.dev API group.
* | Merge branch 'better-merge-train-exlusive-lock-ce' into 'master'Kamil Trzciński2019-07-111-0/+112
|\ \ | | | | | | | | | | | | CE Port: Fix race condition on merge train with better exclusive lock See merge request gitlab-org/gitlab-ce!30352
| * | Efficient merge train locksbetter-merge-train-exlusive-lock-ceShinya Maeda2019-07-111-0/+112
| |/ | | | | | | Efficient merge train locks with Sequential Process helper.
* | Merge branch 'banzai-avoid-redis-if-db-cache' into 'master'Douwe Maan2019-07-113-17/+33
|\ \ | | | | | | | | | | | | Banzai - avoid redis if attr is in DB cache See merge request gitlab-org/gitlab-ce!30334
| * | Banzai - avoid redis if attr is in DB cachebanzai-avoid-redis-if-db-cacheMario de la Ossa2019-07-103-17/+33
| | | | | | | | | | | | | | | | | | | | | When cache_collection_render runs we end up reading and writing things to redis even if we already have the rendered field cached in the DB. This commit avoids using redis at all whenever we have the field already rendered in the DB cache.
* | | Improve Graphql DocsFelipe Artur2019-07-114-0/+144
| | | | | | | | | | | | Adds more friendly docs for GraphQl implementation
* | | Merge branch 'bvl-link-phab-users' into 'master'James Lopez2019-07-117-5/+160
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fetch users from Phabricator + link to issues Closes #60565 See merge request gitlab-org/gitlab-ce!30321
| * | Fetch users from Phabricator to link to issuesBob Van Landuyt2019-07-107-5/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | We fetch the users from Phabricator based on their Phabricator ID. If a user with the same username exists and is a member of the project, we set them as assignee or author. When a user is applicable, we also cache it in Redis so we don't have to perform the request again for the same phid.
* | | Add a rubocop for Rails.loggerMayra Cabrera2019-07-1045-52/+67
| | | | | | | | | | | | | | | | | | Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
* | | Merge branch '63044-cluster-health-group-refactor' into 'master'Douglas Barbosa Alexandre2019-07-104-0/+138
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Refactor common_metrics importer into a more extensible pattern Closes #63044 See merge request gitlab-org/gitlab-ce!30012
| * | | Remove unnecessary rubocop disableRyan Cobb2019-07-091-2/+0
| | | |
| * | | Rename Gitlab::Importers moduleRyan Cobb2019-07-094-4/+4
| | | | | | | | | | | | | | | | | | | | In order to avoid confusion between Gitlab::Importers module and other like named modules, this renamed it to Gitlab::DatabaseImporters.
| * | | Remove prepending of EE moduleRyan Cobb2019-07-091-2/+0
| | | |
| * | | Remove CommonMetricsImporter patchRyan Cobb2019-07-092-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Remove CommonMetricsImporter patch and change all references to CommonMetrics::Importer. Move specs into their appropriate folders. Also cleans up some common_metric importer namespacing.
| * | | Fully namespace importer dependenciesRyan Cobb2019-07-091-5/+5
| | | |
| * | | Remove prepending of EE moduleRyan Cobb2019-07-091-2/+0
| | | |
| * | | Move importers to lib folderRyan Cobb2019-07-094-0/+142
| | | | | | | | | | | | | | | | | | | | This moves our metric importers into the lib folder. This will allow them to be autoloaded instead of having to explicitly require them.
* | | | Merge branch 'prepare-cycle-analytics-for-group-level' into 'master'Douglas Barbosa Alexandre2019-07-1014-34/+59
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Prepare cycle analytics for group level See merge request gitlab-org/gitlab-ce!30356
| * | | Add attribute readerMałgorzata Ksionek2019-07-1012-22/+24
| | | |
| * | | Add guard clauseMałgorzata Ksionek2019-07-091-0/+2
| | | |
| * | | Add cr remarksMałgorzata Ksionek2019-07-091-1/+1
| | | |
| * | | Add code review remarksMałgorzata Ksionek2019-07-091-1/+1
| | | |
| * | | Add one method to base event fetcherMałgorzata Ksionek2019-07-092-0/+5
| | | | | | | | | | | | | | | | FIx file
| * | | Fix rubocop offencesMałgorzata Ksionek2019-07-092-2/+2
| | | |
| * | | Update class callsMałgorzata Ksionek2019-07-091-2/+1
| | | |
| * | | Modify base class for cycle analytics fetchingMałgorzata Ksionek2019-07-093-17/+34
| | | |
| * | | Change constant pathMałgorzata Ksionek2019-07-091-1/+1
| | | |
* | | | Expose metrics element for FE consumptionSarah Yasonik2019-07-106-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds GFM Pipline filters to insert a placeholder in the generated HTML from GFM based on the presence of a metrics dashboard link. The front end should look for the class 'js-render-metrics' to determine if it should replace the element with metrics charts. The data element 'data-dashboard-url' should be the endpoint the front end should hit in order to obtain a dashboard layout in order to appropriately render the charts.
* | | | Update Clair Version V8 to V11Can Eldem2019-07-101-1/+2
| | | |
* | | | Propagate python version variableCan Eldem2019-07-101-0/+1
| | | |
* | | | Merge branch '62826-graphql-note-mutations' into 'master'Jan Provaznik2019-07-101-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | GraphQL mutations for managing Notes See merge request gitlab-org/gitlab-ce!30210
| * | | | GraphQL support for Notes created in discussions62826-graphql-note-mutationsLuke Duncalfe2019-07-101-0/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
* | | | Merge branch '58275-rename-project-entity' into 'master'Jan Provaznik2019-07-102-5/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Rename ProjectEntity to IssuableEntity Closes #58275 See merge request gitlab-org/gitlab-ce!30217
| * | | Rename ProjectEntity to IssuableEntity58275-rename-project-entityAlexandru Croitor2019-07-092-5/+5
| | | |
* | | | Merge branch 'fix-unicorn-sampler-workers-count' into 'master'Stan Hu2019-07-091-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make unicorn_workers to return meaningful results Closes #63659 See merge request gitlab-org/gitlab-ce!30506
| * | | | Make unicorn_workers to return meaningful resultsfix-unicorn-sampler-workers-countKamil Trzciński2019-07-091-1/+10
| | | | |
* | | | | Merge branch 'project_api' into 'master'Douglas Barbosa Alexandre2019-07-092-7/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve Project API Closes #49938, #40892, and #35992 See merge request gitlab-org/gitlab-ce!28327
| * \ \ \ \ Merge branch 'master' into sathieu/gitlab-ce-project_apiDouglas Barbosa Alexandre2019-07-0945-327/+564
| |\ \ \ \ \
| * | | | | | Fix API performance problem of auto_devops queryMathieu Parent2019-07-031-0/+2
| | | | | | |
| * | | | | | Add auto_devops_* to project APIMathieu Parent2019-07-032-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The auto_devops object sometimes doesn't exists. We may need to create it.
| * | | | | | Add auto_cancel_pending_pipelines to project APIMathieu Parent2019-07-032-0/+3
| | | | | | |
| * | | | | | Add build_coverage_regex to project APIMathieu Parent2019-07-032-0/+3
| | | | | | |
| * | | | | | Add build_timeout to project APIMathieu Parent2019-07-032-0/+3
| | | | | | |
| * | | | | | Add build_git_strategy attribute to project APIMathieu Parent2019-07-032-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We map the boolean to the string 'fetch' or 'clone', to be more explicit.
| * | | | | | Add *_access_level to project APIMathieu Parent2019-07-032-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - issues_access_level - repository_access_level - merge_requests_access_level - builds_access_level - wiki_access_level - snippets_access_level