Commit Graph

1603 Commits

Author SHA1 Message Date
Zai Shi
b465dddcee
Fix MS OAuth (#457) 2025-02-21 19:39:22 +01:00
CactusBlue
dfadf809eb
Implement last logged in button (#453)
* store last used in localstorage

* implement last logged in

* add last badge

* move the lastUsed

* add new schema

* wrong branch, roll it back

* rollback prisma

* fix useeffect deps

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-21 10:12:28 -08:00
CactusBlue
180b455d4f
Remove global legacy JWT (#450)
* remove all legacy jwt references

* fix creator id (#449)

* update snapshots

* Added magic link, OTP, and OAuth examples to JS docs (#448)

* fixed syntax error

* re-add legacy jwt on prisma schema

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-21 10:10:56 -08:00
CactusBlue
23497e5303
Log emails into database (#455)
* log email send into database

* update the model

* rename models

* properly wrap everything

* migrate

* remove password from logging

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-21 10:07:18 -08:00
CactusBlue
1f069ef096
first (#459) 2025-02-21 10:05:08 -08:00
Zai Shi
dbf061fb8e
Fix webhook tests (#458) 2025-02-21 18:55:39 +01:00
Konstantin Wohlwend
88e39e63cf Better docs 2025-02-20 23:33:30 -08:00
Konstantin Wohlwend
aa41bfc637 Add jsx-indent rule 2025-02-20 20:14:09 -08:00
Konstantin Wohlwend
d6193fd565 Refresh globe on count property error 2025-02-20 18:25:45 -08:00
Konstantin Wohlwend
fbbec19cbd Auto-format Prisma files on save 2025-02-20 17:57:16 -08:00
Zai Shi
dc5de208fc Handle Prisma foreign key constraint error in createAuthTokens 2025-02-20 17:25:39 -08:00
Konstantin Wohlwend
53f6d0fab1 Disallow emails like ".com@gmail.com" 2025-02-20 17:23:55 -08:00
Konstantin Wohlwend
7cfb164e92 chore: update package versions 2025-02-20 16:05:36 -08:00
Konstantin Wohlwend
6e39c4c39e Update init script 2025-02-20 15:46:49 -08:00
Konstantin Wohlwend
c3d0fe952f Less flakey webhook tests 2025-02-20 15:44:14 -08:00
Konstantin Wohlwend
fc811c8f15 chore: update package versions 2025-02-20 15:17:44 -08:00
Konstantin Wohlwend
3ad42d95f1 Support src folder with init script 2025-02-20 15:15:58 -08:00
Konsti Wohlwend
157f722417
Vanilla JS init script (#454) 2025-02-20 15:11:06 -08:00
Zai Shi
4df77497a0 Update GitHub repository links in documentation 2025-02-20 10:14:55 -08:00
CactusBlue
5e2000ec9a
Add custom pages/contact channel docs (#438)
* add some description about contact channels

* add some examples of password reset

* update the doc

* rename things

* split examples

* remove custom for now

* fix error message

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-02-20 09:58:55 -08:00
Zayd Krunz
a02801f3e3
Update page-client.tsx (#451)
Co-authored-by: CactusBlue <thecactusblue@gmail.com>
2025-02-20 09:53:38 -08:00
Zai Shi
c65a3fa59b fixed syntax error 2025-02-20 09:43:44 -08:00
Zai Shi
6080862f76
Added magic link, OTP, and OAuth examples to JS docs (#448) 2025-02-20 18:27:54 +01:00
Zai Shi
f81d1c0e04 fix creator id (#449)
Some checks failed
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-19 19:16:30 -08:00
Zai Shi
ef7e666656
JS lib docs (#444) 2025-02-20 00:48:05 +01:00
Zai Shi
9a75d60f99 added writeFileSyncIfChanged to all the codegen 2025-02-19 12:11:17 -08:00
Konstantin Wohlwend
229209f12a Fix file generation infinite loop 2025-02-18 21:38:43 -08:00
CactusBlue
6692194250
Improve auth method selection (#442)
* move brand icons

* add icons

* modify the auth page

* change how dialog works

* preview

* improve the auth methods page

* better predicate types

* convert to table

* fix more stuff

* refactor

* add default case

* edit table

* add config

* add brand colors

* icon refresh

* fix a bug with shared tooltips

* Refactor auth methods page and preview with UI improvements

* Simplify provider update confirmation with async/await

* Update packages/stack-ui/src/components/brand-icons.tsx

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* update deps

* more fixes

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-18 20:54:24 -08:00
Konstantin Wohlwend
018b04e825 chore: update package versions 2025-02-18 15:54:13 -08:00
Konstantin Wohlwend
c99b170954 Fix tests 2025-02-18 15:31:21 -08:00
Konstantin Wohlwend
2f4108975e Fix tests 2025-02-18 15:25:44 -08:00
Konstantin Wohlwend
b4b3e4dd1d Temporarily fix tests 2025-02-18 15:16:22 -08:00
Konstantin Wohlwend
006a0dcc4e Send sign up emails synchronously 2025-02-18 15:10:00 -08:00
Konstantin Wohlwend
269e138c34 Neon transformation confirmation note 2025-02-18 14:43:45 -08:00
Konstantin Wohlwend
135b2b9dcf Add note to Neon transfer confirmation 2025-02-18 14:43:02 -08:00
Konstantin Wohlwend
4c562fb345 Revert teams test 2025-02-18 13:42:56 -08:00
Konstantin Wohlwend
9ba2482d3a Team test fixes 2025-02-18 10:21:27 -08:00
Konstantin Wohlwend
b6caa42960 Make creatorUserId optional 2025-02-18 09:56:50 -08:00
Konstantin Wohlwend
57a51959fa Fix type errors 2025-02-18 09:47:02 -08:00
Konstantin Wohlwend
0466308a57 Team membership fixes 2025-02-18 09:23:28 -08:00
Konstantin Wohlwend
7475d7c8de Fix tests 2025-02-18 00:22:19 -08:00
Konstantin Wohlwend
20488cffb7 Replace some 400 status codes with 409
Some checks failed
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-17 18:11:32 -08:00
Konstantin Wohlwend
2c32e0cb7f Fix STACK-BACKEND-78 2025-02-17 16:55:14 -08:00
Konstantin Wohlwend
0672c01739 Fix STACK-BACKEND-77 2025-02-17 12:23:54 -08:00
Zai Shi
229a936a13
Update documentation image styling with consistent height classes (#443) 2025-02-17 21:05:23 +01:00
Konstantin Wohlwend
5824eae0a6 Fix STACK-BACKEND-6V 2025-02-17 11:46:14 -08:00
Konstantin Wohlwend
21454eb23a Fix STACK-SERVER-QN 2025-02-17 11:25:03 -08:00
Konstantin Wohlwend
6c62888360 Fix STACK-SERVER-QP 2025-02-17 11:12:34 -08:00
Konstantin Wohlwend
277356e4f6 Cap password length at 70 characters
Some checks failed
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-15 12:18:20 -08:00
CactusBlue
c27020a19e
add metadata to createStackUser on package (#436) 2025-02-15 11:35:42 -08:00