From c939829912a0367268ec345c813e3c5b132d214c Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:25:18 +0100 Subject: [PATCH 01/30] Bump addressable --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index ccce52ebd..d5c5c3204 100644 --- a/Gemfile +++ b/Gemfile @@ -182,7 +182,7 @@ gem "acts-as-taggable-on", "8.1.0" # URIs and HTTP -gem "addressable", "2.7.0", require: "addressable/uri" +gem "addressable", "2.8.0", require: "addressable/uri" gem "faraday", "0.17.4" gem "faraday_middleware", "0.13.1" gem "faraday-cookie_jar", "0.0.6" diff --git a/Gemfile.lock b/Gemfile.lock index 7957ddd36..720c921f4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,7 +54,7 @@ GEM activemodel (>= 3.0.0) activesupport (>= 3.0.0) rack (>= 1.1.0) - addressable (2.7.0) + addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) aes_key_wrap (1.1.0) apparition (0.6.0) @@ -800,7 +800,7 @@ DEPENDENCIES activerecord-import (= 1.1.0) acts-as-taggable-on (= 8.1.0) acts_as_api (= 1.0.1) - addressable (= 2.7.0) + addressable (= 2.8.0) apparition (= 0.6.0) asset_sync (= 2.14.2) autoprefixer-rails (= 10.2.5.1) From f27b4ae920a386d9dd135f28596e9ebe0ce85cc1 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:28:15 +0100 Subject: [PATCH 02/30] Bump asset_sync --- Gemfile | 2 +- Gemfile.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index d5c5c3204..b6dee1ac0 100644 --- a/Gemfile +++ b/Gemfile @@ -237,7 +237,7 @@ group :production do # we don"t install these on travis to speed up test runs # Third party asset hosting - gem "asset_sync", "2.14.2", require: false + gem "asset_sync", "2.15.0", require: false end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 720c921f4..a859bc0a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -61,7 +61,7 @@ GEM capybara (~> 3.13, < 4) websocket-driver (>= 0.6.5) arel (9.0.0) - asset_sync (2.14.2) + asset_sync (2.15.0) activemodel (>= 4.1.0) fog-core mime-types (>= 2.99) @@ -236,7 +236,7 @@ GEM tzinfo ethon (0.15.0) ffi (>= 1.15.0) - excon (0.82.0) + excon (0.88.0) execjs (2.8.1) eye (0.10.0) celluloid (~> 0.17.3) @@ -335,7 +335,7 @@ GEM mime-types (~> 3.0) multi_xml (>= 0.5.2) httpclient (2.8.3) - i18n (1.8.10) + i18n (1.8.11) concurrent-ruby (~> 1.0) i18n-inflector (2.6.7) i18n (>= 0.4.1) @@ -405,7 +405,7 @@ GEM middleware (0.1.0) mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2021.0225) + mime-types-data (3.2021.0901) mini_magick (4.11.0) mini_mime (1.1.0) mini_portile2 (2.5.3) @@ -754,7 +754,7 @@ GEM thread_safe (~> 0.1) unf (0.1.4) unf_ext - unf_ext (0.0.7.7) + unf_ext (0.0.8) unicode-display_width (1.7.0) unicorn (6.0.0) kgio (~> 2.6) @@ -802,7 +802,7 @@ DEPENDENCIES acts_as_api (= 1.0.1) addressable (= 2.8.0) apparition (= 0.6.0) - asset_sync (= 2.14.2) + asset_sync (= 2.15.0) autoprefixer-rails (= 10.2.5.1) bootstrap-sass (= 3.4.1) bootstrap-switch-rails (= 3.3.3) From ad24678be3ced52956edec7db9ebcc0b59b1aade Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:29:51 +0100 Subject: [PATCH 03/30] Bump autoprefixer-rails --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index b6dee1ac0..6b860ba88 100644 --- a/Gemfile +++ b/Gemfile @@ -59,7 +59,7 @@ gem "rack-cors", "1.1.1", require: "rack/cors" # CSS -gem "autoprefixer-rails", "10.2.5.1" +gem "autoprefixer-rails", "10.3.3.0" gem "bootstrap-sass", "3.4.1" gem "bootstrap-switch-rails", "3.3.3" # 3.3.4 and 3.3.5 is broken, see https://github.com/Bttstrp/bootstrap-switch/issues/691 gem "compass-rails", "3.1.0" diff --git a/Gemfile.lock b/Gemfile.lock index a859bc0a1..7f4796a7b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,8 +70,8 @@ GEM attr_encrypted (3.1.0) encryptor (~> 3.0.0) attr_required (1.0.1) - autoprefixer-rails (10.2.5.1) - execjs (> 0) + autoprefixer-rails (10.3.3.0) + execjs (~> 2) bcrypt (3.1.16) bindata (2.4.10) bootstrap-sass (3.4.1) @@ -803,7 +803,7 @@ DEPENDENCIES addressable (= 2.8.0) apparition (= 0.6.0) asset_sync (= 2.15.0) - autoprefixer-rails (= 10.2.5.1) + autoprefixer-rails (= 10.3.3.0) bootstrap-sass (= 3.4.1) bootstrap-switch-rails (= 3.3.3) capybara (= 3.35.3) From 67069b15198c4e6a21d093442e0c85e4308fa3ff Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:45:06 +0100 Subject: [PATCH 04/30] Bump cucumber --- Gemfile | 2 +- Gemfile.lock | 77 +++++++++++++++++++++++++--------------------------- 2 files changed, 38 insertions(+), 41 deletions(-) diff --git a/Gemfile b/Gemfile index 6b860ba88..b3d5a7eda 100644 --- a/Gemfile +++ b/Gemfile @@ -294,7 +294,7 @@ group :development, :test do gem "rspec-rails", "5.0.1" # Cucumber (integration tests) - gem "cucumber-rails", "2.3.0", require: false + gem "cucumber-rails", "2.4.0", require: false # Jasmine (client side application tests (JS)) gem "chrome_remote", "0.3.0" diff --git a/Gemfile.lock b/Gemfile.lock index 7f4796a7b..45a9ffcd4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,46 +145,48 @@ GEM crack (0.4.5) rexml crass (1.0.6) - cucumber (5.3.0) + cucumber (7.1.0) builder (~> 3.2, >= 3.2.4) - cucumber-core (~> 8.0, >= 8.0.1) - cucumber-create-meta (~> 2.0, >= 2.0.2) - cucumber-cucumber-expressions (~> 10.3, >= 10.3.0) - cucumber-gherkin (~> 15.0, >= 15.0.2) - cucumber-html-formatter (~> 9.0, >= 9.0.0) - cucumber-messages (~> 13.1, >= 13.1.0) - cucumber-wire (~> 4.0, >= 4.0.1) + cucumber-core (~> 10.1, >= 10.1.0) + cucumber-create-meta (~> 6.0, >= 6.0.1) + cucumber-cucumber-expressions (~> 14.0, >= 14.0.0) + cucumber-gherkin (~> 22.0, >= 22.0.0) + cucumber-html-formatter (~> 17.0, >= 17.0.0) + cucumber-messages (~> 17.1, >= 17.1.1) + cucumber-wire (~> 6.2, >= 6.2.0) diff-lcs (~> 1.4, >= 1.4.4) + mime-types (~> 3.3, >= 3.3.1) multi_test (~> 0.1, >= 0.1.2) - sys-uname (~> 1.2, >= 1.2.1) + sys-uname (~> 1.2, >= 1.2.2) cucumber-api-steps (0.14.0) cucumber (>= 2.0.2) jsonpath (>= 0.1.2) - cucumber-core (8.0.1) - cucumber-gherkin (~> 15.0, >= 15.0.2) - cucumber-messages (~> 13.0, >= 13.0.1) - cucumber-tag-expressions (~> 2.0, >= 2.0.4) - cucumber-create-meta (2.0.4) - cucumber-messages (~> 13.1, >= 13.1.0) - sys-uname (~> 1.2, >= 1.2.1) - cucumber-cucumber-expressions (10.3.0) - cucumber-gherkin (15.0.2) - cucumber-messages (~> 13.0, >= 13.0.1) - cucumber-html-formatter (9.0.0) - cucumber-messages (~> 13.0, >= 13.0.1) - cucumber-messages (13.2.1) - protobuf-cucumber (~> 3.10, >= 3.10.8) - cucumber-rails (2.3.0) + cucumber-core (10.1.0) + cucumber-gherkin (~> 22.0, >= 22.0.0) + cucumber-messages (~> 17.1, >= 17.1.1) + cucumber-tag-expressions (~> 4.0, >= 4.0.2) + cucumber-create-meta (6.0.2) + cucumber-messages (~> 17.1, >= 17.1.1) + sys-uname (~> 1.2, >= 1.2.2) + cucumber-cucumber-expressions (14.0.0) + cucumber-gherkin (22.0.0) + cucumber-messages (~> 17.1, >= 17.1.1) + cucumber-html-formatter (17.0.0) + cucumber-messages (~> 17.1, >= 17.1.0) + cucumber-messages (17.1.1) + cucumber-rails (2.4.0) capybara (>= 2.18, < 4) - cucumber (>= 3.0.2, < 6) - mime-types (~> 3.2) - nokogiri (~> 1.8) + cucumber (>= 3.2, < 8) + mime-types (~> 3.3) + nokogiri (~> 1.10) railties (>= 5.0, < 7) - cucumber-tag-expressions (2.0.4) - cucumber-wire (4.0.1) - cucumber-core (~> 8.0, >= 8.0.1) - cucumber-cucumber-expressions (~> 10.3, >= 10.3.0) - cucumber-messages (~> 13.0, >= 13.0.1) + rexml (~> 3.0) + webrick (~> 1.7) + cucumber-tag-expressions (4.1.0) + cucumber-wire (6.2.0) + cucumber-core (~> 10.1, >= 10.1.0) + cucumber-cucumber-expressions (~> 14.0, >= 14.0.0) + cucumber-messages (~> 17.1, >= 17.1.1) database_cleaner (1.8.5) database_cleaner-active_record (1.8.0) activerecord @@ -402,12 +404,11 @@ GEM memoizable (0.4.2) thread_safe (~> 0.3, >= 0.3.1) method_source (1.0.0) - middleware (0.1.0) mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2021.0901) mini_magick (4.11.0) - mini_mime (1.1.0) + mini_mime (1.1.2) mini_portile2 (2.5.3) minitest (5.14.4) mobile-fu (1.4.0) @@ -490,11 +491,6 @@ GEM pronto-scss (0.11.0) pronto (~> 0.11.0) scss_lint (~> 0.43, >= 0.43.0) - protobuf-cucumber (3.10.8) - activesupport (>= 3.2) - middleware - thor - thread_safe pry (0.14.1) coderay (~> 1.1) method_source (~> 1.0) @@ -784,6 +780,7 @@ GEM addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.7.0) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -812,7 +809,7 @@ DEPENDENCIES compass-rails (= 3.1.0) configurate (= 0.5.0) cucumber-api-steps (= 0.14) - cucumber-rails (= 2.3.0) + cucumber-rails (= 2.4.0) database_cleaner-active_record (= 1.8.0) devise (= 4.8.0) devise-two-factor (= 4.0.0) From 2eb52cedece8b9a942084058d13d4d861b5b89e8 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:48:51 +0100 Subject: [PATCH 05/30] Bump database_cleaner --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index b3d5a7eda..3882e16f0 100644 --- a/Gemfile +++ b/Gemfile @@ -275,7 +275,7 @@ group :test do gem "apparition", "0.6.0" gem "capybara", "3.35.3" - gem "database_cleaner-active_record", "1.8.0" + gem "database_cleaner-active_record", "2.0.1" gem "cucumber-api-steps", "0.14", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 45a9ffcd4..2728f1029 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -187,10 +187,10 @@ GEM cucumber-core (~> 10.1, >= 10.1.0) cucumber-cucumber-expressions (~> 14.0, >= 14.0.0) cucumber-messages (~> 17.1, >= 17.1.1) - database_cleaner (1.8.5) - database_cleaner-active_record (1.8.0) - activerecord - database_cleaner (~> 1.8.0) + database_cleaner-active_record (2.0.1) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) devise (4.8.0) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -810,7 +810,7 @@ DEPENDENCIES configurate (= 0.5.0) cucumber-api-steps (= 0.14) cucumber-rails (= 2.4.0) - database_cleaner-active_record (= 1.8.0) + database_cleaner-active_record (= 2.0.1) devise (= 4.8.0) devise-two-factor (= 4.0.0) devise_lastseenable (= 0.0.6) From a0646e93637eb96a42e8c1c1481d6b063e2695ad Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:51:12 +0100 Subject: [PATCH 06/30] Bump devise-two-factor --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 3882e16f0..2d27193eb 100644 --- a/Gemfile +++ b/Gemfile @@ -28,7 +28,7 @@ gem "json-schema", "2.8.1" gem "devise", "4.8.0" gem "devise_lastseenable", "0.0.6" -gem "devise-two-factor", "4.0.0" +gem "devise-two-factor", "4.0.1" gem "rqrcode", "2.0.0" # Captcha diff --git a/Gemfile.lock b/Gemfile.lock index 2728f1029..6ba05a588 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -197,7 +197,7 @@ GEM railties (>= 4.1.0) responders warden (~> 1.2.3) - devise-two-factor (4.0.0) + devise-two-factor (4.0.1) activesupport (< 6.2) attr_encrypted (>= 1.3, < 4, != 2) devise (~> 4.0) @@ -812,7 +812,7 @@ DEPENDENCIES cucumber-rails (= 2.4.0) database_cleaner-active_record (= 2.0.1) devise (= 4.8.0) - devise-two-factor (= 4.0.0) + devise-two-factor (= 4.0.1) devise_lastseenable (= 0.0.6) diaspora-prosody-config (= 0.0.7) diaspora_federation-json_schema (= 0.2.7) From 10f62391d45bb3f9743a04e7ba6e9819647b80c3 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:53:30 +0100 Subject: [PATCH 07/30] Bump faraday_middleware and faraday-cookie_jar --- Gemfile | 4 ++-- Gemfile.lock | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 2d27193eb..379265375 100644 --- a/Gemfile +++ b/Gemfile @@ -184,8 +184,8 @@ gem "acts-as-taggable-on", "8.1.0" gem "addressable", "2.8.0", require: "addressable/uri" gem "faraday", "0.17.4" -gem "faraday_middleware", "0.13.1" -gem "faraday-cookie_jar", "0.0.6" +gem "faraday-cookie_jar", "0.0.7" +gem "faraday_middleware", "0.14.0" gem "typhoeus", "1.4.0" # Views diff --git a/Gemfile.lock b/Gemfile.lock index 6ba05a588..2cf057362 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -254,10 +254,10 @@ GEM railties (>= 3.0.0) faraday (0.17.4) multipart-post (>= 1.2, < 3) - faraday-cookie_jar (0.0.6) - faraday (>= 0.7.4) + faraday-cookie_jar (0.0.7) + faraday (>= 0.8.0) http-cookie (~> 1.0.0) - faraday_middleware (0.13.1) + faraday_middleware (0.14.0) faraday (>= 0.7.4, < 1.0) ffi (1.15.4) ffi-compiler (1.0.1) @@ -822,8 +822,8 @@ DEPENDENCIES eye (= 0.10.0) factory_girl_rails (= 4.9.0) faraday (= 0.17.4) - faraday-cookie_jar (= 0.0.6) - faraday_middleware (= 0.13.1) + faraday-cookie_jar (= 0.0.7) + faraday_middleware (= 0.14.0) fixture_builder (= 0.5.2) fog-aws (= 3.10.0) fuubar (= 2.5.1) From a66bfc96144d66ff6109dab76ea5a646315d6a3c Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:56:40 +0100 Subject: [PATCH 08/30] Bump fog-aws --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 379265375..fb5beaae3 100644 --- a/Gemfile +++ b/Gemfile @@ -80,7 +80,7 @@ gem "activerecord-import", "1.1.0" # File uploading gem "carrierwave", "2.2.2" -gem "fog-aws", "3.10.0" +gem "fog-aws", "3.12.0" gem "mini_magick", "4.11.0" # GUID generation diff --git a/Gemfile.lock b/Gemfile.lock index 2cf057362..759e40c98 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -267,7 +267,7 @@ GEM activerecord (>= 2) activesupport (>= 2) hashdiff - fog-aws (3.10.0) + fog-aws (3.12.0) fog-core (~> 2.1) fog-json (~> 1.1) fog-xml (~> 0.1) @@ -280,7 +280,7 @@ GEM fog-json (1.2.0) fog-core multi_json (~> 1.10) - fog-xml (0.1.3) + fog-xml (0.1.4) fog-core nokogiri (>= 1.5.11, < 2.0.0) formatador (0.3.0) @@ -825,7 +825,7 @@ DEPENDENCIES faraday-cookie_jar (= 0.0.7) faraday_middleware (= 0.14.0) fixture_builder (= 0.5.2) - fog-aws (= 3.10.0) + fog-aws (= 3.12.0) fuubar (= 2.5.1) gon (= 6.4.0) haml_lint (= 0.37.1) From 51a46f60f115f2545f84901b6905f445c5801174 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 00:58:05 +0100 Subject: [PATCH 09/30] Bump hamlit --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index fb5beaae3..973bc313f 100644 --- a/Gemfile +++ b/Gemfile @@ -191,7 +191,7 @@ gem "typhoeus", "1.4.0" # Views gem "gon", "6.4.0" -gem "hamlit", "2.15.0" +gem "hamlit", "2.15.1" gem "mobile-fu", "1.4.0" gem "rails-timeago", "2.19.1" gem "will_paginate", "3.3.0" diff --git a/Gemfile.lock b/Gemfile.lock index 759e40c98..b444cf7a2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -311,7 +311,7 @@ GEM rainbow rubocop (>= 0.50.0) sysexits (~> 1.1) - hamlit (2.15.0) + hamlit (2.15.1) temple (>= 0.8.2) thor tilt @@ -829,7 +829,7 @@ DEPENDENCIES fuubar (= 2.5.1) gon (= 6.4.0) haml_lint (= 0.37.1) - hamlit (= 2.15.0) + hamlit (= 2.15.1) handlebars_assets (= 0.23.9) http_accept_language (= 2.1.1) i18n-inflector-rails (= 1.0.7) From 9548a3645c531f5e84845380e5a3c9d758e8fc4c Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:04:45 +0100 Subject: [PATCH 10/30] Bump jasmine --- Gemfile | 2 +- Gemfile.lock | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 973bc313f..d8bec271a 100644 --- a/Gemfile +++ b/Gemfile @@ -298,7 +298,7 @@ group :development, :test do # Jasmine (client side application tests (JS)) gem "chrome_remote", "0.3.0" - gem "jasmine", "3.7.0" + gem "jasmine", "3.10.0" gem "jasmine-jquery-rails", "2.0.3" gem "rails-assets-jasmine-ajax", "4.0.0", source: "https://gems.diasporafoundation.org" gem "sinon-rails", "1.15.0" diff --git a/Gemfile.lock b/Gemfile.lock index b444cf7a2..ba1b9c067 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -349,12 +349,13 @@ GEM mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) ipaddress (0.8.3) - jasmine (3.7.0) - jasmine-core (~> 3.7.0) + jasmine (3.10.0) + jasmine-core (~> 3.10.0) phantomjs - rack (>= 1.2.1) + rack (>= 2.1.4) rake - jasmine-core (3.7.1) + webrick + jasmine-core (3.10.1) jasmine-jquery-rails (2.0.3) jquery-rails (4.4.0) rails-dom-testing (>= 1, < 3) @@ -833,7 +834,7 @@ DEPENDENCIES handlebars_assets (= 0.23.9) http_accept_language (= 2.1.1) i18n-inflector-rails (= 1.0.7) - jasmine (= 3.7.0) + jasmine (= 3.10.0) jasmine-jquery-rails (= 2.0.3) jquery-rails (= 4.4.0) js-routes (= 1.4.14) From fef6380721472d6b7fe23852f72f55c53247e2af Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:21:01 +0100 Subject: [PATCH 11/30] Bump js-routes --- Gemfile | 2 +- Gemfile.lock | 4 ++-- config/initializers/jsroutes.rb | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index d8bec271a..d3ca509fb 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ gem "entypo-rails", "3.0.0" gem "handlebars_assets", "0.23.9" gem "jquery-rails", "4.4.0" -gem "js-routes", "1.4.14" +gem "js-routes", "2.1.2" gem "js_image_paths", "0.1.1" source "https://gems.diasporafoundation.org" do diff --git a/Gemfile.lock b/Gemfile.lock index ba1b9c067..413c70ca8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -361,7 +361,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - js-routes (1.4.14) + js-routes (2.1.2) railties (>= 4) js_image_paths (0.1.1) rails (>= 4.0, < 6.0) @@ -837,7 +837,7 @@ DEPENDENCIES jasmine (= 3.10.0) jasmine-jquery-rails (= 2.0.3) jquery-rails (= 4.4.0) - js-routes (= 1.4.14) + js-routes (= 2.1.2) js_image_paths (= 0.1.1) json (= 2.3.0) json-schema (= 2.8.1) diff --git a/config/initializers/jsroutes.rb b/config/initializers/jsroutes.rb index e82bf7125..8e6f5176f 100644 --- a/config/initializers/jsroutes.rb +++ b/config/initializers/jsroutes.rb @@ -3,4 +3,6 @@ JsRoutes.setup do |config| config.camel_case = true config.compact = true + config.module_type = nil + config.namespace = "Routes" end From b3c13bc49eb8e717ef77a3cfb2f22bcfe54bb389 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:24:19 +0100 Subject: [PATCH 12/30] Bump nokogiri --- Gemfile | 2 +- Gemfile.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index d3ca509fb..4e083a4ba 100644 --- a/Gemfile +++ b/Gemfile @@ -143,7 +143,7 @@ gem "leaflet-rails", "1.7.0" # Parsing -gem "nokogiri", "1.11.7" +gem "nokogiri", "1.12.5" gem "open_graph_reader", "0.7.2" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb gem "redcarpet", "3.5.1" gem "ruby-oembed", "0.15.0" diff --git a/Gemfile.lock b/Gemfile.lock index 413c70ca8..b120ae838 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -410,7 +410,7 @@ GEM mime-types-data (3.2021.0901) mini_magick (4.11.0) mini_mime (1.1.2) - mini_portile2 (2.5.3) + mini_portile2 (2.6.1) minitest (5.14.4) mobile-fu (1.4.0) rack-mobile-detect @@ -422,8 +422,8 @@ GEM mysql2 (0.5.3) naught (1.1.0) nio4r (2.5.7) - nokogiri (1.11.7) - mini_portile2 (~> 2.5.0) + nokogiri (1.12.5) + mini_portile2 (~> 2.6.1) racc (~> 1.4) oauth (0.5.6) oauth2 (1.4.7) @@ -851,7 +851,7 @@ DEPENDENCIES minitest mobile-fu (= 1.4.0) mysql2 (= 0.5.3) - nokogiri (= 1.11.7) + nokogiri (= 1.12.5) omniauth (= 1.9.1) omniauth-tumblr (= 1.2) omniauth-twitter (= 1.4.0) From 6e8a0dd66aaf236007ac92c8eb0157efd2b372ee Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:34:27 +0100 Subject: [PATCH 13/30] Bump openid_connect --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 4e083a4ba..303be20c0 100644 --- a/Gemfile +++ b/Gemfile @@ -166,7 +166,7 @@ gem "omniauth-wordpress", "0.2.2" gem "twitter", "7.0.0" # OpenID Connect -gem "openid_connect", "1.2.0" +gem "openid_connect", "1.3.0" # Serializers diff --git a/Gemfile.lock b/Gemfile.lock index b120ae838..fb35c53fa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -455,7 +455,7 @@ GEM open_graph_reader (0.7.2) faraday (>= 0.9.0) nokogiri (~> 1.6) - openid_connect (1.2.0) + openid_connect (1.3.0) activemodel attr_required (>= 1.0.0) json-jwt (>= 1.5.0) @@ -509,7 +509,7 @@ GEM activesupport rack-mobile-detect (0.4.0) rack - rack-oauth2 (1.17.0) + rack-oauth2 (1.19.0) activesupport attr_required httpclient @@ -711,7 +711,7 @@ GEM ssrf_filter (1.0.7) state_machines (0.5.0) string-direction (1.2.2) - swd (1.2.0) + swd (1.3.0) activesupport (>= 3) attr_required (>= 0.0.5) httpclient (>= 2.4) @@ -774,7 +774,7 @@ GEM yard (~> 0.9.20) warden (1.2.9) rack (>= 2.0.9) - webfinger (1.1.0) + webfinger (1.2.0) activesupport httpclient (>= 2.4) webmock (3.13.0) @@ -857,7 +857,7 @@ DEPENDENCIES omniauth-twitter (= 1.4.0) omniauth-wordpress (= 0.2.2) open_graph_reader (= 0.7.2) - openid_connect (= 1.2.0) + openid_connect (= 1.3.0) pg (= 1.2.3) pronto (= 0.11.0) pronto-eslint (= 0.11.0) From cd32959b93f65bae2563221af06fc68ee579e80a Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:37:37 +0100 Subject: [PATCH 14/30] Bump redis --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 303be20c0..d2c8b10da 100644 --- a/Gemfile +++ b/Gemfile @@ -37,7 +37,7 @@ gem "simple_captcha2", "0.5.0", require: "simple_captcha" # Background processing -gem "redis", "4.3.1" +gem "redis", "4.5.1" gem "sidekiq", "6.2.1" # Scheduled processing diff --git a/Gemfile.lock b/Gemfile.lock index fb35c53fa..0169f1106 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -609,7 +609,7 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) redcarpet (3.5.1) - redis (4.3.1) + redis (4.5.1) regexp_parser (2.1.1) request_store (1.5.0) rack (>= 1.4) @@ -899,7 +899,7 @@ DEPENDENCIES rails-i18n (= 5.1.3) rails-timeago (= 2.19.1) redcarpet (= 3.5.1) - redis (= 4.3.1) + redis (= 4.5.1) responders (= 3.0.1) rqrcode (= 2.0.0) rspec-json_expectations (~> 2.1) From ae6b5a634ca4d8f86abf260b427a29b363f11a6a Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:39:22 +0100 Subject: [PATCH 15/30] Bump rqrcode --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index d2c8b10da..4c40e3349 100644 --- a/Gemfile +++ b/Gemfile @@ -29,7 +29,7 @@ gem "json-schema", "2.8.1" gem "devise", "4.8.0" gem "devise_lastseenable", "0.0.6" gem "devise-two-factor", "4.0.1" -gem "rqrcode", "2.0.0" +gem "rqrcode", "2.1.0" # Captcha diff --git a/Gemfile.lock b/Gemfile.lock index 0169f1106..e2be07c5f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -618,10 +618,10 @@ GEM railties (>= 5.0) rexml (3.2.5) rotp (6.2.0) - rqrcode (2.0.0) + rqrcode (2.1.0) chunky_png (~> 1.0) rqrcode_core (~> 1.0) - rqrcode_core (1.0.0) + rqrcode_core (1.2.0) rspec (3.10.0) rspec-core (~> 3.10.0) rspec-expectations (~> 3.10.0) @@ -901,7 +901,7 @@ DEPENDENCIES redcarpet (= 3.5.1) redis (= 4.5.1) responders (= 3.0.1) - rqrcode (= 2.0.0) + rqrcode (= 2.1.0) rspec-json_expectations (~> 2.1) rspec-rails (= 5.0.1) rubocop (= 0.93.1) From 19f6057ded6c8cc75a99e89dfbe2e8202deb7498 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:41:35 +0100 Subject: [PATCH 16/30] Bump rspec-rails --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 4c40e3349..19c0c01f9 100644 --- a/Gemfile +++ b/Gemfile @@ -291,7 +291,7 @@ end group :development, :test do # RSpec (unit tests, some integration tests) - gem "rspec-rails", "5.0.1" + gem "rspec-rails", "5.0.2" # Cucumber (integration tests) gem "cucumber-rails", "2.4.0", require: false diff --git a/Gemfile.lock b/Gemfile.lock index e2be07c5f..ee01490a2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -635,7 +635,7 @@ GEM rspec-mocks (3.10.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) - rspec-rails (5.0.1) + rspec-rails (5.0.2) actionpack (>= 5.2) activesupport (>= 5.2) railties (>= 5.2) @@ -643,7 +643,7 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.10.2) + rspec-support (3.10.3) rubocop (0.93.1) parallel (~> 1.10) parser (>= 2.7.1.5) @@ -903,7 +903,7 @@ DEPENDENCIES responders (= 3.0.1) rqrcode (= 2.1.0) rspec-json_expectations (~> 2.1) - rspec-rails (= 5.0.1) + rspec-rails (= 5.0.2) rubocop (= 0.93.1) rubocop-rails (= 2.9.1) ruby-oembed (= 0.15.0) From 62f98dcaffb0c68b170c63c846f2f2bf0e864fbf Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:48:38 +0100 Subject: [PATCH 17/30] Bump rubyzip --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 19c0c01f9..1bdc1be84 100644 --- a/Gemfile +++ b/Gemfile @@ -202,7 +202,7 @@ gem "logging-rails", "0.6.0", require: "logging/rails" # Reading and writing zip files -gem "rubyzip", "2.3.0", require: "zip" +gem "rubyzip", "2.3.2", require: "zip" # Prevent occasions where minitest is not bundled in # packaged versions of ruby. See following issues/prs: diff --git a/Gemfile.lock b/Gemfile.lock index ee01490a2..b6f5489f0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -663,7 +663,7 @@ GEM ruby-progressbar (1.11.0) ruby-vips (2.1.2) ffi (~> 1.12) - rubyzip (2.3.0) + rubyzip (2.3.2) rugged (1.0.1) sass (3.4.25) sass-rails (5.0.7) @@ -907,7 +907,7 @@ DEPENDENCIES rubocop (= 0.93.1) rubocop-rails (= 2.9.1) ruby-oembed (= 0.15.0) - rubyzip (= 2.3.0) + rubyzip (= 2.3.2) sass-rails (= 5.0.7) secure_headers (= 6.3.2) shoulda-matchers (= 4.5.1) From fe0c143c893706b5e558d708e071a9e00d730e27 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:51:10 +0100 Subject: [PATCH 18/30] Bump secure_headers --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 1bdc1be84..c42e81bb1 100644 --- a/Gemfile +++ b/Gemfile @@ -155,7 +155,7 @@ gem "string-direction", "1.2.2" # Security Headers -gem "secure_headers", "6.3.2" +gem "secure_headers", "6.3.3" # Services diff --git a/Gemfile.lock b/Gemfile.lock index b6f5489f0..8b7f5835b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -680,7 +680,7 @@ GEM scss_lint (0.55.0) rake (>= 0.9, < 13) sass (~> 3.4.20) - secure_headers (6.3.2) + secure_headers (6.3.3) shoulda-matchers (4.5.1) activesupport (>= 4.2.0) sidekiq (6.2.1) @@ -909,7 +909,7 @@ DEPENDENCIES ruby-oembed (= 0.15.0) rubyzip (= 2.3.2) sass-rails (= 5.0.7) - secure_headers (= 6.3.2) + secure_headers (= 6.3.3) shoulda-matchers (= 4.5.1) sidekiq (= 6.2.1) sidekiq-cron (= 1.2.0) From c8fba1ffad65942e8f1c579ea76898af95de4025 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:52:55 +0100 Subject: [PATCH 19/30] Bump sidekiq --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index c42e81bb1..9c6e0b3a4 100644 --- a/Gemfile +++ b/Gemfile @@ -38,7 +38,7 @@ gem "simple_captcha2", "0.5.0", require: "simple_captcha" # Background processing gem "redis", "4.5.1" -gem "sidekiq", "6.2.1" +gem "sidekiq", "6.2.2" # Scheduled processing diff --git a/Gemfile.lock b/Gemfile.lock index 8b7f5835b..a5f7d718b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -683,7 +683,7 @@ GEM secure_headers (6.3.3) shoulda-matchers (4.5.1) activesupport (>= 4.2.0) - sidekiq (6.2.1) + sidekiq (6.2.2) connection_pool (>= 2.2.2) rack (~> 2.0) redis (>= 4.2.0) @@ -911,7 +911,7 @@ DEPENDENCIES sass-rails (= 5.0.7) secure_headers (= 6.3.3) shoulda-matchers (= 4.5.1) - sidekiq (= 6.2.1) + sidekiq (= 6.2.2) sidekiq-cron (= 1.2.0) simple_captcha2 (= 0.5.0) simplecov (= 0.21.2) From eea6d71c8d05dc0c978462860fb29eb63514acea Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:54:15 +0100 Subject: [PATCH 20/30] Bump terser --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 9c6e0b3a4..1686ae694 100644 --- a/Gemfile +++ b/Gemfile @@ -46,7 +46,7 @@ gem "sidekiq-cron", "1.2.0" # Compression -gem "terser", "1.1.5" +gem "terser", "1.1.7" # Configuration diff --git a/Gemfile.lock b/Gemfile.lock index a5f7d718b..b29e9b019 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -722,7 +722,7 @@ GEM temple (0.8.2) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) - terser (1.1.5) + terser (1.1.7) execjs (>= 0.3.0, < 3) thor (1.1.0) thread_safe (0.3.6) @@ -918,7 +918,7 @@ DEPENDENCIES sinon-rails (= 1.15.0) sprockets-rails (= 3.2.2) string-direction (= 1.2.2) - terser (= 1.1.5) + terser (= 1.1.7) timecop (= 0.9.4) toml-rb (= 2.0.1) turbo_dev_assets (= 0.0.2) From a5f59ef105736e43d9543ea929f73ace81ef4c90 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:55:47 +0100 Subject: [PATCH 21/30] Bump toml-rb --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 1686ae694..90562797a 100644 --- a/Gemfile +++ b/Gemfile @@ -51,7 +51,7 @@ gem "terser", "1.1.7" # Configuration gem "configurate", "0.5.0" -gem "toml-rb", "2.0.1" +gem "toml-rb", "2.1.0" # Cross-origin resource sharing diff --git a/Gemfile.lock b/Gemfile.lock index b29e9b019..0df7492cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -729,7 +729,7 @@ GEM tilt (2.0.10) timecop (0.9.4) timers (4.3.3) - toml-rb (2.0.1) + toml-rb (2.1.0) citrus (~> 3.0, > 3.0) turbo_dev_assets (0.0.2) twitter (7.0.0) @@ -920,7 +920,7 @@ DEPENDENCIES string-direction (= 1.2.2) terser (= 1.1.7) timecop (= 0.9.4) - toml-rb (= 2.0.1) + toml-rb (= 2.1.0) turbo_dev_assets (= 0.0.2) twitter (= 7.0.0) twitter-text (= 1.14.7) From 862796131f920b5269d035da2c4e98aec4e281f6 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:57:10 +0100 Subject: [PATCH 22/30] Bump webmock --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 90562797a..0fbf28abb 100644 --- a/Gemfile +++ b/Gemfile @@ -284,7 +284,7 @@ group :test do gem "factory_girl_rails", "4.9.0" gem "shoulda-matchers", "4.5.1" gem "timecop", "0.9.4" - gem "webmock", "3.13.0", require: false + gem "webmock", "3.14.0", require: false gem "diaspora_federation-test", "0.2.7" end diff --git a/Gemfile.lock b/Gemfile.lock index 0df7492cf..14210152d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -777,8 +777,8 @@ GEM webfinger (1.2.0) activesupport httpclient (>= 2.4) - webmock (3.13.0) - addressable (>= 2.3.6) + webmock (3.14.0) + addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) webrick (1.7.0) @@ -929,7 +929,7 @@ DEPENDENCIES unicorn-worker-killer (= 0.4.5) uuid (= 2.3.9) versionist (= 2.0.1) - webmock (= 3.13.0) + webmock (= 3.14.0) will_paginate (= 3.3.0) BUNDLED WITH From b8e5021dd113ca16ac71c761a8b49e8448dc04bf Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:57:58 +0100 Subject: [PATCH 23/30] Bump will_paginate --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 0fbf28abb..00ae62aae 100644 --- a/Gemfile +++ b/Gemfile @@ -194,7 +194,7 @@ gem "gon", "6.4.0" gem "hamlit", "2.15.1" gem "mobile-fu", "1.4.0" gem "rails-timeago", "2.19.1" -gem "will_paginate", "3.3.0" +gem "will_paginate", "3.3.1" # Logging diff --git a/Gemfile.lock b/Gemfile.lock index 14210152d..a0f5cc05e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -785,7 +785,7 @@ GEM websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - will_paginate (3.3.0) + will_paginate (3.3.1) xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.26) @@ -930,7 +930,7 @@ DEPENDENCIES uuid (= 2.3.9) versionist (= 2.0.1) webmock (= 3.14.0) - will_paginate (= 3.3.0) + will_paginate (= 3.3.1) BUNDLED WITH 1.17.3 From fbd14c88047e3b2e29cebd5875377f9528709360 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 02:06:36 +0100 Subject: [PATCH 24/30] Bump indirect dependency gems --- Gemfile.lock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a0f5cc05e..7a07fd246 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -234,7 +234,7 @@ GEM execjs multi_json (>= 1.3) rake - et-orbi (1.2.4) + et-orbi (1.2.6) tzinfo ethon (0.15.0) ffi (>= 1.15.0) @@ -284,7 +284,7 @@ GEM fog-core nokogiri (>= 1.5.11, < 2.0.0) formatador (0.3.0) - fugit (1.5.0) + fugit (1.5.2) et-orbi (~> 1.1, >= 1.1.8) raabro (~> 1.4) fuubar (2.5.1) @@ -295,14 +295,14 @@ GEM gitlab (4.17.0) httparty (~> 0.18) terminal-table (~> 1.5, >= 1.5.1) - globalid (0.4.2) - activesupport (>= 4.2.0) + globalid (0.5.2) + activesupport (>= 5.0) gon (6.4.0) actionpack (>= 3.0.20) i18n (>= 0.7) multi_json request_store (>= 1.0) - haml (5.2.1) + haml (5.2.2) temple (>= 0.8.0) tilt haml_lint (0.37.1) @@ -333,7 +333,7 @@ GEM ffi-compiler (>= 1.0, < 2.0) http_accept_language (2.1.1) http_parser.rb (0.6.0) - httparty (0.18.1) + httparty (0.20.0) mime-types (~> 3.0) multi_xml (>= 0.5.2) httpclient (2.8.3) @@ -380,7 +380,7 @@ GEM multi_json jwt (2.2.3) kgio (2.11.4) - kostya-sigar (2.0.8) + kostya-sigar (2.0.10) leaflet-rails (1.7.0) rails (>= 4.2.0) listen (3.5.1) @@ -399,7 +399,7 @@ GEM systemu (~> 2.6.5) mail (2.7.1) mini_mime (>= 0.1.1) - marcel (1.0.1) + marcel (1.0.2) markdown-it-html5-embed (1.0.0) markerb (1.1.0) memoizable (0.4.2) @@ -421,11 +421,11 @@ GEM multipart-post (2.1.1) mysql2 (0.5.3) naught (1.1.0) - nio4r (2.5.7) + nio4r (2.5.8) nokogiri (1.12.5) mini_portile2 (~> 2.6.1) racc (~> 1.4) - oauth (0.5.6) + oauth (0.5.7) oauth2 (1.4.7) faraday (>= 0.8, < 2.0) jwt (>= 1.0, < 3.0) @@ -466,8 +466,8 @@ GEM validate_url webfinger (>= 1.0.1) orm_adapter (0.5.0) - parallel (1.20.1) - parser (3.0.1.1) + parallel (1.21.0) + parser (3.0.2.0) ast (~> 2.4.1) pg (1.2.3) phantomjs (2.1.1.0) @@ -605,7 +605,7 @@ GEM rainbow (3.0.0) raindrops (0.19.2) rake (12.3.3) - rb-fsevent (0.10.4) + rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) redcarpet (3.5.1) @@ -661,7 +661,7 @@ GEM rubocop (>= 0.90.0, < 2.0) ruby-oembed (0.15.0) ruby-progressbar (1.11.0) - ruby-vips (2.1.2) + ruby-vips (2.1.3) ffi (~> 1.12) rubyzip (2.3.2) rugged (1.0.1) @@ -752,7 +752,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8) - unicode-display_width (1.7.0) + unicode-display_width (1.8.0) unicorn (6.0.0) kgio (~> 2.6) raindrops (~> 0.7) From ec22f5883e15e4fce36e121e4ef2a91de5f471ee Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 6 Nov 2021 01:31:56 +0100 Subject: [PATCH 25/30] Bump omniauth --- Gemfile | 11 ++++++----- Gemfile.lock | 15 +++++++++++---- app/views/services/_add_remove_services.haml | 2 +- app/views/streams/main_stream.html.haml | 2 +- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 00ae62aae..82e429584 100644 --- a/Gemfile +++ b/Gemfile @@ -159,11 +159,12 @@ gem "secure_headers", "6.3.3" # Services -gem "omniauth", "1.9.1" -gem "omniauth-tumblr", "1.2" -gem "omniauth-twitter", "1.4.0" -gem "omniauth-wordpress", "0.2.2" -gem "twitter", "7.0.0" +gem "omniauth", "2.0.4" +gem "omniauth-rails_csrf_protection", "1.0.0" +gem "omniauth-tumblr", "1.2" +gem "omniauth-twitter", "1.4.0" +gem "omniauth-wordpress", "0.2.2" +gem "twitter", "7.0.0" # OpenID Connect gem "openid_connect", "1.3.0" diff --git a/Gemfile.lock b/Gemfile.lock index 7a07fd246..9d7f9771a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -378,7 +378,7 @@ GEM rspec jsonpath (1.1.0) multi_json - jwt (2.2.3) + jwt (2.3.0) kgio (2.11.4) kostya-sigar (2.0.10) leaflet-rails (1.7.0) @@ -435,15 +435,19 @@ GEM octokit (4.21.0) faraday (>= 0.9) sawyer (~> 0.8.0, >= 0.5.3) - omniauth (1.9.1) + omniauth (2.0.4) hashie (>= 3.4.6) rack (>= 1.6.2, < 3) + rack-protection omniauth-oauth (1.2.0) oauth omniauth (>= 1.0, < 3) - omniauth-oauth2 (1.7.1) + omniauth-oauth2 (1.7.2) oauth2 (~> 1.4) omniauth (>= 1.9, < 3) + omniauth-rails_csrf_protection (1.0.0) + actionpack (>= 4.2) + omniauth (~> 2.0) omniauth-tumblr (1.2) multi_json omniauth-oauth (~> 1.0) @@ -516,6 +520,8 @@ GEM json-jwt (>= 1.11.0) rack (>= 2.1.0) rack-piwik (0.3.0) + rack-protection (2.1.0) + rack rack-rewrite (1.5.1) rack-ssl (1.4.1) rack @@ -852,7 +858,8 @@ DEPENDENCIES mobile-fu (= 1.4.0) mysql2 (= 0.5.3) nokogiri (= 1.12.5) - omniauth (= 1.9.1) + omniauth (= 2.0.4) + omniauth-rails_csrf_protection (= 1.0.0) omniauth-tumblr (= 1.2) omniauth-twitter (= 1.4.0) omniauth-wordpress (= 0.2.2) diff --git a/app/views/services/_add_remove_services.haml b/app/views/services/_add_remove_services.haml index bac69588f..b10a4f6c7 100644 --- a/app/views/services/_add_remove_services.haml +++ b/app/views/services/_add_remove_services.haml @@ -17,7 +17,7 @@ - else = t("services.index.not_logged_in") - = link_to(t("services.index.connect"), "/auth/#{provider}") + = link_to(t("services.index.connect"), "/auth/#{provider}", method: :post) - else .well diff --git a/app/views/streams/main_stream.html.haml b/app/views/streams/main_stream.html.haml index ee99d3d9b..991575157 100644 --- a/app/views/streams/main_stream.html.haml +++ b/app/views/streams/main_stream.html.haml @@ -124,7 +124,7 @@ - if service_unconnected?(service) = link_to(content_tag(:div, nil, class: "social-media-logos-#{service.to_s.downcase}-24x24", - title: service.to_s.titleize), "/auth/#{service}") + title: service.to_s.titleize), "/auth/#{service}", method: :post) .section.collapsed .title From 37f081959c8ea1aad7bd23481a34d8ca5815bb13 Mon Sep 17 00:00:00 2001 From: flaburgan Date: Thu, 28 Oct 2021 23:41:08 +0200 Subject: [PATCH 26/30] Add a max-width to user name in the header, fixes #7676 closes #8313 --- Changelog.md | 1 + app/assets/stylesheets/header.scss | 13 +++++++++++++ app/assets/templates/header_tpl.jst.hbs | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 96466dfb0..0c7f45d8c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -9,6 +9,7 @@ ## Bug fixes * Ensure the log folder exists [#8287](https://github.com/diaspora/diaspora/pull/8287) +* Limit name length in header [#8313] (https://github.com/diaspora/diaspora/pull/8313) ## Features * Add tags to tumblr posts [#8244](https://github.com/diaspora/diaspora/pull/8244) diff --git a/app/assets/stylesheets/header.scss b/app/assets/stylesheets/header.scss index 55fe8f924..c3285f99f 100644 --- a/app/assets/stylesheets/header.scss +++ b/app/assets/stylesheets/header.scss @@ -119,6 +119,19 @@ } } + .dropdown-toggle { + align-items: center; + display: flex; + + .user-name { + margin-right: 3px; + max-width: 250px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + } + .user-menu-dropdown { padding: 0; } diff --git a/app/assets/templates/header_tpl.jst.hbs b/app/assets/templates/header_tpl.jst.hbs index d730a8bd5..567f3aa85 100644 --- a/app/assets/templates/header_tpl.jst.hbs +++ b/app/assets/templates/header_tpl.jst.hbs @@ -69,7 +69,7 @@