278d252e1e
When loading VirtualLottery we fetch default size of messages from /api/chat/history and append to local chatHistory.
#14
Kevin Midbøe2020-03-17 10:02:06 +01:00
cda945ead8
Messages from io gets saved to redis in message list. Endpoint for clearing, should be called when a lottery is ended.
KevinMidboe2020-03-17 01:05:26 +01:00
35e736a9d9
Add update-event for winners/attendees
Kasper Rynning-Tønnesen
2020-03-13 17:13:04 +01:00
3f832da6db
Guarding with SW and a dummy-text if there is no attendees
Kasper Rynning-Tønnesen
2020-03-13 17:09:45 +01:00
bfbfa5a8bc
Fixed so io is being sent in a better manner, and listening on the same port as the rest
Kasper Rynning-Tønnesen
2020-03-13 17:02:28 +01:00
b35dd5a971
Much virtual many lotteries
Kasper Rynning-Tønnesen
2020-03-13 16:37:08 +01:00
6463a53dd7
Winners use new inlineslot for better desktop formatting.
KevinMidboe2020-03-11 00:37:10 +01:00
b475cca803
Edit slot gets a wrapping container that sets up flex formatting of children.
KevinMidboe2020-03-11 00:36:41 +01:00
950a70d763
inlineSlot prop to have slot content displayed under other content on right side of wine image. For mobile components should width: 100% to expand out of this area for more explicit formatting.
KevinMidboe2020-03-11 00:29:54 +01:00
bfdae13364
Moved winner display from wine.vue to AllWinesPage and use slots.
KevinMidboe2020-03-11 00:27:46 +01:00
f283ac46e6
Merge branch 'master' of github.com:kevinmidboe/vinlottis
KevinMidboe2020-03-10 19:04:44 +01:00
056ae43733
Default color val is null, stricter localWinners statement.
KevinMidboe2020-03-10 19:03:22 +01:00
fc3b9d3eb5
If configs apiUrl not defined fallback to origin.
KevinMidboe2020-03-10 19:00:08 +01:00
410dfcca44
Forgot to login with passports req.logIn middleware.
KevinMidboe2020-03-10 18:59:18 +01:00
1411237b0b
Hacky import of bigInt for safari gets even hackier.
KevinMidboe2020-03-10 18:57:37 +01:00
7ff80ef475
Merge pull request #11 from KevinMidboe/refactor/everything
Kevin2020-03-10 10:23:30 +01:00
6c05a829ac
Use new api function and now tickets animate whenever input is changed.
KevinMidboe2020-03-10 00:23:09 +01:00
d04164280f
Dev config should also use create template.
KevinMidboe2020-03-10 00:21:45 +01:00
3cf3151677
New lottery.config property for setting api url.
KevinMidboe2020-03-10 00:21:16 +01:00
1ce0d02b72
Use new mustBeAuthenticated middleware.
KevinMidboe2020-03-10 00:20:32 +01:00
9b7894ca7d
Login and register pages uses api functions, new styling and better handling in backend.
KevinMidboe2020-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.
KevinMidboe2020-03-10 00:17:32 +01:00
72d67d862d
Not crashing without configs anymore
Kasper Rynning-Tønnesen
2020-03-04 08:52:57 +01:00
8adaac8066
hiding a console-error
Kasper Rynning-Tønnesen
2020-02-21 14:48:00 +01:00
edf29b57f5
Big S?
Kasper Rynning-Tønnesen
2020-02-21 14:41:50 +01:00
8b1d86bd9b
Moved some files around, improved how notifications are being requested, and improved activation and installation-flow of serviceworker
Kasper Rynning-Tønnesen
2020-02-21 14:36:27 +01:00
ac1e73ee09
pushing things I forgot
Kasper Rynning-Tønnesen
2020-02-21 09:54:16 +01:00
8585b85d79
Less errors
Kasper Rynning-Tønnesen
2020-02-19 16:54:16 +01:00
bcf8a3de63
Fixed issue where service-worker installing might crash the whole site
Kasper Rynning-Tønnesen
2020-02-19 16:50:37 +01:00
4287059361
Returning to not have pending requests
Kasper Rynning-Tønnesen
2020-02-14 16:00:10 +01:00