Age | Commit message (Collapse) | Author |
|
|
|
Update Rubocop to 0.69.0 and other gems
See merge request gitlab-org/gitlab-ce!28345
|
|
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 fixes Ruby 2.6.x parser warnings:
https://github.com/rubocop-hq/rubocop/pull/7009
|
|
|
|
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
|
|
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
|
|
Upgrade Rails to 5.1
See merge request gitlab-org/gitlab-ce!27480
|
|
Bump Sidekiq to 5.2.7
See merge request gitlab-org/gitlab-ce!27512
|
|
These upgrades are necessary to support Ruby 2.6.
This matches the Gitaly MR:
https://gitlab.com/gitlab-org/gitaly/merge_requests/1066
|
|
Removes unneeded patches
|
|
Model.new.attributes now also returns encrypted attributes.
|
|
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 adds new metrics for monitoring unicorn. These metrics include
process_cpu_seconds_total, process_start_time_seconds, process_max_fds,
and unicorn_workers.
|
|
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.
|
|
|
|
Resolve "Remove rails-deprecated_sanitizer"
Closes #17014
See merge request gitlab-org/gitlab-ce!27268
|
|
Update capybara and selenium-webdriver
See merge request gitlab-org/gitlab-ce!27201
|
|
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|
|
|
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
|
|
Update Rails to 5.0.7.2
Closes #58963
See merge request gitlab-org/gitlab-ce!27022
|
|
This update has two important fixes:
1. It reverts the monkey patch introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23385 since
https://github.com/rack/rack/pull/1201 is now part of the release.
2. Preserve forwarded IP address for trusted proxy chains
(https://github.com/rack/rack/pull/1343).
|
|
|
|
This fixes a number of issues as described in
https://weblog.rubyonrails.org/releases/.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58963
|
|
Add `GetArchiveRequest` to git-archive params.
Modifies `Git::Repository#archive_metadata` to append `path`
to `ArchivePrefix` so it'll not hit the cache of repository archive
when it already exists.
|
|
Update fugit which fixes a potential infinite loop
Closes #59273
See merge request gitlab-org/gitlab-ce!26579
|
|
The new version requires `python3` to be available. In omnibus
installation this is already a reality as we are currently pathing
previous `gitlab-markup` version to use `python3` instead of `python2`.
We are now requiring `python3` with the gem without having to patch it.
As a consequence to also make it easy to use it in development, we've
introduced a `Pipfile` and `Pipfile.lock`, working similarly to
`Gemfile` and `Gemfile.lock`, and added documentation on how to use
them.
|
|
Bump Rugged to 0.28.1
See merge request gitlab-org/gitlab-ce!26595
|
|
This resolves a minor link issue in libgit2 with deprecated functions:
https://github.com/libgit2/libgit2/releases
This coincides with the Gitaly bump:
https://gitlab.com/gitlab-org/gitaly/merge_requests/1154
|
|
|