Commit Graph

27 Commits

Author SHA1 Message Date
Thomas Ruoff
00002a62d2 improve logging? 2022-06-23 22:43:00 +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
c65d8df853 emm - use string instead of date for start/endDate 2022-03-30 23:56:08 +02:00
Thomas Ruoff
ef7f80fd92 address breaking changes 2022-03-14 23:55:49 +01:00
Thomas Ruoff
1fff2457f7 fix calendar auth 2022-03-14 22:32:16 +01:00
Thomas Ruoff
5c293eb973 fix reading credentials 2022-03-14 13:23:51 +01:00
Thomas Ruoff
36f8719531 prettier all the things 2022-03-02 00:02:10 +01:00
Thomas Ruoff
33c5a91e68 add/delete entry in google calendar 2022-03-02 00:02:10 +01:00
Thomas Ruoff
b257bc8258 move to next-auth 2021-10-06 00:32:30 +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
9024310ce0 move login and add logout 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
9fe3fffb86 infer return type of functions 2021-03-22 23:14:48 +01:00
Thomas Ruoff
e929a6a1f3 read password from env 2020-11-24 00:09:41 +01:00
Thomas Ruoff
4db3eadaeb add an admin overview page 2020-11-23 23:49:13 +01:00
Thomas Ruoff
71c16a289d clean up type mess in SSR functions 2020-11-06 22:51:56 +01:00
Thomas Ruoff
7ee9803adc make isAdminSession usable by api routes 2020-11-04 00:33:35 +01:00
Thomas Ruoff
1dfd1f1f8b add a proper login page 2020-11-04 00:14:29 +01:00
Thomas Ruoff
19c8bc7be2 move admin api to /admin 2020-11-02 22:44:27 +01:00
Thomas Ruoff
d440d0e07e add bill to booking if there 2020-11-02 22:43:59 +01:00
Thomas Ruoff
84026c2576 extract getServerSideBooking 2020-10-28 23:35:31 +01:00
Thomas Ruoff
9b3ea665f9 fix type warning in session 2020-10-28 23:33:29 +01:00
Thomas Ruoff
c55f8f8b3a Admin page for bill wit iron-session (#13) 2020-10-22 00:40:09 +02:00
Thomas Ruoff
793b499c76 move rest into pages 2020-08-01 16:05:58 +02:00
Thomas Ruoff
a26e58b43e add dateFormat helper 2020-07-29 00:00:42 +02:00
Thomas Ruoff
518b437d14 more hacking 2020-07-26 00:13:05 +02:00