Commit Graph

  • 01833b4e66 Dagen link is more strict Kevin Midbøe 2020-03-20 13:57:02 +01:00
  • eb79522c22 Merge branch 'master' of github.com:KevinMidboe/vinlottis Kevin Midbøe 2020-03-20 13:47:53 +01:00
  • e51e6598a7 Added dagens fangst link to virtual lottery game page. Kevin Midbøe 2020-03-20 13:47:33 +01:00
  • 31e2c5001a Scrolling some and have a fixed header Kasper Rynning-Tønnesen 2020-03-20 12:17:25 +01:00
  • d1a50b74f6 Alignment is cool Kasper Rynning-Tønnesen 2020-03-20 11:17:19 +01:00
  • 49b4594f8f Kasper is also liable. Kevin 2020-03-17 15:33:35 +01:00
  • 5e72ca203f Merge branch 'master' of github.com:KevinMidboe/vinlottis Kevin Midbøe 2020-03-17 15:26:51 +01:00
  • 8977e3942e Info header for virtuallottery registration info. Kevin Midbøe 2020-03-17 15:26:41 +01:00
  • 636d6ccad2 Prettier timer and todays wines Kasper Rynning-Tønnesen 2020-03-17 15:24:28 +01:00
  • 7dfb14fa0f Added link to dagens in notifcation Kasper Rynning-Tønnesen 2020-03-17 14:44:05 +01:00
  • 9db73c8c01 Console logs should be more clear what it represents. Kevin Midbøe 2020-03-17 12:15:28 +01:00
  • 71a9f99e45 Fixed redis error, and added link on click on notifications Kasper Rynning-Tønnesen 2020-03-17 11:30:29 +01:00
  • d1ed8112bf Display date of message if not the same as today. Kevin Midbøe 2020-03-17 10:37:08 +01:00
  • 3ec5fb6e44 Merge pull request #14 from KevinMidboe/chat/history Kasper Rynning-Tønnesen 2020-03-17 10:26:40 +01:00
  • 278d252e1e When loading VirtualLottery we fetch default size of messages from /api/chat/history and append to local chatHistory. #14 Kevin Midbøe 2020-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. KevinMidboe 2020-03-17 01:05:26 +01:00
  • c893d7d870 Added redis. Chat io msg to redis list. KevinMidboe 2020-03-17 01:03:47 +01:00
  • a702e0761a Optional prop generateOnInit, used in virt reg page KevinMidboe 2020-03-16 20:00:13 +01:00
  • 7a12c929aa Moved generator to a component RaffleGenerator. KevinMidboe 2020-03-16 19:53:09 +01:00
  • 1dea04b0b2 If no winner is found for color it redraws 3 times KevinMidboe 2020-03-16 19:34:12 +01:00
  • 78752627ec Correct tracking Kasper Rynning-Tønnesen 2020-03-16 15:23:36 +01:00
  • 0afa60ca58 same line Kasper Rynning-Tønnesen 2020-03-16 14:58:16 +01:00
  • b3366c1739 Removed a log Kasper Rynning-Tønnesen 2020-03-16 13:52:16 +01:00
  • 08c5c40335 Tabs Kasper Rynning-Tønnesen 2020-03-16 13:48:57 +01:00
  • 569aa7ef9b Merge branch 'master' of github.com:KevinMidboe/vinlottis Kasper Rynning-Tønnesen 2020-03-16 12:50:54 +01:00
  • c8ee312310 Redirect to admin instead of update Kasper Rynning-Tønnesen 2020-03-16 12:50:17 +01:00
  • 2dbcda802d Downgraded zxing so we dont need to hackingly import BigInt when using safari. Kevin Midbøe 2020-03-16 10:25:33 +01:00
  • 65c2be0c47 Merge branch 'feat/online-lottery' Kasper Rynning-Tønnesen 2020-03-16 09:39:56 +01:00
  • 18b6e3a941 Socket-things Kasper Rynning-Tønnesen 2020-03-16 09:39:46 +01:00
  • a466d1548b Merge pull request #12 from KevinMidboe/feat/online-lottery Kasper Rynning-Tønnesen 2020-03-16 09:24:28 +01:00
  • 3055ea6ecc Tabs are cool #12 Kasper Rynning-Tønnesen 2020-03-16 09:23:44 +01:00
  • 81eeabfe42 Shuffling? Kasper Rynning-Tønnesen 2020-03-14 14:43:56 +01:00
  • f398db4e42 Splitting more, added chat, and fancier draw-animations Kasper Rynning-Tønnesen 2020-03-14 14:04:07 +01:00
  • 598bfb0460 Wines listing now spaces content with air. KevinMidboe 2020-03-13 19:57:12 +01:00
  • 5ebd15d14d Wine styling more predictable. KevinMidboe 2020-03-13 19:20:05 +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. KevinMidboe 2020-03-11 00:37:10 +01:00
  • b475cca803 Edit slot gets a wrapping container that sets up flex formatting of children. KevinMidboe 2020-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. KevinMidboe 2020-03-11 00:29:54 +01:00
  • bfdae13364 Moved winner display from wine.vue to AllWinesPage and use slots. KevinMidboe 2020-03-11 00:27:46 +01:00
  • f283ac46e6 Merge branch 'master' of github.com:kevinmidboe/vinlottis KevinMidboe 2020-03-10 19:04:44 +01:00
  • 056ae43733 Default color val is null, stricter localWinners statement. KevinMidboe 2020-03-10 19:03:22 +01:00
  • fc3b9d3eb5 If configs apiUrl not defined fallback to origin. KevinMidboe 2020-03-10 19:00:08 +01:00
  • 410dfcca44 Forgot to login with passports req.logIn middleware. KevinMidboe 2020-03-10 18:59:18 +01:00
  • 1411237b0b Hacky import of bigInt for safari gets even hackier. KevinMidboe 2020-03-10 18:57:37 +01:00
  • 7ff80ef475 Merge pull request #11 from KevinMidboe/refactor/everything Kevin 2020-03-10 10:23:30 +01:00
  • 78fb6f30de Desktop friendly styling for login and create pages. #11 Kevin Midbøe 2020-03-10 10:16:48 +01:00
  • 0fc7e65612 When setting colors from localstorage we set to null if value is 0. Kevin Midbøe 2020-03-10 10:16:32 +01:00
  • dd4875698c All v-for gets a key Kevin Midbøe 2020-03-10 10:15:53 +01:00
  • 6c22b0e54f Max width on mobile to keep two rows. KevinMidboe 2020-03-10 01:07:00 +01:00
  • 05d3530035 No need to remove localstorage item, and reload to reset everything. KevinMidboe 2020-03-10 01:06:47 +01:00
  • 203ca83202 Input elements in wine edit view now have label-div styling.. KevinMidboe 2020-03-10 01:00:05 +01:00
  • ebdaf4a4da Safari does not have BigInt implemented 🤯 KevinMidboe 2020-03-10 00:52:41 +01:00
  • e5319662b8 Chart functions moved to /api.js KevinMidboe 2020-03-10 00:50:55 +01:00
  • 035b129c9f Barcode library KevinMidboe 2020-03-10 00:50:35 +01:00
  • 20421afd4d Wine has bottom slot where components or ui elements can be injected. KevinMidboe 2020-03-10 00:28:42 +01:00
  • ded1b2a084 Vipps now uses __PRICE__ from env variables. KevinMidboe 2020-03-10 00:27:11 +01:00
  • 0a2cee479a Removed static definition of api endpoints, import from /api.js KevinMidboe 2020-03-10 00:26:49 +01:00
  • 386551baaf Moved label-div and button styling to global stylesheet. New primary color in variables. KevinMidboe 2020-03-10 00:25:55 +01:00
  • 54d9060f5f Include new wineinfo route. KevinMidboe 2020-03-10 00:24:33 +01:00
  • a4960c41b1 /log/schema endpoint for getting prelottery schema template. KevinMidboe 2020-03-10 00:23:49 +01:00
  • 6c05a829ac Use new api function and now tickets animate whenever input is changed. KevinMidboe 2020-03-10 00:23:09 +01:00
  • d04164280f Dev config should also use create template. KevinMidboe 2020-03-10 00:21:45 +01:00
  • 3cf3151677 New lottery.config property for setting api url. KevinMidboe 2020-03-10 00:21:16 +01:00
  • 1ce0d02b72 Use new mustBeAuthenticated middleware. KevinMidboe 2020-03-10 00:20:32 +01:00
  • 9b7894ca7d Login and register pages uses api functions, new styling and better handling in backend. KevinMidboe 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. KevinMidboe 2020-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
  • f28311a709 Merge branch 'master' of github.com:KevinMidboe/vinlottis Kasper Rynning-Tønnesen 2020-03-02 13:33:54 +01:00
  • 6589425e54 Not crashing when not supplying push-data thingies Kasper Rynning-Tønnesen 2020-03-02 13:33:44 +01:00
  • 286ecfad1b Removed greenkeeper badge Kevin 2020-03-02 13:19:35 +01:00
  • 45c994d473 Update README.md Kevin 2020-02-28 15:36:20 +01:00
  • 66d42340b5 More winners, wines and link to see all wines Kasper Rynning-Tønnesen 2020-02-28 15:30:08 +01:00
  • d6ca19ecb8 Reset startup script to not use pm2 KevinMidboe 2020-02-21 17:38:04 +01:00
  • 9835292738 some pm2 stuff Kasper Rynning-Tønnesen 2020-02-21 16:23:27 +01:00
  • d3691ebdab Better sizing on container Kasper Rynning-Tønnesen 2020-02-21 16:00:59 +01:00
  • 4dcd670bc1 More meta-tags Kasper Rynning-Tønnesen 2020-02-21 15:58:10 +01:00
  • 77233cb4c4 Meta tags are cool Kasper Rynning-Tønnesen 2020-02-21 15:56:25 +01:00
  • 68a0700f7f Removing notifications completely from safari Kasper Rynning-Tønnesen 2020-02-21 15:47:10 +01:00
  • 7299056369 Safari is stupid Kasper Rynning-Tønnesen 2020-02-21 15:36:29 +01:00
  • 2134bfc6d2 Less dynamic-loaded, more cache Kasper Rynning-Tønnesen 2020-02-21 15:33:56 +01:00
  • ec035f6676 Dynamic wine-image Kasper Rynning-Tønnesen 2020-02-21 14:54:22 +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
  • d2c2411e2e Merge branch 'master' of github.com:KevinMidboe/vinlottis Kasper Rynning-Tønnesen 2020-02-14 15:47:26 +01:00
  • b8ca43abbf Push-notifications is fun Kasper Rynning-Tønnesen 2020-02-14 15:14:17 +01:00
  • ad6478edf8 Large image when on mobile. Kevin Midbøe 2020-02-14 15:00:54 +01:00
  • eed8a84092 Forcing a refresh on new SW Kasper Rynning-Tønnesen 2020-02-14 12:47:48 +01:00
  • 37eb15991f Outer bought should have some more padding. Kevin Midbøe 2020-02-14 12:36:14 +01:00
  • 9b000bde3e Close Kasper Rynning-Tønnesen 2020-02-12 14:57:35 +01:00
  • 52f4df3e2c Pretty Kasper Rynning-Tønnesen 2020-02-12 14:49:58 +01:00
  • ebaaacb433 Font-big Kasper Rynning-Tønnesen 2020-02-12 14:26:28 +01:00