Commit Graph

453 Commits

Author SHA1 Message Date
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
943742df67 update next BUG num 2021-06-06 17:19:26 +10:00
7e2494884e can now toggle between folder or flat view, its a bit ugly, but it works 2021-06-06 14:09:11 +10:00
b6156dad34 Merge branch 'master' of 192.168.0.2:photoassistant 2021-06-06 12:23:11 +10:00
98c4dc1049 updated TODO 2021-06-06 12:23:09 +10:00
Damien De Paoli
9a9dc01c5a added code to check paths exist on startup 2021-05-28 16:37:26 +10:00
4ed76961a8 Now have an AddPath (which calls AddDir if needed). This also fixes a bug where re-scanning, caused duplicate database entries. Also cleaned up comments, prints 2021-05-27 18:34:08 +10:00
a9c24d6f13 minor update 2021-05-27 18:25:25 +10:00
c94daf86f6 updated sql to not retrieve duplicates that involve the recycle bin 2021-05-27 18:25:10 +10:00
b54c00eafe updated comment 2021-05-27 18:24:45 +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
8dc98dd368 first-pass of deleting a file moving to the bin instead, not in right spot on FS/ path&rel_path, and no visualisation yet 2021-05-24 07:42:08 +10:00
74943f6112 Merge branch 'master' of 192.168.0.2:photoassistant 2021-05-22 17:48:39 +10:00
3898d1a943 remove unused path_prefix from DIR, its not in PATH 2021-05-22 17:48:34 +10:00
Damien De Paoli
e04fc4c068 mostly a TODO update, but start of recycle bin in DB work (PATH, etc.) is now created when we do a force rebuild from the GUI 2021-05-22 17:24:48 +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
b6b98ae5ca added path type via new path.py to avoid more circular imports 2021-04-17 17:48:24 +10:00
4b0c64e9d8 updated TODO based on last file.py change for static/Storage usage 2021-04-17 17:47:47 +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
70458228b3 just remembered the bug with group by and folders mode 2021-04-12 00:15:21 +10:00
56bb054384 lots more thoughts on recycle bin needs 2021-04-12 00:13:15 +10:00
ca7391e21b fixed hard-coded static/storage, now use in_path.path_prefix 2021-04-12 00:06:26 +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
4a55e98f5b first pass at removing explicit use of path_prefix, the remaining code either uses it to search so needs new path_dir_link table, or is AddDir which I need to think about 2021-04-10 11:48:56 +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
232c98b484 fixed this bug ages ago 2021-04-10 11:06:24 +10:00
1ece519a2a added first pass of viewing by folders, see TODO for next steps 2021-04-06 17:05:24 +10:00
0ad62f5c07 made just one checkdups/rmdups front end message once we dups 2021-04-02 16:19:54 +11:00
e6fd9a9b13 made just one checkdups/rmdups front end message once we dups 2021-04-02 16:19:40 +11:00
e3f2870197 added support for recycle bin 2021-04-02 15:11:47 +11:00
ab0513215f added DB support for recycle bin 2021-04-02 15:10:27 +11:00
2c7d5d91d4 added TODOs around recycle bin status 2021-04-02 15:10:16 +11:00
2e6b59a0ec added DB support for recycle bin 2021-04-02 15:09:49 +11:00
5e6d63d668 cleaned up some logs / debugs, fixed bug where we stripped comma of list of hashes, but there was none, so failed to find that hash, also created convenience functions to remove a file / dir from DB for exists_of_fs code, but also re-used so deleting duplicates also removes files 2021-03-28 16:30:46 +11:00
5f42e19bcd use kfid instead of kfname for consistency, and now we have 2 loops of kfids, then keep the count explicit (kfid.count) rather than implicity loop.index 2021-03-28 16:17:01 +11:00
7e7d757afb use kfid instead of fkname for consistency 2021-03-28 16:16:12 +11:00
a7d605d760 not much point in -9 on gzip, so ditch it 2021-03-27 15:12:43 +11:00
151775fa26 clean up / add to TODOs 2021-03-27 15:12:23 +11:00
a1c2b3f72b fixed way we account for remaining deletes, this should genuinely fix the dup counting stuff now 2021-03-27 15:12:03 +11:00
fa6be43c3a back to DEV for real deleting testing 2021-03-27 15:11:37 +11:00
62cbfcebdf one further nuance with counts after testing, fixed 2021-03-27 15:11:19 +11:00
932d05b8e3 improved duplicate counting, removed concept of sets, and validated counts work via DB selects, and they do 2021-03-27 14:24:27 +11:00
c4f36713bf improved duplicate counting, removed concept of sets, and validated counts work via DB selects, and they do 2021-03-27 14:24:16 +11:00
7304fc0916 removed some actions done, added new 2021-03-26 17:10:01 +11:00
5ee718b1d4 added search comparison with dir name 2021-03-26 17:09:42 +11:00
b1771baa2d providing some totals via the code, and fudging numbers to show how many keep/del due to auto rules, and how many manual choices left 2021-03-25 19:53:26 +11:00
b216d138b9 renamed self.KeepInSameDups to self.KeepInIPSPDups as it is not same dir, but ip to sp 2021-03-25 19:52:48 +11:00