First quick Sure rebrand (#74)

* First cut of smallest rebrand, pending icons

* Leave SQL schema tokens/user names the same for now

* First batch of logos

* Release notes/what's new

* /releases missing

* redirect_uri for sureapp://

* Padded logo

* Test the correct /releases URL

* Missed a few mobile URIs

* Some icons/asssets from /website/ repo

* Seed/sample data user @sure.local now

* New screenshot

* Want to keep their legal "boilerplate" from the upstream repo
This commit is contained in:
Juan José Mata
2025-08-05 14:35:01 -07:00
committed by GitHub
parent 64c62bffbc
commit 099425d240
40 changed files with 161 additions and 96 deletions

View File

@@ -9,7 +9,7 @@ class OauthMobileTest < ActionDispatch::IntegrationTest
@oauth_app = Doorkeeper::Application.create!(
name: "Maybe Mobile App",
redirect_uri: "maybeapp://oauth/callback",
redirect_uri: "sureapp://oauth/callback",
scopes: "read"
)
end
@@ -27,13 +27,13 @@ class OauthMobileTest < ActionDispatch::IntegrationTest
# Check that Turbo is disabled in the form
assert_match(/data-turbo="false"/, response.body)
assert_match(/maybeapp:\/\/oauth\/callback/, response.body)
assert_match(/sureapp:\/\/oauth\/callback/, response.body)
end
test "mobile oauth detects custom scheme in redirect_uri" do
get "/oauth/authorize", params: {
client_id: @oauth_app.uid,
redirect_uri: "maybeapp://oauth/callback",
redirect_uri: "sureapp://oauth/callback",
response_type: "code",
scope: "read"
}
@@ -55,7 +55,7 @@ class OauthMobileTest < ActionDispatch::IntegrationTest
# Should redirect to the custom scheme
assert_response :redirect
assert response.location.start_with?("maybeapp://oauth/callback")
assert response.location.start_with?("sureapp://oauth/callback")
end
test "mobile oauth preserves display parameter through forms" do