Karl Ludwig Weise and GitHub
8d83ca0ee3
Merge pull request #109 from open-reception/108-api-should-allow-pausingunpausing-a-channel
...
Names in channel update schema should be an optional property
2025-10-15 18:15:49 +02:00
Hendrik Belitz
583cb56670
Names in channel update schema should be an optional property
2025-10-15 17:34:30 +02:00
65856b571f
Bump nodemailer from 7.0.3 to 7.0.7 ( #104 )
...
Bumps [nodemailer](https://github.com/nodemailer/nodemailer ) from 7.0.3 to 7.0.7.
- [Release notes](https://github.com/nodemailer/nodemailer/releases )
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodemailer/nodemailer/compare/v7.0.3...v7.0.7 )
---
updated-dependencies:
- dependency-name: nodemailer
dependency-version: 7.0.7
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 10:59:08 +02:00
Karl Ludwig Weise and GitHub
fab3c73b97
Merge pull request #105 from open-reception/dependabot/npm_and_yarn/devalue-5.3.2
...
Bump devalue from 5.1.1 to 5.3.2
2025-10-13 20:13:57 +02:00
0a0703f181
Added ui to manage absences ( #98 )
...
* Added ui to manage absences
* Added test for new endpoint
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-10-13 12:58:42 +02:00
dependabot[bot] and GitHub
d983eca3d8
Bump devalue from 5.1.1 to 5.3.2
...
Bumps [devalue](https://github.com/sveltejs/devalue ) from 5.1.1 to 5.3.2.
- [Release notes](https://github.com/sveltejs/devalue/releases )
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/devalue/compare/v5.1.1...v5.3.2 )
---
updated-dependencies:
- dependency-name: devalue
dependency-version: 5.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-13 09:15:30 +00:00
6c63ac3c80
Fetch tenant ( #101 )
...
* Fetch tenant
* Update src/routes/api/tenants/[id]/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/routes/api/tenants/[id]/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Column rename
* Fixed tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-12 15:08:32 +02:00
d69d0a5b73
Fix editing channels with slot templates ( #97 )
...
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-10-11 13:12:33 +02:00
Hendrik Belitz
7f1fee52d0
Removed default value (not needed, breaks typings)
2025-10-09 10:18:59 +02:00
Hendrik Belitz
b739fa0d2b
Fixed db schema, removed constraints that referenced a table in another db
2025-10-07 19:43:25 +02:00
Hendrik Belitz
988707fc78
DO not reset global admin to confirmed.
2025-10-07 19:25:56 +02:00
Hendrik Belitz
179f6d2808
Added missing existance check
2025-10-07 18:37:30 +02:00
Hendrik Belitz
8ae28d283c
Merge branch 'main' of github.com:open-reception/appointment-booking-software
2025-10-07 18:32:21 +02:00
Hendrik Belitz
bdc157bda6
Set access-granted for global admin.
2025-10-07 18:32:13 +02:00
c292538dc2
Feat/channels ( #94 )
...
* Added channels dashboard ui
* Fix lint
* Fix tests
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-10-06 13:40:24 +02:00
86b2b0f869
Added error page ( #96 )
...
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-10-06 11:52:11 +02:00
4572352341
Client and staff access to appointments and schedules ( #90 )
...
* 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 >
2025-10-05 15:49:11 +02:00
Hendrik and GitHub
636ff6dd0b
Fix/channel is public api ( #93 )
...
* Channel pause
* Fix tenant config GET
* Fixed test
2025-10-05 15:42:43 +02:00
5965fada38
Make descriptions multilingual ( #89 )
...
* Make descriptions multilingual
* Format and test fixes
* Update src/lib/server/db/tenant-schema.ts
* Fix tenant-switcher to update instantly
* Fix sql migrations for description
* Add languages to tenant table
* Fix tenant schema
* Use objects for translated fields
* Fix format
* Fix lint
* Allow longer descriptions for channels
* Field Localizations are based on tenant locales not supportedLocales
* Fix agent image list preview
* Improve language tab keyboard navigation
* Fix falsy redirect after store init
---------
Co-authored-by: Karl Ludwig Weise <office@ludwigweise.de >
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-10-01 18:43:01 +02:00
Karl Ludwig Weise and GitHub
d2cc794aec
Fix: First user on setup is global admin ( #91 )
2025-09-30 16:37:04 +02:00
Hendrik and GitHub
c2e662cc15
Update new access token in session table after switching tenants. ( #87 )
...
* Update new access token in session table after switching tenants.
* Fixed session might be undefined
* Image should be nullable when creating or updating an agent or uploading tenant logos.
2025-09-26 10:57:41 +02:00
Karl Ludwig Weise and GitHub
838e724351
Feat/agents ( #83 )
2025-09-25 17:10:44 +02:00
Hendrik and GitHub
b1a045c7f5
Bugfix/drizzle no longer uses migration hashes ( #84 )
...
* Let drizzle handle migration decisions.
* Make sure initial admin is a global admin
* Formatting
2025-09-22 15:45:14 +02:00
e486072ffa
Refactor/error and api handling ( #82 )
...
* DB migrations
* Format errors in migrations
* Implemented new error and permission handling.
* Updated and fixed tests
* Update src/routes/api/tenants/[id]/appointments/[appointmentId]/cancel/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/routes/api/tenants/[id]/agents/[agentId]/absences/[absenceId]/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/routes/api/tenants/[id]/channels/+server.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fixed test
* Added error constants
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-18 15:04:06 +02:00
ae0a54a4c4
Added more bff errors to show what is going on ( #81 )
...
* Added more bff errors to show what is going on
* Review changes
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-15 16:23:38 +02:00
Hendrik and GitHub
629351d6fa
Scheduling api ( #68 )
...
* Additions for agent absencies and appointments. Schedule determination.
* Scheduling tests. Agent and appointment tests.
* Absence and Agent APIs
* Linting
* Appointment API (staffing side)
* LInting and fixed tests
* Centralised permission check
* Permission refactorings, session bugfixes
* Test fixes (first part)
* Test fixes
* Fixed type
* Linting fixes
* Fixed tests
* Formatting
* Data schema changes
* Adaptions to last merges and changes
* Incorporated changes as discussed in weekly
* Test fix
2025-09-15 16:22:41 +02:00
fd8990e258
Properly detect locale ( #80 )
...
* Properly detect locale
* Fix test
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-12 16:28:58 +02:00
Karl Ludwig Weise and GitHub
9e6dfe7b5e
Feat/tenants ( #74 )
2025-09-12 16:20:02 +02:00
dc598a5146
Autosubmit login form on adding passkey ( #78 )
...
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-11 12:18:37 +02:00
Karl Ludwig Weise and GitHub
ff315072e3
Merge pull request #77 from open-reception/60-autogenerate-main-database-for-initial-setup
...
60 - Generate and migrate central database on startup if needed. Adde…
2025-09-09 17:58:10 +02:00
Hendrik Belitz
c1e1e5b681
Check tenant shortname according to valid input pattern on creation and edit.
2025-09-08 16:32:50 +02:00
Hendrik Belitz
eaaa590748
60 - Generate and migrate central database on startup if needed. Added informational logging to the migration services.
2025-09-08 16:16:39 +02:00
Hendrik and GitHub
94e20ca9aa
BUG fix. Refresh route should properly refresh the token and be calla… ( #69 )
...
* 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.
2025-09-08 11:36:11 +02:00
Hendrik and GitHub
22dc3e71d6
71 implemented delete tenant route ( #73 )
...
* 71 implemented delete tenant route
* Fixed test
2025-09-08 10:35:47 +02:00
Karl Ludwig Weise and GitHub
e343c16c46
Merge pull request #70 from open-reception/67-add-tenant-should-return-errors-for-shortname-or-email-already-in-use
...
67 - Refactored backend errors, added additional guards for tenant cr…
2025-09-07 20:18:19 +02:00
Hendrik Belitz
ea5a7e50ce
67 - Refactored backend errors, added additional guards for tenant creation
2025-09-07 15:51:54 +02:00
1d4d8b888e
Fix/auth fixes ( #66 )
...
* Fix session refresh
* Hardened passkey implementation
* Go to logout if session cannot be retrieved
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-02 15:54:48 +02:00
bf610cac2b
Change prettier settings ( #65 )
...
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-01 17:47:46 +02:00
Karl Ludwig Weise
5d73b02ac2
Fix list style in dashboard nav in chrome
2025-09-01 17:31:28 +02:00
6fd217b4e3
Feat/dashboard setup ( #63 )
...
* Added dashboard screens
* Fix lint
* Fix lint
* Fixed fetching user data on reload
---------
Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de >
2025-09-01 16:26:27 +02:00
Karl Ludwig Weise and GitHub
ee7ea1883a
Merge pull request #64 from open-reception/session_fix
...
Fix session expiration and tests
2025-09-01 15:59:54 +02:00
Hendrik Belitz
18df434b71
Type check fix
2025-09-01 15:55:53 +02:00
Hendrik Belitz
8796782d1d
Fix session expiration and tests
2025-09-01 15:47:51 +02:00
Hendrik and GitHub
55ae2fd2a7
Merge pull request #61 from open-reception/feat/admin-setup
...
Admin Setup
2025-08-29 12:57:59 +02:00
Karl Ludwig Weise
6d41808fec
Fix unit tests
2025-08-27 12:08:56 +02:00
Karl Ludwig Weise
16dd7205ef
Fix lint
2025-08-27 12:02:57 +02:00
Hendrik Belitz
8cd59ad9b5
Linting and formatting errors
2025-08-27 11:16:01 +02:00
Hendrik Belitz
7f71d5d83f
Fixed challenge string (needs to be base64url)
...
Fixed logout (needs credentials)
Fixed passkey counter (does not neccesarly work for browser/os based passkeys)
2025-08-27 10:16:11 +02:00
Hendrik Belitz
821b6cc5d2
Type corrections in unit test
2025-08-27 09:11:18 +02:00
Karl Ludwig Weise
5c1b365265
Made Passkey.State a Button to improve usability
2025-08-26 21:11:44 +02:00