Fixed Docker issue when displaying report on Docker having port forwarding configured.
This commit is contained in:
David Maisonave
2024-12-29 04:34:42 -05:00
parent 933a838826
commit cb7298dd93
8 changed files with 8 additions and 7 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -2,10 +2,10 @@
name: DupFileManager
metadata:
description: Manages duplicate files.
version: 1.1.3
version: 1.1.4
date: 2024-12-26 13:30:00
path: DupFileManager.zip
sha256: f1eb1ae42ebe02e2e320814b5c08cfd2ddb041d63ccc140ff68fdcf1b1849612
sha256: 54d9c8ca33bab0eaaa3eec695f0da47817c1adb02629c7818054423acdc93990
- id: filemonitor
name: FileMonitor

Binary file not shown.

View File

@@ -1,6 +1,6 @@
name: DupFileManager
description: Manages duplicate files.
version: 1.1.3
version: 1.1.4
url: https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/DupFileManager
ui:
# css:

View File

@@ -1,4 +1,4 @@
# DupFileManager: Ver 1.1.3 (By David Maisonave)
# DupFileManager: Ver 1.1.4 (By David Maisonave)
DupFileManager is a [Stash](https://github.com/stashapp/stash) plugin which manages duplicate files in the Stash system.
It has both **task** and **tools-UI** components.

View File

@@ -74,6 +74,7 @@ class PluginDupFileManager extends StashPlugin{
}
GetFile(Mode = "getReport") {
var results = this.RunPluginOperation({ "Target" : this.PageNo, "mode":Mode});
results = results.replace("var GraphQl_URL = ", "var OrigGQL_URL = ");
const strResults = JSON.stringify(results);
if (strResults.indexOf("INF: 'Error: Nothing to do!!!") > -1){
console.log("Ajax failed for function " + Mode +" and page " + this.PageNo + " with results = " + JSON.stringify(results));
@@ -86,11 +87,9 @@ class PluginDupFileManager extends StashPlugin{
var plugindupfilemanager = new PluginDupFileManager();
const html = plugindupfilemanager.GetFile();
var GraphQl_URL = plugindupfilemanager.GraphQl_URL;
$(document).ready(function(){
$( "#report" ).append( html );
//$( "#top_report_menu" ).remove();
//$( ".ID_NextPage_Top" ).remove();
//$( ".ID_NextPage_Bottom" ).remove();
});
</script>
</head>

View File

@@ -103,5 +103,7 @@
- On Stash installation using passwords or non-standard URL, the file.html link should be accessed from the advance menu or from the Stash->Tools->[DupFileManager Report Menu].
- Added fields remoteReportDirURL and js_DirURL to allow users to setup their own private or alternate remote path for javascript files.
- On Stash installations having password, the Advance Menu can now be accessed from the Stash->Tools->[DupFileManager Report Menu].
### 1.1.4
- Fixed Docker issue when displaying report on Docker having port forwarding configured.