Commit Graph

392 Commits

Author SHA1 Message Date
Adrian Thompson
1e5c1faa5b quick css fix 2020-09-02 09:51:11 +02:00
5fc3bca01a Merge pull request #18 from KevinMidboe/feat/lottery-endpoint
Feat/lottery endpoint
2020-08-14 16:56:47 +02:00
171529497d Merge pull request #17 from KevinMidboe/refactor/chat-history
Refactor/chat history
2020-06-26 13:28:59 +02:00
KevinMidboe
eeb14786e8 Merge branch 'feat/lottery-endpoint' of github.com:kevinmidboe/vinlottis into feat/lottery-endpoint 2020-06-14 14:32:36 +02:00
9b9d5bd528 Winners component has title prop but defaults "Vinnere" 2020-06-14 14:32:05 +02:00
6633994940 Registered HistoryPage api funcs & router endpoint. 2020-06-14 14:31:34 +02:00
b4b6643581 HistoryPage shows winners from prev lotteries.
The design of this pages sucks, but Winners.vue matched pretty well.
Need to have it's own design.
2020-06-14 14:30:45 +02:00
f059d6f662 New /lottery endpoint for server. 2020-06-14 14:28:47 +02:00
ab8fd9dd83 Insteadof mount all tabs & hiding,use :is to mount 2020-06-14 13:39:16 +02:00
efb5dfcd3e Prevent stopping execution. 2020-06-14 13:36:59 +02:00
a84441078c Opaque gradient over -1 msg & can fetch n+1 pages
- An opaque gradient overlay on the top message. This creates the illusion
that there are more messages under that the user can scroll to.
- Changed the formatting of the chat messages.
- Repaired the scrolling that happens on load and when chatHistory prop
list updates. If a full page arrives we want to keep the position, but
on load and a single new message we want to jump to the bottom of the
list.
- Emitting loadMoreHistory expects a expanded list of chatHistory.
2020-06-14 13:36:16 +02:00
1e0a76757a Parent now pages history on event.
loadMoreHistory func uses new variables historyPage and historyPageSize
to fetch the next x = historyPageSize elements with skip, take query
parameters for /history endpoint before prepending the received messages
to the existing.
2020-06-14 13:25:54 +02:00
267b2df2d7 New /lottery endpoint for server. 2020-05-30 10:27:36 +02:00
368b6a29aa Renamed api/lotteries.js -> api/lottery.js 2020-05-30 10:25:37 +02:00
fa59d71717 Lottery endpoints for all, by-date or by-name.
Can now get all highscore entries grouped by shared highscore dates.
This gives a complete list of all the lotteries and their winners.
 - By-date takes a epoch date to match a given lottery.
 - By-name uses query parameter `name` for searching for all winnings by
name.
 - Both /by-date and /by-name don't just return the wine _id, but
resolves it's wine reference.
2020-05-30 10:24:56 +02:00
Kasper Rynning-Tønnesen
6e380c5f5c Timeouts are nice 2020-04-17 16:29:19 +02:00
Kasper Rynning-Tønnesen
37cb4a8f56 Add alerts for success/non-success on SMS sendings 2020-04-17 15:54:34 +02:00
Kasper Rynning-Tønnesen
7aa47b08ad Fix automatic choser issue 2020-04-17 15:50:22 +02:00
Kasper Rynning-Tønnesen
cab623b3f7 url 2020-04-06 09:52:36 +02:00
Kasper Rynning-Tønnesen
4051c04c91 token -> gatewayTokeng 2020-04-06 09:42:19 +02:00
Kasper Rynning-Tønnesen
55e1a00e67 Merge pull request #15 from KevinMidboe/feat/sms-ing
Add sms capabilities, and online-fixing of everything
2020-04-06 09:39:21 +02:00
Kasper Rynning-Tønnesen
39c4d8f134 Generalized some functions 2020-04-06 09:36:33 +02:00
Kasper Rynning-Tønnesen
096dbdb2e6 MOre sms, and automatic choser 2020-04-06 09:36:20 +02:00
Kasper Rynning-Tønnesen
e6582983f2 Cleaned up a bit 2020-04-06 09:26:05 +02:00
Kasper Rynning-Tønnesen
062b01f784 Only 10 min 2020-04-04 01:06:29 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
131ffe42e7 Fiveminutes left or ten minutes over. 2020-04-03 15:04:52 +02:00
706ef44491 Don't need user to see chat. Increased to fetch last 100 messages. 2020-04-03 13:55:26 +02:00
Kasper Rynning-Tønnesen
09648f0b2d Eventlistener on change 2020-04-03 12:37:27 +02:00
Kasper Rynning-Tønnesen
a7ab191ed1 The eventbus 2020-04-03 12:35:33 +02:00
Kasper Rynning-Tønnesen
6e5f99391f Fix for tab-elements fetching 2020-04-03 12:35:24 +02:00
Kasper Rynning-Tønnesen
14fbf40ac8 laways show dagens 2020-04-03 12:18:14 +02:00
Kasper Rynning-Tønnesen
52e773bc7e Fix some null-errors 2020-03-27 16:45:56 +01:00
Kasper Rynning-Tønnesen
3b91f9693e Fixed time-zone difference issue 2020-03-27 11:20:00 +01:00
Kasper Rynning-Tønnesen
0c08672dcd More automated 2020-03-27 10:34:12 +01:00
Kasper Rynning-Tønnesen
0dff0c91e1 prelottery wine should have prices as well 2020-03-26 16:46:56 +01:00
119d52828f Also take country and price when adding wine. 2020-03-26 16:31:37 +01:00
Kasper Rynning-Tønnesen
6b4d16adde COlumn, not wor 2020-03-26 16:24:21 +01:00
Kasper Rynning-Tønnesen
cd5612c9b9 Better saving 2020-03-26 16:18:34 +01:00
Kasper Rynning-Tønnesen
4060b7409e Added more data from winner 2020-03-26 16:08:24 +01:00
Kasper Rynning-Tønnesen
56352a85fb Video stuff 2020-03-26 16:02:00 +01:00
Kasper Rynning-Tønnesen
06000a99f1 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-26 15:22:05 +01:00
5dd26753ea Removed unsued data color vars and need to read from colors object now that colors are not independently in data. 2020-03-20 17:33:44 +01:00
d1e5d60885 Moved lotteryColors to data and read from object for color values. 2020-03-20 17:31:54 +01:00
Kasper Rynning-Tønnesen
a5fd9b649e Centering some thigns 2020-03-20 15:17:37 +01:00
d928905a58 Added 'lodd' in Live overview header. 2020-03-20 14:38:19 +01:00
93e751c265 Flip attendees before printing. 2020-03-20 14:35:04 +01:00
4e76d707b1 Only handle if ref exists 2020-03-20 14:30:44 +01:00
c53761d8bf Live overview of total tickets bought on virtual lottery page. 2020-03-20 14:19:54 +01:00
196901ae56 Better nesting of styling for button-container. 2020-03-20 13:57:25 +01:00