Thomas Ruoff
|
3a4a4ad0b0
|
send response last
|
2022-07-06 22:08:56 +02:00 |
|
Thomas Ruoff
|
f9e0a33f3b
|
more tweaking
|
2022-06-23 23:57:47 +02:00 |
|
Thomas Ruoff
|
634d460df1
|
add trigger route
|
2022-06-23 23:52:20 +02:00 |
|
Thomas Ruoff
|
8bb93b023a
|
fix log msg
|
2022-06-23 23:16:18 +02:00 |
|
Thomas Ruoff
|
00002a62d2
|
improve logging?
|
2022-06-23 22:43:00 +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
|
ce01da812d
|
use atlas integration env var
|
2022-06-21 22:07:43 +02:00 |
|
Thomas Ruoff
|
7f13a0063f
|
also add mail when user cancels
|
2022-04-08 00:04:37 +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
|
56478632e5
|
Tighten down sign in
Email: only from ADMIN_EMAIL
Github: only user tomru
|
2022-04-02 00:36:58 +02:00 |
|
Thomas Ruoff
|
cd58a535cb
|
remove unused var and import
|
2022-03-31 23:03:05 +02:00 |
|
Thomas Ruoff
|
da6e698ff9
|
set data is handled in patch method already
|
2022-03-31 22:58:08 +02:00 |
|
Thomas Ruoff
|
7697ee80ca
|
add error when patching failed
|
2022-03-17 23:23:16 +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
|
f1ff6b0a41
|
cache mongo client - not sure if it makes a diff 🤷
|
2021-12-08 23:51:09 +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
|
3d8662b54d
|
use nextauth secret from env
|
2021-11-21 01:13:42 +01:00 |
|
Thomas Ruoff
|
8dd0c7b9b2
|
add mongo adapter via mongoose
|
2021-10-27 00:49:12 +02: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
|
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
|
b6a1e45fcf
|
one api endpoint for admin/non-admin
|
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
|
a5f60c1114
|
log sending booking received mail
|
2020-11-10 22:48:15 +01:00 |
|
Thomas Ruoff
|
195da65cd9
|
remove *Document intefaces from FE code
|
2020-11-06 23:37:04 +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
|
b283ffe476
|
send mail when booking is confirmed or rejected
|
2020-11-03 21:50:12 +01:00 |
|
Thomas Ruoff
|
cb9932240d
|
add confirm and reject buttons to adming/booking
|
2020-11-02 23:25:00 +01:00 |
|
Thomas Ruoff
|
19c8bc7be2
|
move admin api to /admin
|
2020-11-02 22:44:27 +01:00 |
|
Thomas Ruoff
|
ecc3715f27
|
fix allow header for routes
|
2020-11-02 22:05:32 +01:00 |
|
Thomas Ruoff
|
e2aab12cdf
|
add email to customer as well
|
2020-10-26 23:43:39 +01:00 |
|
Thomas Ruoff
|
c55f8f8b3a
|
Admin page for bill wit iron-session (#13)
|
2020-10-22 00:40:09 +02:00 |
|
Thomas Ruoff
|
c396cdcbf9
|
further work on billing
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
ec1b2e9629
|
enable bill storing
|
2020-10-07 22:46:13 +02:00 |
|
Thomas Ruoff
|
2e73875d37
|
first stab on bill model
|
2020-10-07 22:46:13 +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
|
56c8263e90
|
firt attempt for an ics calendar
|
2020-09-18 00:53:10 +02:00 |
|
Thomas Ruoff
|
038e2b2420
|
another try to fix types for models
|
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
|
4b16e07985
|
further code improvements
|
2020-09-09 00:25:09 +02:00 |
|
Thomas Ruoff
|
52a68e9989
|
further typing improvements
|
2020-09-09 00:25:09 +02:00 |
|