Luc
							
						 
						
							 
							
							
							
							
								
							
							
								4ba09cfb96 
								
							 
						 
						
							
							
								
								string typo  
							
							 
							
							
							
						 
						
							2021-12-08 11:14:29 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								59d91a3c87 
								
							 
						 
						
							
							
								
								Merge branch 'proxy-https' of  https://github.com/controlol/tubesync  into proxy-https  
							
							 
							
							
							
						 
						
							2021-12-08 11:06:23 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								139d79b2e6 
								
							 
						 
						
							
							
								
								Introduce extra security for x-forwarded-host header  
							
							 
							
							... 
							
							
							
							I think this secures the website even more by also checking the x-forwarded-host header for every request.
This is an addition to the previous commit 
							
						 
						
							2021-12-08 10:56:06 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								95b77765c7 
								
							 
						 
						
							
							
								
								takes care of point 3  
							
							 
							
							... 
							
							
							
							Only one allowed host is enough in the container environment. All traffic is coming from Nginx.
Do not set the Host header in Nginx it will screw with the ALLOWED_HOSTS in Python.
The TUBESYNC_HOSTS now only affects the CSRF_TRUSTED_ORIGINS.
If there is a *need* the hosts are required in ALLOWED_HOSTS I would like to know in which scenario. 
							
						 
						
							2021-12-08 10:48:29 +01:00  
						
					 
				
					
						
							
							
								 
								Luc Appelman
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								03e9e400ce 
								
							 
						 
						
							
							
								
								Merge branch 'meeb:main' into proxy-https  
							
							 
							
							
							
						 
						
							2021-12-07 16:34:31 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								c37bbadc61 
								
							 
						 
						
							
							
								
								added note on redis  
							
							 
							
							
							
						 
						
							2021-12-07 16:33:11 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								47b1b2faf4 
								
							 
						 
						
							
							
								
								improve the language of readme  
							
							 
							
							... 
							
							
							
							there are two commented sections I could not make sense of. Requires attention! 
							
						 
						
							2021-12-07 16:31:37 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								8c77a06e41 
								
							 
						 
						
							
							
								
								fix typo  
							
							 
							
							
							
						 
						
							2021-12-07 15:34:48 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								07e2217f23 
								
							 
						 
						
							
							
								
								improve readme structure  
							
							 
							
							
							
						 
						
							2021-12-07 15:34:21 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								5e8c9fe53e 
								
							 
						 
						
							
							
								
								create bulletpoints for advanced configuration  
							
							 
							
							
							
						 
						
							2021-12-07 14:58:58 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								69a6586c75 
								
							 
						 
						
							
							
								
								warn users to not include localhost-like hosts  
							
							 
							
							
							
						 
						
							2021-12-07 14:57:19 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								bcc4488428 
								
							 
						 
						
							
							
								
								links are not images  
							
							 
							
							
							
						 
						
							2021-12-07 14:52:50 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								f9223e0bad 
								
							 
						 
						
							
							
								
								python syntax error  
							
							 
							
							
							
						 
						
							2021-12-07 14:35:30 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								8965cf9e29 
								
							 
						 
						
							
							
								
								fix csrf did not match trusted origins  
							
							 
							
							... 
							
							
							
							should be set by the TUBESYNC_HOSTS environment
And the localhost values should always be added to ALLOWED_HSOTS 
							
						 
						
							2021-12-07 14:32:47 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								bf2cc9204a 
								
							 
						 
						
							
							
								
								nginx should be killed during stage3  
							
							 
							
							... 
							
							
							
							Now it was killed when the run script finishes 
							
						 
						
							2021-12-07 12:15:21 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								ca7bd75a72 
								
							 
						 
						
							
							
								
								scripts should end with an empty line  
							
							 
							
							
							
						 
						
							2021-12-07 12:11:42 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								f83a2063c3 
								
							 
						 
						
							
							
								
								Boolean typo  
							
							 
							
							
							
						 
						
							2021-12-07 11:51:50 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								cd86e91f5b 
								
							 
						 
						
							
							
								
								tell users that tubesync is available on port 4848  
							
							 
							
							... 
							
							
							
							It is confusing with the other ports in the log 
							
						 
						
							2021-12-07 11:51:39 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								7e7f0521ae 
								
							 
						 
						
							
							
								
								link log files to stdout  
							
							 
							
							
							
						 
						
							2021-12-07 11:47:54 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								402a38ab57 
								
							 
						 
						
							
							
								
								shutdown nginx deamon during stage 3 of s6-overlay  
							
							 
							
							
							
						 
						
							2021-12-07 11:47:41 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								4856e55d6c 
								
							 
						 
						
							
							
								
								always good practive to catch errors  
							
							 
							
							... 
							
							
							
							Prevents printing a trace log, this except in particular catches all errors thrown by requests: https://stackoverflow.com/a/16511493  
							
						 
						
							2021-12-07 11:46:44 +01:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								f3cac1908c 
								
							 
						 
						
							
							
								
								pin django to 3.2.*  
							
							 
							
							
							
						 
						
							2021-12-07 21:02:48 +11:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								fe7baed7f9 
								
							 
						 
						
							
							
								
								log to file, use the log_format  
							
							 
							
							
							
						 
						
							2021-12-07 10:58:22 +01:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								d9a519ffde 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-12-07 20:57:55 +11:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								c7a281c78e 
								
							 
						 
						
							
							
								
								keep original proto header if exists  
							
							 
							
							
							
						 
						
							2021-12-07 10:57:45 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								4444367d67 
								
							 
						 
						
							
							
								
								remove implied comments  
							
							 
							
							
							
						 
						
							2021-12-07 10:53:34 +01:00  
						
					 
				
					
						
							
							
								 
								Luc
							
						 
						
							 
							
							
							
							
								
							
							
								02b41dae0b 
								
							 
						 
						
							
							
								
								fix inconsistent syntax  
							
							 
							
							
							
						 
						
							2021-12-07 10:52:22 +01:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								185823b040 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-11-30 17:06:19 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								4774a35d44 
								
							 
						 
						
							
							
								
								add non-persistent redis server to container,  resolves   #186  
							
							 
							
							
							
						 
						
							2021-11-16 22:20:16 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								b4a89968d0 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-11-16 16:25:28 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								5056419aa4 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-11-11 15:42:21 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								a8488026d0 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-11-07 14:51:02 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								6459e273f1 
								
							 
						 
						
							
							
								
								bump yt-dlp  
							
							 
							
							
							
						 
						
							2021-10-25 15:16:35 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								42e4ee775f 
								
							 
						 
						
							
							
								
								switch from depreciated etree iterator to iter,  resolves   #177  
							
							 
							
							
							
						 
						
							2021-10-19 14:16:06 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								b3d9e74818 
								
							 
						 
						
							
							
								
								revert  3c1d64a089, remove {hh} and {min} filepath macros,  resolves   #133  
							
							 
							
							
							
						 
						
							2021-10-17 21:35:08 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								c396821cb1 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-10-17 21:32:01 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								f9858a4d1a 
								
							 
						 
						
							
							
								
								drop minimum video resolution that will be downloaded in SD to 240p from 360p,  resolves   #162  
							
							 
							
							
							
						 
						
							2021-10-15 21:04:53 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								3c1d64a089 
								
							 
						 
						
							
							
								
								add {HH} for hour and {min} for minutes to output media format path formats, part of  #133  
							
							 
							
							
							
						 
						
							2021-10-15 20:53:06 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								00fbd53b11 
								
							 
						 
						
							
							
								
								remove static ffmpeg external binary, use Debian packaged ffmpeg,  resolves   #174  
							
							 
							
							
							
						 
						
							2021-10-15 20:35:28 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								99825c9a08 
								
							 
						 
						
							
							
								
								switch container base to Debian bullseye,  resolves   #175  
							
							 
							
							
							
						 
						
							2021-10-15 20:18:03 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								4f163f2f2c 
								
							 
						 
						
							
							
								
								fix paths in Makefile  
							
							 
							
							
							
						 
						
							2021-10-15 20:17:26 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								936800992c 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-10-15 20:03:34 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								2e9ee04c97 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-10-12 12:24:42 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								8d60629034 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-10-09 16:59:23 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								f54adab213 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-10-04 17:58:08 +11:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								6618409f9c 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-09-29 19:27:14 +10:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								8d08027024 
								
							 
						 
						
							
							
								
								add migrations for  #158  
							
							 
							
							
							
						 
						
							2021-09-24 15:55:10 +10:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								9a543b1496 
								
							 
						 
						
							
							
								
								bump media_file maximum path to 255 characters,  resolves   #158  
							
							 
							
							
							
						 
						
							2021-09-24 15:53:33 +10:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								b70703b7a7 
								
							 
						 
						
							
							
								
								patch youtube-dl-info command to work with yt-dlp metadata  
							
							 
							
							
							
						 
						
							2021-09-24 12:30:59 +10:00  
						
					 
				
					
						
							
							
								 
								meeb
							
						 
						
							 
							
							
							
							
								
							
							
								6ac0c6e9de 
								
							 
						 
						
							
							
								
								bump libs  
							
							 
							
							
							
						 
						
							2021-09-23 14:58:43 +10:00