Commit Graph

48 Commits

Author SHA1 Message Date
Chris King
24aa00de8d Adjust duration difference check to allow small non-significant differences if one file is better in other ways
Duration difference now respects the setting for what is significant duration difference
2025-02-16 06:18:47 -08:00
Chris King
85104e6b15 Add id subfield to performers in graphql fragment used to merge metadata as mergeItems function requires ID 2025-02-16 01:45:40 -08:00
Chris King
3b029943bd Fix type error when there is only a single target in json input args (target was an int instead of a string) 2025-02-16 01:44:27 -08:00
David Maisonave
e768959934 1.1.6 beta
### 1.1.6 beta
Note: This is a beta version, because not all of the javascript ajax functions have been tested yet.
- Added the following to [**Advance Duplicate File Menu**]
  - Scene cover preview image option
  - Webp preview video option
- Fix json string return for all calls made from javascript.
- Added DupFileManagerPyVer field to json when called from javascript.
- When deleting scene using Report, replaced completion prompt with scene background set to gray.
- In Report, when rename occurs, the scene gets renamed inline, without having to reload report page.
- Added GetRunPluginOperationJson to DupFileManager_report.js which allows result to safely be converted to json. If fails, it gracefully returns null.
2025-01-14 14:07:26 -05:00
David Maisonave
2431e3dac2 Fix bug when getting number from ID having mix text and number 2025-01-10 13:00:45 -05:00
David Maisonave
def6234e60 fix bug in filemonitor_config 2025-01-10 12:44:56 -05:00
David Maisonave
8e5e451916 1.1.3
### 1.1.3
- Added access to report from https://stash.axter.com/1.1/file.html
  - This allows access to report from any browser and access to report from a Docker Stash setup.
  - 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].
2024-12-26 12:39:20 -05:00
David Maisonave
e3c1b759ba v1.1.2
- Moved link to [**Advance Duplicate File Menu**] to https://stash.axter.com/1.1.2/advance_options.html
  - This allows the Advance Menu to be accessed by Chrome, Edge and other Chrome based browsers which don't allow accessing local links from a non-local URL.
- Added additional warnings when detecting Chrome based browsers and when moving from non-local link to local link.
- Moved htmlReportPrefix field from the DupFileManager_report_config.py to DupFileManager_report_header.
  - This was needed because Python on Docker gives an error when using tripple quoted strings.
- Made advance_options.html HTML5 compliance.
- Added additional details returned by getLocalDupReportPath to include (IS_DOCKER, ReportUrl, AdvMenuUrl, apikey, & LocalDir).
2024-12-19 02:02:42 -05:00
David Maisonave
14bb86a529 Version 1.1.0
See version history for details on all the changes.
2024-12-13 16:44:52 -05:00
David Maisonave
d19dd5cdc0 Removed sub version from readme and YML file. 2024-11-28 17:25:48 -05:00
David Maisonave
d2392a9aee Update DupFileManager.py 2024-11-27 15:23:33 -05:00
David Maisonave
a6f3b352a3 1.0.0.3
### 1.0.0.3
- Added option on report to merge all metadata missing in [**Duplicate to Keep**] files.
- Added cookies to report so as to remember user options for Disable Complete Confirmation **[Disable Complete Confirmation]** and **[Disable Delete Confirmation]**.
  - This change was needed because sometimes the browser refuse to open local URL's with params on the URL.
  - Using cookies also allows check options status to stay the same after refresh.
- Added code to [**Advance Duplicate File Deletion Menu**] to delete based on flags.
2024-11-27 15:18:41 -05:00
David Maisonave
fe0c228045 In the report, made icon colors for tags, performers, galleries, and groups with different colors if they don't match.
### 1.0.0.2
- In the report, made icon colors for tags, performers, galleries, and groups with different colors if they don't match. In other words, use different color icons if **candidate to delete** doesn't match **duplicate to keep** associated icon data.
  - If data for associated icon are the same, then both icons are black or blue (the default color).
  - If [**duplicate to keep**] is missing data that is in [**candidate to delete**], than [**candidate to delete**] gets a yellow icon.
  - If [**candidate to delete**] is missing data that is in [**duplicate to keep**], than [**duplicate to keep**] gets a pink icon.
2024-11-27 03:54:27 -05:00
David Maisonave
6ae3c3c689 Fixed bug with report delete scene request. 2024-11-27 00:16:28 -05:00
David Maisonave
214ba134c4 First alpha release
Added following features to 1.0.0
### 1.0.0
- Consolidated buttons and links on report into dropdown buttons.
- On report, added dropdown menu options for flags.
- Rename Tools-UI advance duplicate tagged menu to [**Advance Duplicate File Deletion Menu**]
- When [**Advance Duplicate File Deletion Menu**] completes report, gives user prompt to open the report in browser.
- Added performance enhancement for removing (clearing) duplicate tags from all scenes by using SQL call.
- Added option to report to delete files that do not exist by duplicate candidates in report, as well as by tagged files.
- Added logic to disable scene in report if deleted by [**Advance Duplicate File Deletion Menu**]. Note: Requires a refresh.
- Added report option to delete by flags set on the report.
2024-11-26 19:52:21 -05:00
David Maisonave
e1f3335db8 Updates to plugins RenameFile and DupFileManager
RenameFile Plugin Changes
### 0.5.6
- Fixed bug with studio getting the studio ID instead of the name of the studio in rename process.
- Improved performance by having code get all required scene details in one call to stash.
- To remove UI clutter, move rarely used options (performerAppendEnable, studioAppendEnable, tagAppendEnable, & fileRenameViaMove) to renamefile_settings.py
- Change options (performerAppendEnable, studioAppendEnable, tagAppendEnable) to default to True (enabled)

DupFileManager Plugin Changes
### 0.2.2
- Added dropdown menu logic to Advance Menu and reports.
- Added Graylist deletion option to Advance Menu.
- Report option to clear all flags from report.
- Report option to clear all (_DuplicateMarkForDeletion_?) tag from all scenes.
- Report option to delete from Stash DB all scenes with missing files in file system.
- Added popup tag list to report which list all tags associated with scene.
- Added popup performer list to report which list all performers associated with scene.
- Added popup gallery list to report which list all galleries associated with scene.
- Added popup group list to report which list all groups associated with scene.
- After merging tags in report, the report gets updated with the merged scene metadata.
- Added graylist deletion option to [**Advance Duplicate File Deletion Menu**].
- Added pinklist option to Settings->Plugins->Plugins and to [**Advance Duplicate File Deletion Menu**]
  - The pinklist is only used with the [**Advance Duplicate File Deletion Menu**], and it's **NOT** used in the primary process to selected candidates for deletion.
- Advance Menu now works with non-tagged scenes that are in the current report.
2024-11-26 09:29:26 -05:00
David Maisonave
7e24dcf8d2 See version_history
- For report, added logic to transfer option settings **[Disable Complete Confirmation]** and **[Disable Delete Confirmation]** when paginating.
- Fixed minor bug in advance_options.html for GQL params.
- Added logic to have reports and advanced menu to work with Stash settings requiring a password by adding API-Key as param argument for advance menu, and adding API-Key as variable in reports.
- When **[Advance Tag Menu]** is called from reports, it's given both the GQL URL and the apiKey on the URL param, which allows advance menu to work with non-standard URL's and with API-Key.
2024-11-23 16:20:56 -05:00
David Maisonave
0bd6df1206 Transfer option settings **[Disable Complete Confirmation]** and **[Disable Delete Confirmation]** when paginating. 2024-11-23 02:48:15 -05:00
David Maisonave
78eba2412a Added options to report and to advance menu 2024-11-22 14:47:15 -05:00
David Maisonave
01316957d6 Added image preview option 2024-11-12 02:37:30 -05:00
David Maisonave
daa2c7990c Moved report to sub folder. 2024-11-05 19:57:13 -05:00
David Maisonave
579c7c5b72 Added advance multiple options 2024-11-04 04:22:50 -05:00
David Maisonave
4dadc00156 Added special menu to advance menu. 2024-11-02 16:13:08 -04:00
David Maisonave
504814b43c Added advance menu option 2024-11-01 15:07:47 -04:00
David Maisonave
be8e632699 Added UI interface for DupFileManager 2024-10-28 06:15:03 -04:00
David Maisonave
cad16cac21 test 2024-10-23 03:16:28 -04:00
David Maisonave
a49c9aeb6f Added report feature to DupFileManager 2024-10-22 11:38:08 -04:00
David Maisonave
15bca1c899 Moved module logic to separate module. 2024-09-18 14:25:23 -04:00
David Maisonave
7b5c8840a1 Fixed bugs in DupFileManager and FileMonitor
DupFileManager and FileMonitor was not setting ignore-auto-tag when adding new tags.

Fixed whitelist bug associated with lowercase comparisons.
2024-09-14 15:48:14 -04:00
David Maisonave
452c08df03 Too many changes to list 2024-09-13 10:10:37 -04:00
David Maisonave
54c99a1564 Fixed bug in RenameFile when running on Linux 2024-09-02 13:42:49 -04:00
David Maisonave
873e3f2425 Update DupFileManager.py 2024-08-29 13:59:31 -04:00
David Maisonave
b05037b2e3 Added task to clear duplicate tags
Added logic to index grey and black list.
Added task to clear duplicate tags.
Appended details <BaseDup>, so when clearing duplicate tags, it can easily determine the start and end point to clear remarks.
2024-08-29 13:49:00 -04:00
David Maisonave
f516e75675 Update DupFileManager.py 2024-08-28 05:16:25 -04:00
David Maisonave
aba11888ce refrag code for RenameFile plugin 2024-08-27 19:24:28 -04:00
David Maisonave
7063168536 Added task option Delete Tagged Duplicates 2024-08-26 04:34:51 -04:00
David Maisonave
4f5652ec06 Update DupFileManager.py 2024-08-26 03:00:25 -04:00
David Maisonave
d67ce6f3e2 Change UI options 2024-08-25 19:16:44 -04:00
David Maisonave
f013de51e0 Adding functional plugin DupFileManager 2024-08-24 08:52:03 -04:00
David Maisonave
16f9b6e6aa Added logic to stop running multiple scan jobs.
100's of file changes at the same time caused FileMonitor to run many dozens of scan jobs.
Added logic to have FileMonitor delay new scan jobs while last scan job is still running.
2024-08-22 02:38:14 -04:00
David Maisonave
bec3e33950 misc 2024-08-20 23:07:02 -04:00
David Maisonave
64076f078e Update DupFileManager.py 2024-08-20 21:12:33 -04:00
David Maisonave
826e651a6e updates 2024-08-20 20:35:06 -04:00
David Maisonave
8a23918249 Added option to include paths for scheduled task
Added rename_generated_files
2024-08-15 14:50:57 -04:00
David Maisonave
36f5324774 Added daily scheduler logic using weekday pattern 2024-08-13 12:18:42 -04:00
David Maisonave
227c69d92d misc 2024-08-05 21:08:56 -04:00
David Maisonave
a1cec1fdbd Added logic to stop FileMonitor immediately
Added command line options --stop, --restart, --url, and --trace.
Moved logging logic to StashPluginHelper.py
2024-08-05 20:23:39 -04:00
David Maisonave
1aef74b993 Adding development plugin DupFileManager 2024-07-30 10:18:13 -04:00