Commit Graph

40 Commits

Author SHA1 Message Date
Thomas Ruoff
2fd3a47e72 move Layout into _app.tsx 2022-09-12 21:36:09 +02:00
Thomas Ruoff
89c4eb6ba3 show all booking data in admin table 2022-08-23 00:21:46 +02:00
Thomas Ruoff
b9f116e83e fix linting? 2022-06-23 22:43:00 +02:00
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
ce72f517f2 remove unneeded stuff 2022-04-02 00:36:58 +02:00
Thomas Ruoff
ba00c1a179 rename prop if a component requires authentication 2022-04-02 00:36:58 +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
36f8719531 prettier all the things 2022-03-02 00:02:10 +01:00
Thomas Ruoff
31c6a7972d fix auth for all admin pages 2021-12-08 23:51:09 +01:00
Thomas Ruoff
dff82e1875 add Layout where missing 2021-11-21 23:33:04 +01:00
Thomas Ruoff
26e4679827 remove loads of styles in favor of inline styles 2021-11-10 23:45:17 +01: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
9024310ce0 move login and add logout 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
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
d546e98ab2 many visual alignments 2020-11-26 00:38:34 +01:00
Thomas Ruoff
4801525dc4 fix bill page empty 2020-11-25 23:48:19 +01:00
Thomas Ruoff
4db3eadaeb add an admin overview page 2020-11-23 23:49:13 +01:00
Thomas Ruoff
91f00dd818 fix function name for Login 2020-11-23 23:48:02 +01:00
Thomas Ruoff
c232a20835 use dateRange formatter in FE 2020-11-07 00:44:31 +01:00
Thomas Ruoff
e80c095770 show booking date range on admin booking page 2020-11-06 23:59:21 +01:00
Thomas Ruoff
195da65cd9 remove *Document intefaces from FE code 2020-11-06 23:37:04 +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
acf0366d9b add calendar to admin booking page 2020-11-03 21:06:05 +01:00
Thomas Ruoff
cb9932240d add confirm and reject buttons to adming/booking 2020-11-02 23:25:00 +01:00
Thomas Ruoff
8c252cca2b make getBookingStatus work without a booking 2020-11-02 23:24:30 +01:00
Thomas Ruoff
19c8bc7be2 move admin api to /admin 2020-11-02 22:44:27 +01:00
Thomas Ruoff
aa2c9a9cab set for correctly on labels 2020-10-31 00:15:48 +01:00
Thomas Ruoff
7d40ffd1da workaround for build error 2020-10-29 22:17:29 +01:00
Thomas Ruoff
84026c2576 extract getServerSideBooking 2020-10-28 23:35:31 +01:00
Thomas Ruoff
c55f8f8b3a Admin page for bill wit iron-session (#13) 2020-10-22 00:40:09 +02:00