Commit Graph

280 Commits

Author SHA1 Message Date
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
Konstantin Wohlwend
d01471acfc TOTP MFA components 2024-08-10 09:45:49 -07:00
Konstantin Wohlwend
1b550e7e48 TOTP 2FA endpoints 2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
50fd3dfc2c Fix type error 2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
c64fbf4fcd Sign up restriction button on dashboard
Fix #66, #74
2024-08-10 09:45:48 -07:00
Fahad Khan
4792aa53f8 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>
2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
5b9ee575f8 Improved user creation handlers 2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
436400dd22 Export all pages of tables 2024-08-10 09:45:48 -07:00
Stan Wohlwend
fd74852e6d Export button in tables 2024-08-10 09:45:48 -07:00
Zai Shi
fc9826aaa2 added create user button (#173) 2024-08-10 09:45:48 -07:00
Stan Wohlwend
5072f14891 OAuth token tests 2024-08-10 09:45:47 -07:00
Zai Shi
4bbead0ef9 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
2024-08-10 09:45:47 -07:00
Stan Wohlwend
902973766c 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-04 13:01:11 -07:00
Konsti Wohlwend
dfb51b8346
Auth methods and connected accounts (#164) 2024-08-04 11:39:26 -07:00
Konsti Wohlwend
94a3edd77d
Svix concurrency workaround (#167)
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-03 21:05:24 -07:00
Stan Wohlwend
a86788d924 OAuth callback tests 2024-08-03 18:28:32 -07:00
Zai Shi
0c31d6a9ff fixed list current user team permission bug and permission editing bug
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
TOC Generator / TOC Generator (push) Waiting to run
2024-08-03 15:46:37 -07:00
Stan Wohlwend
e51d839a42 Retry OAuth endpoints 2024-08-03 13:13:23 -07:00
Stan Wohlwend
f549b95390 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (18.x) (push) Has been cancelled
Lint & build / lint_and_build (20.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-03 11:46:03 -07:00
Stan Wohlwend
5c188ee812 Test lint in E2E tests
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
TOC Generator / TOC Generator (push) Waiting to run
2024-08-02 17:15:59 -07:00
Stan Wohlwend
0306a5bd8a Typecheck E2E test 2024-08-02 17:10:16 -07:00
Stan Wohlwend
4e267784f7 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-08-02 15:49:42 -07:00
Zai Shi
3f3bc4b6bb fixed STACK_SVIX_SERVER_URL 2024-08-02 15:39:30 -07:00
Zai Shi
7574a2eb1b
fixed password reset (#162) 2024-08-02 04:00:24 +02:00
Zai Shi
f7c10f7047
UI restructured (#161)
* removed dashboard ui folder

* fixed imports

* removed stack email ui

* fixed types

* removed unused

* removed unused deps

* fixed dependencies

* removed unused files
2024-08-02 01:03:01 +02:00
Zai Shi
fb31827dc3
Webhooks (#157)
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
* added svix to docker compose

* connect webhook sending with local svix

* added svix token endpoint

* added svix dashbaord

* added endpoint table

* updated danger items

* added more info on the webhook page

* added create endpoints dialog

* added edit and delete endpoint

* added log history

* added webhook secret

* updated sidebar layout

* fixed flashes

* updated webhook sending function

* removed unused imports

* updated endpoint code structure

* commented event types

* added webhooks docs

* added webhooks doc gen

* updated webhooks docs

* added webhook events

* updated teams docs

* fixed bugs

* fixed docker
2024-08-01 02:44:35 +02:00