Commit Graph

1978 Commits

Author SHA1 Message Date
Madison
24070449fc serverUser and currentServerUser margins updated 2025-07-08 16:50:38 -05:00
Madison
fa0c582e2d change ai chat button to always gradient, added experimental banner to ai chat. 2025-07-08 16:44:15 -05:00
Madison
c2eacd9c36 Update indentation on mdx files in types to be correct 2025-07-08 16:29:35 -05:00
Madison
c42a350daf moved auth-providers to concepts, updated breadcrumb text positioning 2025-07-08 16:01:51 -05:00
Madison
8089571dae fix linter errors, adjusted ai instructions, added llms.txt caching 2025-07-08 13:15:27 -05:00
Madison
a2dc15cf10 updated discord webhook message 2025-07-08 11:46:15 -05:00
Madison
cb01e0da4a Discord webhook integration for ai chat 2025-07-08 11:46:15 -05:00
Konsti Wohlwend
fc6783cfcb
Merge dev into added_docs 2025-07-07 04:33: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
Konsti Wohlwend
0ad80c4a22
Merge dev into added_docs 2025-07-06 04:32:10 -07:00
Konstantin Wohlwend
e3eb8577e1 Revert dot email normalization 2025-07-05 18:42:23 -07:00
Konsti Wohlwend
8e9034cee2
Merge dev into added_docs 2025-07-05 04:31:31 -07:00
BilalG1
ae63b7a160
Send email UI (#737) 2025-07-04 16:53:47 -07:00
Madison
44b82bcbfd fix build issue 2025-07-04 16:24:23 -05:00
Madison
b458542ae2 minor updates 2025-07-04 15:54:12 -05:00
Madison
363768fd4a shared-header update, and iconHover update 2025-07-04 15:35:10 -05:00
Madison
38ded51293 Improved search, improved UI on search, improved icons on homescreen, using sidebar-context for ai chat, contents, and auth button. 2025-07-04 15:35:10 -05:00
Konstantin Wohlwend
6ee998d47a chore: update package versions 2025-07-04 09:29:53 -07:00
Konsti Wohlwend
daab72c048
Merge dev into added_docs 2025-07-04 04:32:46 -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
Konsti Wohlwend
b7eff595d7
Merge dev into added_docs 2025-07-03 04:32:51 -07:00
Konstantin Wohlwend
98011f87a8 Make background shine inert
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
2025-07-02 18:03:19 -07:00
Zai Shi
9beee11cc6 fix 2fa user page 2025-07-02 16:32:05 -07:00
Madison
a4132a8487 fix useChat for input of text 2025-07-02 16:21:02 -05:00
Madison
43cbda3c37 init AI UI implemented 2025-07-02 16:05:09 -05:00
BilalG1
97cc189819
added emails digest edge cases (#721) 2025-07-02 20:00:50 +00:00
Kyle Worrall
d140c4226f
Add prompt and include_granted_scopes to Google OAuth params (#730)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Add `prompt` and `include_granted_scopes` to Google OAuth params in
`GoogleProvider`.
> 
>   - **Behavior**:
> - Adds `prompt: "consent"` and `include_granted_scopes: "true"` to
`authorizationExtraParams` in `GoogleProvider` in `google.tsx`.
> - Ensures user consent is always prompted and previously granted
scopes are included in Google OAuth flow.
> 
> <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 e2d3d9ca60. 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: Zai Shi <zaishi00@outlook.com>
2025-07-02 19:12:23 +00:00
Zai Shi
85b24fb37f update translation 2025-07-02 11:00:02 -07:00
Zai Shi
957bd98f9c
Email normalization (#720)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Normalize email addresses in user and contact channel creation and
update processes using `normalizeEmail()` function.
> 
>   - **Behavior**:
> - Normalize emails in `onCreate` and `onUpdate` functions in
`contact-channels/crud.tsx` and `users/crud.tsx` using
`normalizeEmail()`.
> - Handles email normalization for 'gmail.com', 'googlemail.com', and
'live.com' by removing dots.
> - Throws error for invalid email formats in `normalizeEmail()` in
`emails.tsx`.
>   - **Functions**:
> - Adds `normalizeEmail()` in `emails.tsx` to standardize email
addresses.
> - Updates `onCreate` and `onUpdate` handlers in
`contact-channels/crud.tsx` and `users/crud.tsx` to use
`normalizeEmail()`.
>   - **Tests**:
> - Adds tests for `normalizeEmail()` in `emails.tsx` to verify email
normalization logic.
> 
> <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 2c29c35447. 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>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-02 17:51:35 +00:00
Zai Shi
d6f3be5543
swithcer (#715)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Enhance `SelectedTeamSwitcher` to support nullable teams and add
'personal' team icon in `TeamIcon`, with updated translations.
> 
>   - **Behavior**:
> - `SelectedTeamSwitcher` in `selected-team-switcher.tsx` now supports
nullable teams with `allowNull` prop and `nullLabel` for display.
> - `onChange` callback added to `SelectedTeamSwitcher` to handle team
changes.
> - `TeamIcon` in `team-icon.tsx` now supports a 'personal' team type,
displaying a default icon.
>   - **Translations**:
> - Added translation key for "Personal team" in
`quetzal-translations.ts`.
>   - **Misc**:
> - Updated `SelectedTeamSwitcherProps` type to handle nullable teams
and added `onChange` callback.
> - Minor refactoring in `selected-team-switcher.tsx` for better
handling of team selection logic.
> 
> <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 ddb61e962b. 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-02 19:23:53 +02:00
Madison
1d94119100 improved hover effects throughout 2025-07-02 12:23:17 -05:00
Madison
ffbdae7ac9 light mode and accessibility feat 2025-07-02 12:23:17 -05:00
Madison
14dab47fd5 Immediate hover response on clickableTOC, and light mode support 2025-07-02 12:23:17 -05:00
Madison
06a4b90bfc Hash change listener with auto open logic on SDK objects. 2025-07-02 12:23:17 -05:00
Madison
825b9eaf0f basic chat window - UI will be completely different 2025-07-02 12:23:17 -05:00
Madison
c884c605f5 Add AI SDK dependencies 2025-07-02 12:23:17 -05:00
Madison
de707ad953 python docs, AI bot rough start 2025-07-02 12:23:17 -05:00
Konsti Wohlwend
445369fe42
Merge dev into added_docs 2025-07-02 04:32:55 -07:00
Konstantin Wohlwend
9585f460db Make dashboard look more like the landing page 2025-07-01 19:18:06 -07:00
BilalG1
61d0adb7a5
Send email route and notification settings page (#717) 2025-07-01 19:17:53 -07:00
Zai Shi
dfae043457
Fix redirect uri error message (#682)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Update error message for invalid redirect URIs in OAuth callback
handler and adjust tests accordingly.
> 
>   - **Behavior**:
> - In `route.tsx`, change error handling for invalid redirect URIs to
throw `StatusError` with message: "Invalid redirect URI. You might have
set the wrong redirect URI in the OAuth provider settings. (Please copy
the redirect URI from the Stack Auth dashboard and paste it into the
OAuth provider's dashboard)".
>   - **Tests**:
> - Update `callback.test.ts` to expect new error message for untrusted
redirect URL case.
> 
> <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 00c68bc708. 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-02 01:12:10 +00:00
Zai Shi
b23759c3e0
Improve user profile page (#712)
<img width="890" alt="image"
src="https://github.com/user-attachments/assets/1e317987-0a09-4f7c-850a-ac2bddec9390"
/>


<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Add functionality to send sign-in invitation emails, including backend
API, frontend UI, and email template support.
> 
>   - **Backend**:
> - Add `SIGN_IN_INVITATION` to `EmailTemplateType` in `schema.prisma`
and `migration.sql`.
> - New API route `send-sign-in-invitation/route.tsx` to handle sending
sign-in invitation emails.
>     - Implement `sendSignInInvitationEmail()` in `admin-interface.ts`.
>   - **Frontend**:
> - Update `page-client.tsx` to include sign-in invitation template
management.
> - Add `SendSignInInvitationDialog` in `page-client.tsx` for sending
invitations.
>     - Modify `user-table.tsx` to include sign-in invitation actions.
>   - **Email Templates**:
>     - Add `sign-in-invitation.tsx` template.
> - Update `utils.tsx` to include metadata for sign-in invitation
emails.
> 
> <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 c69530229f. 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-02 02:59:12 +02:00
Konsti Wohlwend
8fc58ead20
Merge dev into added_docs 2025-07-01 04:33:02 -07:00
Konstantin Wohlwend
59c2034a19 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-06-30 10:30:28 -07:00
Konsti Wohlwend
f47e9ab868
Merge dev into added_docs 2025-06-28 04:31:33 -07:00