summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow parameters for rake gitlab:seed:issuesbw-enhance-rake-seedBrett Walker2019-07-151-2/+5
| | | | to specify backfill_weeks and average_issues_per_week
* Remove auto ssl feature flagsVladimir Shushlin2019-07-121-9/+2
| | | | | * remove feature flag for admin settings * remove feature flag for domain settings
* Merge branch 'js-specs-transactions' into 'master'Andreas Brandl2019-07-122-7/+57
|\ | | | | | | | | | | | | Use transactions in JS feature specs Closes #60207 See merge request gitlab-org/gitlab-ce!27496
| * Use transactions in JS feature specsjs-specs-transactionsHeinrich Lee Yu2019-07-122-7/+57
| | | | | | | | | | Uses Rails transactional tests instead of DatabaseCleaner transaction strategy because that doesn't work with JS tests
* | Merge branch 'id-clean-up-mr-assignees-migration' into 'master'Andreas Brandl2019-07-121-0/+8
|\ \ | | | | | | | | | | | | Add cleanup migration for MR's multiple assignees See merge request gitlab-org/gitlab-ce!30269
| * | Add cleanup migration for MR's mutliple assigneesid-clean-up-mr-assignees-migrationIgor Drozdov2019-07-091-0/+8
| | | | | | | | | | | | | | | | | | | | | The migration steals the remaining background jobs of populating MRs with assignees, executes them synchronously and then makes sure that all the assignees are migrated
* | | Merge branch 'bvl-rename-routes-after-user-rename' into 'master'Jan Provaznik2019-07-123-8/+106
|\ \ \ | | | | | | | | | | | | | | | | Set the name of a user-namespace to the user name See merge request gitlab-org/gitlab-ce!23272
| * | | Fix incorrect namespaces & route for user-routesBob Van Landuyt2019-07-092-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the `Namespace#name` and `Route#name` for all user namespaces and their personal projects in case they don't match the user name anymore. More info info in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23272
| * | | Lesser Namespace#name validationsBob Van Landuyt2019-07-091-8/+0
| | | | | | | | | | | | | | | | | | | | Since we use `Namespace#path` to build routes and URLs we can lessen the restrictions on `Namespace#name` so it can accomodate a user's name.
* | | | Merge branch 'upgrade-rails-5-2-ce' into 'master'Bob Van Landuyt2019-07-125-7/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | [CE] Upgrade to Rails 5.2 See merge request gitlab-org/gitlab-ce!30052
| * | | | Upgrade to Rails 5.2upgrade-rails-5-2-ceHeinrich Lee Yu2019-07-125-7/+8
| | |_|/ | |/| | | | | | | | | | Updates changed method names and fixes spec failures
* | | | Merge branch '55623-group-cluster-apis' into 'master'Grzegorz Bizon2019-07-124-1/+146
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "API support for group-level clusters" Closes #55623 See merge request gitlab-org/gitlab-ce!30213
| * | | | Add API for CRUD group clusters55623-group-cluster-apisDylan Griffith2019-07-113-0/+145
| | | | | | | | | | | | | | | | | | | | This is basically a copy of the API for project clusters.
| * | | | Refactor: model errors for multi cluster validationDylan Griffith2019-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current approach requires catching exceptions to handle these errors and callers are already handling model validations so it seems more appropriate. Also it seemed to convoluted to add this logic directly to the model since the model needs to check too many possible associations to determine whether or not there are more than one cluster since the model doesn't know what it's being created on. Additionally we only wanted to validate during create to avoid the risk of existing models becoming invalid by many different edge cases.
* | | | | Merge branch 'issue-63298-asciidoc-sanitization' into 'master'Douwe Maan2019-07-124-79/+163
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent excessive sanitization of AsciiDoc ouptut Closes #63298 See merge request gitlab-org/gitlab-ce!30290
| * | | | | Prevent excessive sanitization of AsciiDoc ouptutGuillaume Grossetie2019-07-124-79/+163
| | | | | |
* | | | | | 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
| | | | | | |