Adrian Thompson 
							
						 
					 
					
						
						
							
						
						dd9edf160e 
					 
					
						
						
							
							add endpoint for retrieving all requested wines  
						
						 
						
						
						
						
					 
					
						2020-08-31 12:15:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						543a7a6eb3 
					 
					
						
						
							
							some cleanup and css fix for mobile  
						
						 
						
						
						
						
					 
					
						2020-08-30 17:27:03 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fd17e11e87 
					 
					
						
						
							
							Register io to all req with app.set('socketio').  
						
						 
						
						
						
						
					 
					
						2020-08-28 18:46:35 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						51a7107802 
					 
					
						
						
							
							Endpoints defined and exported as functions.  
						
						 
						
						... 
						
						
						
						Changed all routes to functions and export them to app.js to handle the
registration of route using the functions exported from this file. 
						
						
					 
					
						2020-08-28 18:45:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						aea808dae1 
					 
					
						
						
							
							🍷  
						
						 
						
						
						
						
					 
					
						2020-08-28 17:20:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						7b7895728b 
					 
					
						
						
							
							loko  
						
						 
						
						
						
						
					 
					
						2020-08-28 17:01:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						f785a111d8 
					 
					
						
						
							
							cleanup  
						
						 
						
						
						
						
					 
					
						2020-08-27 16:50:04 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						15b84a9b18 
					 
					
						
						
							
							add token and some styling  
						
						 
						
						
						
						
					 
					
						2020-08-27 15:15:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						09f0436f98 
					 
					
						
						
							
							add search functionality  
						
						 
						
						
						
						
					 
					
						2020-08-27 13:25:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a6a84e4b29 
					 
					
						
						
							
							Api files no longer return router, exports usable functions.  
						
						 
						
						
						
						
					 
					
						2020-08-27 00:31:01 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ec80aa8bcc 
					 
					
						
						
							
							All api routes & their respective functions.  
						
						 
						
						
						
						
					 
					
						2020-08-27 00:29:01 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						119d52828f 
					 
					
						
						
							
							Also take country and price when adding wine.  
						
						 
						
						
						
						
					 
					
						2020-03-26 16:31:37 +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 
							
						 
					 
					
						
						
							
						
						7dfb14fa0f 
					 
					
						
						
							
							Added link to dagens in notifcation  
						
						 
						
						
						
						
					 
					
						2020-03-17 14:44:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9db73c8c01 
					 
					
						
						
							
							Console logs should be more clear what it represents.  
						
						 
						
						
						
						
					 
					
						2020-03-17 12:15:28 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						71a9f99e45 
					 
					
						
						
							
							Fixed redis error, and added link on click on notifications  
						
						 
						
						
						
						
					 
					
						2020-03-17 11:30:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cda945ead8 
					 
					
						
						
							
							Messages from io gets saved to redis in message list. Endpoint for clearing, should be called when a lottery is ended.  
						
						 
						
						
						
						
					 
					
						2020-03-17 01:05:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c893d7d870 
					 
					
						
						
							
							Added redis. Chat io msg to redis list.  
						
						 
						
						
						
						
					 
					
						2020-03-17 01:03:47 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7a12c929aa 
					 
					
						
						
							
							Moved generator to a component RaffleGenerator.  
						
						 
						
						... 
						
						
						
						Moved generator and added to virtuallottertyregistrationpage
Removed logic for generating random colors in backend. 
						
						
					 
					
						2020-03-16 19:56:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1dea04b0b2 
					 
					
						
						
							
							If no winner is found for color it redraws 3 times  
						
						 
						
						... 
						
						
						
						Redraws three times if no winner is found.
Grammatical fixes. 
						
						
					 
					
						2020-03-16 19:34:12 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						81eeabfe42 
					 
					
						
						
							
							Shuffling?  
						
						 
						
						
						
						
					 
					
						2020-03-14 14:43:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						f398db4e42 
					 
					
						
						
							
							Splitting more, added chat, and fancier draw-animations  
						
						 
						
						
						
						
					 
					
						2020-03-14 14:04:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						35e736a9d9 
					 
					
						
						
							
							Add update-event for winners/attendees  
						
						 
						
						
						
						
					 
					
						2020-03-13 17:13:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						bfbfa5a8bc 
					 
					
						
						
							
							Fixed so io is being sent in a better manner, and listening on the same port as the rest  
						
						 
						
						
						
						
					 
					
						2020-03-13 17:02:28 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						b35dd5a971 
					 
					
						
						
							
							Much virtual many lotteries  
						
						 
						
						
						
						
					 
					
						2020-03-13 16:37:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						410dfcca44 
					 
					
						
						
							
							Forgot to login with passports req.logIn middleware.  
						
						 
						
						
						
						
					 
					
						2020-03-10 18:59:18 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a4960c41b1 
					 
					
						
						
							
							/log/schema endpoint for getting prelottery schema template.  
						
						 
						
						
						
						
					 
					
						2020-03-10 00:23:49 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1ce0d02b72 
					 
					
						
						
							
							Use new mustBeAuthenticated middleware.  
						
						 
						
						
						
						
					 
					
						2020-03-10 00:20:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9b7894ca7d 
					 
					
						
						
							
							Login and register pages uses api functions, new styling and better handling in backend.  
						
						 
						
						
						
						
					 
					
						2020-03-10 00:19:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						43bf312007 
					 
					
						
						
							
							Register page now uses api functions and can scan from vinmonopolet qr codes. Re-did formatting and styling on page.  
						
						 
						
						
						
						
					 
					
						2020-03-10 00:17:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						72d67d862d 
					 
					
						
						
							
							Not crashing without configs anymore  
						
						 
						
						
						
						
					 
					
						2020-03-04 08:52:57 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						6589425e54 
					 
					
						
						
							
							Not crashing when not supplying push-data thingies  
						
						 
						
						
						
						
					 
					
						2020-03-02 13:33:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						ac1e73ee09 
					 
					
						
						
							
							pushing things I forgot  
						
						 
						
						
						
						
					 
					
						2020-02-21 09:54:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						4287059361 
					 
					
						
						
							
							Returning to not have pending requests  
						
						 
						
						
						
						
					 
					
						2020-02-14 16:00:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						b8ca43abbf 
					 
					
						
						
							
							Push-notifications is fun  
						
						 
						
						
						
						
					 
					
						2020-02-14 15:14:17 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						f22be970a5 
					 
					
						
						
							
							Better links  
						
						 
						
						
						
						
					 
					
						2020-02-12 14:22:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						2ad54103b1 
					 
					
						
						
							
							All wines page  
						
						 
						
						
						
						
					 
					
						2020-02-07 17:01:12 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						5d276df229 
					 
					
						
						
							
							Merge branch 'master' of github.com:KevinMidboe/vinlottis  
						
						 
						
						
						
						
					 
					
						2020-02-07 15:58:13 +01:00