From 1d87314f42953cec13dab4178acb082baa6e5c9b Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 19 Sep 2021 12:09:43 +1000 Subject: [PATCH] more BUGs/TODOs after talking it through with M. --- BUGs | 22 +++++++++++++++++++++- TODO | 14 +++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/BUGs b/BUGs index 7de9373..ce89d34 100644 --- a/BUGs +++ b/BUGs @@ -1,2 +1,22 @@ -### Next: 60 +### Next: 63 BUG-56: when making a viewing list of AI:mich, (any search?) and going past the page_size, it gets the wrong data from the DB for the 'next' entry +BUG-60: entries per page (in folders view) ignores pagesize, and this also contributes to BUG-56 I think +BUG-61: in Fullscreen mode and next/prev occasionally dropped out of FS + this is just another consequence of going beyond Pagesize, when we get new entries from DB, it loses FS flag +BUG-62: viewlist on venice subdir and 'next' crashes server with a 500 + ESC[36mpaweb |ESC[0m [2021-09-19 12:00:06,477] ERROR in app: Exception on /viewlist [POST] + ESC[36mpaweb |ESC[0m Traceback (most recent call last): + ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app + ESC[36mpaweb |ESC[0m response = self.full_dispatch_request() + ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request + ESC[36mpaweb |ESC[0m rv = self.handle_user_exception(e) + ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request + ESC[36mpaweb |ESC[0m rv = self.dispatch_request() + ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request + ESC[36mpaweb |ESC[0m return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) + ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask_login/utils.py", line 272, in decorated_view + ESC[36mpaweb |ESC[0m return func(*args, **kwargs) + ESC[36mpaweb |ESC[0m File "/code/files.py", line 478, in viewlist + ESC[36mpaweb |ESC[0m current = int(lst[0]) + ESC[36mpaweb |ESC[0m ValueError: invalid literal for int() with base 10: '' + diff --git a/TODO b/TODO index df734c8..a800b7d 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,14 @@ ## GENERAL + * ai search, should put 'all' at top of drop-down + + * add an option on the person menu to run_ai_on all photos (or at least import/storage) + + * move all unsorted photos/* -> import/ + + * when viewing image, with fname, show full path with icon of 'path' + + * when hitting back button to a search, it doesnt handle the post, etc. + * get build process to create a random string for secret for PROD, otherwise use builtin for dev Dup issues: @@ -14,6 +24,8 @@ https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/ * fix up logging in general + + * metadata at folder level with file level to add more richness ## DB * Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view @@ -33,7 +45,7 @@ Admin -> do I want to have admin roles/users? - -> purge deleted files (and associated DB data) + -> purge deleted files (and associated DB data) needs a dbox or privs ### AI * faces per file (need a threshold for too many? OR