Commit Graph

1088 Commits

Author SHA1 Message Date
c800bebaab fix syntax 2022-01-20 10:20:33 +11:00
758be89883 one more optim issue 2022-01-20 10:17:22 +11:00
4b8beb766e I think this was my first sql alchemy :), using much better DB .one() method 2022-01-20 10:17:10 +11:00
fae1c0666d more back-forward button cleanups 2022-01-20 10:16:38 +11:00
b5f6a33518 made stale jobs POST redirect to /jobs, more back-forward button cleanups and honestly a better Ux anyway 2022-01-20 10:10:32 +11:00
04726ed386 redirecting jobs to /jobs after they run, more work with back/forward 2022-01-19 23:16:54 +11:00
505a5fa813 made search a POST to /search be a redirect to a GET /search/<search_term> so that it works with back/forward buttons in the browser 2022-01-19 22:40:47 +11:00
a2091f0194 remove onpopstate stuff, and updated TODO with better way to deal with this 2022-01-19 21:18:50 +11:00
f8cff5f73e make optimisation from scan do run_ai_on_path IF there are newer reference images than the last scan even if we dont find new files in the scan itself 2022-01-19 15:37:27 +11:00
2b923f0b60 fix BUG that made job mgr break in prod (with DEBUG not even defined, its now False in Prod) 2022-01-19 01:20:40 +11:00
2af93312e1 fix minor syntax, and make sure checkdups waits for getfiledetails not run_ai_on, to avoid the ai job failing due to no ref images, and then withdrawing the checkdups and the ai job cannot create a duplicate 2022-01-18 22:11:39 +11:00
5fee1b8e30 remove debugs 2022-01-18 22:02:47 +11:00
b327ddff7b optimise to not go past scan job if it does not find any new files, also now print out if we find new files into scan log, fix up first attempt at debug being off/on with "production" or not 2022-01-18 22:01:39 +11:00
4a1fbf3f44 debug off for prod, on for rest by default 2022-01-18 21:01:47 +11:00
de81db9412 unmatched faces now sorts size of face desc, and is slightly prettier -- still slow and only takes you to the file anyway, might optimise that later. still no code to auto deal with unmatched face, but will add some capabilities next. Also, remembered last dir when file_ip/sp/bin. Also throw error if try to find unknown person - happened since I allowed the back/forward. 2022-01-18 20:59:39 +11:00
4c3aae770d reorder 2022-01-16 14:51:54 +11:00
d65c310f6e remove debug 2022-01-16 14:49:56 +11:00
28f15ee4e6 fixed sort order to work with datatables sorting 2022-01-16 14:49:38 +11:00
d8db522d00 first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works 2022-01-16 12:51:42 +11:00
096d4f79cf scans now put AI back on by default, and optimise to only call path-level scans once per path, rather than once per dir in path 2022-01-16 12:51:25 +11:00
684cc27df9 first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works 2022-01-16 11:37:49 +11:00
136525a73c put default ref img model back to hog, cnn is dangerous and can still wipe pa_job_mgr on mara with 32G of mem, so just leave it 2022-01-16 01:26:04 +11:00
e03d11b9e1 fixed job refresh issues 2022-01-16 01:17:54 +11:00
fdbef5197d added # matches on show persons page, and fixed issue with search OPT being hardcoded 2022-01-16 01:04:44 +11:00
526c9d50e3 added # matches on show persons page, and fixed issue with search OPT being hardcoded 2022-01-16 00:55:52 +11:00
12726ed186 added # matches on show persons page, and fixed issue with search OPT being hardcoded and not using those in the DB 2022-01-16 00:55:23 +11:00
05f12e78ea extra note on BUG-77 2022-01-16 00:53:28 +11:00
24730901bf M requests added 2022-01-16 00:52:35 +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 2022-01-15 16:37:40 +11:00
efde03a9c6 minor additions 2022-01-15 16:36:46 +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 2022-01-15 16:36:11 +11:00
081b90e008 remove debugs 2022-01-15 16:35:28 +11:00
1dbffe0d6f fix up quotes and log stdout of job mgr to /var/log/pa_job_manager.out 2022-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 2022-01-14 13:49:39 +11:00
3678a5892f new BUG, after restore .pa_bin was deleted 2022-01-14 13:15:04 +11:00
fd16e80b78 tweaked bin icon for small/large displaying, added todo around viewing on phone and maybe datatables 2022-01-14 11:20:41 +11:00
71951ca04c minor re-formating of joblog to fit larger screens & phone screens better 2022-01-14 11:03:03 +11:00
a2fb877f12 implemented job archiving (via a Setting, and just viewing recent or all) 2022-01-13 23:11:21 +11:00
3e67c9c27f try sm-txt on joblog 2022-01-13 21:22:49 +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. 2022-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 2022-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 2022-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 2022-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 2022-01-10 01:20:20 +11:00
27dadacd5c add move on context menu for folders 2022-01-09 18:51:03 +11:00
33ce78cb17 fixed Bug-75, moving dir between paths now works 2022-01-09 18:35:37 +11:00
ee8f41bbc2 reorder TODOs 2022-01-09 18:13:39 +11:00
a84946b561 fixed BUG-76 - no existing for a non-date with move 2022-01-09 18:13:26 +11:00
dd38b9b1d6 re-format BUGs 2022-01-09 18:12:41 +11:00
76da875709 new bugs, use existing with a non-date fails, and move between paths for scen 4 broken 2022-01-09 18:11:33 +11:00