Commit Graph

229 Commits

Author SHA1 Message Date
8575423a7e BUG-103 thumbnails not rotating, fixed (was a Samsung dodgy photo, and over-caution util to rotate, fixed by tweaking my own verson of that util 2022-08-02 18:50:50 +10:00
5221e330c1 Fixed BUG-102 cant switch to folder view 2022-08-02 17:55:10 +10:00
a8af00fe66 big change to get metadata working fully in DB and on Filesystem, and recover from most common scenarios, improved GUI as well for allowing an immediate search after adding refimg as well 2022-08-01 23:44:38 +10:00
391b61f3c4 first pass at keeping overrides on face delete - should at least stop code crashing if you try to delete faces from DB and they still had a matching override 2022-07-28 21:23:34 +10:00
96810fa1e3 can now do an AI search if we add refimg to new/existing person, cleaned up that dialog to look better with buttons for those options rather than a link. Noticed BUG-100, 2 x mich in one image 2022-07-28 18:16:10 +10:00
6135481395 I think the 0 choices 0 files-havent seen it in months, let it go 2022-07-28 17:29:52 +10:00
750b903a9d using python unbuffered (-u) on job mgr to force output into log file 2022-07-21 22:56:50 +10:00
8646b3b8c2 quick fix/hack for unmatched faces 2022-07-19 21:23:32 +10:00
fd79ee2cf4 fix BUG-98 (user cancel of a job not dealing with dependant jobs) & constrain the width of the chosen face in DBox for overrides/create refimg 2022-07-19 20:45:54 +10:00
382647a91b now can create a new person and refimg from viewer - all works 2022-07-17 23:03:46 +10:00
fc62bd274e video tag in browser not dealing with mpeg1/2 is not a bug, its a potential todo item 2022-07-17 18:31:59 +10:00
cf1851fe85 updated several BUGS/TODOs in previous commits 2022-07-17 16:46:35 +10:00
4f01125bcc improved login page to be responsive, also made pretty fname remove paths now we have only 1 imp/sto/bin path -- reduces fname size which is a small help to BUG-96 2022-07-16 17:10:05 +10:00
3cd1bf056a added ability to auto-rotate jpegs as we import them. The auto-rotation uses /usr/bin/exifautotran which rotates losslessly, and we optimised to then not also re-rotate the thumbmail. This address a few bugs in the 90s, including the one where Mandys photos were not getting faces (they were rotated), and without really doing anything the odd one where we sometimes lost tmp_locn on first load after db recreation - I cant reproduce so ignoring it 2022-07-15 18:01:54 +10:00
84a4cf7cf8 added ability to auto-rotate jpegs as we import them. The auto-rotation uses /usr/bin/exifautotran which rotates losslessly, and we optimised to then not also re-rotate the thumbmail. This address a few bugs in the 90s, including the one where Mandys photos were not getting faces (they were rotated), and without really doing anything the odd one where we sometimes lost tmp_locn on first load after db recreation - I cant reproduce so ignoring it 2022-07-15 17:18:31 +10:00
3710b573ea added auto-rotate to settings, not used in job mgr yet 2022-07-13 00:26:24 +10:00
6b7694f382 first pass of consolidating search in DBox for existing person, and then using the results to add override force match to that person, and WORKING version of adding refimg to existing person too. Still does not kick off new AI scan at this point, and still need to re-format dbox to be easier to use and code for resetting DB contents, rescaning files from scratch and matching overrides back 2022-07-10 15:21:31 +10:00
e9ab49c60a with viewer, unmatched face now has img data / thumbnail, so we know what it really looks like when we choose to override - still major WIP, tables.sql also has some override types, but not convinced I have design yet 2022-02-06 23:21:23 +11:00
66eab072ce polished log button and content of dbox 2022-02-06 16:11:41 +11:00
83eff02910 added plumbing for viewer to have a joblog search for the current file 2022-02-05 23:23:10 +11:00
e16f7dbc30 fixed bug when get of a view is for a non-search, now that I have added search to pa_user_state ORM query 2022-02-03 21:16:51 +11:00
298f28b943 update 2022-02-02 18:51:16 +11:00
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +11:00
da8ac77a44 fixed search issue (of empty string) 2022-01-30 23:48:34 +11:00
2e8de89a6a issue with empty search term 2022-01-30 23:16:30 +11:00
cc656ffd6d clarified (non) issue 2022-01-30 23:10:47 +11:00
305995df37 updated 2022-01-30 23:02:52 +11:00
36c11a18ca fix issue where search was not saving prefs 2022-01-29 20:07:51 +11:00
776f429ce4 most noo/search issues and next/prev bugs fixed 2022-01-29 18:55:20 +11:00
8e82271e2a start of noo for Search, and rewrite of GetEnt* to use eval(), search and flat done, but also fixed OLD bug I just noticed where prev/next buttons would not work when sorting by "A to Z", etc. as the value of the form.input has a space in it and serializeArray() was not dealing with it properly 2022-01-29 18:06:21 +11:00
8722448f2d reorder 2022-01-29 08:20:15 +11:00
5d0cdec3ba cleanup 2022-01-28 21:01:09 +11:00
9a480dccd8 update decision to ditch multiple dir per path 2022-01-28 19:59:37 +11:00
47039ec35c partial fix for various BUGs with going past the end of a viewing list... we now keep num_entries (of files) in pa_user_state, and use it to stop going before first or past last entry, even from viewlist, so this fixes many isseus... Final bug(s) are relating to multiple Dirs in a Path and its feeling too complex for no real gain, going to remove the feature, but for now, this version works / can be made to PROD 2022-01-28 15:52:35 +11:00
0751cc6010 clarified bug-82, fixed issue with AI scan optimising still scanning when it should not, finalised back button work for view/viewlist 2022-01-27 21:44:29 +11:00
07b339f5ab current, first_eid, last_eid now work for Flat view of Paths, folder view next 2022-01-27 17:06:31 +11:00
55724ccd59 removed use of last_entry_in_db (boolean) and replaced with use of current/first_eid/last_eid in PA_USER_STATE so it persists across reloads/back buttons, and allows full use of ajax data retrieval in the background for the viewer (so fullscreen stays across page loads), and the next/prev buttons are set on the image load, not after they have been pressed "one too many times" 2022-01-27 14:27:52 +11:00
08ca9b4e74 partial implementation of first_eid, last_eid -- I think the vals work -- they do for searches anyway, but not stored in pa_user_state yet 2022-01-25 00:48:14 +11:00
65ebfe2d31 DONE - todo to have force rescan delete face from DB 2022-01-23 14:54:49 +11:00
0f44af4ec3 clean up of unneeded viewing hidden vars, now we retrieve data from pa_user_state 2022-01-23 14:41:54 +11:00
fe35ed0d02 final todo for today 2022-01-23 01:08:17 +11:00
2e4b1ed9d2 defaults in PAuser include noo/folders for import/storage separated, defaults are stored into PAUser in DB, changable in GUI, used as the defaults for new PA_User_States. Also disabled search noo, search folders as they are hard-coded in the ORM retreive anyway 2022-01-22 23:26:14 +11:00
0f4632e240 changing options on files_*, search, also next/prev all now use POST->redirect model, so should allow back/forward browser buttons to work - commit so we can test in PROD 2022-01-22 21:36:58 +11:00
b58afa3a5c clean up of states, to support multiple searches/views, and this will at least work for back/forward in prod - I believe. Still needs defaults from prefs, AND, remove unneeded variables from template/* and set those default values based on prefs 2022-01-21 16:48:05 +11:00
a856bcd6b2 clean up of notes, comments, BUGs, etc. 2022-01-20 17:49:58 +11:00
78acb9bd66 big clean up of Options -> States, total rework, now actually handles pa_user_state -> States as Import/Storage/Bin/Search or View. If Search has orig_search_term saved. If view, has orig_ptype (and orig_search_term if orig_ptype is Search) -- removed OPT.paths -> these are now worked out when we GetEntries based on pa_user_state. This now allows us to GET all URLs for image viewing allowing me to use the back-button without issues in PROD - well we will see once I commit :) 2022-01-20 17:25:01 +11:00
5461cb4036 improve /view naming 2022-01-20 14:18:27 +11:00
4fa7b4b2d3 renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again 2022-01-20 14:13:50 +11:00
30a2fa6d99 quick fix for view being a POST, its now redirected to a GET, but I want to fix up the viewlist properly as well, should work for now though 2022-01-20 11:26:09 +11:00
758be89883 one more optim issue 2022-01-20 10:17:22 +11:00