reorder TODOs

This commit is contained in:
2022-01-09 18:13:39 +11:00
parent a84946b561
commit ee8f41bbc2

47
TODO
View File

@@ -1,23 +1,16 @@
## GENERAL ## GENERAL
* dont allow me to stupidly move a folder to itself
* move all unsorted photos/* -> import/ * move all unsorted photos/* -> import/
TEST: what if we try to move a path in settings, should not allow this?
* remember last import dir, so you can just go straight back to it
* in Fullscreen mode and next/prev dropped out of FS when calling /viewlist route
-- only way to fix this, is for when we POST to viewlist, it returns json, and we never leave /view/X
-- then we can stay on-page, and stay in FS and then just call ViewImageOrVide()
* put a delete option on viewer page
* metadata at folder level with file level to add more richness
- store in DB? or store in hidden file (or both)... IF it is outside the DB, then I can 'rebuild' the DB at anytime from scratch
* why .xcf is seen as a video???
- actually only 1 is... I think if type == 'Unknown' then do file display and use ? as the image again
* add an option on the person menu to run_ai_on all photos (or at least import/storage) * add an option on the person menu to run_ai_on all photos (or at least import/storage)
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* when search, have a way to hide deleted files
* remember last import dir, so you can just go straight back to it
* when hitting back button to a search, it doesnt handle the post, etc. * when hitting back button to a search, it doesnt handle the post, etc.
$(document).ready(function() { $(document).ready(function() {
window.history.pushState(null, "", window.location.href); window.history.pushState(null, "", window.location.href);
@@ -26,9 +19,21 @@
}; };
}); });
* put a delete option on viewer page
* in Fullscreen mode and next/prev dropped out of FS when calling /viewlist route
-- only way to fix this, is for when we POST to viewlist, it returns json, and we never leave /view/X
-- then we can stay on-page, and stay in FS and then just call ViewImageOrVide()
* metadata at folder level with file level to add more richness
- store in DB? or store in hidden file (or both)... IF it is outside the DB, then I can 'rebuild' the DB at anytime from scratch
* why .xcf is seen as a video???
- actually only 1 is... I think if type == 'Unknown' then do file display and use ? as the image again
* get build process to create a random string for secret for PROD, otherwise use builtin for dev * get build process to create a random string for secret for PROD, otherwise use builtin for dev
* when search, have a way to hide deleted files * deal with changing/adding/removing a path in settings
* dup issues: * dup issues:
* when we have lots of dups, sort the directories by alpha so its consistent when choosing * when we have lots of dups, sort the directories by alpha so its consistent when choosing
@@ -36,7 +41,6 @@
* comment your code -> only html files remaining * comment your code -> only html files remaining
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* from menu, we could try to get smart/fancy... say find face with largest size, check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person * from menu, we could try to get smart/fancy... say find face with largest size, check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person
- read that guys face matching / clustering / nearest neighbour examples, for a whole new AI capability - read that guys face matching / clustering / nearest neighbour examples, for a whole new AI capability
https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/ https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/
@@ -50,16 +54,11 @@
### BACKEND ### BACKEND
* revisit SymlinkName() and make it simpler (see comment in shared.py) * revisit SymlinkName() and make it simpler (see comment in shared.py)
* if you change paths in settings, then re-run Initialisation checks (for symlinks to new path names)
- this actively is crashing, added a file in storage2/ (no symlink), so job mgr crashed, and DB doesnt have the content until you make the symlink (via re-running job mgr)
-- started on some basic optimisations (commit logs every 100 logs, not each log)
- with debugs: import = 04:11, getfiledetails== 0:35:35
- without debugs: import == 04:03, getfiledetails == 0:35:36 -- not a sig diff
- with exifread & debug: import == 04:26
*** Need to use thread-safe sessions per Thread, half-assed version did not work *** Need to use thread-safe sessions per Thread, half-assed version did not work
* put nightly? job to scan import dir * put nightly? job to scan import dir, clean out old recycle bin entries
* put weekly? job to scan storage dir
* put weekly? job to scan storage dir * put weekly? job to scan storage dir
need a manual button to restart a job in the GUI, need a manual button to restart a job in the GUI,