200 Commits

Author SHA1 Message Date
Kasper Rynning-Tønnesen
6e380c5f5c Timeouts are nice 2020-04-17 16:29:19 +02:00
Kasper Rynning-Tønnesen
7aa47b08ad Fix automatic choser issue 2020-04-17 15:50:22 +02:00
Kasper Rynning-Tønnesen
cab623b3f7 url 2020-04-06 09:52:36 +02:00
Kasper Rynning-Tønnesen
4051c04c91 token -> gatewayTokeng 2020-04-06 09:42:19 +02:00
Kasper Rynning-Tønnesen
39c4d8f134 Generalized some functions 2020-04-06 09:36:33 +02:00
Kasper Rynning-Tønnesen
096dbdb2e6 MOre sms, and automatic choser 2020-04-06 09:36:20 +02:00
Kasper Rynning-Tønnesen
e6582983f2 Cleaned up a bit 2020-04-06 09:26:05 +02:00
Kasper Rynning-Tønnesen
062b01f784 Only 10 min 2020-04-04 01:06:29 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
119d52828f Also take country and price when adding wine. 2020-03-26 16:31:37 +01:00
Kasper Rynning-Tønnesen
cd5612c9b9 Better saving 2020-03-26 16:18:34 +01:00
Kasper Rynning-Tønnesen
4060b7409e Added more data from winner 2020-03-26 16:08:24 +01:00
Kasper Rynning-Tønnesen
7dfb14fa0f Added link to dagens in notifcation 2020-03-17 14:44:05 +01:00
9db73c8c01 Console logs should be more clear what it represents. 2020-03-17 12:15:28 +01:00
Kasper Rynning-Tønnesen
71a9f99e45 Fixed redis error, and added link on click on notifications 2020-03-17 11:30:29 +01:00
cda945ead8 Messages from io gets saved to redis in message list. Endpoint for clearing, should be called when a lottery is ended. 2020-03-17 01:05:26 +01:00
c893d7d870 Added redis. Chat io msg to redis list. 2020-03-17 01:03:47 +01:00
7a12c929aa Moved generator to a component RaffleGenerator.
Moved generator and added to virtuallottertyregistrationpage
Removed logic for generating random colors in backend.
2020-03-16 19:56:01 +01:00
1dea04b0b2 If no winner is found for color it redraws 3 times
Redraws three times if no winner is found.
Grammatical fixes.
2020-03-16 19:34:12 +01:00
Kasper Rynning-Tønnesen
81eeabfe42 Shuffling? 2020-03-14 14:43:56 +01:00
Kasper Rynning-Tønnesen
f398db4e42 Splitting more, added chat, and fancier draw-animations 2020-03-14 14:04:07 +01:00
Kasper Rynning-Tønnesen
35e736a9d9 Add update-event for winners/attendees 2020-03-13 17:13:04 +01:00
Kasper Rynning-Tønnesen
bfbfa5a8bc Fixed so io is being sent in a better manner, and listening on the same port as the rest 2020-03-13 17:02:28 +01:00
Kasper Rynning-Tønnesen
b35dd5a971 Much virtual many lotteries 2020-03-13 16:37:08 +01:00
410dfcca44 Forgot to login with passports req.logIn middleware. 2020-03-10 18:59:18 +01:00
a4960c41b1 /log/schema endpoint for getting prelottery schema template. 2020-03-10 00:23:49 +01:00
1ce0d02b72 Use new mustBeAuthenticated middleware. 2020-03-10 00:20:32 +01:00
9b7894ca7d Login and register pages uses api functions, new styling and better handling in backend. 2020-03-10 00:19:01 +01:00
43bf312007 Register page now uses api functions and can scan from vinmonopolet qr codes. Re-did formatting and styling on page. 2020-03-10 00:17:58 +01:00
Kasper Rynning-Tønnesen
72d67d862d Not crashing without configs anymore 2020-03-04 08:52:57 +01:00
Kasper Rynning-Tønnesen
6589425e54 Not crashing when not supplying push-data thingies 2020-03-02 13:33:44 +01:00
Kasper Rynning-Tønnesen
ac1e73ee09 pushing things I forgot 2020-02-21 09:54:16 +01:00
Kasper Rynning-Tønnesen
4287059361 Returning to not have pending requests 2020-02-14 16:00:10 +01:00
Kasper Rynning-Tønnesen
b8ca43abbf Push-notifications is fun 2020-02-14 15:14:17 +01:00
Kasper Rynning-Tønnesen
f22be970a5 Better links 2020-02-12 14:22:32 +01:00
Kasper Rynning-Tønnesen
2ad54103b1 All wines page 2020-02-07 17:01:12 +01:00
Kasper Rynning-Tønnesen
5d276df229 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-02-07 15:58:13 +01:00
Kasper Rynning-Tønnesen
c282f96b65 Added stolen functionality 2020-02-07 15:58:08 +01:00
d82c431af5 image and id 2020-02-07 14:51:44 +01:00
7e8075e803 Update schema with image and id 2020-02-07 14:50:54 +01:00
Kasper Rynning-Tønnesen
408ca2ba5d Scheduled job a bit more dynamic 2020-01-31 17:03:54 +01:00
Kasper Rynning-Tønnesen
9350c7647e Pushnotifications now 2020-01-31 16:13:14 +01:00
Kasper Rynning-Tønnesen
6a982610c8 Image? 2020-01-31 10:52:13 +01:00
Kasper Rynning-Tønnesen
20d3b6c4a6 more fun functions 2020-01-24 12:52:51 +01:00
Kasper Rynning-Tønnesen
79e72a106a Update login.js 2020-01-20 23:01:57 +01:00
Kasper Rynning-Tønnesen
da2429e60d Login-fixes 2020-01-20 16:45:30 +01:00
Kasper Rynning-Tønnesen
63a73588fb More login-stuff 2020-01-20 16:42:07 +01:00
Kasper Rynning-Tønnesen
51c2ee2a0e Working now 2020-01-20 16:07:40 +01:00
Kasper Rynning-Tønnesen
9b4f770ac6 Tingy 2020-01-17 16:32:56 +01:00
Kasper Rynning-Tønnesen
002cf71137 Router thingies! 2020-01-17 15:59:21 +01:00