Merge pull request #1546 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
This commit is contained in:
		
						commit
						02dffa8edd
					
				
							
								
								
									
										4
									
								
								Gemfile
								
								
								
								
							
							
						
						
									
										4
									
								
								Gemfile
								
								
								
								
							| 
						 | 
				
			
			@ -55,7 +55,7 @@ gem 'redis-namespace', '~> 1.8'
 | 
			
		|||
gem 'htmlentities', '~> 4.3'
 | 
			
		||||
gem 'http', '~> 4.4'
 | 
			
		||||
gem 'http_accept_language', '~> 2.1'
 | 
			
		||||
gem 'httplog', '~> 1.4.3'
 | 
			
		||||
gem 'httplog', '~> 1.5.0'
 | 
			
		||||
gem 'idn-ruby', require: 'idn'
 | 
			
		||||
gem 'kaminari', '~> 1.2'
 | 
			
		||||
gem 'link_header', '~> 0.0'
 | 
			
		||||
| 
						 | 
				
			
			@ -136,7 +136,7 @@ group :development do
 | 
			
		|||
  gem 'letter_opener', '~> 1.7'
 | 
			
		||||
  gem 'letter_opener_web', '~> 1.4'
 | 
			
		||||
  gem 'memory_profiler'
 | 
			
		||||
  gem 'rubocop', '~> 1.14', require: false
 | 
			
		||||
  gem 'rubocop', '~> 1.15', require: false
 | 
			
		||||
  gem 'rubocop-rails', '~> 2.10', require: false
 | 
			
		||||
  gem 'brakeman', '~> 5.0', require: false
 | 
			
		||||
  gem 'bundler-audit', '~> 0.8', require: false
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -273,7 +273,7 @@ GEM
 | 
			
		|||
    http-parser (1.2.1)
 | 
			
		||||
      ffi-compiler (>= 1.0, < 2.0)
 | 
			
		||||
    http_accept_language (2.1.1)
 | 
			
		||||
    httplog (1.4.3)
 | 
			
		||||
    httplog (1.5.0)
 | 
			
		||||
      rack (>= 1.0)
 | 
			
		||||
      rainbow (>= 2.0.0)
 | 
			
		||||
    i18n (1.8.10)
 | 
			
		||||
| 
						 | 
				
			
			@ -525,7 +525,7 @@ GEM
 | 
			
		|||
    rspec-support (3.10.2)
 | 
			
		||||
    rspec_junit_formatter (0.4.1)
 | 
			
		||||
      rspec-core (>= 2, < 4, != 2.12.0)
 | 
			
		||||
    rubocop (1.14.0)
 | 
			
		||||
    rubocop (1.15.0)
 | 
			
		||||
      parallel (~> 1.10)
 | 
			
		||||
      parser (>= 3.0.0.0)
 | 
			
		||||
      rainbow (>= 2.2.2, < 4.0)
 | 
			
		||||
| 
						 | 
				
			
			@ -716,7 +716,7 @@ DEPENDENCIES
 | 
			
		|||
  htmlentities (~> 4.3)
 | 
			
		||||
  http (~> 4.4)
 | 
			
		||||
  http_accept_language (~> 2.1)
 | 
			
		||||
  httplog (~> 1.4.3)
 | 
			
		||||
  httplog (~> 1.5.0)
 | 
			
		||||
  i18n-tasks (~> 0.9)
 | 
			
		||||
  idn-ruby
 | 
			
		||||
  iso-639
 | 
			
		||||
| 
						 | 
				
			
			@ -771,7 +771,7 @@ DEPENDENCIES
 | 
			
		|||
  rspec-rails (~> 5.0)
 | 
			
		||||
  rspec-sidekiq (~> 3.1)
 | 
			
		||||
  rspec_junit_formatter (~> 0.4)
 | 
			
		||||
  rubocop (~> 1.14)
 | 
			
		||||
  rubocop (~> 1.15)
 | 
			
		||||
  rubocop-rails (~> 2.10)
 | 
			
		||||
  ruby-progressbar (~> 1.11)
 | 
			
		||||
  sanitize (~> 5.2)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,11 +3,16 @@
 | 
			
		|||
class CustomCssController < ApplicationController
 | 
			
		||||
  skip_before_action :store_current_location
 | 
			
		||||
  skip_before_action :require_functional!
 | 
			
		||||
  skip_before_action :update_user_sign_in
 | 
			
		||||
  skip_before_action :set_session_activity
 | 
			
		||||
 | 
			
		||||
  skip_around_action :set_locale
 | 
			
		||||
 | 
			
		||||
  before_action :set_cache_headers
 | 
			
		||||
 | 
			
		||||
  def show
 | 
			
		||||
    expires_in 3.minutes, public: true
 | 
			
		||||
    request.session_options[:skip] = true
 | 
			
		||||
    render plain: Setting.custom_css || '', content_type: 'text/css'
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -171,14 +171,14 @@
 | 
			
		|||
    "webpack-cli": "^3.3.12",
 | 
			
		||||
    "webpack-merge": "^5.7.3",
 | 
			
		||||
    "wicg-inert": "^3.1.1",
 | 
			
		||||
    "ws": "^7.4.5"
 | 
			
		||||
    "ws": "^7.4.6"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@testing-library/jest-dom": "^5.12.0",
 | 
			
		||||
    "@testing-library/react": "^11.2.7",
 | 
			
		||||
    "babel-eslint": "^10.1.0",
 | 
			
		||||
    "babel-jest": "^26.6.3",
 | 
			
		||||
    "eslint": "^7.26.0",
 | 
			
		||||
    "eslint": "^7.27.0",
 | 
			
		||||
    "eslint-plugin-import": "~2.23.3",
 | 
			
		||||
    "eslint-plugin-jsx-a11y": "~6.4.1",
 | 
			
		||||
    "eslint-plugin-promise": "~5.1.0",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										73
									
								
								yarn.lock
								
								
								
								
							
							
						
						
									
										73
									
								
								yarn.lock
								
								
								
								
							| 
						 | 
				
			
			@ -1902,6 +1902,16 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5:
 | 
			
		|||
    json-schema-traverse "^0.4.1"
 | 
			
		||||
    uri-js "^4.2.2"
 | 
			
		||||
 | 
			
		||||
ajv@^8.0.1:
 | 
			
		||||
  version "8.5.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.5.0.tgz#695528274bcb5afc865446aa275484049a18ae4b"
 | 
			
		||||
  integrity sha512-Y2l399Tt1AguU3BPRP9Fn4eN+Or+StUGWCUpbnFyXSo8NZ9S4uj+AG2pjs5apK+ZMOwYOz1+a+VKvKH7CudXgQ==
 | 
			
		||||
  dependencies:
 | 
			
		||||
    fast-deep-equal "^3.1.1"
 | 
			
		||||
    json-schema-traverse "^1.0.0"
 | 
			
		||||
    require-from-string "^2.0.2"
 | 
			
		||||
    uri-js "^4.2.2"
 | 
			
		||||
 | 
			
		||||
alphanum-sort@^1.0.0:
 | 
			
		||||
  version "1.0.2"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
 | 
			
		||||
| 
						 | 
				
			
			@ -4185,6 +4195,11 @@ escape-string-regexp@^2.0.0:
 | 
			
		|||
  resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
 | 
			
		||||
  integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
 | 
			
		||||
 | 
			
		||||
escape-string-regexp@^4.0.0:
 | 
			
		||||
  version "4.0.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
 | 
			
		||||
  integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
 | 
			
		||||
 | 
			
		||||
escodegen@^1.14.1:
 | 
			
		||||
  version "1.14.3"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
 | 
			
		||||
| 
						 | 
				
			
			@ -4356,10 +4371,10 @@ eslint@^2.7.0:
 | 
			
		|||
    text-table "~0.2.0"
 | 
			
		||||
    user-home "^2.0.0"
 | 
			
		||||
 | 
			
		||||
eslint@^7.26.0:
 | 
			
		||||
  version "7.26.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.26.0.tgz#d416fdcdcb3236cd8f282065312813f8c13982f6"
 | 
			
		||||
  integrity sha512-4R1ieRf52/izcZE7AlLy56uIHHDLT74Yzz2Iv2l6kDaYvEu9x+wMB5dZArVL8SYGXSYV2YAg70FcW5Y5nGGNIg==
 | 
			
		||||
eslint@^7.27.0:
 | 
			
		||||
  version "7.27.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.27.0.tgz#665a1506d8f95655c9274d84bd78f7166b07e9c7"
 | 
			
		||||
  integrity sha512-JZuR6La2ZF0UD384lcbnd0Cgg6QJjiCwhMD6eU4h/VGPcVGwawNNzKU41tgokGXnfjOOyI6QIffthhJTPzzuRA==
 | 
			
		||||
  dependencies:
 | 
			
		||||
    "@babel/code-frame" "7.12.11"
 | 
			
		||||
    "@eslint/eslintrc" "^0.4.1"
 | 
			
		||||
| 
						 | 
				
			
			@ -4369,12 +4384,14 @@ eslint@^7.26.0:
 | 
			
		|||
    debug "^4.0.1"
 | 
			
		||||
    doctrine "^3.0.0"
 | 
			
		||||
    enquirer "^2.3.5"
 | 
			
		||||
    escape-string-regexp "^4.0.0"
 | 
			
		||||
    eslint-scope "^5.1.1"
 | 
			
		||||
    eslint-utils "^2.1.0"
 | 
			
		||||
    eslint-visitor-keys "^2.0.0"
 | 
			
		||||
    espree "^7.3.1"
 | 
			
		||||
    esquery "^1.4.0"
 | 
			
		||||
    esutils "^2.0.2"
 | 
			
		||||
    fast-deep-equal "^3.1.3"
 | 
			
		||||
    file-entry-cache "^6.0.1"
 | 
			
		||||
    functional-red-black-tree "^1.0.1"
 | 
			
		||||
    glob-parent "^5.0.0"
 | 
			
		||||
| 
						 | 
				
			
			@ -4386,7 +4403,7 @@ eslint@^7.26.0:
 | 
			
		|||
    js-yaml "^3.13.1"
 | 
			
		||||
    json-stable-stringify-without-jsonify "^1.0.1"
 | 
			
		||||
    levn "^0.4.1"
 | 
			
		||||
    lodash "^4.17.21"
 | 
			
		||||
    lodash.merge "^4.6.2"
 | 
			
		||||
    minimatch "^3.0.4"
 | 
			
		||||
    natural-compare "^1.4.0"
 | 
			
		||||
    optionator "^0.9.1"
 | 
			
		||||
| 
						 | 
				
			
			@ -4395,7 +4412,7 @@ eslint@^7.26.0:
 | 
			
		|||
    semver "^7.2.1"
 | 
			
		||||
    strip-ansi "^6.0.0"
 | 
			
		||||
    strip-json-comments "^3.1.0"
 | 
			
		||||
    table "^6.0.4"
 | 
			
		||||
    table "^6.0.9"
 | 
			
		||||
    text-table "^0.2.0"
 | 
			
		||||
    v8-compile-cache "^2.0.3"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -4655,7 +4672,7 @@ extsprintf@^1.2.0:
 | 
			
		|||
  resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
 | 
			
		||||
  integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
 | 
			
		||||
 | 
			
		||||
fast-deep-equal@^3.1.1:
 | 
			
		||||
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
 | 
			
		||||
  version "3.1.3"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
 | 
			
		||||
  integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
 | 
			
		||||
| 
						 | 
				
			
			@ -6623,6 +6640,11 @@ json-schema-traverse@^0.4.1:
 | 
			
		|||
  resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
 | 
			
		||||
  integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
 | 
			
		||||
 | 
			
		||||
json-schema-traverse@^1.0.0:
 | 
			
		||||
  version "1.0.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
 | 
			
		||||
  integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==
 | 
			
		||||
 | 
			
		||||
json-schema@0.2.3:
 | 
			
		||||
  version "0.2.3"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
 | 
			
		||||
| 
						 | 
				
			
			@ -6862,6 +6884,11 @@ lodash.capitalize@^4.1.0:
 | 
			
		|||
  resolved "https://registry.yarnpkg.com/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9"
 | 
			
		||||
  integrity sha1-+CbJtOKoUR2E46yinbBeGk87cqk=
 | 
			
		||||
 | 
			
		||||
lodash.clonedeep@^4.5.0:
 | 
			
		||||
  version "4.5.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
 | 
			
		||||
  integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=
 | 
			
		||||
 | 
			
		||||
lodash.debounce@^4.0.8:
 | 
			
		||||
  version "4.0.8"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
 | 
			
		||||
| 
						 | 
				
			
			@ -6907,11 +6934,21 @@ lodash.memoize@^4.1.2:
 | 
			
		|||
  resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
 | 
			
		||||
  integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
 | 
			
		||||
 | 
			
		||||
lodash.merge@^4.6.2:
 | 
			
		||||
  version "4.6.2"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
 | 
			
		||||
  integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
 | 
			
		||||
 | 
			
		||||
lodash.sortby@^4.7.0:
 | 
			
		||||
  version "4.7.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
 | 
			
		||||
  integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
 | 
			
		||||
 | 
			
		||||
lodash.truncate@^4.4.2:
 | 
			
		||||
  version "4.4.2"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"
 | 
			
		||||
  integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=
 | 
			
		||||
 | 
			
		||||
lodash.uniq@^4.5.0:
 | 
			
		||||
  version "4.5.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
 | 
			
		||||
| 
						 | 
				
			
			@ -10446,15 +10483,17 @@ table@^3.7.8:
 | 
			
		|||
    slice-ansi "0.0.4"
 | 
			
		||||
    string-width "^2.0.0"
 | 
			
		||||
 | 
			
		||||
table@^6.0.4:
 | 
			
		||||
  version "6.0.4"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/table/-/table-6.0.4.tgz#c523dd182177e926c723eb20e1b341238188aa0d"
 | 
			
		||||
  integrity sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw==
 | 
			
		||||
table@^6.0.9:
 | 
			
		||||
  version "6.7.1"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2"
 | 
			
		||||
  integrity sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==
 | 
			
		||||
  dependencies:
 | 
			
		||||
    ajv "^6.12.4"
 | 
			
		||||
    lodash "^4.17.20"
 | 
			
		||||
    ajv "^8.0.1"
 | 
			
		||||
    lodash.clonedeep "^4.5.0"
 | 
			
		||||
    lodash.truncate "^4.4.2"
 | 
			
		||||
    slice-ansi "^4.0.0"
 | 
			
		||||
    string-width "^4.2.0"
 | 
			
		||||
    strip-ansi "^6.0.0"
 | 
			
		||||
 | 
			
		||||
tapable@^1.0, tapable@^1.0.0, tapable@^1.1.3:
 | 
			
		||||
  version "1.1.3"
 | 
			
		||||
| 
						 | 
				
			
			@ -11455,10 +11494,10 @@ ws@^6.2.1:
 | 
			
		|||
  dependencies:
 | 
			
		||||
    async-limiter "~1.0.0"
 | 
			
		||||
 | 
			
		||||
ws@^7.2.3, ws@^7.3.1, ws@^7.4.5:
 | 
			
		||||
  version "7.4.5"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1"
 | 
			
		||||
  integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==
 | 
			
		||||
ws@^7.2.3, ws@^7.3.1, ws@^7.4.6:
 | 
			
		||||
  version "7.4.6"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
 | 
			
		||||
  integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
 | 
			
		||||
 | 
			
		||||
xml-name-validator@^3.0.0:
 | 
			
		||||
  version "3.0.0"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue