Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Fission server auth flow #33

Draft
wants to merge 65 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
321f208
Feat: login flow screens
avivash Dec 7, 2023
044e048
Feat: add localforage and plausible packages/scripts
avivash Dec 7, 2023
dacd03e
Merge branch 'main' of github.com:fission-codes/ipvm-dashboard into a…
avivash Dec 7, 2023
ffad0f8
Feat: add plausible analytics custom events
avivash Dec 7, 2023
8c71c3c
Fix: add w-full to Input component
avivash Dec 7, 2023
e7b8e9a
Fix: capture all checkbox group values
avivash Dec 7, 2023
2c3d303
Feat: persist workflows to localforage instead of WNFS
avivash Dec 7, 2023
68475d4
Feat: redesigned mobile auth flow screens
avivash Dec 9, 2023
35f4f21
Chore: tweak auth flow stars
avivash Dec 13, 2023
39d6a25
Feat: google forms integration
avivash Dec 13, 2023
b8e3d10
Chore: make email, username and pin required fields
avivash Dec 13, 2023
2a58e2e
Chore: add .env to .gitignore
avivash Dec 13, 2023
31a9f9e
Feat: add support for other option in google form
avivash Dec 14, 2023
6d4a527
Chore: hardcode session at end of login flow for now
avivash Jan 3, 2024
2a09730
Try to fill in the request stubs a bit on registration
matheus23 Jan 4, 2024
25d6d46
Chore: catch up to main
avivash Jan 5, 2024
8809a25
Chore: replace plausible with posthog
avivash Jan 5, 2024
0347bd3
Feat: first pass at desktop layout(still some cleanup to do)
avivash Jan 5, 2024
2c53769
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 5, 2024
3f2a35a
Chore: remove commented line
avivash Jan 5, 2024
5fbce07
Chore: persist email, pin and username between views
avivash Jan 5, 2024
39f9a3f
Chore: persist email, pin and username between views
avivash Jan 5, 2024
db57323
Fix: resolve conflicts
avivash Jan 5, 2024
bed8ec4
Chore: rename stepData to authDetails
avivash Jan 5, 2024
8e44552
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 5, 2024
75c2f6a
Feat: break onboarding flow into separate routes
avivash Jan 5, 2024
6e99973
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 5, 2024
22382c0
Feat: add discord username to intake form
avivash Jan 8, 2024
cb7c7dc
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 8, 2024
4ee25b4
feat: Thread through data to `Username.svelte` and use `iso-signatures`
matheus23 Jan 8, 2024
2b51b09
Feat: pull member number from id
avivash Jan 9, 2024
cb1fc6d
Feat: swap out odd auth for new fission server temp impl(need to ask …
avivash Jan 10, 2024
7ea0e11
Chore: save account id and hide nav during onboarding
avivash Jan 10, 2024
a4b4be1
Feat: add email re-send functionality
avivash Jan 10, 2024
f043112
Merge pull request #31 from everywhere-computer/matheus23/login-flow
avivash Jan 10, 2024
7149e2e
Chore: uninstall odd sdk
avivash Jan 10, 2024
fdf4289
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 10, 2024
e22fe47
Chore: formatting and add comment about capabilities endpoint
avivash Jan 10, 2024
2f748b8
Chore: update desktop onboarding margin
avivash Jan 10, 2024
e6d5aa8
Merge branch 'matheus23/login-flow' of github.com:fission-codes/ipvm-…
avivash Jan 10, 2024
ccfb574
Chore: log capabilities res
avivash Jan 10, 2024
e48553c
Chore: move capabilities call to its own function in lib/session.ts
avivash Jan 10, 2024
adce0aa
Chore: clean up capabilities function
avivash Jan 10, 2024
776be66
Merge pull request #32 from everywhere-computer/matheus23/login-flow
avivash Jan 10, 2024
6aa67f7
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 10, 2024
eeb0ac4
Chore: add fission server uri to .env
avivash Jan 10, 2024
fc812e1
Feat: error handling for duplicate emails and usernames
avivash Jan 10, 2024
491e6a1
Chore: adjust email error to follow style guide
avivash Jan 12, 2024
2ae1068
Chore: adjust username error to follow style guide
avivash Jan 12, 2024
5bccfcb
Fix: move posthog to username view and add pin error handling
avivash Jan 12, 2024
3356e1a
Fix: scoped error variable... :/
avivash Jan 12, 2024
30896cc
Feat: poll for online discord members
avivash Jan 17, 2024
2fe3faf
Feat: use new server endpoints and new versions of stack and iso pack…
avivash Jan 22, 2024
d739965
Chore: restructure sessionStore and discord onboarding step behaviour
avivash Jan 22, 2024
f64f8d7
Chore: update star-nav image
avivash Jan 22, 2024
4ffe2ac
Feat: create fission-server-utils to create UCANs/get principals/get …
avivash Jan 22, 2024
b36d7a1
Feat: add account linking flow(behind an env var for now)
avivash Jan 24, 2024
3df0b9d
Fix: principal var in closure not getting returned :/
avivash Jan 24, 2024
dd40e8f
Fix: 🤦 principal var in closure not getting returned
avivash Jan 24, 2024
50ddb7c
Merge branch 'avivash/login-flow' of github.com:fission-codes/ipvm-da…
avivash Jan 24, 2024
38cd749
Chore: rename account linking env var and associated getter
avivash Jan 24, 2024
299514f
Feat: username patch endpoint
Jan 30, 2024
1d7c041
Fix: uncomment unauthed redirect logic
Feb 7, 2024
60b0ed9
feat: Implement button to upload module
matheus23 Mar 11, 2024
1f751b8
fix: Use new route name for volume push
matheus23 Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@ VITE_WEBSOCKET_ENDPOINT="ws://127.0.0.1:1337"
VITE_PING_INTERVAL=8000
VITE_MAX_PING_RETRIES=3

#Fission server
VITE_FISSION_SERVER_API_URI="http://localhost:3000/api/v0"
VITE_FISSION_SERVER_HOST_ORIGIN="http://localhost:3000"

# Auth flow
VITE_ACCOUNT_LINKING_FLOW=false

# Google form
VITE_GOOGLE_FORM_ID="1FAIpQLSfREjmoTBOW2gyUSFypn3omifibvptH0K_IQwtFWiGORU5vAQ"

# PostHog
VITE_POSTHOG_KEY="phc_wqJ6qgyvX1TYnuspiERkCDlDsuideKr9enxDjUdBoDj"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ build/
/playwright-report/
/playwright/.cache/
.direnv

# .env
.env
6,626 changes: 4,064 additions & 2,562 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
"tsconfig-paths": "^3.12.0",
"tslib": "^2.0.0",
"typescript": "^4.4.4",
"vite": "^4.0.0"
"vite": "^4.0.0",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0"
},
"type": "module",
"ava": {
Expand All @@ -58,11 +60,16 @@
},
"dependencies": {
"@fission-codes/homestar": "^1.0.0",
"@oddjs/odd": "0.37.0",
"@fission-codes/ucan": "^0.1.2",
"@ipld/unixfs": "^3.0.0",
"@zerodevx/svelte-json-view": "^1.0.7",
"car-mirror": "^0.1.0",
"chart.js": "^4.4.0",
"clipboard-copy": "^4.0.1",
"iso-base": "^2.0.1",
"iso-signatures": "^0.3.0",
"iso-web": "^0.3.3",
"localforage": "^1.10.0",
"marked": "^9.0.3",
"multiformats": "^12.1.3",
"posthog-js": "^1.96.1",
Expand Down
45 changes: 0 additions & 45 deletions src/components/auth/backup/AreYouSure.svelte

This file was deleted.

43 changes: 0 additions & 43 deletions src/components/auth/backup/Backup.svelte

This file was deleted.

50 changes: 0 additions & 50 deletions src/components/auth/delegate-account/ConnectBackupDevice.svelte

This file was deleted.

69 changes: 0 additions & 69 deletions src/components/auth/delegate-account/DelegateAccount.svelte

This file was deleted.

61 changes: 0 additions & 61 deletions src/components/auth/link-device/LinkDevice.svelte

This file was deleted.

Loading