d49303a42a
Replace babel/polyfill w/ core-js v3.
...
Babel versions above 7.4 recommend using new core-js polyfill over
deprecated babel/polyfill. Also updated babel/core and babel/preset-env.
Added babelrc for defined config of corejs version & targeted browsers.
2020-10-22 22:13:07 +02:00
d2242d4b9b
Repalced body-parser for native express.json().
2020-10-22 21:13:38 +02:00
efbad63fcd
Replaced helmet, cors & policy w/ local implem.
...
The used functionality of helmet, cors & referrer-policy has been
defined in setupCors and setupHeaders.
2020-10-22 21:09:03 +02:00
bce28c5eb9
Output index file should be in root of dist folder.
2020-10-22 13:39:40 +02:00
794a2b06e4
Updated webpack so dist folder now lives at project root.
2020-10-22 13:36:21 +02:00
d5f3a7a1f0
Separated router and user authentication. Renamed login.js to user.js and now it only exports functions for the router to use.
2020-10-22 13:29:06 +02:00
abf673faeb
Removed unused PM2 config.
2020-10-22 13:25:34 +02:00
526be378d3
Moving the assets to root level.
2020-10-22 13:21:18 +02:00
72ba0fb398
Updated references to new assets location.
...
All references are now also absolute to escape relative references.
2020-10-14 21:42:10 +02:00
73d15dcdff
Moved assets to src folder.
2020-10-14 21:35:46 +02:00
46fb5dc6c1
intrinsic is not a css attribute in chrome. Changed to fit-content.
2020-10-12 13:53:59 +02:00
859a018c87
Removed removing margin-top.
2020-10-12 00:26:09 +02:00
82068f22a9
Added margin between wine-details.
2020-10-12 00:11:28 +02:00
2c574020d0
Removed unsued styling from winnerPage.
2020-10-12 00:09:08 +02:00
da00c7735e
Moved duplicate container & h1 styling to global.
2020-10-12 00:06:54 +02:00
KevinMidboe
0ad3d4cafd
Merge branch 'master' of github.com:kevinmidboe/vinlottis
2020-10-11 22:35:21 +02:00
6603fc489c
Send confirmation after select wine & text update.
...
Text update: sendWineConfirmation.
Confirmation on what wine recipient selected, date wone
and where to pick up the wine.
2020-10-11 22:34:50 +02:00
a90b332e27
Merge pull request #52 from KevinMidboe/bug/51
...
Bug/51 - Last winner is not automatically receiving the last wine!
2020-10-11 22:30:01 +02:00
7e0d3cd75e
Text update: sendLastWinnerMessage.
...
Specified where to pick up wone wine.
2020-10-11 22:29:37 +02:00
e76e814877
Always return success bool from getWinner endpoint
2020-10-11 22:21:02 +02:00
b3b5e87ab5
Log gateway response data.
2020-10-11 22:19:26 +02:00
439191008a
More logging to console during draw.
2020-10-11 22:19:02 +02:00
795f110e1b
Syntax error w/ capitalization crashes draw!
2020-10-11 22:18:41 +02:00
432d9211b2
Also lowercase query in highscorePage.
2020-10-11 19:26:10 +02:00
25823540ff
Update background-colors to new primary color.
2020-10-11 19:24:26 +02:00
2013675802
Re-added named routes.
2020-10-11 19:10:20 +02:00
d6839dd10b
Fixed ambiguous null check
2020-10-11 19:10:01 +02:00
f868e03e7b
Highscore shows ranking, not position in list.
2020-10-11 19:02:33 +02:00
a50c94f77c
Merge pull request #50 from KevinMidboe/fix/personal-highscore-page
...
Fix/personal highscore page
2020-10-11 18:49:18 +02:00
99a94a6bc2
Merge pull request #49 from KevinMidboe/revert-45-feat/history-router
...
Revert "Feat vue router mode changed to history"
2020-10-11 18:48:58 +02:00
685db1f8f5
Revert "Feat vue router mode changed to history"
2020-10-11 18:46:20 +02:00
f44402cf03
Function squased w/ merging, re-added.
2020-10-11 18:38:23 +02:00
98e04ecd63
Return object renamed from wins --> highscore.
2020-10-11 18:37:43 +02:00
61fad22ef4
Merge pull request #48 from KevinMidboe/refactor/wine-ui
...
Refactor/implement new design for Wine
2020-10-11 18:27:37 +02:00
d3bfdb632b
Merge pull request #47 from KevinMidboe/refactor/ballot-becomes-raffle
...
Renamed all references to ballot to raffle.
2020-10-11 18:23:41 +02:00
eaf3dbb586
Merge branch 'master' into refactor/ballot-becomes-raffle
2020-10-11 18:23:35 +02:00
292cdab3dd
Merge pull request #46 from KevinMidboe/feat/history-page-by-date
...
Feat/history page by date
2020-10-11 18:22:10 +02:00
139b80ccff
Merge branch 'master' into feat/history-page-by-date
2020-10-11 18:22:04 +02:00
335d834cd4
Merge pull request #45 from KevinMidboe/feat/history-router
...
Feat vue router mode changed to history
2020-10-11 18:20:28 +02:00
d68cd17ba1
Merge branch 'master' into feat/history-router
2020-10-11 18:20:22 +02:00
afff3fcdee
Merge pull request #44 from KevinMidboe/feat/personal-highscore
...
Feat/personal highscore
2020-10-11 18:19:51 +02:00
feed7774ce
Merge branch 'master' into feat/personal-highscore
2020-10-11 18:18:44 +02:00
21904f4bb6
More global styling properties.
2020-10-11 18:16:16 +02:00
f2989d2534
Use api.js funcs over manual fetch.
2020-10-11 18:14:45 +02:00
9c1b290219
Make sure date is date in dateString().
2020-10-11 18:11:47 +02:00
a7d673026e
Added missing space before rating.
2020-10-11 18:11:13 +02:00
587239b799
All wines simplified. Refactor script and template.
2020-10-11 18:10:21 +02:00
6670f43b11
Implements intersectObserver to lazy load images.
...
IntersectionObserver for delaying the load of images until the component
enteres the viewport.
2020-10-11 17:45:11 +02:00
dc7ffbae7a
Removed unused css.
2020-10-11 16:34:39 +02:00
5f2b29324d
Reflecting changes no longer use props in Wine.vue
...
Reflecting changes now that wine should not have custom logic. No longer
send prop values other than wine down.
WinnerPage function called from the slot passed down, not using custom
:winner prop and @chosenWine event.
2020-10-11 16:33:51 +02:00