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
AgeCommit message (Collapse)Author
2019-08-24Drop existing trigger before creating new oneReuben Pereira
- When renaming a column concurrently, drop any existing trigger before attempting to create a new one. When running migration specs multiple times (as it happens during local development), the down method of previous migrations are called. If any of the called methods contains a call to rename_column_concurrently, a trigger will be created and not removed. So, the next time a migration spec is run, if the same down method is executed again, it will cause an error when attempting to create the trigger (since it already exists). Dropping the trigger if it already exists will prevent this problem.
2019-08-24Add a link to docs in project descriptionReuben Pereira
Add to the service and migration both.
2019-08-23Implement validation logic to ProjectStageAdam Hegyi
- Introducting StageEvents to define the available events - Define the event pairing rules, since some events are not compatible - Express default Cycle Analytics stages with the event structure
2019-08-23Handle when server info doesn't have the storage in questionJohn Cai
2019-08-23Merge branch 'frozen_string_lib_2' into 'master'Nick Thomas
Add frozen_string_literal to lib part 2 See merge request gitlab-org/gitlab-ce!32094
2019-08-23Exempt `jwt/auth` for user `gitlab-ci-token` from rate limitingMarius Bobin
2019-08-23Expose namespace storage statistics with GraphQLAlessio Caiazza
Root namespaces have storage statistics. This commit allows namespace owners to get those stats via GraphQL queries like the following one { namespace(fullPath: "a_namespace_path") { rootStorageStatistics { storageSize repositorySize lfsObjectsSize buildArtifactsSize packagesSize wikiSize } } }
2019-08-22Log time spent on CPU to sidekiq.logBalakumar
2019-08-22Fix frozen string errorsThong Kuah
2019-08-22Merge branch 'feat/smime-signed-notification-emails' into 'master'Sean McGivern
feat: smime signed notification emails See merge request gitlab-org/gitlab-ce!30644
2019-08-22Add frozen_string_literal to lib part 2Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-08-21Merge branch 'sidekiq-interrupt-running-jobs-deadset' into 'master'Stan Hu
Put cancelled job in DeadSet See merge request gitlab-org/gitlab-ce!32070
2019-08-21Put cancelled job in DeadSetKamil Trzciński
This replicates Sidekiq behavior of pushing dead job into DeadSet.
2019-08-21Ensure CI matching operator receives an objectMarius Bobin
Ensure the evaluation of right-hand side expression always results in the returning of an object or an empty String
2019-08-21Properly handle `sidekiq` skipKamil Trzciński
Transform `CancelledError` into `JobRetry::Skip`
2019-08-21Improve resillency of monitorKamil Trzciński
- Retry connection when it fails - Properly shutdown daemon - Stop monitor if the Exception is raised - Properly guard exception handling
2019-08-21Perform cheap thread findKamil Trzciński
If we process message that is not designated to us previously we would fire a separate Thread for that. We don't need to do it. We can cheaply check if thread is available, if it is, we can perform expensive operation then.
2019-08-21Rework `Sidekiq::JobsThreads` into `Monitor`Kamil Trzciński
This makes: - very shallow `Middleware::Monitor` to only request tracking of sidekiq jobs, - `SidekiqStatus::Monitor` to be responsible to maintain persistent connection to receive messages, - `SidekiqStatus::Monitor` to always use structured logging and instance variables
2019-08-21Allow to interrupt running jobsKamil Trzciński
This adds a middleware to track all threads for running jobs. This makes sidekiq to watch for redis-delivered notifications. This makes be able to send notification to interrupt running sidekiq jobs. This does not take into account any native code, as `Thread.raise` generates exception once the control gets back to Ruby. The separate measure should be taken to interrupt gRPC, shellouts, or anything else that escapes Ruby.
2019-08-20Introducing new Syntax for Ci::Build inclusion rulesdrew
- Added Gitlab::Ci::Config::Entry::Rules and Gitlab::Ci::Config::Entry::Rules:Rule to handle lists of Rule objects to be evalauted for job inclusion - Added `if:` and `changes:` as available Rules::Rule::Clause classes - Added Rules handling logic to Seed::Build#included? with extra specs - Use DisallowedKeysValidator to mutually exclude rules: from only:/except: on job config
2019-08-20Standardize remote_ip and path keys for auth.log and api_json.logStan Hu
Current `auth.log` uses `fullpath` and `ip`, while `api_json.log` uses `remote_ip` and `path` for the same fields. Let's standardize these namings to make it easier for people working with the data. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66167
2019-08-20Merge branch 'bvl-mr-commit-note-counter' into 'master'Douwe Maan
Count notes for commits and merge requests See merge request gitlab-org/gitlab-ce!31912
2019-08-20feat: SMIME signed notification emailsDiego Louzán
- Add mail interceptor the signs outgoing email with SMIME - Add lib and helpers to work with SMIME data - New configuration params for setting up SMIME key and cert files
2019-08-20Allow measurement for Sidekiq jobs taking > 2.5sAndrew Newdigate
Fix for https://gitlab.com/gitlab-org/gitlab-ce/issues/66319.
2019-08-20Add support for sentry_extra_data in exceptionsAlex Kalderimis
This allows exceptions to advertise their support for sentry and provide structured data.
2019-08-19Merge branch '64251-branch-name-set-cache' into 'master'Robert Speicher
Cache branch and tag names as Redis sets See merge request gitlab-org/gitlab-ce!30476
2019-08-19Merge branch '39-count-unique-users-for-more-accurate-smau-reporting' into ↵Nick Thomas
'master' Allow UsageData.count to use count_by: See merge request gitlab-org/gitlab-ce!30770
2019-08-17Merge branch 'legacy-attachments-migrate-fix' into 'master'Michael Kozono
Migrate legacy uploads rake tasks See merge request gitlab-org/gitlab-ce!29409
2019-08-16Expire project caches once per push instead of once per refStan Hu
Previously `ProjectCacheWorker` would be scheduled once per ref, which would generate unnecessary I/O and load on Sidekiq, especially if many tags or branches were pushed at once. `ProjectCacheWorker` would expire three items: 1. Repository size: This only needs to be updated once per push. 2. Commit count: This only needs to be updated if the default branch is updated. 3. Project method caches: This only needs to be updated if the default branch changes, but only if certain files change (e.g. README, CHANGELOG, etc.). Because the third item requires looking at the actual changes in the commit deltas, we schedule one `ProjectCacheWorker` to handle the first two cases, and schedule a separate `ProjectCacheWorker` for the third case if it is needed. As a result, this brings down the number of `ProjectCacheWorker` jobs from N to 2. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52046
2019-08-16Remove Security Dashboard feature flagrossfuhrman
This removes the group_overview_security_dashboard feature flag
2019-08-16Count comments on notes and merge requestsBob Van Landuyt
This extends our existing `Gitlab::UsageDataCounters::NoteCounter` to also count notes on commits and merge requests
2019-08-16Merge branch 'mc/feature/pipeline-tracking-config-ce' into 'master'Kamil Trzciński
Add `needs:` CI config option CE Closes gitlab-ee#12334 See merge request gitlab-org/gitlab-ce!31346
2019-08-16Cache branch and tag names as Redis setsNick Thomas
This allows us to check inclusion for the *_exists? methods without downloading the full list of branch names, which is over 100KiB in size for gitlab-ce at the moment.
2019-08-16Add rake tasks for migrating leacy uploadsJarka Košanová
- move uploads created by AttachmentUploader - handle also files created for legacy_diff_notes
2019-08-16Support query parameters in metrics embedsSarah Yasonik
https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support for embedding specific charts from the metrics dashboard. Expected parameters are dashboard, title, group, and y_label.
2019-08-15Squash project templates on updateHordur Freyr Yngvason
As per https://gitlab.com/gitlab-org/gitlab-ce/issues/46043, project templates should be squashed before updating, so that repositories created from these templates don't include the full history of the backing repository.
2019-08-15Migrations for Cycle Analytics backendAdam Hegyi
This change lays the foundation for customizable cycle analytics stages. The main reason for the change is to extract the event definitions to separate objects (start_event, end_event) so that it could be easily customized later on.
2019-08-15Removes db/fixtures from database filesMayra Cabrera
This will avoid Danger to suggest a database review for files inside db/fixtures
2019-08-15Merge branch '65278-livesum-puma-phase' into 'master'Kamil Trzciński
Remove :puma_phase metrics See merge request gitlab-org/gitlab-ce!31773
2019-08-14Make use of Gitlab::KubernetesJoão Cunha
- refactor Knative and Prometheus
2019-08-14Migrates Snowplow backend from EE to CEJeremy Jackson
This introduces several changes, but these are all just ported from the EE project.
2019-08-14Track page views for cycle analytics show pageAdam Hegyi
This change adds a new counter 'cycle_analytics_views' to the usage data metrics to count the page views for cycle analytics show page.
2019-08-14Merge branch 'limit-amount-of-needs' into 'master'Grzegorz Bizon
Add `ci_dag_limit_needs` See merge request gitlab-org/gitlab-ce!31803
2019-08-14Remove :puma_phase metricsAleksei Lipniagov
We don't use phase restarts, as we use `preload_app`: https://github.com/puma/puma/blob/master/README.md#clustered-mode `:puma_phase` values will always be zero.
2019-08-14Merge branch 'sh-optimize-commit-deltas-post-receive' into 'master'Nick Thomas
Reduce Gitaly calls in PostReceive Closes #65878 See merge request gitlab-org/gitlab-ce!31741
2019-08-14Add `ci_dag_limit_needs` feature flagKamil Trzciński
This makes to limit `needs:` to 5 by default. Allow to increase the limit to 50 with disable of FF.
2019-08-14Merge branch 'require-needs-to-be-present' into 'master'Grzegorz Bizon
Require `needs:` to be present Closes #65839 See merge request gitlab-org/gitlab-ce!31761
2019-08-14Add usage pings for source code pushesIgor
Source Code Usage Ping for Create SMAU
2019-08-14Merge branch 'bump_helm_kubectl_gitlab' into 'master'Douglas Barbosa Alexandre
Bump Helm to 2.14.3 and kubectl to 1.11.10 See merge request gitlab-org/gitlab-ce!31716
2019-08-13Only expire tag cache once per pushStan Hu
Previously each tag in a push would invoke the Gitaly `FindAllTags` RPC since the tag cache would be invalidated with every tag. We can eliminate those extraneous calls by expiring the tag cache once in `PostReceive` and taking advantage of the cached tags. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/65795