Commit Graph

933 Commits

Author SHA1 Message Date
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
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
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
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
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
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
2c32e0cb7f Fix STACK-BACKEND-78 2025-02-17 16:55:14 -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
CactusBlue
816d64c850
In-source unit tests (#429)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-14 11:47:52 -08:00
Konstantin Wohlwend
741e04d799 Remove unnecessary JSON spaces 2025-02-14 10:20:36 -08:00
Konstantin Wohlwend
c452f9c584 chore: update package versions 2025-02-14 10:19:08 -08:00
Zai Shi
a444e13342
Local emulator fixes (#437) 2025-02-14 02:02:24 +01:00
Konstantin Wohlwend
8b1e93705d Improved Next 15 deprecation warning 2025-02-13 10:56:53 -08:00
Zai Shi
e55b42f848
Local emulator (#422) 2025-02-13 18:57:02 +01:00
CactusBlue
495645a22a
add OTP to the subject line (#435)
* add OTP to the subject line

* strip sign in codes
2025-02-12 19:27:48 -08:00
Konstantin Wohlwend
c280f35d4f Fix urlString function for multiple arguments 2025-02-12 14:35:15 -08:00
Konstantin Wohlwend
7dfe34b1c2 Remove trailing slash from backend requests 2025-02-12 14:07:55 -08:00
CactusBlue
f07e45fe26
Prevent handler from loading in <iframe> (#433)
* initial work

* fixed generate from template watch mode

* add the iframe preventer

* Update packages/template/src/components/iframe-preventer.tsx

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

* Update packages/template/src/components/iframe-preventer.tsx

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

* fixed codegen loop

* Fix codegen (#434)

* Fix errors

* "More sign-in methods available later" info

* Fix loading button indicator positioning

* remove trailing slash for NEXT_PUBLIC_STACK_URL (#432)

* make requested changes

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-12 13:34:03 -08:00
Konstantin Wohlwend
cedacfc3a0 Update package-template.json 2025-02-12 11:02:34 -08:00
Konstantin Wohlwend
2e8d5edcfc chore: update package versions 2025-02-12 10:35:56 -08:00
CactusBlue
5ae94c8668
remove trailing slash for NEXT_PUBLIC_STACK_URL (#432)
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-11 22:11:42 -08:00
Konstantin Wohlwend
622f9f6f0d Fix loading button indicator positioning 2025-02-11 20:36:43 -08:00
Konstantin Wohlwend
0283096b5a Fix errors 2025-02-11 20:18:08 -08:00
Zai Shi
4c4f557ff2
Fix codegen (#434) 2025-02-12 02:07:30 +01:00
Zai Shi
987119ded8 fixed codegen loop 2025-02-11 16:30:54 -08:00
Zai Shi
c10b1978b3 fixed generate from template watch mode 2025-02-11 15:56:04 -08:00
CactusBlue
afe9c52a87
Fix how URL concatenation works (#419)
* use urlString helper

* Update packages/stack-shared/src/utils/urls.tsx

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

* add import back again

* revert isLocalHost back to its original impl

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-11 14:23:56 -08:00
Zai Shi
e7a7df8e41 fixed totp error 2025-02-11 13:51:47 -08:00
Zai Shi
5535fbb832 added port range constraint 2025-02-11 11:53:24 -08:00
CactusBlue
b28eadb035
fix tests from PR #403 (#427)
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-10 19:06:09 -08:00
CactusBlue
064b52267c
add advanced setting for enabling plain HTTP domains (#403) 2025-02-10 19:07:00 +01:00
Zai Shi
6ba15f352d fixed tests 2025-02-10 10:06:38 -08:00
CactusBlue
cc2f230659
squash changes (#406) 2025-02-09 21:54:29 -08:00
CactusBlue
84ffe3b4f1
User page redesign (#405)
* Squash

* fixes

* change router

* correct it again

---------

Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-09 20:57:55 -08:00