Zai Shi
a7acab4646
Auto migration ( #526 )
...
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Introduces an automated database migration system, replacing manual
Prisma commands with new scripts and updating workflows, configurations,
and tests accordingly.
>
> - **Auto-Migration System**:
> - Introduces `db-migrations.ts` script for handling database
migrations automatically.
> - Adds utility functions in `utils.tsx` for managing migration files.
> - Implements `applyMigrations` and `runMigrationNeeded` in `index.tsx`
for executing migrations.
> - **Workflow and Scripts**:
> - Updates GitHub workflows (`check-prisma-migrations.yaml`,
`e2e-api-tests.yaml`) to use new migration commands.
> - Replaces `prisma migrate` commands with `db:init`, `db:migrate`,
etc., in `package.json` and `README.md`.
> - **Testing**:
> - Adds `auto-migration.tests.ts` for testing migration logic and
concurrency handling.
> - **Configuration**:
> - Updates `.env.development` and `vitest.config.ts` for new
environment variables and paths.
> - Modifies `turbo.json` and `package.json` to include new migration
tasks and scripts.
>
> <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 2c24183879 . 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-24 02:38:37 +02:00
Madison
4e467c4026
New docs ( #698 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Madison Kennedy <madison@Madisons-MacBook-Pro.local>
Co-authored-by: BilalG1 <bg2002@gmail.com>
2025-06-20 13:30:01 -07:00
Konstantin Wohlwend
8cc3393110
GH Actions push trigger only on main or dev branches
2025-03-12 10:52:35 -07:00
Konstantin Wohlwend
bd687e8c43
Re-add pull request trigger to GH Actions
2025-03-12 10:43:36 -07:00
Konstantin Wohlwend
7c3c4863ab
Fix GitHub Actions concurrency
2025-03-10 14:09:09 -07:00
Konstantin Wohlwend
a2dbecb606
Cancel in-progress GitHub Actions on feature branches
2025-03-10 12:14:58 -07:00
Konstantin Wohlwend
7f2a378286
Run E2E tests only once
2025-03-10 12:10:06 -07:00
Konsti Wohlwend
b41681d1e4
Reduce test flakeyness ( #517 )
All good? / all-good (push) Has been cancelled
Update pull request branches / Update pull request branches (push) Has been cancelled
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
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-07 13:34:50 -08:00
Konstantin Wohlwend
f4db6df342
Run E2E tests on latest Node.js version
2025-02-27 14:06:14 -08:00
Konstantin Wohlwend
93cbf8f7da
Run E2E API tests on Node v22 too
2025-02-27 14:05:32 -08:00
Zai Shi
e55b42f848
Local emulator ( #422 )
2025-02-13 18:57:02 +01:00
Konstantin Wohlwend
02d1680d2e
Run GitHub Actions on push instead of PR
2025-02-11 09:59:18 -08:00
Zai Shi
12dfe82db7
added sleep after starting the server ( #423 )
2025-02-09 18:25:44 +01:00
Konsti Wohlwend
f869c93563
Use Depot for GitHub Actions ( #402 )
2025-01-29 10:08:16 -08:00
Konstantin Wohlwend
b46bdc8f04
Fix STACK-BACKEND-5K
2024-12-23 19:16:24 -08:00
Konsti Wohlwend
8c63c204d6
Use Ubicloud for GitHub Actions ( #365 )
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
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
TOC Generator / TOC Generator (push) Has been cancelled
2024-12-10 22:58:51 -08:00
Konsti Wohlwend
0413706c39
Upgrade backend to Next.js 15 ( #360 )
2024-12-10 00:11:13 -08:00
Konstantin Wohlwend
f45348462e
Fix CI/CD
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.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
TOC Generator / TOC Generator (push) Has been cancelled
2024-11-15 21:14:51 +01:00
Moritz Schneider
93a1fcf7cb
Passkey support ( #321 )
...
* passkeys
* add passkey tests
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-28 16:56:46 -07:00
Zai Shi
ecc26427b8
fixed github action
2024-10-08 17:48:54 -07:00
Zai Shi
ac36a698f4
removed quetzal api key from tests
2024-09-13 10:02:15 -07:00
Konsti Wohlwend
197c1be2b7
i18n with Quetzal ( #228 )
...
* Quetzal setup stuff
* Custom translation function
* CI
* Update stuff
* Revert components
* Various fixes
* Hook
* New IDs
* Add auto-gen info header
* Fix CI
* Fix CI
* Update translations
* Update script
* More fixes
* Overrides
* fixed quetzal
* added more translations
* added more translation
* updated translation
* added i18n docs
* updated pnpm lock
* fixed build
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-12 20:21:45 +02:00
Zai Shi
89696a40ef
Stack Auth Proxy ( #237 )
...
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.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
TOC Generator / TOC Generator (push) Has been cancelled
* added proxy
* updated pnpm lock
* removed package lock
* added readme
* updated readme
* updated readme
* fixed bugs
* added development env
* added template engine
* updated dependencies
* fixed github action
2024-09-12 00:31:39 +02:00
Konsti Wohlwend
54836be7e4
Use Node.js 22.7+ again ( #231 )
2024-09-07 15:11:08 -07:00
Konstantin Wohlwend
6266c65d6b
Quetzal API key
2024-09-07 00:06:10 -07:00
Konstantin Wohlwend
49724b4823
Update GH Actions
2024-09-01 14:02:21 -07:00
Zai Shi
9b307437bc
fixed node version to 22.6 to avoid the invalid unicode error
2024-08-24 13:22:35 -07:00
Konsti Wohlwend
94a3edd77d
Svix concurrency workaround ( #167 )
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-03 21:05:24 -07:00
Stan Wohlwend
d4d0624ccd
Fix GH Actions docker-compose
2024-08-02 15:46:19 -07:00
Konsti Wohlwend
84960ec9ca
Mock OAuth server ( #138 )
2024-07-20 17:29:04 -07:00
Stan Wohlwend
6d24b4fc31
More GH Actions changes
2024-07-20 13:22:30 -07:00
Konsti Wohlwend
b0f233a44c
More backend endpoint implementations ( #126 )
...
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-13 22:04:53 -07:00
Stan Wohlwend
b79bee6606
Run dotenv in E2E codebase itself
2024-06-18 18:38:30 +02:00
Konsti Wohlwend
6480667a97
Split backend and dashboard ( #83 )
2024-06-18 15:49:31 +02:00
Zai Shi
019738aa64
Added fern docs ( #76 )
...
* adding openapi generation
* added optional responses
* added path params
* added request body
* added full openapi file
* fixed crud bug
* fixed small bugs
* added generate-docs script
* added parameter example
* create docs from handler
* improved parse openapi interface
* removed unused
* added endpoint metadata
* added current user handler
* migrated old docs to fern
* 🌿 api set-up (#75 )
Co-authored-by: Catherine Deskur <chdeskur@gmail.com>
* added sdk docs
* updated tabs
* improved styling
* added header links
* added tags to docs
* added focus to docs
* added focus to team docs
* improved docs wording
* added discord link
* updated generate-keys docs
* fixed merge error
* added yaml package
* added github actions
* fixed doc gen bug
* added docs lint check
* added doc watch changes
* updated github actions
* fixed action file
* updated publish docs workflow
* added overview page
* fixed action bug
---------
Co-authored-by: fern <126544928+fern-bot@users.noreply.github.com>
Co-authored-by: Catherine Deskur <chdeskur@gmail.com>
2024-06-15 14:04:00 +02:00
Stan Wohlwend
c1f7bec6c7
Run GH Actions on PR
2024-06-02 12:31:30 +02:00
Stan Wohlwend
f8de97a19d
Fix build errors
2024-05-23 15:32:22 +02:00
Zai Shi
040ec072f3
Added dashboard email configuration & user permission edit ( #39 )
...
* added form setting card
* removed unused code
* added custom email server page
* added email configuration dialog
* added sender name
* Update email server settings labels for clarity
* added email config update endpoint
* fixed update bugs
* fixed bugs
* fixed type errors
* moved senderName to standard config, check secure setting by port
* fixed duplicate settings
* fixed build errors, added migration
* updated tooltips
* fixed tooltip display bug
* added user permission edit
2024-05-18 19:32:27 +02:00
Stan Wohlwend
9990bae732
--frozen-lockfile
2024-05-05 18:28:27 +02:00
Stan Wohlwend
406ad69ebb
Docker compose dependencies ( #20 )
2024-05-04 15:42:41 +02:00
Stan Wohlwend
479c8ff528
GitHub actions linting ( #17 )
2024-04-24 15:37:30 +02:00
Zai Shi
66f6c86ddf
Basic Unit Tests ( #15 )
...
* added basic api testing framework
* added credential signup test
* added current user test
* added github action
* fixed bugs in action file
* updated action
* added pnpm setup
* added dependency install
* updated pnpm lock
* only run server tests
* added new package for e2e test
* removed unused tests
* updated action
* updated test command
* added env var reading
* fixed typo
* fixed typo
* fixed unit tests with staging
* added delay e2e test
* added start server to action
* fixed typo
* fix aciton
* updated github action
* fixed bugs
* fixed eslint error
2024-04-24 14:24:56 +02:00