1f18713875 
								
							 
						 
						
							
							
								
								Add reminder of what __file__.parent.parent evaluates to.  
							
							
							
						 
						
							2021-10-31 15:10:54 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								f0d302d4a5 
								
							 
						 
						
							
							
								
								Move give_theme_cookie to flasktools.  
							
							
							
						 
						
							2021-10-30 17:29:43 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								6ac1d8a90a 
								
							 
						 
						
							
							
								
								Add remark about X-Forwarded-For.  
							
							
							
						 
						
							2021-10-24 23:21:11 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								779eff1761 
								
							 
						 
						
							
							
								
								Don't show the registration form if registration is disabled.  
							
							
							
						 
						
							2021-10-24 22:17:50 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								6794caa32b 
								
							 
						 
						
							
							
								
								Call photo._uncache instead of doing it manually.  
							
							
							
						 
						
							2021-10-18 14:10:59 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								91cf08efde 
								
							 
						 
						
							
							
								
								Match renamed flasktools.json_response.  
							
							
							
						 
						
							2021-10-01 23:05:46 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								fd42ef16e1 
								
							 
						 
						
							
							
								
								Add admin endpoints.  
							
							
							
						 
						
							2021-10-01 22:42:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								0c51201901 
								
							 
						 
						
							
							
								
								Move truthystring to stringtools.  
							
							
							
						 
						
							2021-09-05 01:21:04 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d4025e865b 
								
							 
						 
						
							
							
								
								Move cached_endpoint, required_fields to flasktools.  
							
							
							
						 
						
							2021-09-03 12:45:07 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								2e0b4cfa14 
								
							 
						 
						
							
							
								
								Replace run_generator with gentools.run.  
							
							
							
						 
						
							2021-08-31 19:23:56 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e9d5711f29 
								
							 
						 
						
							
							
								
								Some linting.  
							
							
							
						 
						
							2021-08-20 22:54:12 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								82a6103d8d 
								
							 
						 
						
							
							
								
								Fix leftover imports.  
							
							
							
						 
						
							2021-06-08 16:04:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								f003f55fca 
								
							 
						 
						
							
							
								
								Move make_json_response to voussoirkit.flasktools.  
							
							
							
						 
						
							2021-06-04 21:49:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								47c4790d36 
								
							 
						 
						
							
							
								
								Remove unnecessary intermediate variable ip.  
							
							
							
						 
						
							2021-06-04 21:33:55 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								7f8a007e2d 
								
							 
						 
						
							
							
								
								Add decorators.give_theme_cookie to decouple from render_template.  
							
							... 
							
							
							
							I realized it was not appropriate for render_template to be handling
this responsibility, but previously did not think of another way.
Now I did. 
							
						 
						
							2021-06-04 21:29:23 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								1554b86c11 
								
							 
						 
						
							
							
								
								Use flasktools.ensure_response_type.  
							
							
							
						 
						
							2021-06-04 21:28:23 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d091efb619 
								
							 
						 
						
							
							
								
								Flip all_albums.json to id:name map.  
							
							
							
						 
						
							2021-06-04 21:00:49 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								53e8030186 
								
							 
						 
						
							
							
								
								Move REQUEST_TYPES, RESPONSE_TYPES to voussoirkit.flasktools.  
							
							
							
						 
						
							2021-06-04 21:00:22 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								0012999744 
								
							 
						 
						
							
							
								
								Remove some pointless whitespace.  
							
							
							
						 
						
							2021-06-04 20:52:39 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								975408227b 
								
							 
						 
						
							
							
								
								Improve cached_endpoint behavior with sentinel.  
							
							
							
						 
						
							2021-06-04 17:49:46 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								56ab6636cc 
								
							 
						 
						
							
							
								
								Add Swipe UI.  
							
							
							
						 
						
							2021-06-03 21:28:05 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e8cb183849 
								
							 
						 
						
							
							
								
								Add cards.js photos.create, render clipboard batches on client.  
							
							
							
						 
						
							2021-05-29 08:46:25 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								89205ac24a 
								
							 
						 
						
							
							
								
								Add interface for copying tags from other photos.  
							
							
							
						 
						
							2021-04-29 13:12:37 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e3872e1da4 
								
							 
						 
						
							
							
								
								Update requirements.txt.  
							
							
							
						 
						
							2021-04-04 11:17:45 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								ff1ec3896b 
								
							 
						 
						
							
							
								
								Use voussoirkit.flasktools for gzip_response.  
							
							
							
						 
						
							2021-04-02 18:31:44 -07:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								400c255aea 
								
							 
						 
						
							
							
								
								Add "Show in folder" button to photos, albums.  
							
							
							
						 
						
							2021-02-25 18:57:41 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								361795237c 
								
							 
						 
						
							
							
								
								Store value request.is_localhost and pass request into all jinjas.  
							
							
							
						 
						
							2021-02-25 18:52:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								e717833d41 
								
							 
						 
						
							
							
								
								Fix batch cards endpoint still referring to photo_card.html.  
							
							
							
						 
						
							2021-01-28 17:01:00 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								38e9b796fe 
								
							 
						 
						
							
							
								
								Use spinal.hash_file instead of redefining here.  
							
							
							
						 
						
							2021-01-25 14:59:40 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								d6f155afbd 
								
							 
						 
						
							
							
								
								Add /album/remove_thumbnail_photo endpoint.  
							
							
							
						 
						
							2021-01-20 19:07:37 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								da8dff6f85 
								
							 
						 
						
							
							
								
								Add /album/set_thumbnail_photo endpoint.  
							
							
							
						 
						
							2021-01-20 19:07:37 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								53eaf8b815 
								
							 
						 
						
							
							
								
								Fix docstring still referring to etiquette_flask_launch.  
							
							
							
						 
						
							2021-01-20 18:26:43 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								5e7b90cbe4 
								
							 
						 
						
							
							
								
								Combine all card templates into cards.html.  
							
							
							
						 
						
							2021-01-20 18:26:42 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								fb5f2f2470 
								
							 
						 
						
							
							
								
								Move site.debug to _dev, _prod launchers.  
							
							
							
						 
						
							2021-01-20 18:26:42 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
							
							
							
								
							
							
								be7f5ebb01 
								
							 
						 
						
							
							
								
								Check is_dir before sending to digest.  
							
							
							
						 
						
							2021-01-19 09:59:15 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								d4f5a196b9 
								
							 
						 
						
							
							
								
								Add Unauthorized exception.  
							
							... 
							
							
							
							This should start to see more use as I continue to build up the user
profile features. 
							
						 
						
							2021-01-09 15:42:51 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								e5be26f8b0 
								
							 
						 
						
							
							
								
								Add PhotoDB.closest_photodb for frontend instantiation.  
							
							
							
						 
						
							2021-01-09 15:42:16 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								84bf9b90de 
								
							 
						 
						
							
							
								
								Add panels for user's created photos, albums, tags, bookmarks.  
							
							
							
						 
						
							2021-01-09 11:27:29 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								ca74e2e1d4 
								
							 
						 
						
							
							
								
								Use request.path instead of url for endswith conditions.  
							
							... 
							
							
							
							Because of the query string 
							
						 
						
							2021-01-07 23:04:10 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								db63ccc641 
								
							 
						 
						
							
							
								
								Split /tags.json, /tag/tagname.json into separate routes.  
							
							
							
						 
						
							2021-01-07 23:02:05 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								84b4595454 
								
							 
						 
						
							
							
								
								Let /tag/tagname.json only return the one main tag, not list.  
							
							... 
							
							
							
							Previously, the whole walk tree was returned. This can be convenient
because you get the whole descendant tree all at once, but it's
unusual since all the other individual .json endpoints only return a
single object, not a list. 
							
						 
						
							2021-01-07 22:52:42 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								4087827e86 
								
							 
						 
						
							
							
								
								Delete some old vars and slightly improve some clarity.  
							
							
							
						 
						
							2021-01-07 19:25:47 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								dd54eabd93 
								
							 
						 
						
							
							
								
								Add api endpoint /tag/tagname/add_synonym.  
							
							
							
						 
						
							2021-01-05 14:02:08 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								06f26cd7b7 
								
							 
						 
						
							
							
								
								Use dotdict to remove all these ugly brackets.  
							
							
							
						 
						
							2021-01-05 13:09:31 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								af73bc580f 
								
							 
						 
						
							
							
								
								Improve readability of cached_endpoint.  
							
							... 
							
							
							
							Switched the conditional and pulled it out into a separate function
so I can return early and dedent the rest. 
							
						 
						
							2021-01-05 13:07:03 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								b9ad785f4d 
								
							 
						 
						
							
							
								
								Remove 'updated' key from /all_albums, /all_tags. Was killing caching.  
							
							... 
							
							
							
							The cached_endpoint decorator was detecting that the response content
kept changing, so it never returned 304. Oops. At the moment the client
doesn't even use this key, so if we need it back we can use the etag or
another http header. 
							
						 
						
							2021-01-05 13:05:18 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								1d33923601 
								
							 
						 
						
							
							
								
								Rename caching.py -> client_caching.py.  
							
							... 
							
							
							
							The word caching can be ambiguous, and what's worse is this file
previously contained a decorator for server-side caching of a
response and a class for client-side caching of files. It was
confusing. This new separation and naming should make it easier
to find what you're looking for. 
							
						 
						
							2021-01-05 13:03:41 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								8ab248a34e 
								
							 
						 
						
							
							
								
								Improve naming and comments in FileEtagManager  
							
							
							
						 
						
							2021-01-05 12:59:18 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								bb82c1e4e7 
								
							 
						 
						
							
							
								
								Move cached_endpoint to decorators.  
							
							
							
						 
						
							2021-01-05 12:43:39 -08:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								11b846a3e0 
								
							 
						 
						
							
							
								
								Move random_hex function to voussoirkit/passwordy.  
							
							
							
						 
						
							2021-01-05 12:38:04 -08:00