Commit Graph

20 Commits

Author SHA1 Message Date
a29cbb143c Huge change, removed Status class and all "alert" messages are now shown as BS toast() and are via the DB and handled async in the F/E in jscript via Ajax. Fixed BUG-113 where toasts() were repeating. Removed many of the explicit alert messages (other than errors) and hooked {New|Finish}Job to consistently send messages to the F/E. Other messages (F/E without a job, like save settings) now use this model as well. Finally converted most of the older POST responses to formal json 2023-01-11 13:50:05 +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
f6d3043b99 not using redirect 2021-09-24 12:46:23 +10:00
eb0145467f fixed bugs 47, 48, 49 and reduced complexity of dup counting as well. Now removes dirs than become empty due to duplicate removals 2021-09-04 19:50:49 +10:00
5ca8424e58 use class PA / inheritance on dup classes 2021-08-30 18:24:31 +10:00
eb5fc0aa84 updated comments 2021-08-11 17:01:12 +10:00
b54c00eafe updated comment 2021-05-27 18:24:45 +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
62cbfcebdf one further nuance with counts after testing, fixed 2021-03-27 15:11:19 +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
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
7e14280ec5 made new/better function to deal with path duplicates / reduced duplicate code, fixed overall count vars, improved debugs 2021-03-21 16:58:54 +11:00
054d024ae0 added more debugs into Dump(), its noisier, but while testing in small number of files in DEV, its needed 2021-03-21 12:08:21 +11:00
517069c709 use raw string for regex to make linter happy 2021-03-19 17:19:45 +11:00
df8f9c88de whitespace removed 2021-03-19 17:17:29 +11:00
2cd55580a9 rewrote dups.html to now use newer model, where we will auto-delete those that match the regexp, and not show a per row view of these. Also removed extra / unneeded line when processing deleting files 2021-03-17 20:04:25 +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
046c512e6b added comments 2021-03-14 14:33:22 +11:00
f88ef2542f updated dups.py to have a DupRow class to store the data in a way dot-notation works consistently in Duplicates class, also moved attributes into top of __init__ for consistency, but needed for DupRow to work (implies the attributes are not globally shared per DupRow, which would not work). Broke into a couple more functions for readability, and added back the first-pass duplicate row creation into AddDups -- that needs a better name too 2021-03-14 11:51:56 +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