Commit Graph

63 Commits

Author SHA1 Message Date
Thomas Ruoff
1ef9b14e95 switch to prisma 2022-10-11 11:43:32 +02: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
Thomas Ruoff
2b4d8833b9 remove unused import 2020-10-07 22:46:13 +02:00
Thomas Ruoff
2e73875d37 first stab on bill model 2020-10-07 22:46:13 +02:00
Thomas Ruoff
02c2b45747 replace momentjs (incl. calendar) 2020-09-29 23:30:38 +02:00
Thomas Ruoff
7f4604f0e6 simplify description 2020-09-18 00:53:10 +02:00
Thomas Ruoff
52917f7bbd set name of calendar 2020-09-18 00:53:10 +02:00
Thomas Ruoff
826dd44726 improve ical 2020-09-18 00:53:10 +02:00
Thomas Ruoff
cd5fa56807 add url helper 2020-09-18 00:53:10 +02:00
Thomas Ruoff
56c8263e90 firt attempt for an ics calendar 2020-09-18 00:53:10 +02:00
Thomas Ruoff
90ac05a907 fix most type errors
still have a few things outstanding
2020-09-09 00:25:09 +02:00