summaryrefslogtreecommitdiff
path: root/Gemfile
Commit message (Collapse)AuthorAgeFilesLines
* Add client code to call GetObjectDirectorySize RPC11126-fix-repository-size-check-cePatrick Bajao2019-06-051-1/+1
| | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13460
* Add activerecord-explain-analyze gemToon Claes2019-06-031-0/+1
| | | | | | | | | | | | | | | | | | | This gem allows you to get the `EXPLAIN ANALYZE` query plan, directly from the Rails console. The gem is installed with `require: false`, but if it was loaded on launch, this would be it's memory load: ``` TOP: 145.3086 MiB rails/all: 22.4844 MiB ... activerecord-explain-analyze: 2.9648 MiB active_record/connection_adapters/postgresql_adapter: 2.9648 MiB pg: 2.9648 MiB pg_ext: 2.9648 MiB ... ```
* Added rack-timeout for PumaJan Provaznik2019-05-291-0/+1
| | | | | | | It assures that requests are aborted after 60 seconds, otherwise an exception is raised. This exception is logged by Sentry, also there is a Prometheus counter for measuring number of requests in each state.
* Add benchmark-memory Ruby gemAsh McKenzie2019-05-271-1/+2
|
* Merge branch '62151-broken-master' into 'master'Kamil Trzciński2019-05-241-1/+1
|\ | | | | | | | | | | | | Fix MySQL CI jobs Closes #62156 and #62151 See merge request gitlab-org/gitlab-ce!28593
| * Revert "Merge branch 'revert-04c3c6dd' into 'master'"Rémy Coutable2019-05-221-1/+1
| | | | | | | | | | This reverts commit 744f1f2e7037f5c70c3168d9e2e89b1c327465d2, reversing changes made to c4d930e5f54e7da07c80cc028dfc0f5c08719146.
* | Add `memory_profiler` and `derailed_benchmarks`add-mem-profilerKamil Trzciński2019-05-241-0/+2
|/
* Bump shoulda-matchers to 4.0.1Stan Hu2019-05-211-1/+1
| | | | | | | | | | This removes the warning when using Ruby 2.6: BigDecimal.new is deprecated; use BigDecimal() method instead. This also adds Rails 5 support, which eliminates the need for the monkey patch to handle https://github.com/thoughtbot/shoulda-matchers/issues/913.
* Bump devise to 4.6Utkarsh Gupta2019-05-211-1/+1
| | | | Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
* Revert "Merge branch '56850-add-new-unicorn-metrics' into 'master'"revert-c5a9bc17Ryan Cobb2019-05-201-1/+0
| | | This reverts merge request !27474
* Merge branch 'fix-too-many-loops-cron-error' into 'master'Robert Speicher2019-05-171-1/+1
|\ | | | | | | | | | | | | Rescue too many loops cron error Closes #58241 See merge request gitlab-org/gitlab-ce!28002
| * Remove workaround by upgrading Fugit gemFabio Pitino2019-05-071-1/+1
| | | | | | | | | | | | | | | | Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58241 * Upgrade Fugit gem to 1.2.1 which recognizes cron expressions for invalid days * Reverted previously implemented workaround * Leave test case which previously exposed the bug
* | Update haml_lint to include linter spec helpersupdate-haml-lint-spec-helpersLuke Bennett2019-05-161-1/+1
| |
* | Merge branch 'sh-update-rubocop-and-gitlab-styles-ce' into 'master'Rémy Coutable2019-05-161-2/+2
|\ \ | | | | | | | | | | | | Update Rubocop to 0.69.0 and other gems See merge request gitlab-org/gitlab-ce!28345
| * | Update Rubocop to 0.69.0 and other gemsStan Hu2019-05-151-2/+2
| | | | | | | | | | | | | | | This fixes Ruby 2.6.x parser warnings: https://github.com/rubocop-hq/rubocop/pull/7009
* | | Add Let's Encrypt clientVladimir Shushlin2019-05-161-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
* | Merge branch '56850-add-new-unicorn-metrics' into 'master'Ash McKenzie2019-05-071-0/+1
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Add new Unicorn metrics" Closes #56850 See merge request gitlab-org/gitlab-ce!27474
| * | Adds new metrics for unicorn monitoringRyan Cobb2019-04-181-0/+1
| | | | | | | | | | | | | | | | | | This adds new metrics for monitoring unicorn. These metrics include process_cpu_seconds_total, process_start_time_seconds, process_max_fds, and unicorn_workers.
* | | Remove from providers with iconGosia Ksionek2019-05-071-0/+1
| |/ |/| | | | | | | | | Remove puts Remove puts
* | Merge branch 'feature/omniauth_oidc_strategy' into 'master'Ash McKenzie2019-05-061-1/+2
|\ \ | | | | | | | | | | | | Added Omniauth OpenID Connect strategy See merge request gitlab-org/gitlab-ce!27383
| * | Added Omniauth OpenId Connect startegyHoratiu Eugen Vlad2019-05-061-1/+2
| | |
* | | Upgrade haml-lint to 0.30.0Stan Hu2019-05-051-1/+1
| | | | | | | | | | | | This also supports Ruby 2.6.
* | | Upgrade to Rubocop 0.68.1Stan Hu2019-05-051-2/+3
| | | | | | | | | | | | This adds Ruby 2.6 support.
* | | Merge branch '18432-switch-to-sassc-rails' into 'master'Stan Hu2019-05-031-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Switch to sassc-rails for faster stylesheet compilation Closes #18432 See merge request gitlab-org/gitlab-ce!26224
| * | | Switch to sassc-rails for faster stylesheet compilation18432-switch-to-sassc-railsGabriel Mazetto2019-04-271-2/+1
| | | |
* | | | Add support for two-step Gitaly Rebase RPCLuke Duncalfe2019-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the client before proceeding with the rebase. This avoids an issue where the rebase commit SHA was returned when the RPC had fully completed, and in some cases this would be after the Rails `post_receive` worker services had already run. In these situations, the merge request did not yet have its rebase_commit_sha attribute set introducing the possibility for bugs (such as previous approvals being reset). https://gitlab.com/gitlab-org/gitlab-ee/issues/5966
* | | | Add opentracing integration for graphqlJan Provaznik2019-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extends existing graphql's tracer with opentracing measurements. Because it also adds Tracing::Graphql class (for opentracing), it also renames Graphql::Tracing class to Graphql::GenericTracing to minimize confusion with similar class names.
* | | | Merge branch 'jc-client-for-fetch-objects-into-pool' into 'master'Stan Hu2019-04-301-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Add client methods for FetchIntoObjectPool RPC See merge request gitlab-org/gitlab-ce!27767
| * | | Add client methods for FetchIntoObjectPool RPCJohn Cai2019-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an object pool. If the pool doesn't exist, it will create an empty pool before attempting the fetch. This change adds client code as well as specs to cover this behavior.
* | | | Disable method replacement in avatar loadingStan Hu2019-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've seen a significant performance penalty when using `BatchLoader#__replace_with!`. This defines methods on the batch loader that proxy to the 'real' object using send. The alternative is `method_missing`, which is slower. However, we've noticed that `method_missing` can be faster if: 1. The objects being loaded have a large interface. 2. We don't call too many methods on the loaded object. Avatar uploads meet both criteria above, so let's use the newly-released feature in https://github.com/exAspArk/batch-loader/pull/45. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60903
* | | | Upgrade letter_opener_web to support Rails 5.1Peter Leitzen2019-04-291-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit using `/rails/letter_opener` in `development` environment failed with: undefined method `before_filter' See https://github.com/fgrehm/letter_opener_web/issues/68 This commit upgrades `letter_opener_web` to 1.3.4 so Rails 5.1 is supported.
* | | Port changes for design management to CEBob Van Landuyt2019-04-291-0/+1
|/ / | | | | | | | | | | This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE
* | Added list_pages method to avoid loading all wiki pages contentFrancisco Javier López2019-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Inside a wiki, when we show the sidebar or browse to the `pages`, all page contents are retrieved from Gitaly and that is a waste of resources, since no content from that pages are going to be showed. This MR introduces the method `ProjectWiki#list_pages`, which uses new wiki_list_pages RPC call to retrieve pages without content Also in the `WikisController` we're using the method to show pages in the sidebar and also on the `pages` page.
* | Merge branch 'sh-upgrade-grpc-and-protobuf' into 'master'Nick Thomas2019-04-241-2/+2
|\ \ | | | | | | | | | | | | Bump gRPC to 1.19.0 and protobuf to 3.7.1 See merge request gitlab-org/gitlab-ce!27086
| * | Bump gRPC to 1.19.0 and protobuf to 3.7.1sh-upgrade-grpc-and-protobufStan Hu2019-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | These upgrades are necessary to support Ruby 2.6. This matches the Gitaly MR: https://gitlab.com/gitlab-org/gitaly/merge_requests/1066
* | | Merge branch 'upgrade-to-rails-5-1' into 'master'Rémy Coutable2019-04-231-2/+2
|\ \ \ | | | | | | | | | | | | | | | | Upgrade Rails to 5.1 See merge request gitlab-org/gitlab-ce!27480
| * | | Bump Rails version to 5.1.7Heinrich Lee Yu2019-04-231-1/+1
| | | | | | | | | | | | | | | | Removes unneeded patches
| * | | Upgrade Rails to 5.1.6.1Jasper Maes2019-04-231-2/+2
| | | | | | | | | | | | | | | | Model.new.attributes now also returns encrypted attributes.
* | | | Merge branch 'sh-bump-sidekiq-5.2.6' into 'master'Robert Speicher2019-04-231-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Bump Sidekiq to 5.2.7 See merge request gitlab-org/gitlab-ce!27512
| * | | Bump Sidekiq to 5.2.7sh-bump-sidekiq-5.2.6Stan Hu2019-04-221-1/+1
| |/ / | | | | | | | | | | | | | | | Fixes minor bugs (https://github.com/mperham/sidekiq/blob/master/Changes.md#526) and keeps version used with gitlab-monitor consistent.
* | | Bump Nokogiri to 1.10.3sh-bump-nokogiri-1.10.3Stan Hu2019-04-221-1/+1
|/ / | | | | | | | | This pulls in a fix for libxslt that addresses CVE-2019-11068: https://github.com/sparklemotion/nokogiri/releases
* | Migrate correlation and tracing code to LabKitan-use-labkitAndrew Newdigate2019-04-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
* | #57815 Omniauth UltraAuth strategyKartikey Tanna2019-04-171-0/+1
|/
* Merge branch '17014-remove-rails-deprecated_sanitizer' into 'master'Douwe Maan2019-04-151-1/+0
|\ | | | | | | | | | | | | Resolve "Remove rails-deprecated_sanitizer" Closes #17014 See merge request gitlab-org/gitlab-ce!27268
| * Remove rails-deprecated_sanitizer dependency17014-remove-rails-deprecated_sanitizerDmitriy Zaporozhets2019-04-121-1/+0
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'update-capybara' into 'master'Stan Hu2019-04-121-3/+3
|\ \ | | | | | | | | | | | | Update capybara and selenium-webdriver See merge request gitlab-org/gitlab-ce!27201
| * | Update capybara and selenium-webdriverRémy Coutable2019-04-121-3/+3
| |/ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Enable RSpec/ExampleWording copThong Kuah2019-04-121-1/+1
|/
* Revert "Remove HipChat integration from GitLab"Sean McGivern2019-04-101-0/+3
| | | | This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
* Merge branch 'sh-update-rails-5.0.7.2' into 'master'Robert Speicher2019-04-051-1/+1
|\ | | | | | | | | | | | | Update Rails to 5.0.7.2 Closes #58963 See merge request gitlab-org/gitlab-ce!27022