Commit Graph

305 Commits

Author SHA1 Message Date
Fahad Khan
57bc32d063
Fix/179 pass allowed errors to nested crud handlers (#208)
* 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

* Added 'allowedErrorTypes' for error propagation

---------

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-08-28 20:40:46 +02:00
Zai Shi
b5009ca454 added email sending error capturing 2024-08-28 11:32:47 -07:00
Zai Shi
1b8f1628e5 added email duplication check on the dashboard 2024-08-28 11:09:20 -07:00
Zai Shi
ec5c4c8afb fixed permission edit bug 2024-08-28 11:01:46 -07:00
Zai Shi
15760e9b4e continue sign up even if verification email is not sent successfully
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.6) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.6) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-27 20:03:26 -07:00
Zai Shi
41afba8264
Read email verification from providers, added default expiration time for access tokens (#209)
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.6) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.6) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
* added emailVerified to userInfo

* fixed expires in

* updated facebook email verified

* added gitlab email verification

* updated emailVerified for all providers

* added default access token expiration
2024-08-28 03:26:24 +02:00
Varun Guleria
18e5a8fe3b
Profile Image Avatar Editor (#100)
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
* profile_image_uploader

* feat: upload_link_value_change_and_refresh

* Migrate to v2

* avatar editor v2

* added back missing pieces

* fixed dependencies

* fixed tests

* fixed component structure

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-27 02:13:37 +02:00
Manoj Kumar
9a27832b60
add create new project btn (#205)
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-08-25 06:05:00 +02:00
Jalaj
f10ef22223
Updated metadata (#128)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-08-24 18:28:04 -07:00
Konstantin Wohlwend
71ffdc81fa chore: update package versions
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
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-08-24 16:36:30 -07:00
Manoj Kumar
165fe4bbc2
Add Gitlab OAuth as standard provider (#201)
* add gitlab oauth

* updated docs format

* updated error message

* Code formatting

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-24 22:36:52 +02:00
Konstantin Wohlwend
25fc625f7d chore: update package versions
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-08-22 20:28:07 -07:00
Konstantin Wohlwend
b119b7a640 Stricter expectToBeSignedIn 2024-08-22 20:27:52 -07:00
Konstantin Wohlwend
2c55d689a9 Refresh token revocation tests 2024-08-22 20:25:00 -07:00
Konstantin Wohlwend
c0ddab5e73 Revoke refresh tokens 2024-08-22 19:28:53 -07:00
Zai Shi
b02c849727 fixed old types 2024-08-22 18:09:41 -07:00
Konstantin Wohlwend
b7061e2b8b chore: update package versions
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-08-21 13:00:21 -07:00
Konstantin Wohlwend
448c45fca4 Project owner packs 2024-08-21 12:55:26 -07:00
Zai Shi
82e0cf505a
Fix windows build (#198)
Some checks are pending
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
* added absolute path to doc gen

* check platform
2024-08-21 07:02:11 +02:00
Konstantin Wohlwend
610c1cf410 More PostHog groups 2024-08-20 19:15:50 -07:00
Zai Shi
b46a91b2a8 fixed header z-index 2024-08-20 19:11:57 -07:00
Konstantin Wohlwend
6833be9e56 Add PostHog groups 2024-08-20 19:03:47 -07:00
Konstantin Wohlwend
afdaf0824e chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-08-20 13:04:32 -07:00
Zai Shi
7b5d0ed793
Team metadata & client read only metadata (#196)
* added team metadata

* added client readonly metadata

* updated tests

* added team client meta data tests

* added user metadata tests

* added client read only metadata to stack-app

* added client read only metadata
2024-08-20 20:39:13 +02:00
Konstantin Wohlwend
926fd84983 Speed insights 2024-08-20 11:31:28 -07:00
Konstantin Wohlwend
090eec97bb Global table filters
Some checks are pending
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-19 15:11:35 -07:00
Zai Shi
b2f92625da
updated health check db (#195)
Some checks are pending
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
* updated health check db

* improved code style
2024-08-18 01:43:57 +02:00
Konstantin Wohlwend
32d352b32b chore: update package versions
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-08-17 15:13:24 -07:00
Zai Shi
f66b750f51 disallow http:// in domain allow list 2024-08-17 15:12:42 -07:00
Konstantin Wohlwend
716e0ad1ae Fix build 2024-08-17 14:51:52 -07:00
Konstantin Wohlwend
aec2024fbe Artificial backend delay during dev mode 2024-08-17 14:27:33 -07:00
Zai Shi
64c9a1cef1
Fix domain duplication error message (#194)
* check if domain already exists

* added duplicated domain error
2024-08-17 23:16:37 +02:00
Nuno Morais
d6756f6fa2
Implement Discord oauth provider (#187)
* Implement Discord oauth provider

* Add Discord OAuth setup guide and callback URL to the docs

* removed changes in dashboard, only add discord as standard provider

* fixed small problems

* fixed types

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-17 20:54:42 +02:00
Konstantin Wohlwend
5b6116e57e chore: update package versions
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-08-15 16:02:46 -07:00
Zai Shi
fa8463db15
fixed create team on sign up (#188) 2024-08-15 20:59:13 +02:00
Konstantin Wohlwend
a7c2f2b3a0 Group events by project ID 2024-08-15 11:50:48 -07:00
Konstantin Wohlwend
b99efd675b Fix event capture
Some checks are pending
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-14 12:49:35 -07:00
Zai Shi
203778f5a3
added managedProjectIds delete and tests (#182)
Some checks are pending
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-13 07:28:09 +02:00
Konstantin Wohlwend
5011b499ee chore: update package versions
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-08-12 21:55:17 -07:00
Konstantin Wohlwend
64ac7091a3 Add invalid project ID to seed script
Some checks are pending
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-12 17:09:13 -07:00
Konstantin Wohlwend
700034ca01 Fix project deletion ISE 2024-08-12 16:56:16 -07:00
Zai Shi
f7740b2a7f
added more tests for team permissions (#181) 2024-08-12 23:46:09 +02:00
Zai Shi
049369aef7 added legal notice to the footer 2024-08-12 13:45:37 -07:00
Zai Shi
8cff34edcd added project deletion tests
Some checks are pending
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-11 20:57:56 -07:00
Jasveer Singh
ed44d7588b
feat:Add delete project functionality in Project,Project-settings Issue Is:-No option to delete a project #111 (#127)
Some checks are pending
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
* Add delete project functionality in Project,Project-settings

* removed changes to the old dashboard

* added onDelete and backend endpoints

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-12 03:46:25 +02:00
Zai Shi
e5965cf977
Team frontend components (#178)
* 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

* added create user button (#173)

* added basic team settings

* Create SECURITY.md

* added editable text

* added more team settings

* Export button in tables

* Export all pages of tables

* Update security policy

* Fix docs typo

* More docs typos

* Improved user creation handlers

* added list users on client

* updated team-settings

* hide team setting component for now

* 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>

* added ensureClientUserAuthenticated

* improved error handling

* removed unused imports

* fixed bug

* added member list

* Sign up restriction button on dashboard

Fix #66, #74

* moved data table to stack-ui

* added remove user modal

* fixed chokidar

* updated ui

* fixed merge

* fixed merge

* fixed merge

* updated settings component

* improved mobile styles

* added user invitation ui

* added team creation page

* added team creation to team component

* added setting icon to team switcher

* added settings sections

* added client_team_creation_enabled

* added frontend team creation enabled checks

* updated demo page

* added member profile update

* fixed profile editing

* added leave team button

* added create/delete team redirect

* fixed column header, updated team setting

* fixed account setting padding

* updated tests

---------

Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Fahad Khan <62707456+kfahad5607@users.noreply.github.com>
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
2024-08-12 02:11:42 +02:00
Konstantin Wohlwend
3ae3720105 Better event logs 2024-08-11 15:25:45 -07:00
Konstantin Wohlwend
c182cebec6 MFA for non-password apps 2024-08-11 13:30:05 -07:00
Konstantin Wohlwend
e6e120db4c chore: update package versions
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
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-08-10 09:45:49 -07:00
Konstantin Wohlwend
f2c7088b25 Improved description for disabling sign ups 2024-08-10 09:45:49 -07:00