|  | 48c1842b8b | When env=development use middleware to always auth. | 2021-02-19 00:39:59 +01:00 |  | 
			
				
					|  | 56095cb3e2 | Linting. | 2021-01-26 23:04:49 +01:00 |  | 
			
				
					|  | 9e7be82f57 | Misc updates and better logging. | 2020-12-06 20:48:39 +01:00 |  | 
			
				
					|  | ad27ba8b33 | Require statements now use path.join correctly. | 2020-11-24 23:37:14 +01:00 |  | 
			
				
					|  | 51e11d0df0 | Frontend checks if localhost before req sw.js. | 2020-11-20 21:25:39 +01:00 |  | 
			
				
					|  | d36aad3f9e | Webpack conf now outputs to public/dist. | 2020-11-20 21:24:36 +01:00 |  | 
			
				
					|  | 054ff69b27 | Define socketIo as io on app. | 2020-11-20 18:36:42 +01:00 |  | 
			
				
					|  | 7eb69aa3f7 | Cleaned redirects and disabled sw when localhost. | 2020-11-20 18:36:09 +01:00 |  | 
			
				
					|  | c85e6ca56a | Assets and dist static paths. | 2020-11-20 18:34:45 +01:00 |  | 
			
				
					|  | 50c79abaf7 | Moved to api router. | 2020-11-20 18:33:52 +01:00 |  | 
			
				
					|  | d2242d4b9b | Repalced body-parser for native express.json(). | 2020-10-22 21:13:38 +02:00 |  | 
			
				
					|  | efbad63fcd | Replaced helmet, cors & policy w/ local implem. The used functionality of helmet, cors & referrer-policy has been
defined in setupCors and setupHeaders. | 2020-10-22 21:09:03 +02:00 |  | 
			
				
					| 
							
							
								 Adrian Thompson | 2406d2b81a | remove commented code | 2020-09-07 15:56:19 +02:00 |  | 
			
				
					| 
							
							
								 Adrian Thompson | 4a98e79414 | fix conflicts and rework routes | 2020-09-07 14:49:24 +02:00 |  | 
			
				
					|  | 4b926c9ece | Forward /winner/:id to frontend endpoint. (w/ hash) | 2020-09-06 15:17:16 +02:00 |  | 
			
				
					|  | dde8fe1cbe | Renamed app > router.js. VirtualLottery in router. | 2020-09-06 14:07:18 +02:00 |  | 
			
				
					|  | fd17e11e87 | Register io to all req with app.set('socketio'). | 2020-08-28 18:46:35 +02:00 |  | 
			
				
					| 
							
							
								 Adrian Thompson | 7b7895728b | loko | 2020-08-28 17:01:53 +02:00 |  | 
			
				
					|  | 262efa0380 | All api endpoints are moved to apiRouter. | 2020-08-27 00:28:35 +02:00 |  | 
			
				
					|  | f059d6f662 | New /lottery endpoint for server. | 2020-06-14 14:28:47 +02:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 40927ac286 | Add sms capabilities, and online-fixing of everything | 2020-04-04 01:05:52 +02:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | cd5612c9b9 | Better saving | 2020-03-26 16:18:34 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 56352a85fb | Video stuff | 2020-03-26 16:02:00 +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 |  | 
			
				
					| 
							
							
								 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 | 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 |  | 
			
				
					|  | 54d9060f5f | Include new wineinfo route. | 2020-03-10 00:24:33 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | ac1e73ee09 | pushing things I forgot | 2020-02-21 09:54:16 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 9350c7647e | Pushnotifications now | 2020-01-31 16:13:14 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | e8a6284f02 | Version-handling | 2020-01-30 13:10:55 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | ed31e922c0 | GZIPPPPPP | 2020-01-28 17:06:17 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 1924918580 | More security things | 2020-01-28 16:29:54 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 186e3d7f73 | Add helmet and other security-headers | 2020-01-28 16:18:22 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 59af85bbd1 | We are a PWA | 2020-01-28 15:27:27 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 1b110e5f5a | Font and all | 2020-01-22 10:43:03 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 46213e76ea | Design-updates | 2020-01-21 15:44:20 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 51c2ee2a0e | Working now | 2020-01-20 16:07:40 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 53e54726ca | Persistent connection | 2020-01-17 16:54:08 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 9b4f770ac6 | Tingy | 2020-01-17 16:32:56 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 002cf71137 | Router thingies! | 2020-01-17 15:59:21 +01:00 |  | 
			
				
					|  | 11aba3556f | Startcommand for serving index page and change port. | 2020-01-17 14:02:03 +01:00 |  | 
			
				
					|  | a98c8d6131 | Server returns index page on port 30020. | 2020-01-17 13:55:26 +01:00 |  | 
			
				
					| 
							
							
								 Kasper Rynning-Tønnesen | 6ce917f5d5 | Initial initial | 2020-01-17 13:21:20 +01:00 |  |