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
2019-07-23Merge branch 'safe-archiving-for-traces' into 'master'Kamil Trzciński
Extra logging for new live trace architecture See merge request gitlab-org/gitlab-ce!30892
2019-07-23Merge branch 'sh-use-shared-state-cluster-pubsub' into 'master'Kamil Trzciński
Use persistent Redis cluster for Workhorse pub/sub notifications See merge request gitlab-org/gitlab-ce!30990
2019-07-23Merge branch '64974-remove-livesum-from-ruby-sampler-metrics' into 'master'Kamil Trzciński
Remove :livesum from RubySampler metrics See merge request gitlab-org/gitlab-ce!31047
2019-07-23Merge branch 'if-64257-active_session_lookup_key_cleanup' into 'master'Bob Van Landuyt
Rake task to cleanup expired ActiveSession lookup keys See merge request gitlab-org/gitlab-ce!30668
2019-07-23Remove :livesum from RubySampler metricsAleksei Lipniagov
2019-07-23Merge branch 'gsemet/gitlab-ce-gsemet-master-patch-33258' into 'master'Sean McGivern
Multiple pipeline support for Build status See merge request gitlab-org/gitlab-ce!30828
2019-07-23Merge branch 'georgekoltsov/64377-add-better-log-msg-to-members-mapper' into ↵Ash McKenzie
'master' Add better error message to MembersMapper#ensure_default_member! See merge request gitlab-org/gitlab-ce!30838
2019-07-23Validate the existence of archived traces before removing live traceShinya Maeda
Often live traces are removed even though the archived trace doesn't exist. This commit checkes the existence strictly.
2019-07-23Add specs for specifying pipeline behaviorMatija Čupić
Adds specs for testing the new behavior of specifying a pipeline when POSTing a status.
2019-07-23Merge branch 'rm-src-branch' into 'master'Grzegorz Bizon
Support remove source branch on merge w/ push options See merge request gitlab-org/gitlab-ce!30728
2019-07-23Bring backward compatibility for request profilesKamil Trzciński
It seems that we missed the backward compatibility support for profiles in the existing folder. This commit also fixes some specs to be idempotent and work in a temporary directory which not always seems to be the case. This commit also brings the profile_spec.rb which seems to be missing.
2019-07-23Add changelog entryGeorge Koltsov
2019-07-22Convert githost.log to JSON formatStan Hu
This will make it easier to parse this in production and adds the `correlation_id` if available.
2019-07-22Use persistent Redis cluster for Workhorse pub/sub notificationsStan Hu
Previously, in Omnibus, Workhorse expected to listen via the Redis shared state cluster for the `workhorse:notifications` publish/subscribe channel, but the Rails code was using the Sidekiq queue cluster for this. To fix this inconsistency, we make the Rails code use the persistent cluster, since we don't want Workhorse to be looking at anything Sidekiq-related.
2019-07-22Merge branch 'maintainers-can-create-subgroup' into 'master'Sean McGivern
Add a group setting to allow Maintainers to create sub-groups See merge request gitlab-org/gitlab-ce!29718
2019-07-22Rake task to cleanup expired ActiveSession lookup keysImre Farkas
In some cases ActiveSession.cleanup was not called after authentication, so for some user ActiveSession lookup keys grew without ever cleaning up. This Rake task manually iterates over the lookup keys and removes ones without existing ActiveSession.
2019-07-22OAuth2 support for GitLab personal access tokensSteve Abrams
PATs are accepted using the OAuth2 compliant header "Authorization: Bearer {token}" in order to allow for OAuth requests while 2FA is enabled.
2019-07-21Count wiki page creationAlex Kalderimis
This adds a counter to count page creation, which is reflected in the usage-data we collect. The number created is stored in Redis, avoiding DB access.
2019-07-19Add "allowed to create subgroups" dropdown to group settings formFabio Papa
2019-07-19Add constants representing Owner and Maintainer group access levelsFabio Papa
2019-07-19Merge branch 'sh-fix-gitaly-server-info-cache' into 'master'Mayra Cabrera
Fix Gitaly auto-detection caching Closes #64802 See merge request gitlab-org/gitlab-ce!30954
2019-07-19Document database review processToon Claes
See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6069
2019-07-19Merge branch '30939-remove-worker-label-from-ruby-sampler-metrics' into 'master'Kamil Trzciński
Get rid of `worker_label` in RubySampler See merge request gitlab-org/gitlab-ce!30942
2019-07-19Avoid increasing redis counters when usage_ping is disabledFrancisco Javier López
2019-07-19Fix Gitaly auto-detection cachingStan Hu
If `GitalyClient#can_use_disk?` returned `false`, it was never cached properly and led to excessive number of Gitaly calls. Instead of using `cached_value.present?`, we need to check `cached_value.nil?`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64802
2019-07-19Merge branch '64722-mg-export-frontend-fixtures' into 'master'Phil Hughes
Resolve "Export frontend fixtures as pipeline artifact" Closes #64722 and #59166 See merge request gitlab-org/gitlab-ce!30917
2019-07-19Get rid of `worker_label` in RubySamplerAleksei Lipniagov
We have Prometheus::PidProvider which sets correct worker id for a process, so such implementation of `worker_label` in the sampler is obsolete.
2019-07-19Adjust redis cache metricsBen Kochie
* Remove `controller` and `action` labels from duration histogram. * Create a new simple counter for `controller` and `action`. * Adjust histogram buckets to observe smaller response times.
2019-07-19Added Usage Data for some Web IDE actionsFrancisco Javier López
The actions tracked in the web IDE are: - creation of commits - creation of merge requests - projects loaded
2019-07-19Merge branch '64295-predictable-environment-slugs' into 'master'Lin Jen-Shin
Use predictable environment slugs See merge request gitlab-org/gitlab-ce!30551
2019-07-19Move frontend fixtures into spec/frontendMike Greiling
Moves every fixture source file from spec/javascripts to spec/frontend
2019-07-19Rename the karma:fixtures taskMike Greiling
Introduces frontend:fixtures rake task to replace karma:fixtures and update documentation and CI scripts to match
2019-07-19Set Private visibility for restricted Internal imported projectsGeorge Koltsov
With https://gitlab.com/gitlab-org/gitlab-ee/issues/12388 change going live there is potential risk of breaking imports of 'Internal' projects. This change makes sure if 'Internal' visibility level is restricted all 'Internal' projects will be marked as 'Private' See: https://gitlab.com/gitlab-org/gitlab-ce/issues/64311
2019-07-19Introduce predictable environment slugsTiger
If an environment slug is predictable given only the environment name, we can use the environment slug earlier in the CI variable evaluation process as we don't have to wait for the environment record itself to be persisted.
2019-07-18Merge branch 'an-sidekiq-chaos' into 'master'Lin Jen-Shin
Adds chaos endpoints to Sidekiq Closes #64663 See merge request gitlab-org/gitlab-ce!30814
2019-07-18Adds chaos endpoints to SidekiqAndrew Newdigate
This allows the chaos endpoints to be invoked in Sidekiq so that this environment can be tested for resilience.
2019-07-18Improves add_timestamps_with_timezone helperAlex Kalderimis
This improves the `add_timestamps_with_timezone` helper by allowing the column names to be configured. This has the advantage that unnecessary columns can be avoided, saving space. A helper for removing the columns is also provided, to be used in the `down` method of migrations.
2019-07-18Merge branch 'sh-add-rugged-logs' into 'master'Douglas Barbosa Alexandre
Add Rugged calls and duration to API and Rails logs Closes #64676 See merge request gitlab-org/gitlab-ce!30871
2019-07-18Merge branch 'add-profile-mode-to-extend-request-profiling' into 'master'Kamil Trzciński
Add profile mode to extend request profiling See merge request gitlab-org/gitlab-ce!30126
2019-07-18Fix pid providing for PrometheusAleksei Lipniagov
Use relative worker identifier for metrics (instead of Process.pid) and identify when Unicorn/Puma/Sidekiq is used. Previously, it was assumed that all metrics are gathered from Unicorn due to hardcoded implementation which was incorrect.
2019-07-18Add Rugged calls and duration to API and Rails logsStan Hu
This adds `rugged_duration_ms` and `rugged_calls` fields to `api_json.log` and `production_json.log`. This will make it easier to identify performance issues caused by excessive I/O. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64676
2019-07-18Merge branch 'sh-fix-redis-performance-bar' into 'master'Mayra Cabrera
Fix inconsistency in Redis performance bar stats Closes #64707 See merge request gitlab-org/gitlab-ce!30866
2019-07-18Add profile mode to extend request profilingQingyu Zhao
Extend the support for "X-Profile-Token: <token>" to have an additional header that defines type of profile we are looking for, like: X-Profile-Mode: execution X-Profile-Mode: memory
2019-07-18Merge branch 'ci_default_git_depth_only' into 'master'Douglas Barbosa Alexandre
API: Allow changing only ci_default_git_depth See merge request gitlab-org/gitlab-ce!30888
2019-07-18Merge branch 'webide-commit-use-correct-parent' into 'master'Nick Thomas
Use correct parent when committing in WebIDE See merge request gitlab-org/gitlab-ce!29598
2019-07-18Merge branch 'feature/gb/serverless-app-deployment-template' into 'master'Thong Kuah
Deploy serverless apps with `gitlabktl` Closes #64494 See merge request gitlab-org/gitlab-ce!30740
2019-07-18Merge branch 'adjust-cycle-analytics-to-group-level' into 'master'Sean McGivern
Adjust cycle analytics to group level See merge request gitlab-org/gitlab-ce!30391
2019-07-18API: Allow changing only ci_default_git_depthMathieu Parent
2019-07-18Add start_sha to commits APIMarkus Koller
When passing start_branch on committing from the WebIDE, it's possible that the branch has changed since editing started, which results in the change being applied on top of the latest commit in the branch and overwriting the new changes. By passing the start_sha instead we can make sure that the change is applied on top of the commit which the user started editing from.
2019-07-18Refactor RedisCounter and WebIdeCommitsCounterFrancisco Javier López
This MR refactor RedisCounter and WebIdeCommitsCounter to be reused by other components.