* Added basic staff functions -wip
* Fix: Use proper route for staff member creation
* Fixed errors in confirm, invite and register routes.
* Also return invited staff members when getting staff members
* Updated error handling
* Allow global admin to add other global admins
* Sort staff members by name
* Added dummy implementation of granting access to staff members
* Render tenant logo, if set
* Fix delete
* Make invited but not confirmed user entries deletable.
* Added staff onboarding with passkey -wip
* Fix delete route
* Fix passkey setup flow for staff
* Fix lint
* Fix lint
* Fix some unit tests
* Updated docs
* Refactored staff-service, fixed tests
* Setup state db migrations
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
Co-authored-by: Hendrik Belitz <hendrik@innovation-through-understanding.de>
* Added public tenant api
* Moved public channels to their own endpoint and creator public api path
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
* Web workers for crypto functions. Crypto key storage in db.
* First prototype appointment service and api
* Basic flows für clients.
* Staff crypto
* Browser crypto functions
* Get appointments from a date range
* API docs
* Schedule API, fixed schedule errors
* Tests and bugfixes
* Formatting
* enhanced and unified Browser-Crypto-Utilities
trying to create a new tunnel when tenant has no users now results in an error.
user creation now has a confirmation state.
* Staff API, getting and updating tunnel data.
* Tests for staff endpoints
Fixed for confirmationState
Fixed tests
* Moved logic to staff service
* Moved logic to appoointment service
* calendar route for staff members. schedule route for clients.
* Fix client access to certain routes
* Update src/routes/api/tenants/[id]/staff/__tests__/staff-api.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/routes/api/tenants/[id]/staff/[staffId]/public-key/__tests__/public-key.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/routes/api/tenants/[id]/appointments/tunnels/add-staff-key-shares/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Security fixes for staff-crypto key retrieval.
* LInting errors
* DB Migrations
* Removed isEncrypted property
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* BUG fix. Refresh route should properly refresh the token and be callable when cookie token is no longer valid.
* Use old session id from old token for refresh. Refresh offset set to ten minutes.
* Added dashboard screens
* Fix lint
* Fix lint
* Fixed fetching user data on reload
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>