Refresh patches
This commit is contained in:
parent
ad11324c19
commit
42edcd3694
4 changed files with 49 additions and 67 deletions
40
debian/patches/0050-relax-stable-libs.patch
vendored
40
debian/patches/0050-relax-stable-libs.patch
vendored
|
@ -12,7 +12,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Improves copy-on-write performance for MRI
|
# Improves copy-on-write performance for MRI
|
||||||
gem 'nakayoshi_fork', '~> 0.0.4'
|
gem 'nakayoshi_fork', '~> 0.0.4'
|
||||||
@@ -9,7 +9,7 @@ gem 'nakayoshi_fork', '~> 0.0.4'
|
@@ -9,7 +9,7 @@
|
||||||
# Responders respond_to and respond_with
|
# Responders respond_to and respond_with
|
||||||
gem 'responders', '~> 2.0'
|
gem 'responders', '~> 2.0'
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Default values for AR models
|
# Default values for AR models
|
||||||
gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
|
gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
|
||||||
@@ -28,57 +28,57 @@ gem 'devise', '~> 4.4'
|
@@ -28,57 +28,57 @@
|
||||||
gem 'doorkeeper', '~> 4.3'
|
gem 'doorkeeper', '~> 4.3'
|
||||||
gem 'doorkeeper-openid_connect', '~> 1.5'
|
gem 'doorkeeper-openid_connect', '~> 1.5'
|
||||||
gem 'omniauth', '~> 1.8'
|
gem 'omniauth', '~> 1.8'
|
||||||
|
@ -97,7 +97,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Disable strong_params so that Mash does not respond to :permitted?
|
# Disable strong_params so that Mash does not respond to :permitted?
|
||||||
gem 'hashie-forbidden_attributes'
|
gem 'hashie-forbidden_attributes'
|
||||||
@@ -87,7 +87,7 @@ gem 'hashie-forbidden_attributes'
|
@@ -87,7 +87,7 @@
|
||||||
gem 'kaminari', '~> 1.0'
|
gem 'kaminari', '~> 1.0'
|
||||||
|
|
||||||
# HAML
|
# HAML
|
||||||
|
@ -106,7 +106,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Files attachments
|
# Files attachments
|
||||||
gem 'carrierwave', '~> 1.3'
|
gem 'carrierwave', '~> 1.3'
|
||||||
@@ -97,7 +97,7 @@ gem 'mini_magick'
|
@@ -97,7 +97,7 @@
|
||||||
gem 'fog-aws', '~> 3.3'
|
gem 'fog-aws', '~> 3.3'
|
||||||
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
|
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
|
||||||
# Also see config/initializers/fog_core_patch.rb.
|
# Also see config/initializers/fog_core_patch.rb.
|
||||||
|
@ -115,7 +115,7 @@ gitlab Gemfile
|
||||||
gem 'fog-google', '~> 1.8'
|
gem 'fog-google', '~> 1.8'
|
||||||
gem 'fog-local', '~> 0.6'
|
gem 'fog-local', '~> 0.6'
|
||||||
gem 'fog-openstack', '~> 1.0'
|
gem 'fog-openstack', '~> 1.0'
|
||||||
@@ -111,38 +111,38 @@ gem 'google-api-client', '~> 0.23'
|
@@ -111,38 +111,38 @@
|
||||||
gem 'unf', '~> 0.1.4'
|
gem 'unf', '~> 0.1.4'
|
||||||
|
|
||||||
# Seed data
|
# Seed data
|
||||||
|
@ -164,7 +164,7 @@ gitlab Gemfile
|
||||||
gem 'unicorn-worker-killer', '~> 0.4.4'
|
gem 'unicorn-worker-killer', '~> 0.4.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -158,9 +158,9 @@ gem 'state_machines-activerecord', '~> 0.5.1'
|
@@ -158,9 +158,9 @@
|
||||||
gem 'acts-as-taggable-on', '~> 6.0'
|
gem 'acts-as-taggable-on', '~> 6.0'
|
||||||
|
|
||||||
# Background jobs
|
# Background jobs
|
||||||
|
@ -176,7 +176,7 @@ gitlab Gemfile
|
||||||
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
|
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
|
||||||
|
|
||||||
# Cron Parser
|
# Cron Parser
|
||||||
@@ -176,14 +176,14 @@ gem 'rainbow', '~> 3.0'
|
@@ -176,14 +176,14 @@
|
||||||
gem 'ruby-progressbar'
|
gem 'ruby-progressbar'
|
||||||
|
|
||||||
# GitLab settings
|
# GitLab settings
|
||||||
|
@ -194,7 +194,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Export Ruby Regex to Javascript
|
# Export Ruby Regex to Javascript
|
||||||
gem 'js_regex', '~> 3.1'
|
gem 'js_regex', '~> 3.1'
|
||||||
@@ -192,7 +192,7 @@ gem 'js_regex', '~> 3.1'
|
@@ -192,7 +192,7 @@
|
||||||
gem 'device_detector'
|
gem 'device_detector'
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
|
@ -203,7 +203,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
gem 'redis', '~> 3.2'
|
gem 'redis', '~> 3.2'
|
||||||
@@ -202,7 +202,7 @@ gem 'connection_pool', '~> 2.0'
|
@@ -202,7 +202,7 @@
|
||||||
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
|
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
|
||||||
|
|
||||||
# HipChat integration
|
# HipChat integration
|
||||||
|
@ -212,7 +212,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# JIRA integration
|
# JIRA integration
|
||||||
gem 'jira-ruby', '~> 1.4'
|
gem 'jira-ruby', '~> 1.4'
|
||||||
@@ -211,7 +211,7 @@ gem 'jira-ruby', '~> 1.4'
|
@@ -211,7 +211,7 @@
|
||||||
gem 'flowdock', '~> 0.7'
|
gem 'flowdock', '~> 0.7'
|
||||||
|
|
||||||
# Slack integration
|
# Slack integration
|
||||||
|
@ -221,7 +221,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Hangouts Chat integration
|
# Hangouts Chat integration
|
||||||
gem 'hangouts-chat', '~> 0.0.5'
|
gem 'hangouts-chat', '~> 0.0.5'
|
||||||
@@ -223,11 +223,11 @@ gem 'asana', '~> 0.8.1'
|
@@ -223,11 +223,11 @@
|
||||||
gem 'ruby-fogbugz', '~> 0.2.1'
|
gem 'ruby-fogbugz', '~> 0.2.1'
|
||||||
|
|
||||||
# Kubernetes integration
|
# Kubernetes integration
|
||||||
|
@ -235,7 +235,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Sanitizes SVG input
|
# Sanitizes SVG input
|
||||||
gem 'loofah', '~> 2.2'
|
gem 'loofah', '~> 2.2'
|
||||||
@@ -236,10 +236,10 @@ gem 'loofah', '~> 2.2'
|
@@ -236,10 +236,10 @@
|
||||||
gem 'licensee', '~> 8.9'
|
gem 'licensee', '~> 8.9'
|
||||||
|
|
||||||
# Protect against bruteforcing
|
# Protect against bruteforcing
|
||||||
|
@ -248,7 +248,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Detect and convert string character encoding
|
# Detect and convert string character encoding
|
||||||
gem 'charlock_holmes', '~> 0.7.5'
|
gem 'charlock_holmes', '~> 0.7.5'
|
||||||
@@ -257,39 +257,39 @@ gem 'chronic_duration', '~> 0.10.6'
|
@@ -257,39 +257,39 @@
|
||||||
gem 'webpack-rails', '~> 0.9.10'
|
gem 'webpack-rails', '~> 0.9.10'
|
||||||
gem 'rack-proxy', '~> 0.6.0'
|
gem 'rack-proxy', '~> 0.6.0'
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
# Metrics
|
# Metrics
|
||||||
group :metrics do
|
group :metrics do
|
||||||
@@ -315,54 +315,54 @@ group :development do
|
@@ -315,54 +315,54 @@
|
||||||
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
|
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
|
||||||
|
|
||||||
# Better errors handler
|
# Better errors handler
|
||||||
|
@ -370,7 +370,7 @@ gitlab Gemfile
|
||||||
|
|
||||||
gem 'license_finder', '~> 5.4', require: false
|
gem 'license_finder', '~> 5.4', require: false
|
||||||
gem 'knapsack', '~> 1.17'
|
gem 'knapsack', '~> 1.17'
|
||||||
@@ -371,18 +371,18 @@ group :development, :test do
|
@@ -371,18 +371,18 @@
|
||||||
|
|
||||||
gem 'stackprof', '~> 0.2.10', require: false
|
gem 'stackprof', '~> 0.2.10', require: false
|
||||||
|
|
||||||
|
@ -395,7 +395,7 @@ gitlab Gemfile
|
||||||
gem 'concurrent-ruby', '~> 1.1'
|
gem 'concurrent-ruby', '~> 1.1'
|
||||||
gem 'test-prof', '~> 0.2.5'
|
gem 'test-prof', '~> 0.2.5'
|
||||||
gem 'rspec_junit_formatter'
|
gem 'rspec_junit_formatter'
|
||||||
@@ -402,11 +402,11 @@ gem 'rbtrace', '~> 0.4', require: false
|
@@ -402,11 +402,11 @@
|
||||||
gem 'oauth2', '~> 1.4'
|
gem 'oauth2', '~> 1.4'
|
||||||
|
|
||||||
# Health check
|
# Health check
|
||||||
|
@ -410,13 +410,13 @@ gitlab Gemfile
|
||||||
|
|
||||||
# SSH host key support
|
# SSH host key support
|
||||||
gem 'net-ssh', '~> 5.0'
|
gem 'net-ssh', '~> 5.0'
|
||||||
@@ -419,13 +419,13 @@ group :ed25519 do
|
@@ -419,13 +419,13 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gitaly GRPC client
|
# Gitaly GRPC client
|
||||||
-gem 'gitaly-proto', '~> 1.19.0', require: 'gitaly'
|
-gem 'gitaly-proto', '~> 1.22.1', require: 'gitaly'
|
||||||
+gem 'gitaly-proto', '~> 1.19', require: 'gitaly'
|
+gem 'gitaly-proto', '~> 1.22', '>= 1.22.1', require: 'gitaly'
|
||||||
|
|
||||||
-gem 'grpc', '~> 1.15.0'
|
-gem 'grpc', '~> 1.15.0'
|
||||||
+gem 'grpc', '~> 1.15'
|
+gem 'grpc', '~> 1.15'
|
||||||
|
|
||||||
|
|
22
debian/patches/0680-rails-5_1.patch
vendored
22
debian/patches/0680-rails-5_1.patch
vendored
|
@ -316,7 +316,7 @@ Model.new.attributes now also returns encrypted attributes.
|
||||||
|
|
||||||
acts_as_ordered_taggable
|
acts_as_ordered_taggable
|
||||||
|
|
||||||
@@ -1442,7 +1442,7 @@
|
@@ -1446,7 +1446,7 @@
|
||||||
|
|
||||||
# update visibility_level of forks
|
# update visibility_level of forks
|
||||||
def update_forks_visibility_level
|
def update_forks_visibility_level
|
||||||
|
@ -1957,16 +1957,7 @@ Model.new.attributes now also returns encrypted attributes.
|
||||||
end
|
end
|
||||||
--- a/lib/gitlab/search_results.rb
|
--- a/lib/gitlab/search_results.rb
|
||||||
+++ b/lib/gitlab/search_results.rb
|
+++ b/lib/gitlab/search_results.rb
|
||||||
@@ -113,7 +113,7 @@
|
@@ -107,7 +107,7 @@
|
||||||
issues.full_search(query)
|
|
||||||
end
|
|
||||||
|
|
||||||
- issues.reorder('updated_at DESC')
|
|
||||||
+ issues.reorder('issues.updated_at DESC')
|
|
||||||
end
|
|
||||||
# rubocop: enable CodeReuse/ActiveRecord
|
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@
|
|
||||||
|
|
||||||
milestones = filter_milestones_by_project(milestones)
|
milestones = filter_milestones_by_project(milestones)
|
||||||
|
|
||||||
|
@ -1975,15 +1966,6 @@ Model.new.attributes now also returns encrypted attributes.
|
||||||
end
|
end
|
||||||
# rubocop: enable CodeReuse/ActiveRecord
|
# rubocop: enable CodeReuse/ActiveRecord
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@
|
|
||||||
merge_requests.full_search(query)
|
|
||||||
end
|
|
||||||
|
|
||||||
- merge_requests.reorder('updated_at DESC')
|
|
||||||
+ merge_requests.reorder('merge_requests.updated_at DESC')
|
|
||||||
end
|
|
||||||
# rubocop: enable CodeReuse/ActiveRecord
|
|
||||||
|
|
||||||
--- a/spec/fixtures/api/schemas/entities/issue.json
|
--- a/spec/fixtures/api/schemas/entities/issue.json
|
||||||
+++ b/spec/fixtures/api/schemas/entities/issue.json
|
+++ b/spec/fixtures/api/schemas/entities/issue.json
|
||||||
@@ -5,7 +5,7 @@
|
@@ -5,7 +5,7 @@
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
Description: Install graphql-tag via yarnpkg
|
Description: Install graphql-tag via yarnpkg
|
||||||
Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
|
|
||||||
--- gitlab-11.10.4+dfsg.orig/package.json
|
--- a/package.json
|
||||||
+++ gitlab-11.10.4+dfsg/package.json
|
+++ b/package.json
|
||||||
@@ -78,6 +78,7 @@
|
@@ -78,6 +78,7 @@
|
||||||
"fuzzaldrin-plus": "^0.5.0",
|
"fuzzaldrin-plus": "^0.5.0",
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
|
|
50
debian/patches/bump-devise-to-4-6.patch
vendored
50
debian/patches/bump-devise-to-4-6.patch
vendored
|
@ -3,9 +3,9 @@ https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28438
|
||||||
Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
---
|
---
|
||||||
|
|
||||||
--- gitlab-11.10.4+dfsg.orig/Gemfile
|
--- a/Gemfile
|
||||||
+++ gitlab-11.10.4+dfsg/Gemfile
|
+++ b/Gemfile
|
||||||
@@ -35,7 +35,7 @@ gem 'grape-path-helpers', '~> 1.0'
|
@@ -35,7 +35,7 @@
|
||||||
gem 'faraday', '~> 0.12'
|
gem 'faraday', '~> 0.12'
|
||||||
|
|
||||||
# Authentication libraries
|
# Authentication libraries
|
||||||
|
@ -14,9 +14,9 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
gem 'doorkeeper', '~> 4.3'
|
gem 'doorkeeper', '~> 4.3'
|
||||||
gem 'doorkeeper-openid_connect', '~> 1.5'
|
gem 'doorkeeper-openid_connect', '~> 1.5'
|
||||||
gem 'omniauth', '~> 1.8'
|
gem 'omniauth', '~> 1.8'
|
||||||
--- gitlab-11.10.4+dfsg.orig/Gemfile.lock
|
--- a/Gemfile.lock
|
||||||
+++ gitlab-11.10.4+dfsg/Gemfile.lock
|
+++ b/Gemfile.lock
|
||||||
@@ -153,7 +153,7 @@ GEM
|
@@ -153,7 +153,7 @@
|
||||||
descendants_tracker (0.0.4)
|
descendants_tracker (0.0.4)
|
||||||
thread_safe (~> 0.3, >= 0.3.1)
|
thread_safe (~> 0.3, >= 0.3.1)
|
||||||
device_detector (1.0.0)
|
device_detector (1.0.0)
|
||||||
|
@ -25,7 +25,7 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
railties (>= 4.1.0, < 6.0)
|
railties (>= 4.1.0, < 6.0)
|
||||||
@@ -986,7 +986,7 @@ DEPENDENCIES
|
@@ -986,7 +986,7 @@
|
||||||
database_cleaner (~> 1.7.0)
|
database_cleaner (~> 1.7.0)
|
||||||
deckar01-task_list (= 2.2.0)
|
deckar01-task_list (= 2.2.0)
|
||||||
device_detector
|
device_detector
|
||||||
|
@ -34,9 +34,9 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
devise-two-factor (~> 3.0.0)
|
devise-two-factor (~> 3.0.0)
|
||||||
diffy (~> 3.1.0)
|
diffy (~> 3.1.0)
|
||||||
discordrb-webhooks-blackst0ne (~> 3.3)
|
discordrb-webhooks-blackst0ne (~> 3.3)
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/models/user.rb
|
--- a/app/models/user.rb
|
||||||
+++ gitlab-11.10.4+dfsg/app/models/user.rb
|
+++ b/app/models/user.rb
|
||||||
@@ -1494,15 +1494,6 @@ class User < ApplicationRecord
|
@@ -1498,15 +1498,6 @@
|
||||||
devise_mailer.__send__(notification, self, *args).deliver_later # rubocop:disable GitlabSecurity/PublicSend
|
devise_mailer.__send__(notification, self, *args).deliver_later # rubocop:disable GitlabSecurity/PublicSend
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
def ensure_user_rights_and_limits
|
def ensure_user_rights_and_limits
|
||||||
if external?
|
if external?
|
||||||
self.can_create_group = false
|
self.can_create_group = false
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/confirmations/new.html.haml
|
--- a/app/views/devise/confirmations/new.html.haml
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/confirmations/new.html.haml
|
+++ b/app/views/devise/confirmations/new.html.haml
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
.login-body
|
.login-body
|
||||||
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
||||||
|
@ -63,8 +63,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :email
|
= f.label :email
|
||||||
= f.email_field :email, class: "form-control", required: true, title: 'Please provide a valid email address.'
|
= f.email_field :email, class: "form-control", required: true, title: 'Please provide a valid email address.'
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/passwords/edit.html.haml
|
--- a/app/views/devise/passwords/edit.html.haml
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/passwords/edit.html.haml
|
+++ b/app/views/devise/passwords/edit.html.haml
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
.login-body
|
.login-body
|
||||||
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
|
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
|
||||||
|
@ -74,8 +74,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
= f.hidden_field :reset_password_token
|
= f.hidden_field :reset_password_token
|
||||||
.form-group
|
.form-group
|
||||||
= f.label 'New password', for: "user_password"
|
= f.label 'New password', for: "user_password"
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/passwords/new.html.haml
|
--- a/app/views/devise/passwords/new.html.haml
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/passwords/new.html.haml
|
+++ b/app/views/devise/passwords/new.html.haml
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
.login-body
|
.login-body
|
||||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
||||||
|
@ -85,8 +85,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :email
|
= f.label :email
|
||||||
= f.email_field :email, class: "form-control", required: true, value: params[:user_email], autofocus: true, title: 'Please provide a valid email address.'
|
= f.email_field :email, class: "form-control", required: true, value: params[:user_email], autofocus: true, title: 'Please provide a valid email address.'
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/registrations/edit.html.erb
|
--- a/app/views/devise/registrations/edit.html.erb
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/registrations/edit.html.erb
|
+++ b/app/views/devise/registrations/edit.html.erb
|
||||||
@@ -1,7 +1,7 @@
|
@@ -1,7 +1,7 @@
|
||||||
<h2>Edit <%= resource_name.to_s.humanize %></h2>
|
<h2>Edit <%= resource_name.to_s.humanize %></h2>
|
||||||
|
|
||||||
|
@ -96,8 +96,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
|
|
||||||
<div><%= f.label :email %><br />
|
<div><%= f.label :email %><br />
|
||||||
<%= f.email_field :email %></div>
|
<%= f.email_field :email %></div>
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/shared/_signup_box.html.haml
|
--- a/app/views/devise/shared/_signup_box.html.haml
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/shared/_signup_box.html.haml
|
+++ b/app/views/devise/shared/_signup_box.html.haml
|
||||||
@@ -2,7 +2,7 @@
|
@@ -2,7 +2,7 @@
|
||||||
.login-body
|
.login-body
|
||||||
= form_for(resource, as: "new_#{resource_name}", url: registration_path(resource_name), html: { class: "new_new_user gl-show-field-errors", "aria-live" => "assertive" }) do |f|
|
= form_for(resource, as: "new_#{resource_name}", url: registration_path(resource_name), html: { class: "new_new_user gl-show-field-errors", "aria-live" => "assertive" }) do |f|
|
||||||
|
@ -107,8 +107,8 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
.name.form-group
|
.name.form-group
|
||||||
= f.label :name, 'Full name', class: 'label-bold'
|
= f.label :name, 'Full name', class: 'label-bold'
|
||||||
= f.text_field :name, class: "form-control top qa-new-user-name js-block-emoji", required: true, title: _("This field is required.")
|
= f.text_field :name, class: "form-control top qa-new-user-name js-block-emoji", required: true, title: _("This field is required.")
|
||||||
--- gitlab-11.10.4+dfsg.orig/app/views/devise/unlocks/new.html.haml
|
--- a/app/views/devise/unlocks/new.html.haml
|
||||||
+++ gitlab-11.10.4+dfsg/app/views/devise/unlocks/new.html.haml
|
+++ b/app/views/devise/unlocks/new.html.haml
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
.login-body
|
.login-body
|
||||||
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
|
||||||
|
@ -118,9 +118,9 @@ Author: Utkarsh Gupta <guptautkarsh2102@gmail.com>
|
||||||
.form-group.append-bottom-20
|
.form-group.append-bottom-20
|
||||||
= f.label :email
|
= f.label :email
|
||||||
= f.email_field :email, class: 'form-control', autofocus: 'autofocus', autocapitalize: 'off', autocorrect: 'off', title: 'Please provide a valid email address.'
|
= f.email_field :email, class: 'form-control', autofocus: 'autofocus', autocapitalize: 'off', autocorrect: 'off', title: 'Please provide a valid email address.'
|
||||||
--- gitlab-11.10.4+dfsg.orig/config/initializers/8_devise.rb
|
--- a/config/initializers/8_devise.rb
|
||||||
+++ gitlab-11.10.4+dfsg/config/initializers/8_devise.rb
|
+++ b/config/initializers/8_devise.rb
|
||||||
@@ -100,6 +100,11 @@ Devise.setup do |config|
|
@@ -100,6 +100,11 @@
|
||||||
# secure: true in order to force SSL only cookies.
|
# secure: true in order to force SSL only cookies.
|
||||||
# config.cookie_options = {}
|
# config.cookie_options = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue