Commit Graph

142 Commits

Author SHA1 Message Date
Thomas Ruoff
cd58a535cb remove unused var and import 2022-03-31 23:03:05 +02:00
Thomas Ruoff
da6e698ff9 set data is handled in patch method already 2022-03-31 22:58:08 +02:00
Thomas Ruoff
c65d8df853 emm - use string instead of date for start/endDate 2022-03-30 23:56:08 +02:00
Thomas Ruoff
7697ee80ca add error when patching failed 2022-03-17 23:23:16 +01:00
Thomas Ruoff
d9cd2af314 extract patch booking to db 2022-03-14 23:55:49 +01:00
Thomas Ruoff
ef7f80fd92 address breaking changes 2022-03-14 23:55:49 +01:00
Thomas Ruoff
36f8719531 prettier all the things 2022-03-02 00:02:10 +01:00
Thomas Ruoff
f1ff6b0a41 cache mongo client - not sure if it makes a diff 🤷 2021-12-08 23:51:09 +01:00
Thomas Ruoff
31c6a7972d fix auth for all admin pages 2021-12-08 23:51:09 +01:00
Thomas Ruoff
73bb989ca7 fix db conn for nextauth 2021-12-08 23:51:09 +01:00
Thomas Ruoff
893896cf31 adopt to mongodb adapter changes 2021-12-08 23:51:09 +01:00
Thomas Ruoff
d7f073cb1d add thanks, fix link 2021-11-21 23:33:14 +01:00
Thomas Ruoff
dff82e1875 add Layout where missing 2021-11-21 23:33:04 +01:00
Thomas Ruoff
627f31c65c improve booked styling a bit 2021-11-21 23:05:11 +01:00
Thomas Ruoff
3d8662b54d use nextauth secret from env 2021-11-21 01:13:42 +01:00
Thomas Ruoff
dea324044e adjust links 2021-11-20 23:34:42 +01:00
Thomas Ruoff
26e4679827 remove loads of styles in favor of inline styles 2021-11-10 23:45:17 +01:00
Thomas Ruoff
6d64e346af make wording regarding gas clearer 2021-11-07 23:25:12 +01:00
Thomas Ruoff
19981d15b6 remove width, let browser do it instead 2021-11-07 23:24:52 +01:00
Thomas Ruoff
ef27cf95a4 fix typo 2021-11-07 23:12:40 +01:00
Thomas Ruoff
41c27446df change content 2021-10-28 23:29:41 +02:00
Thomas Ruoff
8dd0c7b9b2 add mongo adapter via mongoose 2021-10-27 00:49:12 +02:00
Thomas Ruoff
0e84945ab4 rip out all old auth data 2021-10-06 00:32:30 +02:00
Thomas Ruoff
b257bc8258 move to next-auth 2021-10-06 00:32:30 +02:00
Thomas Ruoff
718ed41f8d rename api end url to bookings 2021-06-21 23:41:38 +02:00
Thomas Ruoff
3babb39ec2 full date on admin booking list 2021-06-21 23:25:27 +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
55c680b1d0 set lang and turn on hyphens 2021-06-19 00:47:42 +02:00
Thomas Ruoff
946a5cfb2f fix price table size 2021-06-19 00:23:26 +02:00
Thomas Ruoff
9024310ce0 move login and add logout 2021-06-16 23:36:28 +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
dbe3904759 move contexts all out in own toplevel dir
- rename wizard to book
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
95a9e48048 bump next-mdx-remote 2021-05-18 23:30:30 +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
9fe3fffb86 infer return type of functions 2021-03-22 23:14:48 +01:00
Thomas Ruoff
ecb71f54e7 extract layout and apply to all pages 2021-03-13 00:16:07 +01:00
Thomas Ruoff
cf4a539ac5 Remove obsolete stuff from terms 2021-03-12 23:51:47 +01:00
Thomas Ruoff
9e3f745581 update email 2021-01-09 22:52:41 +01:00
Thomas Ruoff
9858ce6a5c add prices page 2020-12-29 22:48:17 +01:00
Thomas Ruoff
f26e995edb add button for bill to admin/booking 2020-12-29 22:45:22 +01:00
Thomas Ruoff
bb5f94491f inspect path by breadcrumbs 2020-12-29 22:45:22 +01:00
Thomas Ruoff
9206bcdeeb fix casing on impressum 2020-12-24 00:05:40 +01:00
Thomas Ruoff
d4becfb1ff remove crazy width restriction 2020-12-24 00:05:23 +01:00
Thomas Ruoff
89e0993618 fist version of terms 2020-12-23 16:22:14 +01:00
Thomas Ruoff
05ff9b4f93 add missing "des" in landing page 2020-12-11 00:02:45 +01:00
Thomas Ruoff
a41f502c6d complete privacy and impressum 2020-12-10 23:55:08 +01:00
Thomas Ruoff
93a16e39d0 first version of privacy statement 2020-12-10 00:09:10 +01:00