Commit Graph

1983 Commits

Author SHA1 Message Date
Madison
21e55737cb Vercel comments fixes 2025-07-11 11:41:05 -05:00
Madison
1b58ae591d Update icons on homepage to link properly 2025-07-10 19:34:48 -05:00
Konsti Wohlwend
8029c23d8d
Merge branch 'dev' into docs_updates 2025-07-10 16:14:56 -07:00
Shridhar Deshmukh
daff52250e
feat: new api endpoints to get and update neon managed projects (#751)
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Update pull request branches / Update pull request branches (push) Has been cancelled
Added GET and PATCH endpoint for Neon managed project with
`secret-admin-key` auth. The API handler is same as internal projects
API - `/internal/projects/current`
2025-07-10 17:41:35 +00:00
Konsti Wohlwend
8ed11b9212
Merge branch 'dev' into docs_updates 2025-07-10 10:21:03 -07:00
Konstantin Wohlwend
cce15ee0f9 Strengthen deliverability logic
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-07-10 09:29:30 -07:00
Stack-Bot
b5c087f3b5
Update docs/scripts/generate-platform-navigation.js
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-10 00:56:27 -07:00
Madison
de72b2d5be platform nav gen script update 2025-07-10 02:39:15 -05:00
Madison
dc628060bc Update shared-header navlinks 2025-07-10 01:12:59 -05:00
Madison
24f5d9d8bc Update platforms 2025-07-10 01:12:59 -05:00
Madison
35216ca899
Merge branch 'dev' into docs_updates 2025-07-09 22:49:19 -07:00
Madison
b51af7549a Using type-safe object format over array to prevent duplicate path entires 2025-07-10 00:48:16 -05:00
Madison
d28b7a3bb6 Add type checking for config.pages[].platforms array content 2025-07-10 00:45:47 -05:00
Madison
2186b36e38 Make string comparison more robust by trimming whitespace and normalizing case before includes() check 2025-07-10 00:41:40 -05:00
Madison
68943047c9 fix linter error 2025-07-10 00:39:12 -05:00
Madison
d7e5b3b8ad use-platform-preference.ts greptile cleanup 2025-07-10 00:35:12 -05:00
Madison
b885df9faa Update from window.location.href to router.push 2025-07-10 00:30:36 -05:00
Madison
c26380dedf Add aria-label to button on toc 2025-07-10 00:27:09 -05:00
Madison
fcf43233f9 Added type checking for tree. in docs-layout-router 2025-07-10 00:25:36 -05:00
Madison
5cf87e707b URL pattern handles subdirectories 2025-07-10 00:23:22 -05:00
Madison
b85e8491a8 Remove duplicate inline function. 2025-07-10 00:18:44 -05:00
Madison
032322d44f unneeded escape in regex pattern 2025-07-09 23:51:48 -05:00
Madison
398a429611 custom header naming convention 2025-07-09 23:50:08 -05:00
Madison
48232390d6 remove logging pt.2 2025-07-09 23:47:19 -05:00
Madison
ca01146337 remove logging 2025-07-09 23:45:16 -05:00
Madison
b61c89d69d Using plain object for browser/os mapping 2025-07-09 21:35:21 -05:00
Madison
3292f46d3a fix routing 2025-07-09 21:33:02 -05:00
Madison
b510a75b80 Removed empty style tag 2025-07-09 20:42:20 -05:00
Madison
1cd69eb495 Destruct with default value instead 2025-07-09 20:39:45 -05:00
Madison
9b24b4414d Remove unused async 2025-07-09 20:37:47 -05:00
Madison
7049fc99c8 new collapsible sidebar 2025-07-09 18:27:41 -05:00
Zai Shi
52daa84561
Improve OAuth error handling and access token refresh (#748)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Enhances OAuth error handling by adding access token validity checks
and improving token refresh logic across multiple providers.
> 
>   - **Behavior**:
> - Adds `checkAccessTokenValidity()` method to `OAuthBaseProvider` and
implements it in `AppleProvider`, `BitbucketProvider`,
`DiscordProvider`, `FacebookProvider`, `GithubProvider`,
`GitlabProvider`, `GoogleProvider`, `LinkedInProvider`,
`MicrosoftProvider`, `MockProvider`, `SpotifyProvider`, and `XProvider`.
> - In `crud.tsx`, checks token validity before returning it, and
refreshes if invalid.
>   - **Error Handling**:
> - In `GithubProvider`, throws `StatusError` for 403 errors when
fetching user emails due to missing permissions.
>   - **Misc**:
>     - Imports `StatusError` in `github.tsx`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for de143b1a92. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-07-09 21:14:02 +02:00
Konstantin Wohlwend
2801aa5dbb Fix CONTRIBUTING.md link 2025-07-09 12:08:17 -07:00
Konstantin Wohlwend
0de94ada70 chore: update package versions 2025-07-09 09:27:32 -07:00
Madison
49b4e94c4e ToC quality of life updates 2025-07-09 01:29:22 -05:00
Madison
7a089afcf7 stack-auth-preferred-platform now introduced, and routing to non-existent pages between platforms fixed 2025-07-08 23:55:33 -05:00
Madison
a5734defba
Adds oauth providers, fixes bottom page navigation with mobile suppor… (#726)
<!--

Fixes generation script, adds new oauth docs pages, fixes bottom
navigation, adds mobile support, sidebar changes.

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> This PR adds OAuth provider documentation, enhances mobile navigation,
and updates Python-specific documentation for Stack Auth.
> 
>   - **OAuth Providers**:
> - Adds documentation for GitHub, Google, Facebook, Microsoft, Spotify,
Discord, GitLab, Apple, Bitbucket, LinkedIn, and X (Twitter) in
`docs/templates/concepts/auth-providers/`.
> - Updates `docs/docs-platform.yml` to include new OAuth provider
pages.
>   - **Mobile Support**:
> - Enhances bottom navigation for mobile devices in
`docs/src/app/(home)/layout.tsx` and `docs/src/app/api/layout.tsx`.
> - Introduces `AIChatDrawer` and `AuthPanel` components for
mobile-friendly interactions.
>   - **Documentation Enhancements**:
> - Adds Python-specific documentation for user authentication and team
management in `docs/templates-python/concepts/`.
> - Updates `docs/templates-python/meta.json` to include new Python
documentation pages.
> - Refines search functionality and UI components for better user
experience.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for bf759151d8. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-07-08 19:51:24 -07:00
Konstantin Wohlwend
a00dcb1cb1 Move Docker test actions to Ubicloud 2025-07-08 18:28:34 -07:00
BilalG1
cca18bf790
Email themes (#743) 2025-07-08 17:39:17 -07:00
Zai Shi
7b44903d14 changed github access token expiration time 2025-07-08 16:05:09 -07:00
Konsti Wohlwend
47b7efa2b6
Widget playground (#740)
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
https://github.com/user-attachments/assets/fc1edc06-7113-4ab4-be24-9141e310e127
2025-07-06 18:04:02 -07:00
Konstantin Wohlwend
7aa3634af6 chore: update package versions
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-07-06 11:07:51 -07:00
Konstantin Wohlwend
e3eb8577e1 Revert dot email normalization 2025-07-05 18:42:23 -07:00
BilalG1
ae63b7a160
Send email UI (#737) 2025-07-04 16:53:47 -07:00
Konstantin Wohlwend
6ee998d47a chore: update package versions 2025-07-04 09:29:53 -07:00
Konstantin Wohlwend
fe3bd7a201 Re-add CLI auth docs 2025-07-03 15:43:36 -07:00
Konstantin Wohlwend
d58dda3ed8 Revert "No longer remove dots from normalized emails"
This reverts commit 8b3a94928a.
2025-07-03 14:35:56 -07:00
Zai Shi
668ab68ebb Update Docker build workflow to use ubicloud 2025-07-03 14:12:14 -07:00
Konstantin Wohlwend
8b3a94928a No longer remove dots from normalized emails 2025-07-03 13:59:46 -07:00
Madison
57d476ac8f
Remove admin section from API sidebar. (#735) 2025-07-03 12:42:28 -05:00