Commit Graph

17 Commits

Author SHA1 Message Date
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