Commit Graph

553 Commits

Author SHA1 Message Date
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
52dedd1e7c Renamed all references to ballot to raffle. 2020-10-11 15:43:24 +02:00
823bbb7437 Winners clickable to route to highscore/{name}. 2020-10-11 15:42:48 +02:00
03c13d9558 Linting. 2020-10-11 15:27:02 +02:00
c0f26f9061 Refactored lottery controller. 2020-10-11 15:26:14 +02:00
20be3cc5ca If date in params, fetch only that date.
- Now handles only fetching date by epoch from url params.
- Displays date w/ helper function humanReadableDate.
2020-10-11 14:05:37 +02:00
90eb557f0b New api route for history by date. 2020-10-11 14:04:10 +02:00
0e74534cde Removed unnecessary mongo connection string. 2020-10-11 14:01:19 +02:00
0923965544 Removed hash from routes. 2020-10-11 13:56:19 +02:00
2062f64999 Import VueRouter instance from router.js. 2020-10-11 13:54:17 +02:00
9d9947d7dc Router mode history, and all routes got names. 2020-10-11 13:53:46 +02:00
d5558863e4 Merge branch 'master' into feat/personal-highscore 2020-10-11 13:49:32 +02:00
27f4c8faef Updated styling to match design. 2020-10-11 13:36:34 +02:00
0702507963 Tabable back link. 2020-10-11 13:36:19 +02:00
8ef1a2dd88 Save previous route name, if none found push route highscore. 2020-10-11 13:32:47 +02:00
a59f1e2b17 Show error if no one w/ name found. 2020-10-11 12:29:10 +02:00
1383a310b3 Try get a smaller version of the wine image. 2020-10-11 12:27:04 +02:00
584d497c6a Click dates send to history page for given lottery. 2020-10-11 12:26:10 +02:00
98c2707cb0 Full rewrite, faster, better listing and less code.
- Only list the highscore and send to PersonalHighscorePage on click.
- List numbers are not sequential position in list, but the persons
place in the highscore, allows shared place ranking.
- Filter is a computed value that uses the filterInput, reduces
overhead.
- Stripped unused styling.
2020-10-11 12:10:17 +02:00
ingridvold
4ce8ca1a99 en morsom vri ;) 2020-10-09 13:30:23 +02:00
cb286b6894 Back link and better wine name container width. 2020-10-09 01:14:12 +02:00
73f1614ed4 Redesigned and separate page for personal highscore. 2020-10-09 01:02:55 +02:00
bd96a19faa More positioning and variables defined in scss. 2020-10-09 01:02:28 +02:00
c01692bf1e Renamed css ballot to raffle. 2020-10-09 01:01:26 +02:00
59792f9aae Moved date helper funcs to utils.js 2020-10-09 00:57:20 +02:00
e87a59b1e6 Helper func for lottery/by-name. 2020-10-09 00:55:52 +02:00
4c02c81cc3 Name also part of highscore/by-name resp. 2020-10-09 00:55:20 +02:00
0e8bf9546a Reverse highscore for newest first. 2020-10-09 00:52:06 +02:00
9b2de75910 Received and searched names are lowercased.
Endpoint /lottery/by-name now lowercases the path input name and the
search query towards mongo.
2020-10-09 00:51:34 +02:00
05b07ca465 Defined new route for PersonalHighscorePage.
This is a subpage for showing additional information about a winner from
highscore.
2020-10-08 23:40:18 +02:00
53257a16ff Merge pull request #42 from KevinMidboe/enhancement/wine-css-fixes
Rework how the list of the top 10 wines looks
2020-09-23 23:50:44 +02:00
8ce7c254fb Updated host and script path. 2020-09-23 23:29:36 +02:00
f4be12d00b Added missing ) 😬 2020-09-23 23:22:39 +02:00
8d8550a835 Fixed admin header not being set properly.
Incorrectly used Boolean(). Now we check for the header value by string comparison, should always
return boolean.
2020-09-23 23:20:20 +02:00
b0b99ed921 Fixed timeout for SMS response 1 min to 10 minutes
Error where timeout was set to a single minute. Forgot to update from testing. Now made timeout a bit more clear and added log message.
2020-09-18 15:56:11 +02:00
Adrian Thompson
89557c89b7 Update README.md 2020-09-17 16:41:54 +02:00
Adrian Thompson
67cd06444f reworked css and removed wine popup 2020-09-17 14:08:22 +02:00
Adrian Thompson
53156e2330 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-09-17 13:17:03 +02:00
Adrian Thompson
c1c4b414c3 align highscore baseline 2020-09-17 13:16:50 +02:00
Adrian Thompson
ce67ecc23d Merge pull request #40 from KevinMidboe/hotfix/highscore-css
Highscore page css fixes
2020-09-17 12:47:00 +02:00
Adrian Thompson
06a50a6662 Merge pull request #39 from KevinMidboe/enhancement/vinlottispage-css-fixes
Enhancement/vinlottispage css fixes
2020-09-17 12:39:16 +02:00