e87a59b1e6 
					 
					
						
						
							
							Helper func for lottery/by-name.  
						
						
						
						
					 
					
						2020-10-09 00:55:52 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8c0a002020 
					 
					
						
						
							
							Fixed loose check for headers.  
						
						... 
						
						
						
						Now search for lower-case header variable and convert to boolean before
sending back to caller. 
						
						
					 
					
						2020-09-07 17:49:33 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						052b5007c2 
					 
					
						
						
							
							add is admin middleware  
						
						
						
						
					 
					
						2020-09-07 15:53:03 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						4a98e79414 
					 
					
						
						
							
							fix conflicts and rework routes  
						
						
						
						
					 
					
						2020-09-07 14:49:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6dc4c9080e 
					 
					
						
						
							
							Reflecting changes from renaming backend routes.  
						
						
						
						
					 
					
						2020-09-06 14:21:10 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						ed6ac2ac01 
					 
					
						
						
							
							move api call, remove delete requested wine button, rename emit  
						
						
						
						
					 
					
						2020-09-04 15:42:03 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						c38f5c8819 
					 
					
						
						
							
							some cleaning and empty wine list check  
						
						
						
						
					 
					
						2020-09-01 10:44:54 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						a5ae46f5c3 
					 
					
						
						
							
							working delete requested wine if admin  
						
						
						
						
					 
					
						2020-09-01 10:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						dd9edf160e 
					 
					
						
						
							
							add endpoint for retrieving all requested wines  
						
						
						
						
					 
					
						2020-08-31 12:15:22 +02:00 
						 
				 
			
				
					
						
							
							
								Adrian Thompson 
							
						 
					 
					
						
						
							
						
						09f0436f98 
					 
					
						
						
							
							add search functionality  
						
						
						
						
					 
					
						2020-08-27 13:25:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6633994940 
					 
					
						
						
							
							Registered HistoryPage api funcs & router endpoint.  
						
						
						
						
					 
					
						2020-06-14 14:31:34 +02:00 
						 
				 
			
				
					
						
							
							
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						40927ac286 
					 
					
						
						
							
							Add sms capabilities, and online-fixing of everything  
						
						
						
						
					 
					
						2020-04-04 01:05:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						278d252e1e 
					 
					
						
						
							
							When loading VirtualLottery we fetch default size of messages from /api/chat/history and append to local chatHistory.  
						
						
						
						
					 
					
						2020-03-17 10:02:06 +01:00 
						 
				 
			
				
					
						
							
							
								Kasper Rynning-Tønnesen 
							
						 
					 
					
						
						
							
						
						b35dd5a971 
					 
					
						
						
							
							Much virtual many lotteries  
						
						
						
						
					 
					
						2020-03-13 16:37:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fc3b9d3eb5 
					 
					
						
						
							
							If configs apiUrl not defined fallback to origin.  
						
						... 
						
						
						
						Also removed dependency of login and register to redirect response from
server. Now we send json data with status = 200 when successfully
login/registered.
Username input element also is set to not capitalize input. 
						
						
					 
					
						2020-03-10 19:00:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e5319662b8 
					 
					
						
						
							
							Chart functions moved to /api.js  
						
						
						
						
					 
					
						2020-03-10 00:50:55 +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