Commit Graph

144 Commits

Author SHA1 Message Date
Thomas Ruoff
c231646190 disable selection of range over other bookings 2020-09-29 23:30:38 +02:00
Thomas Ruoff
898e6b8295 enable to select dates in calendar 2020-09-29 23:30:38 +02:00
Thomas Ruoff
928d6b3d4e fix typing error 2020-09-29 23:30:38 +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
5e2f83bc0f ics is the correct suffix 2020-09-18 00:53:10 +02:00
Thomas Ruoff
da0ee84974 fix content type for ical 2020-09-18 00:53:10 +02:00
Thomas Ruoff
826dd44726 improve ical 2020-09-18 00:53:10 +02:00
Thomas Ruoff
c136b2d2e1 popuplate booker when getting bookings 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
2b0cbe565f tailwind add removeDeprectatedGapUtilities 2020-09-17 23:22:13 +02:00
Thomas Ruoff
42e91c6f18 tailwind add purgeLayersByDefault 2020-09-17 23:22:13 +02:00
Thomas Ruoff
196c9b0e2e update dev deps 2020-09-17 23:12:02 +02:00
Thomas Ruoff
8a16f5f1fe update deps 2020-09-17 23:12:02 +02:00
Thomas Ruoff
ab6db69e87 rejuggle dev and regular deps 2020-09-17 23:12:02 +02:00
Thomas Ruoff
00d30a4459 throw custom ValidationError
contains an message formatter, displaying all messages concatinated.
2020-09-15 23:38:13 +02:00
Thomas Ruoff
e3a9da6efa improve server side validation error for double booking 2020-09-15 23:37:07 +02:00
Thomas Ruoff
e2e94d86a2 style error message better 2020-09-15 22:53:54 +02:00
Thomas Ruoff
9a0bf11749 add error notification next to send button 2020-09-14 23:25:18 +02:00
Thomas Ruoff
c081640eaa indicate loading daysBooked in calendar 2020-09-14 23:05:14 +02:00
Thomas Ruoff
b5742f389e add BookingBill model 2020-09-12 00:07:42 +02:00
Thomas Ruoff
17ca9e1ae4 make org, purpose, destination optional 2020-09-10 22:40:29 +02:00
Thomas Ruoff
feeec314d0 remove eslint 2020-09-10 22:38:46 +02:00
Thomas Ruoff
ec7fc60e4d move calendar, so it's not visible when stored 2020-09-09 00:44:31 +02:00
Thomas Ruoff
75969dc2ac add classnames types 2020-09-09 00:44:31 +02:00
dependabot[bot]
95b18c5a5e Bump bl from 2.2.0 to 2.2.1
Bumps [bl](https://github.com/rvagg/bl) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 00:32:04 +02:00
Thomas Ruoff
77a3410641 set min-width for all the things 2020-09-09 00:25:09 +02:00
Thomas Ruoff
eb82b9b292 render past days in gray 2020-09-09 00:25:09 +02:00
Thomas Ruoff
18337a7ac7 break start/end date fields together 2020-09-09 00:25:09 +02:00
Thomas Ruoff
8925a9ed7f style calendar a bit 2020-09-09 00:25:09 +02:00
Thomas Ruoff
451d0e2d78 re-use models when hot reloading 2020-09-09 00:25:09 +02:00
Thomas Ruoff
654b4d706c remove debugging output 2020-09-09 00:25:09 +02:00
Thomas Ruoff
038e2b2420 another try to fix types for models 2020-09-09 00:25:09 +02:00
Thomas Ruoff
82270e944c remove stale styles import 2020-09-09 00:25:09 +02:00
Thomas Ruoff
77323828c8 again fix children type /o\ 2020-09-09 00:25:09 +02:00
Thomas Ruoff
a03a837615 add booking status as calendar 2020-09-09 00:25:09 +02:00
Thomas Ruoff
b3c1b18e50 simplify date selection 2020-09-09 00:25:09 +02:00
Thomas Ruoff
f18fa3f4d8 handle 400 like 500 as errors 2020-09-09 00:25:09 +02:00
Thomas Ruoff
20c2a70206 fix label 2020-09-09 00:25:09 +02:00
Thomas Ruoff
b1b57abb52 use right type for input 2020-09-09 00:25:09 +02:00
Thomas Ruoff
7e284a6421 use correct type for children 2020-09-09 00:25:09 +02:00
Thomas Ruoff
ef4c8ce24a fix validation error 2020-09-09 00:25:09 +02:00
Thomas Ruoff
b92ff0e3d8 refactor form input fields 2020-09-09 00:25:09 +02:00
Thomas Ruoff
0ed66962ba fix return type of findBookingDays 2020-09-09 00:25:09 +02:00
Thomas Ruoff
62a0e79664 make findBookedDays a static of schema 2020-09-09 00:25:09 +02:00
Thomas Ruoff
cf92a69fa7 return 400 when validation fails 2020-09-09 00:25:09 +02:00
Thomas Ruoff
96060d1415 improve styling for bigger screens 2020-09-09 00:25:09 +02:00
Thomas Ruoff
aeb03f3330 make dates required 2020-09-09 00:25:09 +02:00