From a7d0e71ab6a0fd5d2c1f52f964933d6bc08e295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 18 Sep 2024 14:46:46 +0200 Subject: [PATCH 1/3] Fix spec --- spec/requests/webfinger_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/webfinger_spec.rb b/spec/requests/webfinger_spec.rb index 64b8ec3..69ef542 100644 --- a/spec/requests/webfinger_spec.rb +++ b/spec/requests/webfinger_spec.rb @@ -92,7 +92,7 @@ RSpec.describe "WebFinger", type: :request do expect(rs_link["href"]).to eql("#{Setting.rs_storage_url}/tony") oauth_url = rs_link["properties"]["http://tools.ietf.org/html/rfc6749#section-4.2"] - expect(oauth_url).to eql("http://www.example.com/rs/oauth/tony") + expect(oauth_url).to eql("http://accounts.kosmos.org/rs/oauth/tony") end it "returns CORS headers" do From 8f7994d82e4358ecdec4b5a4efdafed8d83c9d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 18 Sep 2024 15:49:07 +0200 Subject: [PATCH 2/3] 0.10.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 555b644..b42508e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "postcss-preset-env": "^7.8.3", "tailwindcss": "^3.2.4" }, - "version": "0.9.0", + "version": "0.10.0", "scripts": { "build:css:tailwind": "tailwindcss --postcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css", "build:css": "yarn run build:css:tailwind" From 64de4deddd55ab4fe1b53c8dc09672e0cb885afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 24 Sep 2024 21:38:01 +0200 Subject: [PATCH 3/3] Fix serviceEnabled indicator on admin page --- app/views/admin/users/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/users/show.html.erb b/app/views/admin/users/show.html.erb index 4184e31..2cd8f67 100644 --- a/app/views/admin/users/show.html.erb +++ b/app/views/admin/users/show.html.erb @@ -184,7 +184,7 @@ XMPP (ejabberd) <%= render FormElements::ToggleComponent.new( - enabled: @services_enabled.include?("xmpp"), + enabled: @services_enabled.include?("ejabberd"), input_enabled: false ) %>