Commit Graph

199 Commits

Author SHA1 Message Date
Stan Wohlwend
5279dee113 chore: update package versions
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-07-26 16:07:01 -07:00
Zai Shi
650a47c72f added shared spotify 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
71a7fcd6de fixed send verification email 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
Stan Wohlwend
4386b7c96b Improve KnownError messages 2024-07-26 16:06:58 -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
Stan Wohlwend
ce109e8b0d chore: update package versions 2024-07-22 16:59:51 -07:00
Stan Wohlwend
6124343893 chore: update package versions 2024-07-21 19:11:51 -07:00
Stan Wohlwend
edf66ab0d4 Better error alert 2024-07-21 19:09:23 -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
af1563653a Better params schema validation 2024-07-21 09:53:05 -07:00
Konsti Wohlwend
84960ec9ca
Mock OAuth server (#138) 2024-07-20 17:29:04 -07:00
Stan Wohlwend
2eb33279db chore: update package versions 2024-07-20 13:07:29 -07:00
Zai Shi
d391e332e6 added enabled oauth providers 2024-07-20 12:58:42 -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
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
eaa0930617 Disallow unused expressions 2024-07-14 10:41:20 -07:00
Stan Wohlwend
580bd73348 Fix trailing space lint errors 2024-07-14 10:37:34 -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
4545e2ba8f chore: update package versions 2024-07-13 12:36:07 -07:00
Zai Shi
5b2a851f98 fixed email template not loading bug 2024-07-07 18:58:11 -07:00
Stan Wohlwend
8e8a1b1be1 Set target to ES2021 2024-07-07 17:28:14 -07:00
Stan Wohlwend
29a4330c9a chore: update package versions 2024-07-07 14:09:22 -07:00
Zai Shi
06c71d1b9e
added team profile image url (#130)
* added team profile image url

* added migration file

* fixed eslint

* added next image to demo

* fixed build error
2024-07-07 06:58:29 +02:00
Stan Wohlwend
f368255c46 chore: update package versions 2024-07-06 15:05:48 -07:00
Konsti Wohlwend
53450206f5
Create users & auth endpoints in backend (#85) 2024-07-01 22:42:08 -07:00
Stan Wohlwend
fb825e66a5 Prefer getEnvVariable in stack-backend 2024-07-01 19:40:43 -07:00
Stan Wohlwend
ac3ed1a0b3 chore: update package versions 2024-07-01 18:46:01 -07:00
Stan Wohlwend
ab348af895 Prefix all environment variables with STACK_ 2024-07-01 17:30:35 -07:00
Zai Shi
cbf409ab25
fixed oauth docs and or redirect (#123) 2024-07-02 01:17:11 +02:00
Zai Shi
02568ba36d removed UserNotInTeam error 2024-06-25 15:44:40 +02:00
Kirat
69ff6a292e
Adds server and client side metadata (#87)
* Added server and client side metadata

* revert lint
2024-06-25 13:45:21 +02:00
Zai Shi
af9d811b28
Scope tailwind (#92)
* added scoped tailwind

* added same level scope

* added shadcn

* added watch css

* improved css processing

* fixed dark mode, migrated credential sign in component

* fixed export path

* fixed bugs

* migrated credential sign up

* migrated magic link sign in

* migrated auth page

* migrated forgot password

* migrated oauth group

* migrated oauth button

* improved password field

* fixed maybe full page

* migrated user button

* simplified user button structure

* fixed dark mode css process bug, migrated avatar

* migrated typography

* migrated message cards

* removed joy

* removed component context

* removed component core

* restructured components

* updated demo

* added new ui package

* added tailwind config to stack-ui

* moved stack components to stack-ui

* fixed demo ui components

* fixed demo dark mode

* fixed demo bugs

* updated dependencies

* fixed demo theme flash

* fixed styling bugs, removed breakpoints

* removed unused
2024-06-24 15:33:09 +02:00
Stan Wohlwend
a37674fa12 chore: update package versions 2024-06-20 17:16:33 +02:00
Zai Shi
bd96da663b
Fix client side team bugs (#86)
* permission ids -> definition jsons

* fixed default permission update bug

* fixed set team default permission

* fixed handler edit dialog
2024-06-20 15:28:23 +02:00
Stan Wohlwend
e392684a3e Fix snapshot test class names 2024-06-20 00:48:19 +02:00
Stan Wohlwend
77229f4b2e Snapshot tests 2024-06-19 19:44:32 +02:00
Zai Shi
29bb31fdbc
added server user create team (#84) 2024-06-19 15:34:06 +02:00
Zai Shi
1f373846ab
System team permissions (#82)
* added default permissions to prisma

* added system team permission

* fixed permission update

* added system permission UI

* fixed permission update

* added create team client

* added client create team

* added client team create endpoint

* fixed user.createTeam, updated demo

* added default permissions for team creators and members

* added createTeamForUser

* added permission id format check

* updated db schema for default permission, added default perms when project is created

* fixed merge errors
2024-06-18 19:22:23 +02:00