~ knotless Search/
↑↓ move↵ open⇧↵ all results

grain.social/grain

photography-focused photo sharing platform

grain.social
1 collaborator
0
2

The next grain.social and the apps take HUD 0.31.0, their tokens bound to a key

Merged chadtmiller.com asked to merge into main from grain.social/grain:hud/0.31.0
android/app/src/main/java/social/grain/Shell.kt+1−1
@@ -630,7 +630,7 @@ class Shell(context: Context, val config: GrainConfig, device: Push.Device) {
val auth = AuthServer.discover(serverURL)
val request = SignInRequest(auth, AuthServer.redirect(app.packageName), hint, create)
val callback = WebSignIn.authenticate(activity, request.url, request.redirect)
val tokens = auth.exchange(request.code(callback), request)
val tokens = auth.exchange(request.code(callback), request, store.keys)
if (session != null) {
feedback.flush()
// The account signed in until now stops getting this device's pushes.
android/gradle/libs.versions.toml+1−1
@@ -14,7 +14,7 @@ coil = "3.5.0"
# HUD's Android kit, place.hud:hudkit, from HUD's Maven registry
# (settings.gradle.kts): the version next/package.json's @hud packages and
# ios/HUDKit/Package.swift's hud.HUDKit are (`just hud-version`).
hud = "0.29.0"
hud = "0.31.0"
[libraries]
hudkit = { group = "place.hud", name = "hudkit", version.ref = "hud" }
ios/Grain/Shell.swift+1−1
@@ -571,7 +571,7 @@ final class Shell {
await push?.signingOut()
}
let named = create || hint.isEmpty || hint.hasPrefix("did:") ? nil : hint.lowercased()
session = try AccountSession.start(server: auth, tokens: tokens, handle: named, ended: ended)
session = try AccountSession.start(request, tokens: tokens, handle: named, ended: ended)
askingSignIn = false
start()
} catch let error as ASWebAuthenticationSessionError where error.code == .canceledLogin {
ios/HUD/Package.swift+1−1
@@ -11,6 +11,6 @@ let package = Package(
name: "HUD",
platforms: [.iOS(.v17)],
products: [.library(name: "HUD", targets: ["HUD"])],
dependencies: [.package(id: "hud.HUDKit", exact: "0.29.0")],
dependencies: [.package(id: "hud.HUDKit", exact: "0.31.0")],
targets: [.target(name: "HUD", dependencies: [.product(name: "HUDKit", package: "hud.HUDKit")])]
)
ios/Package.resolved+1−1
@@ -5,7 +5,7 @@
"kind" : "registry",
"location" : "",
"state" : {
"version" : "0.29.0"
"version" : "0.31.0"
}
}
],
next/parts/grain.social.json+1−1
@@ -1,5 +1,5 @@
{
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.29.0/schemas/json/parts.json",
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.31.0/schemas/json/parts.json",
"$type": "place.hud.parts",
"parts": {
"comment": {
next/views/grain-app.json+1−1
@@ -1,5 +1,5 @@
{
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.29.0/schemas/json/view.json",
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.31.0/schemas/json/view.json",
"$type": "place.hud.view",
"app": "Grain",
"description": "Grain's page for an account: their Grain profile and galleries, newest first; one's own adds where to go in Grain",
next/views/grain-blocks.json+1−1
@@ -1,5 +1,5 @@
{
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.29.0/schemas/json/view.json",
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.31.0/schemas/json/view.json",
"$type": "place.hud.view",
"method": "social.grain.graph.getBlocks",
"app": "Grain",
next/views/grain-cameras.json+1−1
@@ -1,5 +1,5 @@
{
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.29.0/schemas/json/view.json",
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.31.0/schemas/json/view.json",
"$type": "place.hud.view",
"method": "social.grain.gallery.getCameras",
"app": "Grain",
next/views/grain-comments.json+1−1
@@ -1,5 +1,5 @@
{
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.29.0/schemas/json/view.json",
"$schema": "https://knotless.dev/chadtmiller.com/hud/raw/v0.31.0/schemas/json/view.json",
"$type": "place.hud.view",
"method": "social.grain.comment.getThread",
"app": "Grain",
next/views/grain-cross-post.json+1−1
next/views/grain-explore.json+1−1
next/views/grain-feed.json+1−1
next/views/grain-followers.json+1−1
next/views/grain-following.json+1−1
next/views/grain-group-members.json+1−1
next/views/grain-group-rules.json+1−1
next/views/grain-known-followers.json+1−1
next/views/grain-mutes.json+1−1
next/views/grain-notifications.json+1−1
next/views/grain-search-people.json+1−1
next/views/grain-search.json+1−1
next/views/grain-settings.json+1−1
next/views/grain-stories.json+1−1
next/views/grain-story-archive.json+1−1
next/grain.social.json+2−2
next/package-lock.json+15−15
next/package.json+3−3