Commit Graph

136 Commits

Author SHA1 Message Date
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
b9dea327d0 use pagesize not page_size, and pass it in based on job extras, also use path based on job extras, so we fix issue of fix_dups not knowing which path from settings was used (import or storage) 2021-03-06 11:45:21 +11:00
f1ec7f9eb6 just make sure file size is the same as well as hash, this should make it nearly impossible for accidentally having 2 files with the same hash that are different 2021-03-06 11:18:11 +11:00
8649edfe7c added page_size on reducing and hardcoded stich of prefix of dups (STILL needs fixing) 2021-03-03 22:03:55 +11:00
689081ef0b put summary counts on dups 2021-03-02 22:44:00 +11:00
06eb1ef927 fixed BUG-27, duplicate count per same named files in 2 dirs, was always 1 2021-03-01 18:46:03 +11:00
477bd6f099 added code to split out storage_path and import_path, still a bit clunky, but functional. SymlinkName also now in shared 2021-02-27 18:30:54 +11:00
2482a2e829 fixed BUG-24, only appends per_path_dups if we have one to append 2021-02-22 17:26:32 +11:00
7fd6a2eddb fixed BUGs 22 and 23 - both relate to the HTML forms being different for the search and viewing data, so changing one when the other was set, did not pass the values through, e.g. search term not there when you change a viewing option, or after searching, it did not know the grouping options. Fixed from the search side by showing a label of what you are searching for and storing it statically in the viewing form. Sorted by jscript onSubmit func to take 5 viewing options and store the last value in hidden inputs in the search form 2021-02-21 15:40:47 +11:00
6ef383f732 update status message to link to job created for del dup files 2021-02-17 21:42:59 +11:00