gitbutler/packages/tauri
Nikita Galaiko c54a8f283d feat: add support for caching and retrieving authenticated user information from GitHub API
The changes include:
- Added a new function `getAuthenticatedWithCache` in `client/src/lib/github/user.ts` to retrieve authenticated user information from the GitHub API and cache it using `lscache`
- Added a new function `getAuthenticated` in `client/src/lib/github/user.ts` to retrieve authenticated user information from the GitHub API
- Updated the `userStore` in `client/src/lib/stores/user.ts` to include a new property `github_username` to store the GitHub username of the authenticated user
- Updated the `gitHubOauthCheckStatus` function in `client/src/routes/auth/github.ts` to set the `github_username` property of the `userStore` with the authenticated user's username
- Updated the `openURL` function in `client/src/cmd/login.go` to check for the presence of `DESKTOP_SESSION` or `XDG_CURRENT_DESKTOP`
2023-10-31 13:25:21 +01:00
..
icons new structure 2023-09-06 11:47:35 +02:00
src feat: add support for caching and retrieving authenticated user information from GitHub API 2023-10-31 13:25:21 +01:00
tests fix cherry pick conflict resolution 2023-10-31 11:52:11 +01:00
build.rs * cleanup combined bin/lib in gitbutler 2023-10-18 16:39:14 +02:00
Cargo.toml Merge pull request #1446 from gitbutlerapp/dependabot/cargo/async-trait-0.1.74 2023-10-31 12:04:49 +01:00
tauri.conf.json ensure gravatars are always cached 2023-10-20 09:42:23 +02:00
tauri.conf.nightly.json ensure gravatars are always cached 2023-10-20 09:42:23 +02:00
tauri.conf.release.json ensure gravatars are always cached 2023-10-20 09:42:23 +02:00