Commit Graph

207 Commits

Author SHA1 Message Date
Stan Wohlwend
79455fbfa1 Fix typo 2024-07-26 16:07:00 -07:00
Stan Wohlwend
cb87a5389f Fix typo 2024-07-26 16:07:00 -07:00
Zai Shi
650a47c72f added shared spotify 2024-07-26 16:07:00 -07:00
Zai Shi
8243386459 added better oauth error message 2024-07-26 16:07:00 -07:00
Zai Shi
8d65f9b47b Optional shared keys (#153)
* removed standard providers and shared providers

* added more types

* updated all providers imports

* fixed circular dependency

* updated dashboard for different shared keys

* fixed old dashboard

* added migration file
2024-07-26 16:07:00 -07:00
Zai Shi
01c5101c2d Added sentry headers to the allow list 2024-07-26 16:07:00 -07:00
Zai Shi
3d5f4feea4 added better messages for domains 2024-07-26 16:07:00 -07:00
Zai Shi
2e6a794e33 added comments in prisma file 2024-07-26 16:06:59 -07:00
Konsti Wohlwend
088e980c38 Metadata fields should be set to null when left empty (#145) 2024-07-26 16:06:59 -07:00
Konsti Wohlwend
aa654ccdc1 Redirect user to correct page after sign-in (#151) 2024-07-26 16:06:59 -07:00
Stan Wohlwend
009f62bde8 Improved error messages 2024-07-26 16:06:59 -07:00
Zai Shi
15b96049ae Team user profile API (#150)
* added team member endpoints

* fixed circular dependency bug, added team member profiles tests

* added more tests

* added migration file
2024-07-26 16:06:59 -07:00
Stan Wohlwend
8cd0b1609f Impersonation 2024-07-26 16:06:59 -07:00
Zai Shi
6beed942e9 Client team API (#149)
* added transactions

* added client team update and delete

* added client side remove member

* allow user remove them selves from team

* fixed bug, fixed tests

* added client update test, fixed bugs

* added tests for team delete

* added more tests, fixed bugs
2024-07-26 16:06:58 -07:00
Zai Shi
547a29219e Fix connected accounts (#148)
* fixed endpoint

* fixed account linking

* fixed get access token

* fixed import bug
2024-07-26 16:06:58 -07:00
Zai Shi
e70921fc26 added webhook type 2024-07-25 16:08:12 -07:00
Zai Shi
7c4d27b7cb fixed redirect url check 2024-07-25 11:58:14 -07:00
Zai Shi
f40b481f03 removed webhook endpoint creation 2024-07-25 11:43:46 -07:00
Stan Wohlwend
f812085420 chore: update package versions 2024-07-24 11:44:14 -07:00
Zai Shi
4ec03d0515
Improved documentation, fixed bugs (#147)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-24 11:38:26 -07:00
Zai Shi
1d315615cc fixed permission dashboard bug 2024-07-23 10:51:45 -07:00
Stan Wohlwend
ce109e8b0d chore: update package versions 2024-07-22 16:59:51 -07:00
Zai Shi
5d5acda209 fixed email verification bug 2024-07-22 15:12:59 -07:00
Zai Shi
ad2fd3e5a2
added webhooks for team create and delete (#140)
* added webhooks for team create and delete

* moved to svix
2024-07-22 19:59:01 +02:00
Stan Wohlwend
6124343893 chore: update package versions 2024-07-21 19:11:51 -07:00
Zai Shi
0147213003
Better errors for crud handlers (#143)
* added more errors to team creation

* check teams in client get

* added db checks
2024-07-22 03:45:30 +02:00
Konsti Wohlwend
7cca092c82
Events (#142) 2024-07-21 18:31:42 -07:00
Stan Wohlwend
78c5f971af Fix tests 2024-07-21 18:22:25 -07:00
Stan Wohlwend
af1563653a Better params schema validation 2024-07-21 09:53:05 -07:00
Stan Wohlwend
d79db67db1 Fix local tests 2024-07-20 17:32:49 -07:00
Konsti Wohlwend
84960ec9ca
Mock OAuth server (#138) 2024-07-20 17:29:04 -07:00
Zai Shi
fd6f6c6d93
Fixed dashboard auth types and oauth account creation (#139)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-20 16:51:54 -07:00
Stan Wohlwend
6beb64fab0 Add primary email to "Unknown auth type" error 2024-07-20 13:37:40 -07:00
Stan Wohlwend
51fa7b22d7 Add user ID to "Unknown auth type" error 2024-07-20 13:36:02 -07:00
Stan Wohlwend
ab0ec93c74 Add "Unknown auth type" error in Users table 2024-07-20 13:35:27 -07:00
Stan Wohlwend
49371dcb75 Fix tests 2024-07-20 13:16:14 -07:00
Stan Wohlwend
2eb33279db chore: update package versions 2024-07-20 13:07:29 -07:00
Zai Shi
af5b21125d fixed type errors 2024-07-20 13:06:44 -07:00
Zai Shi
d391e332e6 added enabled oauth providers 2024-07-20 12:58:42 -07:00
Stan Wohlwend
fcac8fa876 Better error message when OAuth fails 2024-07-20 12:42:12 -07:00
Stan Wohlwend
e83815f665 Fix OAuth requirements bug 2024-07-20 12:40:32 -07:00
Stan Wohlwend
69df575127 Update metadata 2024-07-20 12:24:59 -07:00
Stan Wohlwend
ceea3b70e8 Move chokidar to stack-backend 2024-07-20 12:12:21 -07:00
Stan Wohlwend
3ec7d865ea chore: update package versions 2024-07-20 11:11:37 -07:00
Zai Shi
54027d58a2
New client (#135)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-19 22:07:44 -07:00
Zai Shi
74a7db35ed fixed small docs problems 2024-07-15 10:10:15 -07:00
Zai Shi
2b26e3cb44
Improve API docs (#133)
* added projects and admin docs

* added docs to team permissions

* renamed url params to snake case

* added team permission definitions to docs

* added more docs

* added more docs

* added more docs to the api
2024-07-15 18:04:52 +02:00
Zai Shi
039cce7a58
Fix backend endpoints (#132)
* More backend endpoint implementations

Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>

* Stuff

Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>

* fixed env docs and crud imports

* Fix type error

* fixed crud handler dependency issue with proxies

* fixed wrong test

* fixed is_paginated, added list project tests

* Error when request queries or body properties are unused

* Fix semicolon

* added create project tests

* Fix some type errors

* Fix lint config

* fixed project no auth bug

* Fix lint errors

* Make no-restricted-syntax an error

* fixed project create no owner bug

* fixed project domain config update

* added more tests

* Sign up tests

* fixed email config update, added more tests

* added more tests, strip uuid in tests

* added oauth config update, added more tests

* E-mail verification tests

* Strip fewer fields

* added updateProject function for testing

* fixed project creation error, added more tests

* Begin OAuth authorize tests

* added get current project info

* added test for project

* removed description from current-project

* added basic teams endpoint

* improved openapi docs, added object types

* improved docs, fixed docs bug

* added email template endpoint

* crudHandlers.xyzList

* imp

* Default values for Prisma handlers

* CRUD queries

* Fix PEitherWrite

* Queries

* added api keys endpoints

* Authorize tests

* Password sign-in endpoint

* Sessions endpoints

* added more tests for api keys

* Update password endpoint

* Hide x-stack-request-id header

* fixed api key endpoints, added more tests

* updated test messages

* Password reset

* implemented team crud

* check-feature-support endpoint

* added teams tests, updated project endpoint folder structure

* added more tests for team

* added team membership handler

* Fix errors

* Type fixes

* Update comment

* strings comment

* Fix users page

* added more tests to team membership

* Rename team-memberships test file

* removed test code

* added user filter

* added permission grant

* added team permission definitions

* added permission definition tests

* added more tests

* fixed permission definition

* Improve types

* More type fixes

* Fix more type errors

* Fix lint errors

* Fix build error

* updated permission code structure

* fixed types

* added recursive permission

* Always log E2E test GH Actions logs

* Internal server error messages are shown in test environments

* Print Docker Compose logs

* fix

* fix more

* Improve

* fixes

* fixes

* fix stuff

* Wait on more stuff

* more fixes gh actions

* Fix pnpm start:xyz

* pin v

* node env test

* log order

* test envvars

* test

* added default permissions

* Credential sign up form now loads correctly

* added default permission to create team and add user

* Safari passwords match sign up

* Add migration file

* Don't error on authorize if blah

* fix tests

* restructured project with createCrudHandler

* Account settings password repeat

* Update README

* fixed user permission listing

* added sorting for permission definitions

* fixed project default permission update

* restructured project urls

* fixed import error

* removed format changes

* removed format changes

* removed format changes

* removed unused route

---------

Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-15 01:55:01 +02:00
Stan Wohlwend
580bd73348 Fix trailing space lint errors 2024-07-14 10:37:34 -07:00
Stan Wohlwend
698964766f Disallow trailing spaces 2024-07-14 10:35:33 -07:00