0a608bcb69 
								
							 
						 
						
							
							
								
								In database_upgrader, use DROP INDEX IF EXISTS.  
							
							
							
						 
						
							2020-09-11 16:15:42 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								03ae8325c9 
								
							 
						 
						
							
							
								
								Use same transactional try-except-else as YCDL.  
							
							
							
						 
						
							2020-08-10 18:50:54 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								9d620b4b97 
								
							 
						 
						
							
							
								
								Remove unused imports & other small things.  
							
							
							
						 
						
							2020-02-20 22:44:56 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								851ab2d4cc 
								
							 
						 
						
							
							
								
								main should return the args.func(args) value.  
							
							
							
						 
						
							2020-02-08 17:24:57 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								4434517c54 
								
							 
						 
						
							
							
								
								Rename config user.min_length -> min_username_length.  
							
							
							
						 
						
							2018-04-15 14:36:07 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								21bd211889 
								
							 
						 
						
							
							
								
								Give Users a display_name.  
							
							
							
						 
						
							2018-04-15 14:23:24 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								1e42f1ea4e 
								
							 
						 
						
							
							
								
								DB V12: Add (photoid, tagid) index to photo_tag_rel.  
							
							
							
						 
						
							2018-03-21 19:00:13 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								dffde094e8 
								
							 
						 
						
							
							
								
								Give Albums and Tags an author_id column.  
							
							... 
							
							
							
							Keeping V11 because I hadn't published previous commits yet. 
							
						 
						
							2018-03-18 15:28:26 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								cc98cf5407 
								
							 
						 
						
							
							
								
								Create subdirs for utilities.  
							
							
							
						 
						
							2018-03-18 00:26:57 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								d383000441 
								
							 
						 
						
							
							
								
								Add Foreign Keys, Primary Keys, and NOT NULL constraints.  
							
							
							
						 
						
							2018-03-18 00:09:08 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								ffe0be21f5 
								
							 
						 
						
							
							
								
								Fix Photo thumbnail paths to be relative to the PDB's thumb dir.  
							
							... 
							
							
							
							Previously they were relative to the directory from which the client
was launched, meaning it usually started with ./_etiquette.
Now it should be more portable and less tight. 
							
						 
						
							2018-03-13 02:50:54 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								f3eb6345f7 
								
							 
						 
						
							
							
								
								Let database_upgrader use the photodb instead of raw sql con.  
							
							
							
						 
						
							2018-03-13 02:28:09 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								5f6d21fdee 
								
							 
						 
						
							
							
								
								Give Photos a searchhidden property.  
							
							... 
							
							
							
							By default, photos with searchhidden do not appear in the search
results. This allows a small number of representative images from
a large album to appear in the results, while the rest can be
found on the album's page.
The same effect could be achieved with a tag and forbid search,
but tag searching has much higher cost and it would be more difficult
to implement as a default behavior without requiring lots of special
checks whenever listing tags etc. 
							
						 
						
							2018-03-09 17:10:27 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a4a278c173 
								
							 
						 
						
							
							
								
								Give Tags a description field.  
							
							
							
						 
						
							2017-05-12 17:31:17 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								d52143e283 
								
							 
						 
						
							
							
								
								Add nullcheck to associated directory upgrader  
							
							
							
						 
						
							2017-03-22 23:56:58 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								efa930f4a8 
								
							 
						 
						
							
							
								
								Make associated_directory its own table so albums can have multiple  
							
							... 
							
							
							
							Also renamed a bunch of indices 
							
						 
						
							2017-03-16 23:57:31 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								70f284d413 
								
							 
						 
						
							
							
								
								Fix album_group indices being added to the wrong table.  
							
							
							
						 
						
							2017-03-10 05:49:18 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								83408aca4a 
								
							 
						 
						
							
							
								
								Give Albums their own ID counter, own group rel table  
							
							
							
						 
						
							2017-03-04 01:13:22 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								c3a4fa443b 
								
							 
						 
						
							
							
								
								Rename variable 'row_tuple' to 'db_row'; Improve some docstrings  
							
							
							
						 
						
							2017-03-03 21:15:31 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								80cb66b825 
								
							 
						 
						
							
							
								
								Rename phototagger.py to photodb.py  
							
							
							
						 
						
							2017-02-04 20:01:03 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								c84acca6c9 
								
							 
						 
						
							
							
								
								Move modules into an actual package  
							
							
							
						 
						
							2017-02-04 19:55:13 -08:00