Thomas Ruoff
|
32818b7492
|
update mongoose to 5.8.3 (lots of types changes)
|
2024-09-10 23:21:24 +02:00 |
|
Thomas Ruoff
|
87f2b57b24
|
deal with mongoose strict query
|
2022-12-26 00:27:38 +01:00 |
|
Thomas Ruoff
|
e21f04ee64
|
get db and calendar bookings in parallel
|
2022-08-23 00:33:29 +02:00 |
|
Thomas Ruoff
|
fdb7c53f16
|
create mongo conection of import
|
2022-06-27 22:39:44 +02:00 |
|
Thomas Ruoff
|
5691b595ad
|
Revert "use atlas integration env var"
This reverts commit ce01da812d.
|
2022-06-21 22:57:23 +02:00 |
|
Thomas Ruoff
|
35fd73280a
|
Revert "add retryWrites w=majority"
This reverts commit a1e49bf9e4.
|
2022-06-21 22:57:14 +02:00 |
|
Thomas Ruoff
|
a1e49bf9e4
|
add retryWrites w=majority
|
2022-06-21 22:42:48 +02:00 |
|
Thomas Ruoff
|
ce01da812d
|
use atlas integration env var
|
2022-06-21 22:07:43 +02:00 |
|
Thomas Ruoff
|
d96796ff68
|
fix typings
|
2022-05-17 22:06:12 +02:00 |
|
Thomas Ruoff
|
0cdee14d18
|
fix sending reject and confirmation mails
|
2022-04-08 00:04:37 +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
|
1fd922e362
|
fix tz issue when booking in non-utc time
|
2022-03-18 00:10:57 +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
|
33c5a91e68
|
add/delete entry in google calendar
|
2022-03-02 00:02:10 +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
|
8dd0c7b9b2
|
add mongo adapter via mongoose
|
2021-10-27 00:49:12 +02:00 |
|
Thomas Ruoff
|
01d41a8036
|
fix types on models
|
2021-10-27 00:49:12 +02:00 |
|
Thomas Ruoff
|
d52d967d1c
|
fix fetch bookings
|
2021-09-09 10:39:07 +02:00 |
|
Thomas Ruoff
|
9958353784
|
sort bookings decending
|
2021-09-09 10:19:07 +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
|
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
|
2174885f5a
|
fix days validation on updating booking
days validation needs to ignore own days
|
2021-02-27 23:51:44 +01:00 |
|
Thomas Ruoff
|
e84d6549a0
|
make sure to generate just a single bill
|
2021-02-27 23:15:52 +01:00 |
|
Thomas Ruoff
|
2a5c9b8638
|
fix double booked day validation
|
2020-12-23 23:38:53 +01:00 |
|
Thomas Ruoff
|
b723fc5660
|
fix type errors hopefully *fingerscrossed*
|
2020-12-23 16:49:43 +01:00 |
|
Thomas Ruoff
|
c7cd252506
|
make getBookings parametrizable
|
2020-11-23 23:48:38 +01:00 |
|
Thomas Ruoff
|
10ed86e61f
|
apply same for min in schema dates
|
2020-11-09 22:55:11 +01:00 |
|
Thomas Ruoff
|
cd6ae123bb
|
daysbooked in timezone Europe/Berlin
|
2020-11-09 22:51:19 +01:00 |
|
Thomas Ruoff
|
650a7374ff
|
add phone
|
2020-11-08 23:04:14 +01:00 |
|
Thomas Ruoff
|
088ca3ea5b
|
use strings for startDate endDate
all the way to the FE
|
2020-11-06 23:52:00 +01:00 |
|
Thomas Ruoff
|
195da65cd9
|
remove *Document intefaces from FE code
|
2020-11-06 23:37:04 +01:00 |
|
Thomas Ruoff
|
c52e3bf921
|
add useCreateIndex to mongo connection
|
2020-11-02 22:04:26 +01:00 |
|
Thomas Ruoff
|
3d29e76b9a
|
populate days on save
|
2020-10-30 23:57:40 +01:00 |
|
Thomas Ruoff
|
9a4d55a3e2
|
fix error when no bill was found
|
2020-10-10 00:45:50 +02:00 |
|
Thomas Ruoff
|
396e4b0a86
|
use fixed tarifs and add additional costs
|
2020-10-10 00:39:29 +02:00 |
|
Thomas Ruoff
|
a0cf63dcdc
|
default to max milage found for a new bill
|
2020-10-08 00:35:21 +02:00 |
|
Thomas Ruoff
|
48c9fc9301
|
add free of charge rate
|
2020-10-08 00:17:29 +02:00 |
|
Thomas Ruoff
|
64029ec06a
|
fix rates enum name
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
c396cdcbf9
|
further work on billing
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
f8434233d9
|
further work on bills
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
ec1b2e9629
|
enable bill storing
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
df6ec51af9
|
small change on bill schema
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
bf2ae41a4d
|
fix enum
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
367a16fabb
|
remove obsolete existence check for milageStart/End
|
2020-10-07 22:46:13 +02:00 |
|