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/config
AgeCommit message (Collapse)Author
2019-02-12Log queue duration in production_json.logStan Hu
`queue_duration` is a useful metric that is currently in api_json.log but not in production_json.log. We should add it because it tells us how long the request sat in Workhorse before Unicorn processed it. Having this field enables the support team to better troubleshoot when delays began to happen.
2019-02-11Merge branch '52424-goodbye-hipchat' into 'master'Douglas Barbosa Alexandre
Remove HipChat integration from GitLab Closes #52424 See merge request gitlab-org/gitlab-ce!22223
2019-02-11Merge branch 'an-peek-jaeger' into 'master'Grzegorz Bizon
Provide a performance bar link to the Jaeger UI See merge request gitlab-org/gitlab-ce!24902
2019-02-10Fix error when reloading code in SidekiqPeter Leitzen
This commit fixes the following error in development: ArgumentError: A copy of Gitlab::Metrics::Transaction has been removed from the module tree but is still active!
2019-02-08Remove HipChat integration from GitLabNick Thomas
2019-02-08Provide a performance bar link to the Jaeger UIAndrew Newdigate
Jaeger is a distributed tracing tool. This change adds a "Tracing" link to the performance bar to directly link to a current request in Jaeger. This is useful for two reasons: 1 - it provides affordance to developers that the distributed tracing tool is available, so that it can quickly be discovered. 2 - it allows developers to quickly find a specific trace without having to manually navigate to a second user-interface.
2019-02-06Fix #44332 - Add support for profile and emailGotenXiao
2019-02-06Add list_projects endpoint to error trackingReuben Pereira
2019-02-06Merge branch ↵Filipa Lacerda
'43681-display-last-activity-and-created-at-datetimes-for-users-in-admin-users' into 'master' Resolve "Display last activity and created at datetimes for users" Closes #43681 See merge request gitlab-org/gitlab-ce!24181
2019-02-06Inroduce Internal API for searching environment namesShinya Maeda
Add changelog Rename word to query User hash for limit Do not allow control limit Rename pluck names and add more specs
2019-02-06Merge branch '52568-external-mr-diffs' into 'master'Sean McGivern
Allow merge request diffs to be placed into an object store Closes #52568 See merge request gitlab-org/gitlab-ce!24276
2019-02-05Add last activity to user administrationBrandon Labuschagne
The columns 'Created on' and 'Last activity' have been added to the admin -> users view. Sorting options have also been added for last activity and the search bar has been moved to match the issues page.
2019-02-05Allow MR diffs to be placed into an object storeNick Thomas
2019-02-05Monkey-patch Sprockets to prevent cache ballooningRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-02Downcase aliased OAuth2 callback providersStan Hu
Users may specify an OAuth2 callback with a custom name, such as AWSCognito, but Rails will reject this with the following message: ``` 'import/AWSCognito' is not a supported controller name. This can lead to potential routing problems. See http://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use ``` To avoid these errors, we can just downcase all the provider names. Note that this will make it impossible to specify a duplicate name with different cases. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57156
2019-01-31Alias GitHub and BitBucket OAuth2 callback URLsStan Hu
To prevent an OAuth2 covert redirect vulnerability, this commit adds and uses an alias for the GitHub and BitBucket OAuth2 callback URLs to the following paths: GitHub: /users/auth/-/import/github Bitbucket: /users/auth/-/import/bitbucket This allows admins to put a more restrictive callback URL in the OAuth2 configuration settings. Instead of https://example.com, admins can now use: https://example.com/users/auth It's possible but not trivial to change Devise and OmniAuth to use a different prefix for callback URLs instead of /users/auth. For now, aliasing the import URLs under the /users/auth namespace should suffice. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56663
2019-01-30Add ee_else_ce alias to Webpack configWinnie Hellmann
(cherry picked from commit da3cd00f5a31f762eb67c2824233ad2b275b2ba8) Conflicts: config/webpack.config.js
2019-01-30Add OpenTracing instrumentation for Action View Render eventsAndrew Newdigate
This change adds three new instrumentations, driven through rails notifications: render_template.action_view, render_collection.action_view and render_partial.action_view. These can help developers understand why renders are taking a long time which may in turn help them to improve their performance.
2019-01-25Refactor Storage MigrationGabriel Mazetto
Specs were reviewed and improved to better cover the current behavior. There was some standardization done as well to facilitate the implementation of the rollback functionality. StorageMigratorWorker was extracted to HashedStorage namespace were RollbackerWorker will live one as well.
2019-01-25Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon
Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
2019-01-25Add Container Registry APIKamil Trzciński
This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
2019-01-25Merge branch '54250-upstream-kubeclient-redirect-patch' into 'master'Kamil Trzciński
Use http_max_redirects opt to replace monkeypatch Closes #54250 See merge request gitlab-org/gitlab-ce!24284
2019-01-25Merge branch 'an-opentracing-active-record-tracing' into 'master'Kamil Trzciński
Adds tracing support for ActiveRecord notifications See merge request gitlab-org/gitlab-ce!24604
2019-01-25Use http_max_redirects opt to replace monkeypatchThong Kuah
http_max_redirects was introduced in 4.2.2, so upgrade kubeclient. The monkey-patch was global so we will have to check that all instances of Kubeclient::Client are handled. Spec all methods of KubeClient This should provide better confidence that we are indeed disallowing redirection in all cases
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24Adds tracing support for ActiveRecord notificationsAndrew Newdigate
This change will publish distributed tracing spans related to SQL ActiveRecord queries. These queries are unbound, so will still contain parameter substitution strings in place of actual parameter values. This ensures that the SQL strings do not need to be scrubbed, since the values are not included in the SQL. More details of rails instrumentation can be found here: https://guides.rubyonrails.org/active_support_instrumentation.html
2019-01-23Merge branch ↵Nick Thomas
'52674-api-v4-projects-project_id-jobs-endpoint-hits-statement-timeout' into 'master' [API] Omit `X-Total` and `X-Total-Pages` headers when items count is more than 10,000 Closes #42194 and #52674 See merge request gitlab-org/gitlab-ce!23931
2019-01-22Merge branch 'an-opentracing-propagation' into 'master'Kamil Trzciński
Adds inter-service OpenTracing propagation See merge request gitlab-org/gitlab-ce!24239
2019-01-22[API] Omit X-Total{,-Pages} when count > 10kRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-22Adds inter-service OpenTracing propagationAndrew Newdigate
This change allows the GitLab rails and sidekiq components to receive tracing spans from upstream services such as Workhorse and pass these spans on to downstream services including Gitaly and Sidekiq. This change will also emit traces for incoming and outgoing requests using the propagated trace information. This will allow operators and engineers to view traces across the Workhorse, GitLab Rails, Sidekiq and Gitaly components. Additional intra-service instrumentation will be added in future changes.
2019-01-22Add ability to resolve project id into pathDmitriy Zaporozhets
By visiting `projects/:id` you will be redirected to project page with path in it. projects/123 => foo/bar Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-01-21Merge branch 'raise-on-unfiltered-params' into 'master'Rémy Coutable
Set ActionController raise_on_unfiltered_parameters to true See merge request gitlab-org/gitlab-ce!24443
2019-01-17Conditionally initialize the global opentracing tracerAndrew Newdigate
This change will instantiate an OpenTracing tracer and configure it as the global tracer when the GITLAB_TRACING environment variable is configured. GITLAB_TRACING takes a "connection string"-like value, encapsulating the driver (eg jaeger, etc) and options for the driver. Since each service, whether it's written in Ruby or Golang, uses the same connection-string, it should be very easy to configure all services in a cluster, or even a single development machine to be setup to use tracing. Note that this change does not include instrumentation or propagation changes as this is a way of breaking a previous larger change into components. The instrumentation and propagation changes will follow in separate changes.
2019-01-17Actually set raise_on_unfiltered_parameters to trueJasper Maes
2019-01-16Extract process_name from GitLab::SentryAndrew Newdigate
GitLab::Sentry has a program_context method to determine whether a Sentry exception occurred in Sidekiq or rails. Since we will need similar functionality for distributed tracing, this change extracts the program_context method into GitLab.process_name for more general consumption.
2019-01-15Merge branch 'remove-cancel-all-button-in-job-list-view' into 'master'Grzegorz Bizon
Remove cancel all jobs button in general jobs list view Closes #34665 See merge request gitlab-org/gitlab-ce!24010
2019-01-15Generate searchable JSDoc documentationWinnie Hellmann
2019-01-11Merge branch 'knative-show-page' into 'master'Mike Greiling
Initial Serverless Functions detailed view See merge request gitlab-org/gitlab-ce!23863
2019-01-11Initial Serverless Functions detailed viewChris Baumbauer
2019-01-10Service for calling Sentry issues apiReuben Pereira
2019-01-09Add SSE-C key configuration option for Amazon S3 remote backupsPepijn Van Eeckhoudt
2019-01-07Delete extra empty line in project.rbJordi Llull Chavarría
2019-01-07Remove cancel all action in Jobs ControllerJordi Llull
2019-01-07Import CSV BackendHeinrich Lee Yu
Process CSV uploads async using a worker then email results
2019-01-07Add Import CSV FrontendHeinrich Lee Yu
Added button and modal to accept CSV file for uploading
2019-01-06Move settings operations controller from EE to CEPeter Leitzen
This commit prepares the structure for the upcoming feature error tracking.
2019-01-06Merge branch 'kamil-refactor-ci-builds-v5' into 'master'Grzegorz Bizon
Use BuildMetadata to store build configuration in JSONB form See merge request gitlab-org/gitlab-ce!21499
2019-01-04Merge branch 'deprecated-callback-false' into 'master'Robert Speicher
Fix deprecation: returning false in Active Record and Active Model callbacks See merge request gitlab-org/gitlab-ce!24134
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
2019-01-04Fix deprecation: returning false in Active Record and Active Model callbacks ↵Jasper Maes
will not implicitly halt a callback chain