| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
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
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Resolve "Remove rails-deprecated_sanitizer"
Closes #17014
See merge request gitlab-org/gitlab-ce!27268
|
| |
| |
| |
| | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\ \
| | |
| | |
| | |
| | | |
Update capybara and selenium-webdriver
See merge request gitlab-org/gitlab-ce!27201
|
| |/
| |
| |
| | |
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 fixes a number of issues as described in
https://weblog.rubyonrails.org/releases/.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58963
|
|/
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
- Also remove boostrap 4 migration adapter
|
|\
| |
| |
| |
| |
| |
| | |
Bump httparty to version 1.16.4
Closes #44342
See merge request gitlab-org/gitlab-ce!25893
|
| |
| |
| |
| | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This version bump makes things consistent between Gitaly and
fixes a significant number of bugs:
https://github.com/libgit2/libgit2/releases
This also decreases disk space of Omnibus builds by ~30 MB.
There is also a workaround for
https://github.com/libgit2/rugged/issues/785. If Gitaly or another
process changes .gitconfig while Rugged has the file loaded,
Rugged::Repository#each_key will report stale values unless a lookup is
done first.
This bug only manifests in a spec because we are using both Gitaly and
Rugged at the same time there, and we normally don't use Rugged in the
CE/EE code in this way.
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\
| |
| |
| |
| | |
Update recaptcha gem from 3.x to 4.11
See merge request gitlab-org/gitlab-ce!25921
|
| | |
|
| |
| |
| |
| |
| | |
Remove references to the vendored copies of At.js and jquery.carat
as well as the legacy rails wrapper gem.
|