Skip to content

Commit

Permalink
Update auth flow
Browse files Browse the repository at this point in the history
- Separate out user login and joining communities
to allow for joining multiple communities.
- Submit GH request to join from UI.
Addresses gov4git/gov4git#118
  • Loading branch information
dworthen committed Dec 4, 2023
1 parent c66efba commit b8529ed
Show file tree
Hide file tree
Showing 51 changed files with 1,584 additions and 400 deletions.
10 changes: 10 additions & 0 deletions .changeset/dry-trains-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'gov4git-desktop-app': minor
---

Update auth flow

- Separate out user login and joining communities
to allow for joining multiple communities.
- Submit GH request to join from UI.
Addresses gov4git/gov4git#118
9 changes: 6 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/dotenv",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/dotenv.cmd"
},
"envFile": "${workspaceFolder}/.env",
"args": [
"-e",
".env",
"--",
"./node_modules/.bin/electron.cmd",
".",
"--remote-debugging-port=9222"
],
Expand Down
4 changes: 4 additions & 0 deletions migrations/0003_married_winter_soldier.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE userCommunities ADD `uniqueId` text;--> statement-breakpoint
ALTER TABLE userCommunities ADD `joinRequestUrl` text;--> statement-breakpoint
ALTER TABLE userCommunities ADD `joinRequestStatus` text;--> statement-breakpoint
CREATE UNIQUE INDEX `userCommunities_uniqueId_unique` ON `userCommunities` (`uniqueId`);
Loading

0 comments on commit b8529ed

Please sign in to comment.