Commit Graph

569 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
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
Konstantin Wohlwend
07edc5be9c Improve types 2024-08-17 13:50:37 -07: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
Zai Shi
2834a7ee57 formatted code
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-08-15 17:16:38 -07:00
Zai Shi
dc64a97caa made account setting default full page 2024-08-15 17:12:44 -07:00
Zai Shi
df9dd2c4dd
UI fixes (#190)
* improved team setting UI

* fixed demo header style
2024-08-16 01:47:56 +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
05926cd440 fixed email preview
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-15 12:12:21 -07:00
Zai Shi
757dea48c0
Team account settings (#186)
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 team setting to account setting

* updated account setting

* updating style

* improved update password

* updated style

* added path navigation

* added route to selected team switcher

* removed unused

* added user invitation form

* added team name update
2024-08-14 22:24:20 +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
700034ca01 Fix project deletion ISE 2024-08-12 16:56:16 -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
Jake Correa
b1f4bf6209
add bun package manager option (#174) 2024-08-11 15:11:13 -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
58e13978e0 Disable MFA field when checking it 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
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
Zai Shi
fc9826aaa2 added create user button (#173) 2024-08-10 09:45:48 -07:00
Stan Wohlwend
2ca5150b07 Fix typo 2024-08-10 09:45:47 -07:00
Stan Wohlwend
5072f14891 OAuth token tests 2024-08-10 09:45:47 -07:00
Stan Wohlwend
29c488863f Hide unsupported properties from docs 2024-08-10 09:45:47 -07:00
Stan Wohlwend
df7073c199 Remove unnecessary console.warn 2024-08-10 09:45:47 -07:00
Stan Wohlwend
fdd81956b1 Update error message 2024-08-10 09:45:47 -07:00
Stan Wohlwend
25a2b04dbd Allow Next.js version latest in package.json 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
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
dec7d7d74d fixed dropdown styles
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
2024-08-01 21:23:20 -07: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
Zai Shi
976e3919ba 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
2024-07-30 23:36:30 -07:00
Zai Shi
0392a7ca87 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-29 21:59:32 -07:00
Zai Shi
52e37a18ba
Server-side connected account (#159)
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 new connected account endpoint

* added server useTeams

* fixed bugs

* updated example

* fixed teams fetch bugs

* hide deprecated route
2024-07-30 06:45:15 +02:00
Zai Shi
2715ab4eef added color scheme to browser script
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
2024-07-29 09:06:53 -07:00
Stan Wohlwend
3f19b8c4e7 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
2024-07-28 06:42:58 -07:00
Stan Wohlwend
ec7e1c94ee Fix "forgot password" error 2024-07-28 06:27:41 -07:00
Stan Wohlwend
809f98dfce Fix sign up link 2024-07-28 06:21:49 -07:00
Stan Wohlwend
f21e17114a Fix password reset 2024-07-28 06:09:56 -07:00
Stan Wohlwend
51665a4162 OAuth callback no longer redirects to itself if things fail 2024-07-28 06:01:00 -07:00