Thomas Ruoff
d63ded8c6a
migrate auth from next-auth to better-auth with magic link support
...
Replace next-auth with better-auth, adding magic link email login as
the primary auth method and GitHub OAuth as an optional social provider.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 21:19:37 +01:00
Thomas Ruoff
8566290807
update date-fns finally
2025-05-05 22:52:23 +02:00
Thomas Ruoff
cebbebf5df
fix types in array helper
2025-04-01 22:14:34 +02:00
Thomas Ruoff
08398bd5a6
update eslint
2025-03-31 22:30:40 +02:00
Thomas Ruoff
d5ac2f09dc
remove all bill related stuff
2025-03-26 23:14:35 +01:00
Thomas Ruoff
219881810d
more work on auth
2024-09-13 22:55:10 +02:00
Thomas Ruoff
af3262e55e
cookie's now only used under /admin
2024-09-11 23:44:31 +02:00
Thomas Ruoff
32818b7492
update mongoose to 5.8.3 (lots of types changes)
2024-09-10 23:21:24 +02:00
Thomas Ruoff
2c4e0bfd71
use TLS for smtp transport
2022-12-23 00:21:00 +01:00
Thomas Ruoff
28b3b03279
use nodemailer instead of sendgrid
2022-12-22 23:38:32 +01:00
Thomas Ruoff
d89f9a8825
endDate is exclusive for allday events
2022-07-06 22:50:44 +02:00
Thomas Ruoff
dc3c0da9dd
fix log message when sending
2022-06-23 23:16:34 +02:00
Thomas Ruoff
00002a62d2
improve logging?
2022-06-23 22:43:00 +02:00
Thomas Ruoff
942066bc7a
Attempt to improve unsent mail
2022-06-23 22:43:00 +02:00
Thomas Ruoff
7f13a0063f
also add mail when user cancels
2022-04-08 00:04:37 +02:00
Thomas Ruoff
3c4f0efdc2
fix all the formatting
2022-04-02 00:42:25 +02:00
Thomas Ruoff
c31448ff9c
also get booked days from calendar
2022-04-01 00:15:36 +02:00
Thomas Ruoff
78e575aa84
remove unused import
2022-03-31 23:02:26 +02:00
Thomas Ruoff
59aea7f8af
fix date conversion in bookings api
2022-03-31 22:57:47 +02:00
Thomas Ruoff
c65d8df853
emm - use string instead of date for start/endDate
2022-03-30 23:56:08 +02:00
Thomas Ruoff
0d0afb91b0
fix types: patch allows partial type
2022-03-18 00:17:38 +01:00
Thomas Ruoff
1fd922e362
fix tz issue when booking in non-utc time
2022-03-18 00:10:57 +01:00
Thomas Ruoff
36f8719531
prettier all the things
2022-03-02 00:02:10 +01:00
Thomas Ruoff
718ed41f8d
rename api end url to bookings
2021-06-21 23:41:38 +02:00
Thomas Ruoff
9f3b6bb2e1
remover booker, that's overdosed
...
It also brings the problem of consolidating bookers over multiple
bookings. The amount of data is not justifying having it in an own
entity
2021-06-21 23:21:23 +02:00
Thomas Ruoff
b6a1e45fcf
one api endpoint for admin/non-admin
2021-06-16 23:36:28 +02:00
Thomas Ruoff
498f212ee0
use types instead of interfaces
2021-06-16 23:36:28 +02:00
Thomas Ruoff
92477e5325
move CRUD operations to helpers
2021-06-16 23:36:28 +02:00
Thomas Ruoff
d6e1f84363
rename to mdComponents
2021-04-12 23:52:51 +02:00
Thomas Ruoff
9c4194df02
use mdx for privacy, impressum, terms
2021-04-06 00:28:19 +02:00
Thomas Ruoff
c559a0cde8
fix ts-ignore necessity
2021-03-23 22:57:12 +01:00
Thomas Ruoff
9fe3fffb86
infer return type of functions
2021-03-22 23:14:48 +01:00
Thomas Ruoff
460510e52b
add retry for sending mail *sigh*
2020-11-11 23:24:43 +01:00
Thomas Ruoff
7630f56b70
only use VERCEL_URL when SITE_URL is missing
2020-11-11 00:02:59 +01:00
Thomas Ruoff
1b165ee0cf
fix another ts build error
2020-11-10 00:30:40 +01:00
Thomas Ruoff
11e5f02aae
fix ts build error that seems mysteric
2020-11-10 00:28:40 +01:00
Thomas Ruoff
eef34c6eaf
attach cal entry to mail
2020-11-10 00:22:17 +01:00
Thomas Ruoff
cd6ae123bb
daysbooked in timezone Europe/Berlin
2020-11-09 22:51:19 +01:00
Thomas Ruoff
bd32cfb90b
enrich description in calendar
2020-11-08 23:10:18 +01:00
Thomas Ruoff
0f518138cc
change link to admin in ical
2020-11-08 23:04:35 +01:00
Thomas Ruoff
eeb8beba0a
show booking date in mails
2020-11-07 00:38:29 +01:00
Thomas Ruoff
195da65cd9
remove *Document intefaces from FE code
2020-11-06 23:37:04 +01:00
Thomas Ruoff
ecfa0c2c06
slight reject mail adjustments
2020-11-04 00:42:14 +01:00
Thomas Ruoff
b283ffe476
send mail when booking is confirmed or rejected
2020-11-03 21:50:12 +01:00
Thomas Ruoff
0a75eb0404
extract non-interactive calendar
2020-11-03 21:05:47 +01:00
Thomas Ruoff
8c252cca2b
make getBookingStatus work without a booking
2020-11-02 23:24:30 +01:00
Thomas Ruoff
e2aab12cdf
add email to customer as well
2020-10-26 23:43:39 +01:00
Thomas Ruoff
ef4d9e6ff1
pull emails from env vars
2020-10-26 22:59:02 +01:00
Thomas Ruoff
a5b47a7311
add booking status to bill
2020-10-10 01:01:46 +02:00
Thomas Ruoff
396e4b0a86
use fixed tarifs and add additional costs
2020-10-10 00:39:29 +02:00