12726ed186
added # matches on show persons page, and fixed issue with search OPT being hardcoded and not using those in the DB
Damien De Paoli2022-01-16 00:55:23 +11:00
a3c75c699d
fixed BUGs with deleting old files out of the recyle bin, when they were already deleted from the FS and added timeout debugs, still not 100% the scheduled jobs are working
Damien De Paoli2022-01-15 16:37:40 +11:00
5a0f4221ab
handle deleting properly - e.g. if had a refimg that was used for a match earlier then deal with it, and when deleting a person, dont leave behind orphaned refimgs
Damien De Paoli2022-01-15 16:36:11 +11:00
1dbffe0d6f
fix up quotes and log stdout of job mgr to /var/log/pa_job_manager.out
Damien De Paoli2022-01-15 16:35:17 +11:00
bd7cae6037
fixed BUG-78 (deleted recursively too far - took out parent_dir), also deleting from the viewer page works with Delete key too. Removed debugs in viewer for fullscreen
Damien De Paoli2022-01-14 13:49:39 +11:00
fd16e80b78
tweaked bin icon for small/large displaying, added todo around viewing on phone and maybe datatables
Damien De Paoli2022-01-14 11:20:41 +11:00
71951ca04c
minor re-formating of joblog to fit larger screens & phone screens better
Damien De Paoli2022-01-14 11:03:03 +11:00
a2fb877f12
implemented job archiving (via a Setting, and just viewing recent or all)
Damien De Paoli2022-01-13 23:11:21 +11:00
8a6a7a5115
joblog rewrite to show only a few "newest" lines and "oldest" logs for a job, with the more button in the middle, also has a little icon to show the re-ordering that goes with each view - should really make this clickable/togglable.
Damien De Paoli2022-01-13 21:12:09 +11:00
10866c3147
scheduled jobs implemented, after X days in settings we scan import, storage paths, and check the Bin for old files and actually delete them from the file system
Damien De Paoli2022-01-13 13:27:55 +11:00
592dcf546d
fix up path screw up in initial test insert of data, also added support in Settings for scheduled jobs
Damien De Paoli2022-01-13 13:27:19 +11:00
a67c20d72b
new BUG (very minor), reordered TODOs and now have basic stale job handling - they are detected, and can be cancelled or restarted from GUI
Damien De Paoli2022-01-11 13:18:21 +11:00
bf04c862d6
first pass of allowing to scan for all files in import and storage paths <- works, and showing all unknown faces to handle them somehow - very rudimentary
Damien De Paoli2022-01-10 01:20:20 +11:00
76da875709
new bugs, use existing with a non-date fails, and move between paths for scen 4 broken
Damien De Paoli2022-01-09 18:11:33 +11:00
dc21d65dd7
Put new functionality in to allow choosing existing folder in move code - it goes back and forwards 7 days from the date of this file and finds matching files and uses those dirs, or just dirname matches for those dates and offers them up. Also improved Move code to reject dodgy paths
Damien De Paoli2022-01-09 12:20:29 +11:00
0cb4c1879c
updated TODO, fixed BUG-69 not handling move of dirs to existing dir
Damien De Paoli2022-01-08 11:28:03 +11:00
b1917855e2
code clean up, created CreateFSLocation() and refactored code to use it
Damien De Paoli2022-01-08 11:24:53 +11:00
665f45c03e
working condensed / logical version of moving on Files system - works for multiple scenarios
Damien De Paoli2022-01-07 17:32:23 +11:00
ff41164eff
over-thought version of new move, about to radically simplify, committing so I dont lost it just in case
Damien De Paoli2022-01-07 15:08:44 +11:00
95c5413985
treat a Search as a "path" in PA_PREFS so we can remember settings for a search too - this fixes the issue where prefs are "changed" when you go from import/storage -> search -> import/storage again
Damien De Paoli2021-10-17 15:45:10 +11:00
2b0217184f
optimise a move via GUI and any re-hashing, due to FS move, or Transform, etc. to update the last_hash_dt so we dont keep redoing the md5 hash as ctime > last_hash_dt, but there is no new content so no new last_hash_dt was being modified
Damien De Paoli2021-10-17 12:05:48 +11:00
0e4dc131e2
improved viewer is not really a BUG, fullscreen just behaves differently to what I expected, moving this into TODO
Damien De Paoli2021-10-13 16:56:59 +11:00
d40f2de2a1
remove duplicates from search results - fixes BUG-70
Damien De Paoli2021-10-10 21:58:58 +11:00
91f0f10767
remove duplicates from search results 0fixes BUG-70
Damien De Paoli2021-10-10 21:46:13 +11:00
8f4eb870bb
use stat_mtime for gen hash (as moving a file does not change content) AND for fall-back date/time of importing a photo -- Fixes BUG-72
Damien De Paoli2021-10-10 21:12:52 +11:00
d870fda830
Fixed bug-68 - FullPathOnFS() was wrong for first dir in a path
Damien De Paoli2021-10-02 14:49:18 +10:00
b135f5681d
Fixed bug-69 - FullPathOnFS() was wrong for first dir in a path
Damien De Paoli2021-10-02 14:49:07 +10:00
9f2165c04d
reset sub dir path properly based on parents path. Also fixed bug-69 - FullPathOnFS() was wrong for first dir in a path
Damien De Paoli2021-10-02 14:48:50 +10:00
fea5ae6c7d
set button state when choosing with right-click
Damien De Paoli2021-10-02 14:47:59 +10:00
64466abde2
real fix for BUG-64, can now move a directory between import/storage too... Still have move button disabled on selecting a folder in GUI - to be fixed, then we can move 111 Working dir back to the import dir
Damien De Paoli2021-10-02 12:58:45 +10:00
0bcc85f42b
remove last remnants of rotate instead of transform, updated rot* svgs to have arrow point in direction of actual rotation, AND, fixed bug where when we rotate an image that has already had an exif_transform on it, then we have to do that and then the requested rotation - fixes why sometimes we rotate say 180 when we intended a 90 rotate. Also, when we transform, recalc md5 as file has changed
Damien De Paoli2021-10-01 22:16:42 +10:00
3dafae334b
remove last remnants of rotate instead of transform, updated rot* svgs to have arrow point in direction of actual rotation, AND, fixed bug where when we rotate an image that has already had an exif_transform on it, then we have to do that and then the requested rotation - fixes why sometimes we rotate say 180 when we intended a 90 rotate. Also, when we transform, recalc md5 as file has changed
Damien De Paoli2021-10-01 22:16:28 +10:00
eca9c24665
add fullscreen into pa_prefs class, and default to False if not set
Damien De Paoli2021-10-01 22:14:33 +10:00
90c8ba4d9d
use current var in view_transform, rather than #current - we deleted that ages ago, this fixed BUG-67
Damien De Paoli2021-09-29 17:23:31 +10:00
6031002f01
fixed todo around handling missing thumbs - combo of re-importing *.bmp, and dark videos now that those bugs were fixed, also reordered TODOs
Damien De Paoli2021-09-29 16:57:27 +10:00
34e055d920
remove old StoragePathNames(), we can now move into import or storage paths
Damien De Paoli2021-09-29 16:56:49 +10:00
1685308430
add unknown_ftype - used for Unknown file types in viewer, or if no thumbnail for some reason & fixed issue with move_paths only working from button, not context menu
Damien De Paoli2021-09-29 16:56:10 +10:00
bbc5f4f856
add unknown_ftype - used for Unknown file types in viewer, or if no thumbnail for some reason
Damien De Paoli2021-09-29 16:55:20 +10:00
23c8d16a5b
fix BUG-64: can now move files into import or storage path
Damien De Paoli2021-09-26 21:14:08 +10:00
92e643f425
actually call RemoveDirFromDB when deleting a missing dir, I really screwed this - didnt test properly until now. Should all work finally
Damien De Paoli2021-09-25 13:13:35 +10:00
5abd01bb4d
fix BUG-66: deleting files out from under and in general CleanUpDirInDB needs to use Entry not Dir
Damien De Paoli2021-09-25 12:11:13 +10:00
81264bd50d
stop trying to use loop.index for which ecnt, just use a dedicated var... stops the weirdness between folders/no folders when highlighting too -- fixed last bug with incorrect selections
Damien De Paoli2021-09-24 21:39:35 +10:00
e9f37aa6a8
minor change to optim, if file hash is same but we have no thumb, then try to gen one anyway
Damien De Paoli2021-09-24 20:42:39 +10:00
eec4a7fd5a
dont need to worry about taking 1 for folder selects, I dont know why I did need it, but doesnt seem too... nervous this will cause me grief somewhere else?
Damien De Paoli2021-09-24 20:28:41 +10:00
a0e8982419
only show close button when its not a success message that is not a checkdups
Damien De Paoli2021-09-24 20:27:34 +10:00
a1229ab843
dont need to worry about taking 1 for folder selects, I dont know why I did need it, but doesnt seem too... nervous this will cause me grief somewhere else?
Damien De Paoli2021-09-24 20:26:19 +10:00
012c2809f1
handle case where video is so black we fail to get a thumbnail
Damien De Paoli2021-09-24 20:05:49 +10:00
a44810a2f4
fix bug with parent_dir being set to an Entry, instead of leaving it being the Dir set earlier in func
Damien De Paoli2021-09-24 17:34:29 +10:00
3ee81a66f2
allow close of errors that are not checkdups jobs from FE
Damien De Paoli2021-09-24 12:50:02 +10:00
d258c963f6
fix issue with OPT.how_many being an int, so it is not setting the "selected" string options in CreateSelect
Damien De Paoli2021-09-22 20:58:01 +10:00
db6319c5ab
when viewing image, with fname, show full path with icon of path
Damien De Paoli2021-09-22 19:59:18 +10:00
e07d6c462b
remember orig_url properly in OPT so that viewlist knows if we were originall import or storage for GetEntries to continue the list
Damien De Paoli2021-09-22 18:43:01 +10:00
d422fdf3ad
fix new bug introd, where after exif transpose I stupidly im to use im_orig always, instead of if its not a JPEG
Damien De Paoli2021-09-22 18:41:19 +10:00
69f49b0662
fixed bug where video_div was not shown unless you start viewing on a video
Damien De Paoli2021-09-22 18:14:01 +10:00
3c371246ce
fix incorrect PA_USER_ID int -> PA_USER_DN varchar
Damien De Paoli2021-09-21 16:54:13 +10:00
6f17e1677d
be more explicit, only exif_transform jpegs, and if mode is not rgb convert it first before thumbnail - fixes BUG-63 no thumbs for GIFs
Damien De Paoli2021-09-21 16:53:47 +10:00