Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						06b25f384a 
					 
					
						
						
							
							File_redirection->getFile could never get the file anyway if $redir->file_id was empty...  
						
						
						
						
					 
					
						2017-05-02 09:07:00 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						f6d4d00e02 
					 
					
						
						
							
							I think this will stop my daemons from endlessly looping  
						
						... 
						
						
						
						I got this which ate all my memory:
queuedaemon.php:10733] HTTPClient: HTTP HEAD https://drive.google.com/file/d/*masked*/view?usp=sharing  - 200 OK
queuedaemon.php:10733] Checking for remote URL metadata for https://drive.google.com/file/d/*masked*/view?usp=sharing 
queuedaemon.php:10733] HTTPClient: HTTP GET https://drive.google.com/file/d/*masked*/view?usp=sharing  - 200 OK
queuedaemon.php:10733] Trying to discover an oEmbed endpoint using link headers.
queuedaemon.php:10733] Could not find an oEmbed endpoint using link headers, trying OpenGraph from HTML.
queuedaemon.php:10733] HTTPClient: HTTP HEAD https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook  - 200 OK
queuedaemon.php:10733] Checking for remote URL metadata for https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook 
queuedaemon.php:10733] HTTPClient: HTTP GET https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook  - 200 OK
queuedaemon.php:10733] Trying to discover an oEmbed endpoint using link headers.
queuedaemon.php:10733] Could not find an oEmbed endpoint using link headers, trying OpenGraph from HTML.
queuedaemon.php:10733] HTTPClient: HTTP HEAD https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook&usp=embed_facebook  - 200 OK
queuedaemon.php:10733] Checking for remote URL metadata for https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook&usp=embed_facebook 
queuedaemon.php:10733] HTTPClient: HTTP GET https://drive.google.com/file/d/*masked*/view?usp=sharing&usp=embed_facebook&usp=embed_facebook  - 200 OK
queuedaemon.php:10733] Trying to discover an oEmbed endpoint using link headers.
queuedaemon.php:10733] Could not find an oEmbed endpoint using link headers, trying OpenGraph from HTML.
...ad nauseam. 
						
						
					 
					
						2017-05-01 10:27:21 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						dcffe5d992 
					 
					
						
						
							
							Forgotten File::getByUrl conversations (performance++)  
						
						
						
						
					 
					
						2016-03-29 12:13:53 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						feb6b636f4 
					 
					
						
						
							
							File_oembed varchar to text changes  
						
						... 
						
						
						
						No need to have text length limitations in the database for fields which
very well may be longer than what was previously set. 
						
						
					 
					
						2015-12-27 12:11:29 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						334a0d56e7 
					 
					
						
						
							
							Oembed slimmed to only do discovery (soon we get og: discovery too)  
						
						
						
						
					 
					
						2015-11-30 02:06:04 +01:00 
						 
				 
			
				
					
						
							
							
								Stephen Paul Weber 
							
						 
					 
					
						
						
							
						
						a9b1b60a97 
					 
					
						
						
							
							Refactor on File::processNew  
						
						... 
						
						
						
						The code was so involved there was even a comment asking for a refactor.
Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.
Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.
An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving. 
						
						
					 
					
						2015-11-02 05:15:08 +00:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						d52b7e3124 
					 
					
						
						
							
							Oembed fiddling, nothing major  
						
						
						
						
					 
					
						2015-10-01 22:18:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						8a002e98bc 
					 
					
						
						
							
							File-related functions not declared static  
						
						
						
						
					 
					
						2015-06-07 10:01:28 +02:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						2f86cd8602 
					 
					
						
						
							
							utf8mb4 conversion on database with index adjusts  
						
						
						
						
					 
					
						2015-02-12 18:18:55 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						999175d741 
					 
					
						
						
							
							File_oembed::byFile to avoid littering with getKV  
						
						
						
						
					 
					
						2015-01-25 02:32:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mikael Nordfeldth 
							
						 
					 
					
						
						
							
						
						1776c90cb9 
					 
					
						
						
							
							Moved oEmbed stuff out to a plugin (Oembed).  
						
						
						
						
					 
					
						2014-05-06 23:32:13 +02:00