This website requires JavaScript.
3f77722f4f
allLotteries w/ sort & includeWinners query opts.
KevinMidboe
2021-02-18 23:42:21 +01:00
324ca5d9bc
Date defaults to today and return response message.
KevinMidboe
2021-02-18 23:41:46 +01:00
b493fa2bea
Commands dev=backend w/o auth & watch=frontend HMR.
KevinMidboe
2021-02-18 23:39:32 +01:00
1e6ec3d4c8
Require attendee name AND number when adding.
KevinMidboe
2021-02-18 23:39:00 +01:00
1b12453df0
LotteryWinner functionality not yet used.
KevinMidboe
2021-02-18 23:38:00 +01:00
2eb933f03e
Get including winners, filter by year and sort.
KevinMidboe
2021-02-18 23:30:09 +01:00
de664b3a29
Crazy breakpoints to always show filles rows.
KevinMidboe
2021-02-18 23:26:05 +01:00
07dd0d43f5
Calls api from within and get as screen can fit.
KevinMidboe
2021-02-18 23:25:13 +01:00
cff64999b3
Removed unused code.
KevinMidboe
2021-02-18 23:23:37 +01:00
710f276a9b
Api call from component itself.
KevinMidboe
2021-02-18 23:23:16 +01:00
6e0b2b76fe
New admin pages with better isolated functionality.
KevinMidboe
2021-02-18 23:18:13 +01:00
7234c2fbba
Backend endpoint makes it easier consume for graph.
KevinMidboe
2021-02-18 23:11:48 +01:00
d9de155174
Liting and compact prop for thiner styling.
KevinMidboe
2021-02-18 22:52:51 +01:00
7267c5f5bd
If admin prop enable editing & more info.
KevinMidboe
2021-02-18 22:50:54 +01:00
be70fa6ddf
No longer hides if mouse leaves before timeout ends.
KevinMidboe
2021-02-18 22:49:02 +01:00
30a9d30b1e
Renamed to reflect archive lottery functionality.
KevinMidboe
2021-02-18 22:48:02 +01:00
2734e9a840
Now dedicated to submitting/archiving lottery.
KevinMidboe
2021-02-18 22:42:25 +01:00
3886313351
Renamed to reflect admin attendee functionality.
KevinMidboe
2021-02-18 22:22:23 +01:00
fc261b9274
Rewrote to only contain add attendee functions.
KevinMidboe
2021-02-18 22:19:30 +01:00
442e0ffbfd
Api call from component itself and refactoring.
KevinMidboe
2021-02-18 22:15:22 +01:00
20dc2b8e38
Api call from component itself and linting.
KevinMidboe
2021-02-18 22:11:09 +01:00
2477f36f96
Get all wines with limit parameter.
KevinMidboe
2021-02-18 22:07:54 +01:00
4ab67877b9
New toast plugin, replacing ui/TextToast.vue.
KevinMidboe
2021-02-18 21:57:29 +01:00
6968ccf389
Linting some ui components.
KevinMidboe
2021-02-18 21:53:56 +01:00
8bd41cc691
Much simpler using prizeDistribution endpoints.
KevinMidboe
2021-02-18 21:44:33 +01:00
eaf57115e8
Liting.
KevinMidboe
2021-02-18 21:42:03 +01:00
cded690fba
Api call from component itself and linting.
KevinMidboe
2021-02-18 21:40:40 +01:00
eb9e7d4b43
When mounted focus on username input.
KevinMidboe
2021-02-18 21:35:32 +01:00
b2755add12
Api call from component itself and linting.
KevinMidboe
2021-02-18 21:35:18 +01:00
b5cca00ed4
Liting
KevinMidboe
2021-02-18 21:18:01 +01:00
2cf4095b97
Api call from component itself and linting.
KevinMidboe
2021-02-18 21:17:22 +01:00
72c1896747
Do api call from within the component itself.
KevinMidboe
2021-02-18 21:14:34 +01:00
011aec3dea
Tabs redesigned, update url and can show counter.
KevinMidboe
2021-02-18 21:10:14 +01:00
b57fb5f1f8
Admin gets new tabs.
KevinMidboe
2021-02-18 21:08:37 +01:00
9823197a48
Better validation and error resp validating wines.
KevinMidboe
2021-02-18 21:06:49 +01:00
d0fa89b92b
Update lottery winner by id.
KevinMidboe
2021-02-18 21:05:40 +01:00
fc029f80df
New message & wine controllers!
KevinMidboe
2021-02-18 21:02:07 +01:00
824bd60c02
Updated internal name of wine schema.
KevinMidboe
2021-02-18 21:00:32 +01:00
6003151e3b
Better error handling for claim prize.
KevinMidboe
2021-02-18 20:58:57 +01:00
ab58a45da5
Better var name and response message text.
KevinMidboe
2021-02-18 20:58:40 +01:00
dcaaeae51f
Get prizes only returns wines without a winner already.
KevinMidboe
2021-02-18 20:58:09 +01:00
9fd67a6bc3
Removed unused parameter.
KevinMidboe
2021-02-18 20:55:41 +01:00
70c80849df
No longer delete winner as part of selecting prize.
KevinMidboe
2021-02-18 20:54:15 +01:00
a28a8ccacb
When selecting prize, add winner to wine.
KevinMidboe
2021-02-18 20:50:30 +01:00
4bd3b688e9
Get wines by id or search with wine object.
KevinMidboe
2021-02-18 20:44:54 +01:00
930c458d9c
Search history for winner name.
KevinMidboe
2021-02-18 20:40:35 +01:00
787882e753
History ordered by wins has limit parameter.
KevinMidboe
2021-02-18 20:40:14 +01:00
68b4e96ad0
Import with lowercase name, it's not a class.
KevinMidboe
2021-02-18 20:39:27 +01:00
56d2513a9c
Incorrect history.js function called.
KevinMidboe
2021-02-18 20:38:49 +01:00
1c40fae69d
Repository gets new search winner by query func.
KevinMidboe
2021-02-17 19:24:38 +01:00
bca4558d59
orderByWins has limit parameter to slice response
KevinMidboe
2021-02-17 19:21:33 +01:00
38eb98e68b
Sorting happens in mongo query, no longer in js.
KevinMidboe
2021-02-17 19:20:52 +01:00
c98ccbc3f0
We want a mongo instance of both winner and wine.
KevinMidboe
2021-02-17 19:19:13 +01:00
3d99a3e5f2
Wine repository gets function for all wines.
KevinMidboe
2021-02-17 19:17:36 +01:00
7292cf7983
Endpoint for getting wine schema.
KevinMidboe
2021-02-15 22:36:49 +01:00
57fe7d444b
Used correct func name for wines from vinmonpolet.
KevinMidboe
2021-02-15 22:34:51 +01:00
cb4a30b5e9
BIGBOY rewrite.
KevinMidboe
2021-01-26 23:05:52 +01:00
56095cb3e2
Linting.
KevinMidboe
2021-01-26 23:04:49 +01:00
b321f2cfdd
Fixed import location for redis.
KevinMidboe
2021-01-26 23:04:15 +01:00
ce480e790a
Replaced for clearer project structure & new ctrls.
KevinMidboe
2021-01-26 23:01:49 +01:00
ba86bf3ada
New custom errors to throw.
KevinMidboe
2021-01-26 23:01:18 +01:00
f4a16bc417
Removed always setting isAdmin true.
KevinMidboe
2021-01-26 23:01:08 +01:00
4c33708ff4
Made some required wine attributes optional.
KevinMidboe
2021-01-26 22:59:43 +01:00
87257fd5b2
Moved everything not lottery out.
KevinMidboe
2021-01-26 22:56:08 +01:00
ac829052b6
Wine models now have extra year field.
KevinMidboe
2021-01-26 22:52:11 +01:00
1b1a99ccc3
Linting and more clear function names.
KevinMidboe
2021-01-26 22:43:18 +01:00
5e018f071d
Prize distribution for selecting wines.
KevinMidboe
2021-01-26 22:38:27 +01:00
939e7e34df
All CRUDS on winners for current lottery.
KevinMidboe
2021-01-26 22:37:36 +01:00
33070ae31a
Keeps more information when adding prelottery wine
KevinMidboe
2021-01-26 22:35:12 +01:00
6e02c5e393
Reflecting changes, isolated winner from lottery.
KevinMidboe
2021-01-26 22:32:14 +01:00
b596dc28e8
Prelotterywine has it's own repo and ctrl.
KevinMidboe
2021-01-26 22:30:19 +01:00
03c0513da3
Rm from lottery.js attendee has own repo and ctrl.
KevinMidboe
2021-01-26 22:28:27 +01:00
afab4387cc
Renamed winner.js to history.js.
KevinMidboe
2021-01-26 22:14:07 +01:00
1c1f52308f
Add winner w/ wine to highscore.
KevinMidboe
2021-01-26 22:12:42 +01:00
f5d3b16f27
isAdmin default value = false.
KevinMidboe
2021-01-24 15:36:03 +01:00
b5b61784cc
Add winners manually by posting /lottery/winners.
KevinMidboe
2021-01-24 15:34:58 +01:00
2f3a6aeba7
Catch exceptions when deleting wines from lottery.
KevinMidboe
2021-01-24 14:03:15 +01:00
84fa1ff925
Linted.
KevinMidboe
2021-01-24 14:02:53 +01:00
53135acc05
Get/add/update/delete winners from lottery.
KevinMidboe
2021-01-24 14:01:36 +01:00
fac50805bd
Get stores from vinmonopolet.
KevinMidboe
2021-01-24 13:59:34 +01:00
6d5f0e824f
Lottery wine functions & controller.
KevinMidboe
2021-01-24 12:12:52 +01:00
4d822ccb64
Isolated lottery attendee functs to it's own file.
KevinMidboe
2021-01-24 11:10:49 +01:00
7aa5f7e9ce
Add, update and delete attendees to lottery.
KevinMidboe
2021-01-24 11:02:04 +01:00
18d8c2c7ca
Lottery, get/delete attendees.
KevinMidboe
2021-01-24 10:14:00 +01:00
edc4d26647
User logout can happen in controller.
KevinMidboe
2021-01-24 10:08:39 +01:00
e07e6ae09a
Winner controller, winners by date, color or name.
KevinMidboe
2021-01-24 10:05:00 +01:00
93854bc131
Updated text.
Kevin Midbøe
2021-01-22 12:40:36 +01:00
872f1f5fa3
Nicer styling of salgsbetingelser.
Kevin Midbøe
2021-01-22 12:40:18 +01:00
ccba3e5f10
Merge pull request #74 from KevinMidboe/feat/better-today-wines-layout
Kevin
2021-01-22 12:36:12 +01:00
8d320e73c0
Router gets salgsbetingelser.
Kevin Midbøe
2021-01-22 12:33:23 +01:00
bfa13892d5
Renamed salgsbetingelser to SalgsbetingelserPage.
Kevin Midbøe
2021-01-22 12:33:13 +01:00
c430d07703
Merge branch 'master' of github.com:KevinMidboe/vinlottis into feat/better-today-wines-layout
#74
Adrian Thompson
2021-01-22 12:31:07 +01:00
3ed0ce7dac
add grid
Adrian Thompson
2021-01-22 12:24:14 +01:00
e36c6b42eb
Merged master into feature branch.
Kevin Midbøe
2021-01-22 12:18:03 +01:00
11b988ba19
Added salgsbetingelser page.
Kevin Midbøe
2021-01-22 12:17:04 +01:00
e9ece6963e
/by-color endpoint for sort all winners by color.
KevinMidboe
2021-01-17 17:26:37 +01:00
53780878af
Renamed to winners. Winners gets controller setup.
KevinMidboe
2021-01-17 16:55:57 +01:00
5e06a3fc28
ChatHistory behaved like controller already, renamed.
KevinMidboe
2021-01-16 14:23:02 +01:00
54c6c0eb97
History actions now have a controller setup.
KevinMidboe
2021-01-16 12:33:56 +01:00
e754f0a909
Wine ctrl for search wineinfo by query, ean or id.
KevinMidboe
2021-01-15 19:17:12 +01:00