| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fix whitespace in specs because normalize_ws is slightly
different from Capybara 2 behavior
|
| |
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
...
```
|
|
|
|
|
| |
This matches the version used in Gitaly and avoids potential
version conflicts when multiple versions are installed.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Fix MySQL CI jobs
Closes #62156 and #62151
See merge request gitlab-org/gitlab-ce!28593
|
| |
| |
| |
| |
| | |
This reverts commit 744f1f2e7037f5c70c3168d9e2e89b1c327465d2, reversing
changes made to c4d930e5f54e7da07c80cc028dfc0f5c08719146.
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
|
|
| |
This reverts merge request !27474
|
|\
| |
| |
| |
| |
| |
| | |
Rescue too many loops cron error
Closes #58241
See merge request gitlab-org/gitlab-ce!28002
|
| |
| |
| |
| |
| |
| |
| |
| | |
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 Rubocop to 0.69.0 and other gems
See merge request gitlab-org/gitlab-ce!28345
|
| | |
| | |
| | |
| | |
| | | |
This fixes Ruby 2.6.x parser warnings:
https://github.com/rubocop-hq/rubocop/pull/7009
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This squelches a BigDecimal warning in Ruby 2.6:
warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
https://github.com/schneems/get_process_mem/blob/master/CHANGELOG.md
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Resolve "Add new Unicorn metrics"
Closes #56850
See merge request gitlab-org/gitlab-ce!27474
|
| | |
| | |
| | |
| | |
| | |
| | | |
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 puts
Remove puts
|
|\ \
| | |
| | |
| | |
| | | |
Added Omniauth OpenID Connect strategy
See merge request gitlab-org/gitlab-ce!27383
|
| | | |
|
| | |
| | |
| | |
| | | |
This also supports Ruby 2.6.
|
| | | |
|
| | |
| | |
| | |
| | | |
This adds Ruby 2.6 support.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Switch to sassc-rails for faster stylesheet compilation
Closes #18432
See merge request gitlab-org/gitlab-ce!26224
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Add client methods for FetchIntoObjectPool RPC
See merge request gitlab-org/gitlab-ce!27767
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| |
| | |
This ports the changes from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/
to CE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
Bump gRPC to 1.19.0 and protobuf to 3.7.1
See merge request gitlab-org/gitlab-ce!27086
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These upgrades are necessary to support Ruby 2.6.
This matches the Gitaly MR:
https://gitlab.com/gitlab-org/gitaly/merge_requests/1066
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Upgrade Rails to 5.1
See merge request gitlab-org/gitlab-ce!27480
|
| | | |
| | | |
| | | |
| | | | |
Removes unneeded patches
|
| | | |
| | | |
| | | |
| | | | |
Model.new.attributes now also returns encrypted attributes.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Bump Sidekiq to 5.2.7
See merge request gitlab-org/gitlab-ce!27512
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Fixes minor bugs
(https://github.com/mperham/sidekiq/blob/master/Changes.md#526) and
keeps version used with gitlab-monitor consistent.
|
|/ /
| |
| |
| |
| | |
This pulls in a fix for libxslt that addresses CVE-2019-11068:
https://github.com/sparklemotion/nokogiri/releases
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|