KevinMidboe
2f88516326
Update README.md
2021-06-22 10:16:43 +02:00
KevinMidboe
168aad21e9
Removed hash route prefix from backend.
...
Also linting.
2021-05-21 17:06:09 +02:00
KevinMidboe
836a06537a
Merge branch 'master' of github.com:KevinMidboe/vinlottis
2021-05-21 17:01:43 +02:00
KevinMidboe
a44a2f5e2a
Use toast not alert for bingo genearte msg.
2021-05-21 17:01:15 +02:00
KevinMidboe
560fb81a31
Playsinline attr on video for autoplay on ios
2021-05-21 11:13:20 +02:00
KevinMidboe
ddd497f074
Update .drone.yml
2021-05-21 11:12:33 +02:00
KevinMidboe
45d1df92a1
Merge pull request #88 from KevinMidboe/feat/access-code
...
Feat/access code
2021-05-21 10:39:18 +02:00
KevinMidboe
b15c9cecb6
Updated lock file.
2021-05-20 10:07:03 +02:00
KevinMidboe
6c708532ac
Disable host check for local development.
2021-05-20 10:06:49 +02:00
KevinMidboe
d4f059945d
Add list of sites to config.
2021-05-20 10:05:36 +02:00
KevinMidboe
b94ea75941
Check for cookie accessCode and redirect if sites code exists.
2021-05-20 10:04:44 +02:00
KevinMidboe
019e763341
Util functions for set/get cookie.
2021-05-20 10:04:26 +02:00
KevinMidboe
19c1f18ef6
Slimmer and unbranded footer for accesscode page.
2021-05-20 10:03:07 +02:00
KevinMidboe
5a69001efd
Access code landing page w/ video.
2021-05-20 10:02:40 +02:00
KevinMidboe
9f3b3777d9
prettier rc file.
2021-05-20 10:02:09 +02:00
KevinMidboe
783373da22
Linting
2021-05-20 10:01:58 +02:00
KevinMidboe
105820cdbb
Prevent crawling
2021-05-05 17:04:43 +02:00
KevinMidboe
d21a33ab42
Merge pull request #87 from KevinMidboe/feat/pulsing-participate-button
...
Feat/pulsing participate button
2021-04-30 21:00:17 +02:00
KevinMidboe
3188e83aeb
Increased size of participate button.
2021-04-30 18:39:04 +02:00
KevinMidboe
f91466f1bf
Add pulse class after mount timeout 2sec.
2021-04-30 18:38:06 +02:00
KevinMidboe
7092fb1959
Don't display wine year if value is 0000.
2021-04-30 17:51:34 +02:00
KevinMidboe
210f9ddbc9
Buttons on admin addwines page should be small.
2021-04-30 17:50:55 +02:00
KevinMidboe
c96b52c935
Changed vinlottis to history mode.
2021-04-30 17:48:21 +02:00
KevinMidboe
8c964a4815
Replaced node-sass w/ sass.
2021-04-30 17:47:43 +02:00
KevinMidboe
127fc6741f
Merge pull request #86 from KevinMidboe/feat/vinmonopolet-elastic-cache
...
Feat/vinmonopolet elastic cache
2021-04-30 09:56:58 +02:00
KevinMidboe
66253f7bfe
Merge pull request #80 from KevinMidboe/feat/nodemon-for-dev
...
feat: Add nodemon for automatic restarting of server in development
2021-04-29 17:50:32 +02:00
KevinMidboe
1d2a443915
Merge branch 'master' into feat/nodemon-for-dev
2021-04-29 17:48:37 +02:00
KevinMidboe
ab15e24574
Updated yarn lock.
2021-04-29 17:45:00 +02:00
KevinMidboe
908b61f5bb
Update package.json
2021-04-29 17:41:16 +02:00
KevinMidboe
fb4e7d4506
Merge pull request #83 from KevinMidboe/feat/register
...
feat: Allow register locally without authentication
2021-04-29 17:37:26 +02:00
KevinMidboe
753e4eb422
Merge branch 'master' into feat/register
2021-04-29 17:37:17 +02:00
KevinMidboe
d71a3a4c5a
Added local elastic vinmonopolet cache for query get by id.
...
First tries to search local elastic instance, if no results are found a
reject is thrown and we search vinmonopolet api manually.
2021-04-29 17:23:35 +02:00
KevinMidboe
a700de6e2e
GetById should only return single wine object.
2021-04-29 17:22:47 +02:00
KevinMidboe
c0d98af6e1
Controller gracefully handles errors.
2021-04-29 17:21:55 +02:00
KevinMidboe
947d8958a0
Merge branch 'master' of github.com:KevinMidboe/vinlottis
2021-04-09 12:33:31 +02:00
KevinMidboe
9503967e7e
Updated packages.
2021-04-09 12:33:19 +02:00
KevinMidboe
57ddd77493
Button for navigating to request a new wine.
2021-04-09 12:31:57 +02:00
KevinMidboe
d44cc3cd39
Norwegian url names for request pages.
2021-04-09 12:31:46 +02:00
KevinMidboe
7b406ef432
Merge pull request #79 from KevinMidboe/fix/archive-but-save-if-chosen
...
fix: Archive but save set winners as winners
2021-03-26 09:18:53 +01:00
Kasper Rynning-Tønnesen
e498dad860
Merge branch 'master' into feat/nodemon-for-dev
2021-03-25 22:19:42 +01:00
KevinMidboe
e637455059
Merge pull request #82 from KevinMidboe/feat/seed-tiny
...
feat: Add tiny seed for 2 wines, and 2 users
2021-03-25 22:01:09 +01:00
Kasper Rynning-Tønnesen
56072ff282
feat: Allow register locally without authentication
2021-03-25 20:48:00 +01:00
Kasper Rynning-Tønnesen
0e3c4d98e6
feat: Add tiny seed for 2 wines, and 2 users
2021-03-25 20:45:08 +01:00
Kasper Rynning-Tønnesen
64377b7cc0
feat: Add nodemon for automatic restarting of server
2021-03-25 20:23:42 +01:00
Kasper Rynning-Tønnesen
59b4366ed5
fix: Archive but save set winners as winners
...
If archiving a lottery, let archive-functionality circumvent SMS-service if the winners have been set on the archive page.
- Also remove unused file
2021-03-25 20:15:38 +01:00
KevinMidboe
ea10f95a22
Replaced package-lock w/ yarn.lock.
2021-02-20 14:25:16 +01:00
KevinMidboe
bd4d833533
Updated lock file.
2021-02-20 14:23:43 +01:00
KevinMidboe
4ed912df46
Merge pull request #78 from KevinMidboe/fix/vipps-qr
...
Always generate vipps url with amount.
2021-02-20 14:21:39 +01:00
KevinMidboe
5af082784c
Always generate vipps url with amount.
...
Also update vipps component to correctly show vipps and mobile info text
in column correctly on mobile.
2021-02-20 14:11:36 +01:00
KevinMidboe
b0424a519c
Fixed drawing winner count was +1.
...
On /lottery frontend page the count of winners that is sent to frontend
over socketIO started one index higher than it should.
This was from updating how winners are saved in the backend. Our winners
array now no longer needs to be incremented with 1 from the backend.
2021-02-20 13:57:39 +01:00