35c29e6778 
								
							 
						 
						
							
							
								
								Completely hardcode mimetypes, improve mimetype search query.  
							
							
							
						 
						
							2022-10-27 20:53:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								3767558c66 
								
							 
						 
						
							
							
								
								Add search filter has_albums.  
							
							... 
							
							
							
							Sometimes it's nice to search just for the free spirits. 
							
						 
						
							2022-09-28 19:49:01 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								19d12c3132 
								
							 
						 
						
							
							
								
								Jsonify child objects will be ids only, not more json.  
							
							... 
							
							
							
							Because albums and tags have both parents and children, there's quite
a lot of redundant json when rendering each as a dict. I'd rather
improve the bulk searchability of objects by their ids than bloat
every response with redundant renderings of the same child objects.
Also, all include_* parameters are now nested inside the minimal
check so that minimal will take priority. 
							
						 
						
							2022-09-27 17:53:07 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								762f86c397 
								
							 
						 
						
							
							
								
								Improve usage of trusted_file throughout new_photo, metadata.  
							
							
							
						 
						
							2022-09-27 17:45:24 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								219b1ca5bb 
								
							 
						 
						
							
							
								
								Raise NoClosestPhotoDB when FileNotFound.  
							
							
							
						 
						
							2022-09-07 18:06:50 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								57d311569f 
								
							 
						 
						
							
							
								
								Initialize sql_write before sql_read so file can be created.  
							
							... 
							
							
							
							The read only handle doesn't want to create the db file
when it does not yet exist. 
							
						 
						
							2022-09-07 18:06:32 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								4f063cd90e 
								
							 
						 
						
							
							
								
								Fix return value of (photo, is_new) for digest.  
							
							
							
						 
						
							2022-08-21 14:01:43 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								f420367d55 
								
							 
						 
						
							
							
								
								Let digest_directory distinguish between new and existing photos.  
							
							
							
						 
						
							2022-08-13 18:16:04 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								ec1197d7ca 
								
							 
						 
						
							
							
								
								Add trusted_file to disable metadata safeguards like PIL size limit.  
							
							
							
						 
						
							2022-08-13 18:12:21 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								0864572930 
								
							 
						 
						
							
							
								
								Alphabetize _reload_audio_metadata.  
							
							
							
						 
						
							2022-08-13 18:09:53 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								57f1b80442 
								
							 
						 
						
							
							
								
								Use SQL generated columns for area, aspectratio, basename, bitrate.  
							
							
							
						 
						
							2022-08-13 18:08:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								cfe724b384 
								
							 
						 
						
							
							
								
								Update worms, insert data renamed to pairs.  
							
							
							
						 
						
							2022-08-13 07:27:16 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								802aae644f 
								
							 
						 
						
							
							
								
								Use pil lanczos.  
							
							
							
						 
						
							2022-08-06 16:17:53 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								df5870502a 
								
							 
						 
						
							
							
								
								Add syntax for now+seconds, now-seconds when parsing units.  
							
							... 
							
							
							
							This helps a lot when it comes to querying for atom feeds. You can
request the last X hours of items instead of picking some limit
that you hope is high enough for the highs and wastes data during
the lows.
You want created=now-86400..now for one day. 
							
						 
						
							2022-08-04 06:10:44 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								f8b1cd9178 
								
							 
						 
						
							
							
								
								Rename hyphen_range to dotdot_range a..b so we can have negatives.  
							
							... 
							
							
							
							Hyphen range doesn't allow negative numbers. The dot-dot syntax
is used by git, ruby, and others so I think it's a good pick. 
							
						 
						
							2022-08-04 06:10:43 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								47c879764a 
								
							 
						 
						
							
							
								
								Rename timestamp_to_datetime to utcfromtimestamp.  
							
							... 
							
							
							
							It is what it is. 
							
						 
						
							2022-07-21 17:21:49 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								2562084fce 
								
							 
						 
						
							
							
								
								Experimental atom feed for photos, albums, search.  
							
							
							
						 
						
							2022-07-20 19:03:27 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								4001f6f371 
								
							 
						 
						
							
							
								
								Use datetime objects instead of timestamps in object model.  
							
							... 
							
							
							
							Trying to make better use of objects in this object oriented language. 
							
						 
						
							2022-07-20 19:03:26 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								cb43b5d9e0 
								
							 
						 
						
							
							
								
								Migrate all IDs from strings to ints. Random 32 bit IDs in future.  
							
							
							
						 
						
							2022-07-20 19:03:26 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								0e00a1e981 
								
							 
						 
						
							
							
								
								Use new worms version.  
							
							
							
						 
						
							2022-07-20 19:03:25 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								a436dafa9c 
								
							 
						 
						
							
							
								
								Use worms select_one_value.  
							
							
							
						 
						
							2022-06-03 19:47:27 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d620660975 
								
							 
						 
						
							
							
								
								Let generate_id take the thing class instead of the table string.  
							
							
							
						 
						
							2022-03-26 13:22:03 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								c63f63f6a7 
								
							 
						 
						
							
							
								
								Use sql.row_factory = sqlite3.Row.  
							
							
							
						 
						
							2022-03-26 13:22:02 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								59eddb9d07 
								
							 
						 
						
							
							
								
								Remove pragma count_changes, which is deprecated.  
							
							
							
						 
						
							2022-03-26 13:22:00 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e982858c28 
								
							 
						 
						
							
							
								
								Add a log.debug when connecting to sqlite file.  
							
							
							
						 
						
							2021-12-21 16:57:08 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								8a44c8ec2e 
								
							 
						 
						
							
							
								
								Let normalize_tagset handle given individual tag objects.  
							
							
							
						 
						
							2021-12-21 16:52:46 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d8cc841f5c 
								
							 
						 
						
							
							
								
								Remove unnecessary .absolute_path thanks to fspath.  
							
							
							
						 
						
							2021-12-07 12:45:08 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								2eaac9e996 
								
							 
						 
						
							
							
								
								Return early from ephemeral so we can dedent this code.  
							
							
							
						 
						
							2021-11-14 15:43:50 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								4da25c1d9e 
								
							 
						 
						
							
							
								
								Replace get_author with @property author.  
							
							
							
						 
						
							2021-10-23 18:48:14 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								b3ed94c22b 
								
							 
						 
						
							
							
								
								Replace these warning strings with proper exception classes.  
							
							
							
						 
						
							2021-10-18 14:17:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								81640102d5 
								
							 
						 
						
							
							
								
								Use keyword argument for FeatureDisabled message.  
							
							
							
						 
						
							2021-10-18 14:12:22 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								7b7c74b15d 
								
							 
						 
						
							
							
								
								Use a semicolon instead of ampersand for the linux example.  
							
							
							
						 
						
							2021-10-18 14:09:31 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								775287d8a8 
								
							 
						 
						
							
							
								
								Match worms abstract base class requirements.  
							
							
							
						 
						
							2021-10-09 12:12:43 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d14d68b2c8 
								
							 
						 
						
							
							
								
								Use named argument data_directory.  
							
							
							
						 
						
							2021-10-02 12:46:06 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								98a545e166 
								
							 
						 
						
							
							
								
								Move assert_not_deleted to worms.  
							
							
							
						 
						
							2021-10-02 12:45:37 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								f510bb88c0 
								
							 
						 
						
							
							
								
								Use voussoirkit/worms.  
							
							
							
						 
						
							2021-10-01 22:42:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								1f7e299821 
								
							 
						 
						
							
							
								
								Add logging for loading / saving config file.  
							
							
							
						 
						
							2021-10-01 22:42:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								920a3d6450 
								
							 
						 
						
							
							
								
								Match configlayers update.  
							
							
							
						 
						
							2021-10-01 22:42:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								617ccc2694 
								
							 
						 
						
							
							
								
								Let create default to False.  
							
							
							
						 
						
							2021-09-30 22:03:16 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								1dfbdfa70c 
								
							 
						 
						
							
							
								
								Rename thumbnail directory to just "thumbnails".  
							
							
							
						 
						
							2021-09-30 22:03:16 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								a3f7c796c4 
								
							 
						 
						
							
							
								
								Replace self.sql.commit with self.commit.  
							
							
							
						 
						
							2021-09-30 22:03:15 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								2831eb43d0 
								
							 
						 
						
							
							
								
								Let closest_photodb have default path='.'.  
							
							
							
						 
						
							2021-09-30 22:03:14 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								a0f1b2d86d 
								
							 
						 
						
							
							
								
								Log exception instead of print_exc.  
							
							
							
						 
						
							2021-09-12 21:19:30 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								23f9a5427f 
								
							 
						 
						
							
							
								
								Make better use of vlogging.  
							
							
							
						 
						
							2021-09-08 19:36:29 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								7c1b6b293d 
								
							 
						 
						
							
							
								
								Move checkerboard_image to imagetools.  
							
							
							
						 
						
							2021-09-05 01:36:07 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								0c51201901 
								
							 
						 
						
							
							
								
								Move truthystring to stringtools.  
							
							
							
						 
						
							2021-09-05 01:21:04 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e883409daf 
								
							 
						 
						
							
							
								
								Add some type annotations, document some exceptions.  
							
							
							
						 
						
							2021-08-31 19:25:42 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								2e0b4cfa14 
								
							 
						 
						
							
							
								
								Replace run_generator with gentools.run.  
							
							
							
						 
						
							2021-08-31 19:23:56 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								071b290fe6 
								
							 
						 
						
							
							
								
								Fix yielded pathclass of purge_deleted_associated_directories.  
							
							
							
						 
						
							2021-08-25 21:41:53 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e9d5711f29 
								
							 
						 
						
							
							
								
								Some linting.  
							
							
							
						 
						
							2021-08-20 22:54:12 -07:00