more BUGs/TODOs after talking it through with M.

This commit is contained in:
2021-09-19 12:09:43 +10:00
parent ed04b5e92a
commit 1d87314f42
2 changed files with 34 additions and 2 deletions

22
BUGs
View File

@@ -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: ''

14
TODO
View File

@@ -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