Commit Graph
219 Commits
Author SHA1 Message Date
Hendrik Belitz 37a7b0a1e0 Merge branch 'main' of github.com:open-reception/appointment-booking-software into 148-provide-apis-for-cancelling-appointments-staff-and-client-wise 2026-01-22 11:03:24 +01:00
Karl Ludwig Weise e23817fa31 Fix tests 2026-01-21 22:17:47 +01:00
Karl Ludwig Weise 85a0fed42b Fix check 2026-01-21 22:04:17 +01:00
Karl Ludwig Weise 214e201f21 Fix lint 2026-01-21 21:53:53 +01:00
Karl Ludwig Weise 9c86b28182 Undo svelte warnings 2026-01-21 21:22:07 +01:00
Karl Ludwig Weise 5500ea75c0 Fix lint 2026-01-21 19:58:41 +01:00
Karl Ludwig Weise 7504dd2ac1 Fix types 2026-01-21 19:50:15 +01:00
Hendrik Belitz 7435f8b6fb Allow client email to be optional 2026-01-21 17:30:13 +01:00
Hendrik Belitz 224d4a9539 Fixed test 2026-01-21 17:30:00 +01:00
Hendrik Belitz 652380c08c Fixed formatting 2026-01-21 17:29:53 +01:00
Hendrik Belitz df50955d8c Merge branch 'main' of github.com:open-reception/appointment-booking-software into 153-book-appointment-allow-clients-to-select-if-they-want-email-notifications 2026-01-21 17:16:10 +01:00
Hendrik Belitz a381e4e213 Fixed limiting errors 2026-01-20 17:38:40 +01:00
Hendrik Belitz 19c3ee519c Fixes after notification changes and updates. 2026-01-20 17:26:25 +01:00
Hendrik Belitz be05543415 Merge branch 'main' of github.com:open-reception/appointment-booking-software into 148-provide-apis-for-cancelling-appointments-staff-and-client-wise 2026-01-20 17:08:53 +01:00
Karl Ludwig Weise 9d34332921 Improved Login default state 2026-01-19 21:04:14 +01:00
Karl Ludwig Weise e570ecef51 Add confirm to prime user for PRF output retrieval 2026-01-19 20:51:18 +01:00
Karl Ludwig Weise 9e4094702d Only try to initStaffCrypto when user is regular staff member 2026-01-19 20:07:28 +01:00
Karl Ludwig Weise c2904659e4 Remove global admin from staff ui 2026-01-19 20:02:40 +01:00
Karl Ludwig Weise 1df02cb9f5 Minimize cases where the access_token is still set, but invalid 2026-01-19 16:40:20 +01:00
Karl Ludwig Weise 3bdf663f71 Improved hover state of channels and agents during booking 2026-01-16 16:58:51 +01:00
Karl Ludwig Weise 32fe5c7e42 Fix reloads during onboarding 2026-01-16 16:56:18 +01:00
Karl Ludwig Weise 76838eba29 Fix: Legal links in settings are optional 2026-01-16 16:45:25 +01:00
Karl Ludwig Weise eb47814395 Redact user and password from databaseUrl logs 2026-01-16 16:03:23 +01:00
Karl Ludwig Weise 95d0180c0b Added link to home from login 2026-01-16 15:47:49 +01:00
Karl Ludwig Weise ded98597fc Disable book appointment button, when in progress 2026-01-16 15:47:40 +01:00
Karl Ludwig Weise 1d83f8678b Set english as default language 2026-01-16 15:36:12 +01:00
Karl Ludwig Weise 0c0ef46989 Improve decrypting error message 2026-01-16 15:35:56 +01:00
Karl Ludwig Weise 439d1d198f Show proper label on settings form 2026-01-16 15:35:29 +01:00
Karl Ludwig Weise 65a9807ad8 Fix: Show language switch again on dashboard 2026-01-16 15:34:45 +01:00
Karl Ludwig Weise 86a3f27bf6 Fix pin throttle check 2026-01-16 13:39:42 +01:00
Karl Ludwig Weise 082435c1fb Added Popover to explain why checkbox is there 2026-01-16 12:59:59 +01:00
Karl Ludwig Weise f663f305c5 Change opt separator back to dot 2026-01-14 17:23:02 +01:00
Karl Ludwig Weise 9c2254215e Added front-end flow to make email sending optional 2026-01-14 17:19:54 +01:00
fb3b880204 142 provide logic and apis to use more than one passkey with a staff member (#163)
* Basic implementation

* Syntax fixes

* Implemented PRF for passkey administration. Updated docs, renamed confusing endpoints.

* Update src/routes/api/auth/passkeys/[passkeyId]/crypto/+server.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Removed unused param

* Merge fixes, formatting fixes, database migrations

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 18:35:42 +01:00
c552945643 141 provide apis for pin reset (#162)
* Simplified locals.user
Checked routes for accessibilty

* Fixed tests

* Fixed import errors

* Fixed invite test

* PIN API implementation

* Tests for pin reset

* HOusekeeping

* Update src/routes/api/tenants/[id]/clients/pin-reset/request/+server.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes for id and housekeeping

* DB migrations

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 18:17:42 +01:00
a6707ef081 151 bare minimum notification system (#161)
* Extension of tenant schema

* Notification service

* Notification endpoints

* Format errors

* Update src/lib/server/db/tenant-schema.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/lib/server/services/notification-service.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Explicit where clause in delete notification

* Update tenant-migrations/0008_neat_swarm.sql

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Sort notifivcations by creation date. Do not explicitly check for existance in mark as read.

* Fixed tests

* No longer store texts in notifications

* Single source of truth for notification types

* Formatting

* Fixed linting errors

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 18:05:32 +01:00
8c0343b1ec Feat/email renderer (#172)
* Added poc of new email renderer

* Completed email renderer poc for appointment confirmation

* Changed phone description in add-personal-data-form

* Added used email types to new email system

* Switched email templates to the new template engine.

---------

Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
Co-authored-by: Hendrik Belitz <hendrik@innovation-through-understanding.de>
2026-01-12 10:03:22 +01:00
Hendrik Belitz ca68df8d45 Copilot review fixes 2026-01-04 18:34:57 +01:00
Hendrik Belitz c71353de43 Delete appointment by client 2026-01-04 18:06:46 +01:00
Hendrik Belitz b923c3b7c7 My Appointments endpoint for clients 2026-01-04 17:48:15 +01:00
Hendrik Belitz 9aaef3f8aa Deletion endpoint for staff 2026-01-04 17:29:07 +01:00
Hendrik Belitz e89642db82 Delete appointment by staff 2026-01-04 17:28:17 +01:00
Hendrik Belitz c954535b43 Mail templates appointment cancellation 2026-01-04 17:24:55 +01:00
Hendrik Belitz e791889828 Fixed tests 2026-01-03 14:35:28 +01:00
Hendrik Belitz 95010b23fd Sort notifivcations by creation date. Do not explicitly check for existance in mark as read. 2026-01-03 14:31:20 +01:00
Hendrik Belitz 8c13f74560 Explicit where clause in delete notification 2026-01-03 14:27:32 +01:00
08bc747233 Update src/lib/server/services/notification-service.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-03 14:23:54 +01:00
c1e70b825e Update src/lib/server/db/tenant-schema.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-03 14:22:24 +01:00
Hendrik Belitz af9c43a3f6 Notification endpoints 2026-01-03 14:06:47 +01:00
Hendrik Belitz ccb1868d86 Notification service 2026-01-03 14:06:24 +01:00