Commit Graph

95 Commits

Author SHA1 Message Date
59c72f9aee moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path 2021-08-15 00:26:27 +10:00
0180703ae4 updated comments 2021-08-12 20:03:13 +10:00
7926ab3455 allowed view prev/next to remember settings (fname, faces, distance) 2021-07-29 21:42:58 +10:00
ae39c26b8f removed debugs, added faces to class File, use f print string format, hacky json.loads of face locn data to put it back to being an array -- and of course storing that in the class 2021-07-17 16:38:50 +10:00
99e99da340 return thumbnail when successful rotation 2021-07-16 22:27:30 +10:00
3ac6f143f4 first pass of rotation sub-menu on images. It only posts on Image. For each selection it turns thumbnail gray, overlays a centered color spinning wheel, posts to the f/e to create a rotation job, gets the job id back, keeps checking the f/e to see when the job id is done, and when it is (for now) undoes the spinning wheel/grayscale - will return new thumb once done and pa_job_mgr has no code to handle job as yet 2021-07-16 21:08:16 +10:00
d42ac8c8b5 string / int strictness issue causing default size to not highlight button - fixed 2021-07-16 17:52:31 +10:00
f30ca16552 added viewnext and viewprev routes and plumbed these in to the file viewer code. Viewer code now works has a prev/next button, and handles videos 2021-07-15 20:23:02 +10:00
2e06c0b285 moved class Refimg to person, and ditched all other routes/direct access to ref images, they are only a part of Person in UI now 2021-07-05 16:51:44 +10:00
518df7ee10 removed all remnants of FILE_REFIMG_LINK 2021-07-03 12:43:25 +10:00
afee300471 quick hack to allow one time AI: at start of search to only call AI 2021-07-01 21:54:52 +10:00
2b20160deb search now uses new face linking tables 2021-06-30 14:31:12 +10:00
c-d-p
643208f35f fixed the import path to be able to select all of the people under the ai context menu 2021-06-29 15:43:28 +10:00
f12b48f38d Merge branch 'master' of 192.168.0.2:photoassistant 2021-06-27 14:30:39 +10:00
68d1fcac60 fix BUG with non-existant path causing re-render of previous path 2021-06-27 14:30:33 +10:00
c-d-p
26ba27cc0d updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works 2021-06-27 14:27:46 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
f4e8d5f9da fix BUG, that occurred when I switch to folder view with a broken path in the settings -- the init validation only kicks up a fuss if there are no valid import paths, but if one is broken - as in DEV, when I reference Cams dev area, it was causing a dir match for that path to be None - simple if to fix 2021-06-22 20:56:01 +10:00
6a4d993440 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:32:10 +10:00
decbcaec9a file_{ip|sp|rbp} now use functions to view flat or folder, and consistently offer Oldest/Newest (per files) and A to Z, Z to A (dir and files)... folder view only does A to Z / Oldest as alpha sort for dirs (dirs dont currently contain date metadata, so unless I add it, it wont work and I dont really think its useful anyway)... BUT, its added to the TODO for another day 2021-06-22 18:01:15 +10:00
f0fcd098e4 put correct folder-based entry retrieval for import and bin paths too AND fixed bug introduced with dup checking that did not sort based on new paths, only old rel_path 2021-06-19 17:14:53 +10:00
d78aa0c076 file_sp now honours offset and how_many, and if you go into a new dir (up or down), offset is put back to 0 - this seems functional now, need to functionalise/replicate into files_ip and files_rbp 2021-06-18 01:04:41 +10:00
c61b2b4035 browsing by folders should now only load contents of cwd from DB, faster, also removes bugs of that content not being in first 50 entries 2021-06-18 00:41:30 +10:00
b09d19570f improved DBox images/html, improved look of MoveDBox, started plumbing for pa_job_manager to do actual moves, all the data is there, just havent performed the FS or DB move. cleaned up duplicated DEBUGS that are straight before AddLogForJob... tweaked TODO appropriately 2021-06-14 18:30:52 +10:00
9aec3af90a remove debug 2021-06-11 19:02:04 +10:00
0b6acd1899 changed to consistently use restore instead of awful undelete 2021-06-10 17:55:44 +10:00
3c8f72cfd6 added undelete route/function 2021-06-10 17:42:52 +10:00
3688319ebd put route in for delete files - from GUI (button only for now, will also be context menu soon) 2021-06-09 21:32:18 +10:00
b315503832 fixed subtle BUG, from when I changed over form EntryDirLink to PathDirLink, I was still joining Entry AND Path for Dir Links, by hand joining these tables, I get lost, so not surprised it gives ambigous results -- manifested in lost Dirs in the f/e after delete/undelete. Also cleaned up debugs 2021-06-08 21:13:18 +10:00
b27391003f fix bug where view import via folder did not have a cwd set, also fixed new bug where toggling from flat to folders with a grouping set would bug out, force grouping=None when folders chosen 2021-06-06 17:20:18 +10:00
c94daf86f6 updated sql to not retrieve duplicates that involve the recycle bin 2021-05-27 18:25:10 +10:00
9b926938e4 added viewing recycle bin via folders, added comments, cleaned up TODO to note this is done 2021-05-26 18:32:52 +10:00
5e03650ed5 first cut of paths actually working with folder viewing - for now defaulting on for both Storage only 2021-05-01 18:16:45 +10:00
724d9b9a2e debugs / comments 2021-04-17 17:46:37 +10:00
3237e3bf8f fixed up dup code to work with paths, added path_types throughout and updated TODO to be clear on what next 2021-04-17 17:43:42 +10:00
477aa4e5b8 removed debug, fixed search to always be flat view and search paths with new rel_path field 2021-04-13 15:45:59 +10:00
35d1b32bba remove debugs 2021-04-12 00:16:06 +10:00
095b7c8333 Path in the DB is complete, still have hacks around displaying folders (hardcoded path name) 2021-04-11 15:35:01 +10:00
fddd47a1ab now using uselist=False to ensure file_details, dir_details, in_dir are one-to-one, and dont have useless list of 1 element. updated TODO to reflect order of how to tackle change over to paths and dirs 2021-04-10 11:28:17 +10:00
1ece519a2a added first pass of viewing by folders, see TODO for next steps 2021-04-06 17:05:24 +10:00
e6fd9a9b13 made just one checkdups/rmdups front end message once we dups 2021-04-02 16:19:40 +11:00
7e7d757afb use kfid instead of fkname for consistency 2021-03-28 16:16:12 +11:00
5ee718b1d4 added search comparison with dir name 2021-03-26 17:09:42 +11:00
a2ef27e6a1 had to revert the import line - pylint didnt originally like it this way, cant see issue now - go figure, but it definitely caused the video thumbs to fail 2021-03-23 18:38:10 +11:00
f20ce0f7a4 removed old code, commented out Dump() debug 2021-03-21 16:58:06 +11:00
2292777b83 fixed bug with no pagesize on fresh DB / first time in fix_dups. Also passing duplicate data (DD) as single object to dups.html 2021-03-21 12:17:43 +11:00
6fd0205b71 fixed up a few issues found from linter 2021-03-19 17:49:48 +11:00
08dc646371 first pass of using Duplicate class, rather than files doing all the dup work. The html still is shown preferreds, and does not know there are preferred files and preferred dirs yet 2021-03-15 20:36:10 +11:00
8ff61dddfa trialing a new duplicate class to deal more consistently with the various types of duplicates -- mostly to enable "auto" deleting of duplicates in specific conditions, e.g. in both an import dir and storage dir - just delete dups from import dir 2021-03-13 12:36:16 +11:00
76aee3a10a okay fix_dups page now has functioning pagination, highlights regex matching "good" files as green, and just a file as yellow if we cant find the right one, so easily shows where to really pat attention. Has DBox based help page, and overall just a better UI/UX 2021-03-06 17:18:11 +11:00