Hendrik Belitz
00e4141ff8
Added error constants
2025-09-17 16:18:55 +02:00
Hendrik Belitz
f1be2e2c77
Merge branch 'refactor/error_and_api_handling' of github.com:open-reception/appointment-booking-software into refactor/error_and_api_handling
2025-09-16 17:20:47 +02:00
Hendrik Belitz
707d44aa7b
Fixed test
2025-09-16 17:20:45 +02:00
95b5c939a9
Update src/routes/api/tenants/[id]/channels/+server.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 16:10:56 +02:00
782bb788d0
Update src/routes/api/tenants/[id]/agents/[agentId]/absences/[absenceId]/+server.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 16:10:46 +02:00
e2467c97d3
Update src/routes/api/tenants/[id]/appointments/[appointmentId]/cancel/+server.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 16:10:28 +02:00
Hendrik Belitz
93cfa75fc7
Updated and fixed tests
2025-09-16 16:07:00 +02:00
Hendrik Belitz
f575f135ab
Implemented new error and permission handling.
2025-09-16 16:05:54 +02:00
Hendrik Belitz
ed0a2742df
Format errors in migrations
2025-09-16 14:47:16 +02:00
Hendrik Belitz
ff705adabe
DB migrations
2025-09-16 13:27:08 +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
Karl Ludwig Weise
93d6b00d94
Added login with passkey
2025-08-26 21:04:36 +02:00
Karl Ludwig Weise
94c9f59152
Cleanup
2025-08-26 15:08:09 +02:00
Karl Ludwig Weise
7b28ae8249
Fix form submission
2025-08-26 15:07:38 +02:00
Karl Ludwig Weise
fd3b657443
Cleanup and debugging, but no fix for form sending
2025-08-26 14:51:14 +02:00
Hendrik Belitz
9abea04803
Fix user service test
2025-08-22 18:08:56 +02:00
Hendrik Belitz
1b0ed692bd
Fixed passkey structure on creation
2025-08-22 17:54:56 +02:00
Hendrik Belitz
6f3fa786b9
Merge branch 'feat/admin-setup' of github.com:open-reception/appointment-booking-software into feat/admin-setup
2025-08-22 16:07:25 +02:00
Hendrik Belitz
3c206fcba7
Extract Counter against replay attacks
2025-08-22 16:07:20 +02:00
Karl Ludwig Weise
f76e9c9418
Cleanup
2025-08-22 16:05:45 +02:00
Karl Ludwig Weise
4c88574bbc
Adding setup with passkey -wip
2025-08-22 15:55:53 +02:00
Hendrik Belitz
91fb1fa115
Determine correct url for confirmation pages in mail templates.
2025-08-22 13:49:22 +02:00
Hendrik Belitz
151cbd5438
randomBytes import
2025-08-21 14:17:35 +02:00
Hendrik Belitz
78faa5f691
Allow /challenge to be called also for registration purposes.
2025-08-21 13:29:12 +02:00
Hendrik Belitz
e0ef05d405
Return isSetup flag on confirm route.
2025-08-20 11:42:17 +02:00