Commit Graph

26 Commits

Author SHA1 Message Date
4a9c3b4aa3 minor clean up of screen content 2021-09-04 19:50:27 +10:00
7b672206d2 alert in form fails in bs5?, so made it a div 2021-08-30 18:24:55 +10:00
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
b40ecbf208 put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working 2021-07-25 13:19:01 +10:00
bd51f86d82 remove -lg- / bootstrap 5 2021-07-22 20:42:50 +10:00
085dbcdf3a more bootstrap 5 fixes 2021-07-22 19:51:54 +10:00
f6a92d749f added really large amounts to dups to process at once, so we can still get them all on a page if we really want 2021-07-01 21:56:59 +10:00
18b9ae59be redid accounting for duplicates with more details around manual choices and fixed up the file counts that were based on subtractions, its all now accounted and includes removal of duplicates in rare case of files in import path and more than copy in storage path being double-counted 2021-06-19 17:16:47 +10: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
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
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
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
a6161d1fa2 add in file cnt inside dup paths 2021-03-24 19:35:49 +11:00
92c5ee3e9d keep processing all dups, even when > pagesize, so that alert at end is definitive about automatic matches that will be deleted. Also, fixed issue where a duplicate in the root dir of an import / storage path, was showing as blank after TrimmedPath() 2021-03-23 18:37:32 +11:00
055dd58d34 better formatting for all automatic matches, deal with automatic matching of preferred_paths, put <input type=hidden> fields in for files in storage and import paths, only display headings/content if it actually exists 2021-03-21 17:00:36 +11:00
86ff96fefb now passing single DD var (duplicate data) from files.py for simplicity, also added the beginnings of support for regex-d auto keeping / auto deleting of files, and paths - noting that path data from dups.py seems to not be working with my test data at present, so html showing it needs testing too 2021-03-21 12:18:59 +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
0d0607e9c6 made help go via on mouse over instead of onclick 2021-03-06 17:26:28 +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
1dc8477758 first pass of paginated dups, with drop-down (non-functional), but otherwise pages work - presume if I clicked it to delete, it would, but then I would need to re-do check_dups OR optimise and get it to come back to dups with next page -- probably preferred -- BUT, need to keep job state between page loads? 2021-03-03 22:05:58 +11:00
689081ef0b put summary counts on dups 2021-03-02 22:44:00 +11:00
269009f14f fixed choosing dup dir alert 2021-03-01 19:13:38 +11:00
0bfd3b58b3 moved to storing DB ids rather than names of files/dirs for deletions 2021-02-14 16:18:22 +11:00
27e881ea8c minor clean up on headings, alerts at top of /fix_dups route 2021-02-13 20:30:21 +11:00
49e0a5a797 now have a partial fix_dups path, it shows the content in a much more reasonable manner, and allows the GUI to select the files/paths to keep, HOWEVER, the form POST is not enabled, and I still need to process the form data -- right now, now sure how I know which files to delete vs keep -> will need hidden vars of options, not just the to_keep - then process them 2021-02-13 20:21:26 +11:00