Commit Graph
297 Commits
Author SHA1 Message Date
Karl Ludwig WeiseandGitHub 60844d6e40 Merge pull request #186 from open-reception/feat_add_channel_staff
Optionally set staff channel associations when creating or updating a…
2026-02-08 11:46:36 +01:00
Karl Ludwig WeiseandGitHub 9d12bc35d2 Merge pull request #195 from open-reception/189-staff-role-should-be-allowed-to-get-tenants-and-only-the-one-that-they-are-part-of-should-be-returned
tenants GET should return the tenant of a staff member, should be cal…
2026-02-08 11:45:38 +01:00
Hendrik Belitz b387469f8d tenants GET should return the tenant of a staff member, should be callable by all registered users. 2026-02-07 16:51:33 +01:00
Hendrik Belitz a2fc4e4d34 Format und type fixes 2026-02-07 11:39:13 +01:00
Karl Ludwig WeiseandGitHub f34d24f7b6 Merge pull request #192 from open-reception/190-FIX-Add-locale-to-appointment-decryoted
Add locale to encrypted appointment data
2026-02-03 11:25:53 +01:00
Karl Ludwig WeiseandGitHub 13ef6624e7 Merge pull request #191 from open-reception/187-FIX-Deny-has-no-endpoint
187 fix deny has no endpoint
2026-02-03 11:00:26 +01:00
Karl Ludwig WeiseandGitHub bcc2d78cdc Merge pull request #193 from open-reception/FIX_first_user_should_be_access_granted
First user of tenant gets access granted, regardless of role.
2026-02-03 10:58:32 +01:00
Hendrik Belitz 7d38db1ce1 Getters should also return staff id relations 2026-02-02 14:37:03 +01:00
Hendrik Belitz 97332c617a Added Cancellation Email template 2026-02-02 14:21:07 +01:00
Hendrik Belitz 3dea6d3121 Permission check 2026-02-02 14:09:10 +01:00
Hendrik Belitz 4ffc86d25d Deny endpoint 2026-02-02 14:05:53 +01:00
Hendrik Belitz 1f34ea6f72 Add locale to encrypted appointment data 2026-02-02 13:50:33 +01:00
Hendrik Belitz 128ca9bfc7 First user of tenant gets access granted, regardless of role. 2026-02-02 13:44:24 +01:00
Karl Ludwig WeiseandGitHub fe5309bfa0 Merge pull request #120 from open-reception/feat/custom-domains
Support Custom Domains
2026-01-28 21:38:06 +01:00
Hendrik Belitz c5d8d174aa Optionally set staff channel associations when creating or updating a channel. 2026-01-28 17:23:46 +01:00
16eed3d03e Added missing files and notes to docker container. (#185)
* Added missing files and notes to docker container.

Dev compose adjusted accordingly (but untested, since it isn't used yet).

Checked release action

* Removed e2e tests from release (not used yet)

* Added missing env vars for unit test

* Missing env

* Display version number

---------

Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
2026-01-28 16:48:12 +01:00
Karl Ludwig Weise 3f550af281 Added custom domains for tenants 2026-01-23 21:38:06 +01:00
Karl Ludwig Weise 7a23b5fecb Merge remote-tracking branch 'origin/main' into feat/custom-domains 2026-01-23 20:09:31 +01:00
75cdccf5d0 149 allow creation of appointments through staff members (#174)
* 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

* End routes for staff appointment bookings and check whether client exists.

* Merged main, fixed tests

* Linting errors

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 11:48:11 +01:00
a64afbd297 160 book appointment confirm appointment requests (#179)
* 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

* Mail templates appointment cancellation

* Appointment cancellation notification texts

* Delete appointment by staff

* Deletion endpoint for staff

* My Appointments endpoint for clients

* Delete appointment by client

* Copilot review fixes

* Fixes after notification changes and updates.

* Fixed limiting errors

* Rejection email template

* Send out request, confirmed notifications, send out confirmed, denied emails.

* Fix test

* MIgration files

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 11:39:12 +01:00
e9bd83bcd2 148 provide apis for cancelling appointments staff and client wise (#164)
* 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

* Mail templates appointment cancellation

* Appointment cancellation notification texts

* Delete appointment by staff

* Deletion endpoint for staff

* My Appointments endpoint for clients

* Delete appointment by client

* Copilot review fixes

* Fixes after notification changes and updates.

* Fixed limiting errors

* Fix

* Refix fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 11:28:35 +01:00
25f10462da Added salutation field (#183)
* Added salutation field

* Handle honeypot in backend

---------

Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
Co-authored-by: Hendrik Belitz <hendrik@innovation-through-understanding.de>
2026-01-22 11:28:17 +01:00
Karl Ludwig WeiseandGitHub 1fa1a07055 Update packages
Bump @sveltejs/kit from 2.25.2 to 2.50.0
2026-01-21 22:20:53 +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 b352ce4b48 Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/sveltejs/kit-2.49.5 2026-01-21 20:56:22 +01:00
Karl Ludwig WeiseandGitHub 4f017ce477 Merge pull request #175 from open-reception/153-book-appointment-allow-clients-to-select-if-they-want-email-notifications
Added front-end flow to make email sending optional
2026-01-21 20:02:38 +01:00
Karl Ludwig Weise b1f96bcf00 Separate github pr checks 2026-01-21 19:58:57 +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
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 fd7cfe00df Fix tenant database migrations 2026-01-16 16:20:32 +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