summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'sidekiq-interrupt-running-jobs' into 'master'Stan Hu2019-08-211-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow to interrupt running sidekiq jobs See merge request gitlab-org/gitlab-ce!31818
| * | | | | Properly handle `sidekiq` skipsidekiq-interrupt-running-jobsKamil Trzciński2019-08-211-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Transform `CancelledError` into `JobRetry::Skip`
| * | | | | Rework `Sidekiq::JobsThreads` into `Monitor`Kamil Trzciński2019-08-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Allow to interrupt running jobsKamil Trzciński2019-08-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | This commit adds a new time series componentMiguel Rincon2019-08-211-4/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a time series component for line and area charts. Displays new charts in the dashboard. - Use dynamic components for line/area swapping - Add new line charts to dashboard in 2 panels
* | | | | New wiki page redirects user to random slug46299-wiki-page-creationLuke Duncalfe2019-08-211-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we asked a user to enter a new slug before taking them to the Create Page page. As a UX improvement, we now take them to a randomly generated URI so they can begin creating their new page. https://gitlab.com/gitlab-org/gitlab-ce/issues/46299
* | | | Standardize remote_ip and path keys for auth.log and api_json.logStan Hu2019-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Back porting Username suggestion API changesAishwarya Subramanian2019-08-201-0/+1
| | | |
* | | | [CE] Add hooks to sync dev info to Jira using Connect AppHeinrich Lee Yu2019-08-191-0/+1
| | | |
* | | | Merge branch 'qa-backport-fix-remaining-prepend-lines' into 'master'Rémy Coutable2019-08-191-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Update qa/Dockerfile to be built from the project root context See merge request gitlab-org/gitlab-ce!31533
| * | | | Support X_if_ee methods for QA testsYorick Peterse2019-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
* | | | | Clean Sidekiq metrics from multiproc dir on startAleksei Lipniagov2019-08-191-0/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | After moving the multiproc dir cleanup into `config.ru`:`warmup`, we stopped cleaning Sidekiq metrics dir which is not correct. This MR intended to fix that. More details: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31668
* | | | Merge branch ↵Grzegorz Bizon2019-08-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '47003-user-onboarding-replace-current-email-confirmation-flow-with-a-soft-email-confirmation-flow' into 'master' Soft email confirmation flow Closes #47003 See merge request gitlab-org/gitlab-ce!31245
| * | | | Set Devise's allow_unconfirmed_access_forAlex Buijs2019-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | to 30 days
* | | | | Merge branch '24705-multi-selection-for-delete-on-registry-page' into 'master'Thong Kuah2019-08-151-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Multi selection for delete on registry page" Closes #24705 See merge request gitlab-org/gitlab-ce!30837
| * | | | | Support bulk registry tag deleteGiorgenes Gelatti2019-07-301-1/+5
| | |_|/ / | |/| | |
* | | | | Merge branch 'ashmckenzie/remove-duplicate-users-routes' into 'master'Stan Hu2019-08-151-7/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Remove duplicate -/users/terms routes See merge request gitlab-org/gitlab-ce!31812
| * | | | Remove duplicate -/users/terms routesashmckenzie/remove-duplicate-users-routesAsh McKenzie2019-08-141-7/+0
| | | | |
* | | | | CE-specific changes to allow design Todos13494-todo-s-not-rendering-when-there-is-a-design-management-related-todo-ceLuke Duncalfe2019-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CE-specific changes for: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15129 Co-Authored-By: Alex Kalderimis <akalderimis@gitlab.com> Co-Authored-By: Luke Duncalfe <lduncalfe@eml.cc>
* | | | | Merge branch ↵Stan Hu2019-08-142-0/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '46548-open-source-alternative-to-recaptcha-for-gitlab-com-registration' into 'master' Open source alternative to reCAPTCHA for GitLab.com registration See merge request gitlab-org/gitlab-ce!31625
| * | | | | Add invisible captchaAlex Buijs2019-08-102-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With a time treshold of 4 seconds and a firstname and lastname honeypot input fields when signing up
* | | | | | Merge branch '328-versioned-search-ee' into 'master'Nick Thomas2019-08-141-39/+35
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Elasticsearch versioned schema for Snippet See merge request gitlab-org/gitlab-ce!31465
| * | | | | ES: sync with EE328-versioned-search-eeMark Chao2019-08-121-39/+35
| | | | | |
* | | | | | Update personal access token api scope descriptionNick Kipling2019-08-131-1/+1
| | | | | |
* | | | | | Merge branch 'remove-concerns-paths' into 'master'Jan Provaznik2019-08-131-5/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove concerns from eager load paths See merge request gitlab-org/gitlab-ce!31649
| * | | | | | Remove concerns from eager load pathsdineshpanda2019-08-091-5/+0
| | |_|_|/ / | |/| | | |
* | | | | | Merge branch ↵Thong Kuah2019-08-121-5/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '63942-remove-config-action_dispatch-use_authenticated_cookie_encryption-configuration' into 'master' Remove `config.action_dispatch.use_authenticated_cookie_encryption` configuration Closes #63942 See merge request gitlab-org/gitlab-ce!31463
| * | | | | | Enable use of Rails' new cookie encryptionHeinrich Lee Yu2019-08-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old cookies are still valid and are automatically upgraded by Rails
* | | | | | | Load search result counts asynchronouslyMarkus Koller2019-08-121-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Querying all counts for the different search results in the same request led to timeouts, so we now only calculate the count for the *current* search results, and request the others in separate asynchronous calls.
* | | | | | Fix metric files being wiped after the app startsAleksei Lipniagov2019-08-121-19/+0
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we hit our app with the initial request, in `warmup`, some metrics already being created as well as corresponding files. If we do `multiproc_file_dir` cleanup after that, we delete the files from the dir while keeping them in memory which leads to the incorrect behavior: the metric is being updated in in-memory, while is not present in the db, not sent to Prometheus as the result.
* | | | | Split MR widget into cached and non-cached serializersIgor2019-08-091-0/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Splits auto-refreshing of MR widget into 2 requests: - the one which uses etag-caching and invalidates the fields on change - the one without caching The idea is to gradually move all the fields to etag-cached endpoint
* | | | Add Gitaly and Rugged call timing in Sidekiq logsStan Hu2019-08-092-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help identify Sidekiq jobs that invoke excessive number of filesystem access. The timing data is stored in `RequestStore`, but this is only active within the middleware and is not directly accessible to the Sidekiq logger. However, it is possible for the middleware to modify the job hash to pass this data along to the logger.
* | | | Merge branch 'filter-title-description-and-body-from-logs' into 'master'Stan Hu2019-08-081-3/+16
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Filter title, description, and body from logs Closes #64460 and #60365 See merge request gitlab-org/gitlab-ce!31274
| * | | Filter title, description, and body from logsfilter-title-description-and-body-from-logsSean McGivern2019-07-301-3/+16
| | | | | | | | | | | | | | | | These can contain sensitive content.
* | | | Add "Starred projects" tab to user overviewCamil Staps2019-08-071-0/+1
| | | |
* | | | Add /starrers view for projectsCamil Staps2019-08-071-0/+2
| |_|/ |/| |
* | | Merge branch 'sh-support-csp-nonce' into 'master'Ash McKenzie2019-08-073-0/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add support for Content-Security-Policy Closes #65330 See merge request gitlab-org/gitlab-ce!31402
| * | | Add support for Content-Security-PolicyStan Hu2019-08-073-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A nonce-based Content-Security-Policy thwarts XSS attacks by allowing inline JavaScript to execute if the script nonce matches the header value. Rails 5.2 supports nonce-based Content-Security-Policy headers, so provide configuration to enable this and make it work. To support this, we need to change all `:javascript` HAML filters to the following form: ``` = javascript_tag nonce: true do :plain ... ``` We use `%script` throughout our HAML to store JSON and other text, but since this doesn't execute, browsers don't appear to block this content from being used and require the nonce value to be present.
* | | | Remove GC metrics from performance barSean McGivern2019-08-061-5/+0
|/ / / | | | | | | | | | | | | | | | These were disabled in production mode, but that also broke the rest of the performance bar. As they were only enabled in development mode, we can just remove them for now.
* | | Use Rails 5.2 Redis caching storesh-use-redis-caching-storeStan Hu2019-08-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step in providing a fault-tolerant and distributed Redis caching store. We disable compression to avoid introducing a change that could have an adverse effect in production. Note that we won't be able to take advantage of the fault-tolerance and distributed features yet until we solve https://gitlab.com/gitlab-org/gitlab-ce/issues/64829. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64794
* | | Merge branch 'fix-design-management-router-ce' into 'master'Rémy Coutable2019-08-051-0/+4
|\ \ \ | | | | | | | | | | | | | | | | CE Backport for gitlab-ee!14741 (Fix design management router) See merge request gitlab-org/gitlab-ce!31090
| * | | CE-backport of designs routeLuke Duncalfe2019-08-051-0/+4
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14741
* | | | Revert "Merge branch 'backport-fix-remaining-prepend-lines' into 'master'"Mark Lapierre2019-08-051-2/+0
|/ / / | | | | | | This reverts merge request !31379
* | | Merge branch 'backport-fix-remaining-prepend-lines' into 'master'Robert Speicher2019-08-021-0/+2
|\ \ \ | | | | | | | | | | | | | | | | Support X_if_ee methods for QA tests See merge request gitlab-org/gitlab-ce!31379
| * | | Support X_if_ee methods for QA testsbackport-fix-remaining-prepend-linesYorick Peterse2019-08-011-0/+2
| | | | | | | | | | | | | | | | | | | | For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
* | | | Call `GC::Profiler.clear` only in one placeAleksei Lipniagov2019-08-021-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, both InfluxSampler and RubySampler were relying on the `GC::Profiler.total_time` data which is the sum over the list of captured GC events. Also, both samplers asynchronously called `GC::Profiler.clear` which led to incorrect metric data because each sampler has the wrong assumption it is the only object who calls `GC::Profiler.clear` and thus could rely on the gathered results between such calls. We should ensure that `GC::Profiler.total_time` is called only in one place making it possible to rely on accumulated data between such wipes. Also, we need to track the amount of profiler reports we lost.
* | | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809ce-docker_image_replicationValery Sizov2019-08-013-0/+15
|/ / / | | | | | | | | | Introducing Docker Registry replication
* | | Allow knative do be uninstalled:João Cunha2019-07-311-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - After uninstalling the knative helm chart it's necessary to also remove some leftover resources to allow the cluster to be clean and knative to be reinstalleable. - Adds knative uninstall disclaimer - Uninstall ksvc before uninstalling knative Make list of Knative and Ingres resources explicit - To avoid deleting unwanted resources we are listing exact which resources will be deleted rather than simply deleting any resource that contains istio or knative words.
* | | Merge branch 'mg-update-icons-svg-import' into 'master'Kushal Pandya2019-07-311-0/+14
|\ \ \ | | | | | | | | | | | | | | | | Use file-loader for sprite icons within icon.vue See merge request gitlab-org/gitlab-ce!31257
| * | | Override icons.svg asset path with sprockets assetmg-update-icons-svg-importMike Greiling2019-07-291-0/+6
| | | |