Commit Graph

1091 Commits

Author SHA1 Message Date
552ea7e614 keep last form values 2021-01-31 18:17:16 +11:00
4fe74c02bb keep last form values and fix month -> Month in oldest / if 2021-01-31 18:16:55 +11:00
da93c80d4a exif for dates added 2021-01-31 14:48:53 +11:00
a55505f3bb use exif for dates added to TODO 2021-01-31 14:48:36 +11:00
2db7f59a40 made basic newest/oldest week/month/year part of gui actually retreive what we want, and have a title per grouping, but the grouping title is hard-coded for now, will need more data to do a better test, also hacky submit button for now until I decide how to enact the gui change requested 2021-01-30 23:26:52 +11:00
98d4c7d43e Fixed BUG-19 - video thumbs being out of ratio, using THUMBSIZE in shared.py to also make sure images and videos have at least one of their width / height be 256 in their thumbnail 2021-01-30 20:16:36 +11:00
b296d08c28 quick notes on speeds of jobs 2021-01-30 15:42:06 +11:00
cef7607873 dont store backups in git 2021-01-30 15:41:27 +11:00
4b6887eb4b first pass of reduced data so new files "button bar" could be used 2021-01-30 15:40:46 +11:00
c329d51450 first pass of new viewing files "button bar" 2021-01-30 15:40:17 +11:00
0c5654a45e first pass of new viewing files "button bar" 2021-01-30 15:39:55 +11:00
15dd42f979 added fields to do sorting / grouping on file view 2021-01-30 15:39:31 +11:00
57e9dd6603 added bug re video thumbnail perspective 2021-01-30 15:38:53 +11:00
1f5731db83 update 2021-01-29 00:15:55 +11:00
e1966fa53d fixed bug-19 2021-01-29 00:15:48 +11:00
89cc7aad2d fix bug with unique on both entry name and dir path_prefix 2021-01-29 00:15:30 +11:00
38c05099bc fixed Bug-19 same fname, diff dir not going into DB - fixed due to use of Unique on name field in Entry class, optimised to only commit logs to DB 1 per 100. Also have importdir job on second and subsequent runs show progress as num_files has been stored into the Dir object for the import path 2021-01-29 00:14:52 +11:00
38d2523b74 BUG-19 same fname, diff dir not going into DB 2021-01-29 00:13:12 +11:00
9d1370cd62 allow video files to be clickable, in FF it just works, imagine my chromes are just broke as they have partial nvidia optims that are broken 2021-01-29 00:10:05 +11:00
e3dcce4a53 if we have current_file_num > 0 but dont know total in num_files, at least show count to show progress 2021-01-29 00:02:56 +11:00
e88a6f317c update 2021-01-28 13:11:11 +11:00
9f2943a4d6 try/except for video thumb, it fails on 2 videos so far, also fixed same name diff file in AddFile() 2021-01-28 13:11:02 +11:00
5a8e139263 order the file by name/date 2021-01-28 13:10:16 +11:00
be1f9729b7 adding in DB_BACKUP 2021-01-28 13:10:00 +11:00
60c39bf553 wrapped ProcessFilesInDir to just take a job, path, file_func to run, updated TODOs appropriately - added sql for duplicates check to TODO 2021-01-25 13:57:22 +11:00
ac9bb7ee2e fixed BUG-17 (deleting files/dirs) - currently 0 BUGS :) 2021-01-25 13:40:53 +11:00
96b9a6b5ca fixed BUG-16 - Hash optimisation (last_hast_date is now in File not Dir), also converted a few .format() to f" 2021-01-25 12:08:08 +11:00
ec4033e0fa order jobs by descending order, more useful to see newest at top 2021-01-25 10:44:13 +11:00
09b6863f0c moved generating refimgs to once per import dir, rather than once per file (duh), and fixed BUG-18 (file counting wrong in ProcessAI) 2021-01-25 10:42:25 +11:00
49e9b05f59 new bug with file counting when processing AI 2021-01-25 10:41:16 +11:00
18b8a30140 Fixed BUG-11: we have changed to file_refimg_link table (from file_person_link), this means we now have some optimisations, and can definitely re-run AI jobs without crashing. Several optims could still be done - see TODO 2021-01-25 01:05:30 +11:00
0829a98376 updated install instructions to get newer PIL and fix exif issues 2021-01-25 01:01:51 +11:00
6aad209802 BUG-15 fixed by updating PIL version on mara 2021-01-24 15:21:23 +11:00
56f19ff3b7 first pass/thoughts on faces per file in DB, mostyl commented out. Also put a poor hack in to allow AI jobs to re-run without error, its limited, need to really fix this properly 2021-01-24 00:16:58 +11:00
bce7d2a2d2 more BUGs 2021-01-24 00:16:08 +11:00
469745ce3b partial fix/optimisation for refimgs, only recalc if file is newer than when we build the refimg encoding 2021-01-23 21:21:29 +11:00
6f2175c973 clarified BUG-15 into several steps/issues 2021-01-23 21:01:33 +11:00
fc76fbb259 fixed BUG-4 - negative durations 2021-01-23 20:20:31 +11:00
f253760d26 update start time of jobs to when they actually are starting to run, should also help with durations being more accurate. Also added a catch-all force job finish if one is not done already. Will stop it enetering an endless loop 2021-01-23 20:19:44 +11:00
e17d6c41fe just use python time calls for jobs, now db and python calls, as on Cams box, this can results in the last update (Cams box) occurring before the job is created in the db (maras time) - and that shows up as negative durations 2021-01-23 20:05:15 +11:00
afc4eda233 last commit or the night, a feel-good one, now have search by file name and refimg tag, can find ppl :) 2021-01-23 00:48:00 +11:00
c0648f0822 added search todo 2021-01-23 00:32:53 +11:00
221ab03dbb fixed BUG-8 job failures should cascade cancels. Also put back dependency for AI job to wait for GetFileDetails (might not really be needed as I think Cams code just calls exif rotate itself anyway, also took out my temporary block of running the slow AI code. Need to discuss how to optimise it so it does not re-run parts it should know, e.g. refimg stuff once / not again unless ref imgs changed, ditto file/ai scan , etc. 2021-01-23 00:32:17 +11:00
ecb276b4c7 new thumbnail code Cam wrote fixes BUG-7 too - image orientation 2021-01-23 00:08:57 +11:00
5c34aa9cc7 BUG-10 also squashed by removing dir-level optimisation code 2021-01-23 00:05:48 +11:00
2466c15011 BUG-6 also now fixed with new code 2021-01-23 00:01:17 +11:00
bfe0613167 fixed BUGS 12/13/14, fixed new thumbnail code, fixed duplicate db entries for directories, fixed optimising code not working, by just ditching the directory optimising anyway 2021-01-23 00:00:47 +11:00
8e9c7408a8 BUG-14 added - optimisation at dir level doesnt work at all, only dir modifications occur with NEW files, this probably would work for importing, but its not that bad to stat files, so Im just ditching the added complexity 2021-01-22 23:58:54 +11:00
17447f9314 fixed thumbnail issues on linux, and JobImportDir bug with adding empty and then duplicate dir entries 2021-01-22 23:43:50 +11:00
954132cf1a BUG-2 (FixPath) solved, because we no longer fix paths :) 2021-01-22 22:33:44 +11:00