Commit Graph

973 Commits

Author SHA1 Message Date
Konstantin Wohlwend
f18ce6fb44 Improved development locale error message
Some checks failed
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-09-14 17:09:39 -07:00
Konstantin Wohlwend
440e2b2671 proxied-server-example package should be private 2024-09-14 17:04:41 -07:00
Konstantin Wohlwend
6e535453bd chore: update package versions 2024-09-14 17:03:01 -07:00
Zai Shi
5977262329
Added Linkedin OAuth (#249)
Co-authored-by: Manoj Kumar <ms8460149@gmail.com>
2024-09-14 22:49:26 +02:00
Fahad Khan
0c3a3b8bae
Fix/172 by removing selected_team_id from create user CRUD schema. (#248)
* Team invitation (#171)

* team invitation wip

* implemented handler

* team invitation callback wip

* added team invitation frontend

* fixed listCurrentUserTeamPermissions

* added team invitation email template

* fixed bugs

* fixed verification code handler

* added more checks to team invitation verification

* fixed team invitation page

* restructured verification code handler

* fixed frontend

* fixed team invitation tests

* added more team invitation test

* fixed bug

* added migration file

* removed unused code

* Allow Next.js version `latest` in package.json

* Fix typo

* Update error message

* Remove unnecessary console.warn

* Updated "edit this page" button

* Hide unsupported properties from docs

* OAuth token tests

* Fix typo

* added create user button (#173)

* Create SECURITY.md

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* Fix: Improve error handling for Server API (#170)

* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
Co-authored-by: Zai Shi <zaishi00@outlook.com>

* Sign up restriction button on dashboard

Fix #66, #74

* Fix type error

* TOTP 2FA endpoints

* TOTP MFA components

* Improved description for disabling sign ups

* Removed 'selected_team_id' from create user schema

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
2024-09-14 21:43:05 +02:00
Zai Shi
ae411b70e9
Onboarding docs (#246)
* added user onboarding docs

* added custom user data page

* updated user onboarding docs

* updated user onboarding docs

* added user metadata page

* fixed typos
2024-09-14 02:41:44 +02:00
Zai Shi
b9e2486f52
Improved "sign up enabled" UX (#245)
* added signUpEnabled confirmation

* added disableSignUpByDefault

* fixed typo

* don't show sign up in user button if disabled

* removed use project in user-button
2024-09-14 00:06:45 +02:00
Konstantin Wohlwend
c12624465c chore: update package versions 2024-09-13 10:27:56 -07:00
Zai Shi
ac36a698f4 removed quetzal api key from tests 2024-09-13 10:02:15 -07:00
Zai Shi
c8c6a3f460 added password auth unique key migration 2024-09-12 11:55:28 -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)
Some checks failed
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
Zai Shi
ba69acd374
added button to remove totp from the dashboard (#243) 2024-09-11 22:46:16 +02:00
Zai Shi
5700b5675b
added copy from variable (#242) 2024-09-11 22:45:20 +02:00
Zai Shi
84e30eead0
Remove shared Facebook (#238)
* removed facebook shared

* updated test

* added migration file

* facebook enabled var

* fixed migration file

* fixed connected account migration file
2024-09-11 02:25:18 +02:00
Konstantin Wohlwend
a9ebbccecd Ignore unhandled Promise rejections 2024-09-10 11:59:48 -07:00
Konstantin Wohlwend
9a3fb13b38 Fix typo
Some checks failed
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-09-10 09:13:19 -07:00
Zai Shi
8ba72fb32a patch vercel unhandled promise error 2024-09-10 09:12:40 -07:00
Konstantin Wohlwend
783db05946 chore: update package versions 2024-09-09 20:10:58 -07:00
Zai Shi
29ae8a7e3e fixed otp/password config update logic
Some checks failed
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
2024-09-09 19:11:06 -07:00
Zai Shi
eccebc2850 update auth method config with enabled 2024-09-09 18:51:38 -07:00
Zai Shi
6acce31c65 updated width 2024-09-09 18:25:04 -07:00
Zai Shi
ae534caa38 improved dashboard styling 2024-09-09 18:19:15 -07:00
Zai Shi
c57d139c0c added github error logging 2024-09-09 17:38:13 -07:00
Zai Shi
fb3250d646 fixed permission listing 2024-09-09 17:27:46 -07:00
Zai Shi
54f0a93807 fixed email color theme 2024-09-09 16:24:36 -07:00
Zai Shi
5bd08de6ed
fixed project deletion (#236) 2024-09-09 22:36:55 +02:00
Zai Shi
271a85b258
fixed otp check (#235)
* fixed otp config bug

* check passwordAuth duplication
2024-09-09 21:33:10 +02:00
Zai Shi
dadc86d879 fixed primaryEmailAuthEnabled update 2024-09-08 15:39:50 -07:00
Zai Shi
bb7074a29e
Team membership webhook (#234)
* fixed webhook docs type

* fixed docs

* added team memberships webhook

* changed docs sidebar width

* updated tests
2024-09-08 23:52:10 +02:00
Zai Shi
af53d0ca98
fixed otp config bug (#233) 2024-09-08 20:35:15 +02:00
Jaideep Guntupalli
2f47d21cd5
fix: replace with correct doc links (#232) 2024-09-08 18:37:47 +02:00
Konstantin Wohlwend
fed0d8c3ba Remove contributors route 2024-09-07 19:21:09 -07:00
Konstantin Wohlwend
21b9e95dde Disable turbopack 2024-09-07 19:20:52 -07:00
Konstantin Wohlwend
5a20117889 Turbopack for backend dev server 2024-09-07 19:08:26 -07:00
Konstantin Wohlwend
ffc7845efc Vercel OpenTelemetry 2024-09-07 18:39:49 -07:00
Konstantin Wohlwend
eb51c4d63c pnpm run restart-deps 2024-09-07 18:21:11 -07:00
Zai Shi
57a33b2dd6
Query optimization (#230)
* removed v1 api

* added new database schema

* fixed small problems

* fixed import errors

* fixed small problems in schema

* fixed missing metadata

* fixed totp db

* updated user

* added check auth data, updated cc primary

* added user update

* added comments

* updated project create

* fixed bugs

* updated seed script

* updated verification code handler

* updated sign in

* updated imports

* updated projects

* updated sign in route

* remove credential and magic link fields from ProjectConfig model

* fixed type bugs

* updated otp sign-in

* fixed seed script

* fixed password update

* updated credential and magic link enable

* fixed projects credential and magic link

* fixed oauth provider update

* added otp and password config update

* fixed db fkey

* fixed circular dependency

* fixed seeding

* fixed auth method fkey constraint

* password type => identifierType

* fixed seed

* fixed bugs

* fixed circular import

* deterministic auth methods order

* fixed bug

* fixed credential enabled default

* fixed bugs

* fixed credential enabled update bug

* updated tests

* fixed small bugs

* fixed connected account bugs

* updated test

* fixed password update bug

* fixed bug

* fixed tests

* fixed redirect bugs

* added migration file

* Update migration SQL

* Fix stuff

* improved get user speed

* fixed crud, improved smart-request

* improved smart request further

* improved smart request

* added prisma preview features

* fixed smart request

* fixed prisma

* added otel

* fixed bugs

* fixed small problem

* added jaeger and delay

* fixed small things

* updated parse auth structure

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-08 01:28:20 +02:00
Konsti Wohlwend
54836be7e4
Use Node.js 22.7+ again (#231) 2024-09-07 15:11:08 -07:00
Konstantin Wohlwend
b565e0b173 chore: update package versions 2024-09-07 14:07:49 -07:00
Zai Shi
e324ed4ecb fixed small problem 2024-09-07 13:56:37 -07:00
Zai Shi
fe1fdc4c11
Connected account & auth methods DB migration (#204)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-07 13:03:31 -07:00
Konstantin Wohlwend
9bca91162b Try GH Actions 2024-09-07 00:27:12 -07:00
Konstantin Wohlwend
6266c65d6b Quetzal API key 2024-09-07 00:06:10 -07:00
Konstantin Wohlwend
d15b2f018e chore: update package versions 2024-09-06 23:00:49 -07:00
Konstantin Wohlwend
a11e31bd75 filterUndefined in Handler component props 2024-09-06 22:42:07 -07:00
Konstantin Wohlwend
ee68c03d93 Fix linter 2024-09-06 21:36:12 -07:00
Zai Shi
d0888c62de
Update custom-pages.mdx 2024-09-07 06:22:31 +02:00
Zai Shi
d7cfa42695 fixed input field id
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.6) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.6) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-09-06 17:11:01 -07:00
Zai Shi
f900114920
Handler props, custom terms&policy props, custom setting props (#227)
* added props

* updated code structure

* added extra info to sign in, sign up, added extra items to account settings page

* fixed lint
2024-09-07 01:29:22 +02:00