back interdiff of round #1 and #0

Functional & typesafe codebase #15

closed
opened by lewis.moe targeting main from functional--typesafe-backend
files
.sqlx
frontend
src
tests
ERROR
.sqlx/query-032ac69a52c0baa269988f662516a54823770aee565f4cf5da2fc1f9b89b6bbb.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-05fd99170e31e68fa5028c862417cdf535cd70e09fde0a8a28249df0070eb2fc.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-0710b57fb9aa933525f617b15e6e2e5feaa9c59c38ec9175568abdacda167107.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-0ec60bb854a4991d0d7249a68f7445b65c8cc8c723baca221d85f5e4f2478b99.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-24a7686c535e4f0332f45daa20cfce2209635090252ac3692823450431d03dc6.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-29ef76852bb89af1ab9e679ceaa4abcf8bc8268a348d3be0da9840d1708d20b5.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-4445cc86cdf04894b340e67661b79a3c411917144a011f50849b737130b24dbe.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-4560c237741ce9d4166aecd669770b3360a3ac71e649b293efb88d92c3254068.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-4649e8daefaf4cfefc5cb2de8b3813f13f5892f653128469be727b686e6a0f0a.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-47fe4a54857344d8f789f37092a294cd58f64b4fb431b54b5deda13d64525e88.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-49cbc923cc4a0dcf7dea4ead5ab9580ff03b717586c4ca2d5343709e2dac86b6.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-4d8189361d1da271e300041599561ac07a02ffa9a926f94508d7873c4ca07e65.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-5a016f289caf75177731711e56e92881ba343c73a9a6e513e205c801c5943ec0.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-5a036d95feedcbe6fb6396b10a7b4bd6a2eedeefda46a23e6a904cdbc3a65d45.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-785a864944c5939331704c71b0cd3ed26ffdd64f3fd0f26ecc28b6a0557bbe8f.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-7caa8f9083b15ec1209dda35c4c6f6fba9fe338e4a6a10636b5389d426df1631.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-82717b6f61cd79347e1ca7e92c4413743ba168d1e0d8b85566711e54d4048f81.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-9ad422bf3c43e3cfd86fc88c73594246ead214ca794760d3fe77bb5cf4f27be5.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-9b035b051769e6b9d45910a8bb42ac0f84c73de8c244ba4560f004ee3f4b7002.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-9e772a967607553a0ab800970eaeadcaab7e06bdb79e0c89eb919b1bc1d6fabe.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-a23a390659616779d7dbceaa3b5d5171e70fa25e3b8393e142cebcbff752f0f5.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-a802d7d860f263eace39ce82bb27b633cec7287c1cc177f0e1d47ec6571564d5.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-b0fca342e85dea89a06b4fee144cae4825dec587b1387f0fee401458aea2a2e5.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-cd3b8098ad4c1056c1d23acd8a6b29f7abfe18ee6f559bd94ab16274b1cfdfee.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-cda68f9b6c60295a196fc853b70ec5fd51a8ffaa2bac5942c115c99d1cbcafa3.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-d529d6dc9858c1da360f0417e94a3b40041b043bae57e95002d4bf5df46a4ab4.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-e20cbe2a939d790aaea718b084a80d8ede655ba1cc0fd4346d7e91d6de7d6cf3.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-e64cd36284d10ab7f3d9f6959975a1a627809f444b0faff7e611d985f31b90e9.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-f26c13023b47b908ec96da2e6b8bf8b34ca6a2246c20fc96f76f0e95530762a7.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-f29da3bdfbbc547b339b4cdb059fac26435b0feec65cf1c56f851d1c4d6b1814.json

Failed to calculate interdiff for this file.

ERROR
.sqlx/query-f7af28963099aec12cf1d4f8a9a03699bb3a90f39bc9c4c0f738a37827e8f382.json

Failed to calculate interdiff for this file.

ERROR
Cargo.lock

Failed to calculate interdiff for this file.

ERROR
Cargo.toml

Failed to calculate interdiff for this file.

ERROR
frontend/deno.json

Failed to calculate interdiff for this file.

ERROR
frontend/deno.lock

Failed to calculate interdiff for this file.

ERROR
frontend/package.json

Failed to calculate interdiff for this file.

ERROR
frontend/src/App.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/components/ReauthModal.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/components/Skeleton.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/components/Toast.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/components/migration/InboundWizard.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/components/migration/OfflineInboundWizard.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/api-validated.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/api.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/auth.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/crypto.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/atproto-client.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/blob-migration.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/flow.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/offline-flow.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/plc-ops.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/migration/storage.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/oauth.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/registration/VerificationStep.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/registration/flow.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/registration/types.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/router.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/toast.svelte.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/api.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/branded.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/exhaustive.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/index.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/result.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/routes.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/types/schemas.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/utils/array.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/utils/async.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/utils/index.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/utils/option.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/validation.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/lib/webauthn.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/ActAs.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Admin.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/AppPasswords.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Comms.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Controllers.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Dashboard.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/DelegationAudit.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/DidDocumentEditor.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/InviteCodes.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Login.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Migration.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuth2FA.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthAccounts.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthConsent.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthDelegation.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthLogin.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthPasskey.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/OAuthTotp.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/RecoverPasskey.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Register.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/RegisterPasskey.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/RepoExplorer.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/RequestPasskeyRecovery.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/ResetPassword.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Security.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Sessions.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Settings.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/TrustedDevices.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/routes/Verify.svelte

Failed to calculate interdiff for this file.

ERROR
frontend/src/tests/AppPasswords.test.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/tests/Login.test.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/tests/migration/storage.test.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/tests/mocks.ts

Failed to calculate interdiff for this file.

ERROR
frontend/src/tests/utils.ts

Failed to calculate interdiff for this file.

ERROR
frontend/tsconfig.json

Failed to calculate interdiff for this file.

ERROR
justfile

Failed to calculate interdiff for this file.

ERROR
src/api/actor/preferences.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/account/delete.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/account/email.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/account/info.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/account/search.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/account/update.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/invite.rs

Failed to calculate interdiff for this file.

ERROR
src/api/admin/status.rs

Failed to calculate interdiff for this file.

ERROR
src/api/age_assurance.rs

Failed to calculate interdiff for this file.

ERROR
src/api/backup.rs

Failed to calculate interdiff for this file.

ERROR
src/api/delegation.rs

Failed to calculate interdiff for this file.

ERROR
src/api/error.rs

Failed to calculate interdiff for this file.

ERROR
src/api/identity/account.rs

Failed to calculate interdiff for this file.

ERROR
src/api/identity/did.rs

Failed to calculate interdiff for this file.

ERROR
src/api/identity/plc/request.rs

Failed to calculate interdiff for this file.

ERROR
src/api/identity/plc/sign.rs

Failed to calculate interdiff for this file.

ERROR
src/api/identity/plc/submit.rs

Failed to calculate interdiff for this file.

ERROR
src/api/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/api/moderation/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/api/notification_prefs.rs

Failed to calculate interdiff for this file.

ERROR
src/api/proxy.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/blob.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/import.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/meta.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/record/batch.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/record/delete.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/record/read.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/record/validation.rs

Failed to calculate interdiff for this file.

ERROR
src/api/repo/record/write.rs

Failed to calculate interdiff for this file.

ERROR
src/api/responses.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/account_status.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/app_password.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/email.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/invite.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/migration.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/passkey_account.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/passkeys.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/password.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/reauth.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/service_auth.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/session.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/signing_key.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/totp.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/trusted_devices.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/verify_email.rs

Failed to calculate interdiff for this file.

ERROR
src/api/server/verify_token.rs

Failed to calculate interdiff for this file.

ERROR
src/api/temp.rs

Failed to calculate interdiff for this file.

ERROR
src/api/validation.rs

Failed to calculate interdiff for this file.

ERROR
src/api/verification.rs

Failed to calculate interdiff for this file.

ERROR
src/appview/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/auth/extractor.rs

Failed to calculate interdiff for this file.

ERROR
src/auth/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/auth/scope_check.rs

Failed to calculate interdiff for this file.

ERROR
src/comms/service.rs

Failed to calculate interdiff for this file.

ERROR
src/delegation/db.rs

Failed to calculate interdiff for this file.

ERROR
src/lib.rs

Failed to calculate interdiff for this file.

ERROR
src/main.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/db/device.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/db/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/db/request.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/db/token.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/dpop.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/endpoints/authorize.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/endpoints/delegation.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/endpoints/token/grants.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/endpoints/token/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/endpoints/token/types.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/scopes/parser.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/types.rs

Failed to calculate interdiff for this file.

ERROR
src/oauth/verify.rs

Failed to calculate interdiff for this file.

ERROR
src/scheduled.rs

Failed to calculate interdiff for this file.

ERROR
src/storage/mod.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/blob.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/commit.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/crawl.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/deprecated.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/frame.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/repo.rs

Failed to calculate interdiff for this file.

ERROR
src/sync/util.rs

Failed to calculate interdiff for this file.

ERROR
src/types.rs

Failed to calculate interdiff for this file.

ERROR
src/util.rs

Failed to calculate interdiff for this file.

ERROR
src/validation/mod.rs

Failed to calculate interdiff for this file.

ERROR
tests/admin_email.rs

Failed to calculate interdiff for this file.

ERROR
tests/delete_account.rs

Failed to calculate interdiff for this file.

ERROR
tests/import_verification.rs

Failed to calculate interdiff for this file.

ERROR
tests/lifecycle_record.rs

Failed to calculate interdiff for this file.

NEW
KNOWN_ISSUES.md
···
··· 1 + # Known Issues 2 + 3 + ## stream.place iOS app OAuth flow fails 4 + 5 + OAuth flow with stream.place's iOS app (using expo-web-browser's ASWebAuthenticationSession) does not complete. After user approves consent, the redirect from our PDS to stream.place's callback URL is not followed by ASWebAuthenticationSession. 6 + 7 + What does work with stream.place: everything else :P 8 + - Desktop browsers 9 + - ios safari (regular browser) 10 + - ASWebAuthenticationSession using the reference pds 11 + 12 + What fails: 13 + - ASWebAuthenticationSession with this pds 14 + 15 + Attempted fixes (all failed): 16 + - HTTP 302/303/307 redirects 17 + - JavaScript navigation 18 + - Meta refresh 19 + - Form auto-submit 20 + - Removing CORS headers 21 + - HTTP/1.1 instead of HTTP/2 22 + - Minimal response headers 23 +
NEW
frontend/src/components/migration/ChooseHandleStep.svelte
··· 111 </div> 112 113 <div class="field"> 114 - <label>{$_('migration.inbound.chooseHandle.authMethod')}</label> 115 <div class="auth-method-options"> 116 <label class="auth-option" class:selected={authMethod === 'password'}> 117 <input
··· 111 </div> 112 113 <div class="field"> 114 + <span class="field-label">{$_('migration.inbound.chooseHandle.authMethod')}</span> 115 <div class="auth-method-options"> 116 <label class="auth-option" class:selected={authMethod === 'password'}> 117 <input
NEW
frontend/src/styles/migration.css
··· 3 margin: 0 auto; 4 } 5 6 .step-indicator { 7 display: flex; 8 align-items: center;
··· 3 margin: 0 auto; 4 } 5 6 + .field-label { 7 + display: block; 8 + font-size: var(--text-sm); 9 + font-weight: var(--font-medium); 10 + color: var(--text-primary); 11 + margin-bottom: var(--space-2); 12 + } 13 + 14 .step-indicator { 15 display: flex; 16 align-items: center;