|
|
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 |
|
|
|
a6161d1fa2
|
add in file cnt inside dup paths
|
2021-03-24 19:35:49 +11:00 |
|
|
|
6e50390886
|
use su mythtv, not su - mythtv... myth has no home dir
|
2021-03-24 19:35:19 +11:00 |
|
|
|
f6ce155217
|
allow dev or prod defaults for settings table
|
2021-03-24 19:34:56 +11:00 |
|
|
|
1ab339ffea
|
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. turned off debug again, fixed up how we account for current_file_num increases via explicit use of ProcessFileForJob() to increment where required, or just inc. properly. Finally, check if image has transparency, if so convert it to rgb as we cant save it as jpeg otherwise (in thumbnail creation)
|
2021-03-23 18:39:58 +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 |
|
|
|
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 |
|
|
|
072705005d
|
removed all references to /static except in SymlinkName()
|
2021-03-23 18:36:07 +11:00 |
|
|
|
ebd5a8f3ba
|
make ./static be owned by mythtv (passed in 500/500 for uid/gid) so that it can manipulate files in storage area on mara - still need to work out build args, not just hack it in Dockerfile ENV vars
|
2021-03-23 18:35:43 +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 |
|
|
|
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 |
|
|
|
f20ce0f7a4
|
removed old code, commented out Dump() debug
|
2021-03-21 16:58:06 +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 |
|
|
|
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 |
|
|
|
2939d91092
|
now using SymlinkName everywhere
|
2021-03-21 12:10:56 +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 |
|
|
|
9c263f54e3
|
minor fix to only remove trailing slash if there is content at all in sig_bit of SymlinkName
|
2021-03-21 12:06:56 +11:00 |
|
|
|
1de74f8f51
|
added token settings data for testing so it has a storage path too
|
2021-03-21 10:29:51 +11:00 |
|
|
|
b763a59b2b
|
whitespace removed
|
2021-03-19 18:06:16 +11:00 |
|
|
|
22281be93d
|
fixed up a few issues found from linter
|
2021-03-19 18:04:22 +11:00 |
|
|
|
6d071f14dd
|
fixed up a few issues found from linter
|
2021-03-19 18:03:00 +11:00 |
|
|
|
c2d0004537
|
fixed up a few issues found from linter
|
2021-03-19 18:00:44 +11:00 |
|
|
|
6fd0205b71
|
fixed up a few issues found from linter
|
2021-03-19 17:49:48 +11:00 |
|
|
|
ef0971f6a3
|
fixed up a few issues found from linter
|
2021-03-19 17:38:46 +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 |
|