Skip to content

Bulk asynchronous downloader for multiple file hosts

Implement Changelog

Jacob83502a3dd811
diff --git a/cyberdrop_dl/ui/prompts/general_prompts.py b/cyberdrop_dl/ui/prompts/general_prompts.py
index 380be8666..0b7051a0c 100644
--- a/cyberdrop_dl/ui/prompts/general_prompts.py
+++ b/cyberdrop_dl/ui/prompts/general_prompts.py
@@ -41,7 +41,8 @@ def main_prompt(manager: Manager) -> int:
Choice(9, "Edit Configs"),
Separator(),
Choice(10, "Import Cyberdrop_V4 Items"),
- Choice(11, "Exit"),
+ Choice(11, "View Changelog"),
+ Choice(12, "Exit"),
], long_instruction="ARROW KEYS: Navigate | ENTER: Select",
vi_mode=manager.vi_mode,
).execute()
diff --git a/cyberdrop_dl/ui/ui.py b/cyberdrop_dl/ui/ui.py
index 87861596b..11d43ac2c 100644
--- a/cyberdrop_dl/ui/ui.py
+++ b/cyberdrop_dl/ui/ui.py
@@ -6,6 +6,7 @@ from typing import TYPE_CHECKING
from InquirerPy import inquirer
from InquirerPy.validator import PathValidator
from rich.console import Console
+from pydoc import pager
from cyberdrop_dl import __version__
from cyberdrop_dl.ui.prompts.settings_authentication_prompts import edit_authentication_values_prompt
@@ -17,6 +18,7 @@ from cyberdrop_dl.ui.prompts.url_file_prompts import edit_urls_prompt
from cyberdrop_dl.ui.prompts.settings_user_prompts import create_new_config_prompt, edit_config_values_prompt
from cyberdrop_dl.ui.prompts.settings_hash_prompts import path_prompt
from cyberdrop_dl.clients.hash_client import hash_directory_scanner
+import cyberdrop_dl.utils.changelog as Changelog
console = Console()
@@ -149,6 +151,9 @@ def program_ui(manager: Manager):
elif action == 10:
import_cyberdrop_v4_items_prompt(manager)
- # Exit
elif action == 11:
+ pager(Changelog.__doc__)
+
+ # Exit
+ elif action == 12:
exit(0)
diff --git a/cyberdrop_dl/utils/changelog.py b/cyberdrop_dl/utils/changelog.py
new file mode 100644
index 000000000..979162d29
--- /dev/null
+++ b/cyberdrop_dl/utils/changelog.py
@@ -0,0 +1,23 @@
+"""
+C\bCH\bHA\bAN\bNG\bGE\bEL\bLO\bOG\bG
+\tVersion 5.4.61 - 5.4.63
+
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+\tThis update introduces the following changes:
+\t\t1. Added a configuration option `sort_cdl_only` to enable sorting based on download history.
+\t\t2. Implemented asynchronous iteration for fetching unique download paths from the history.
+\t\t3. Updated the sorting logic to conditionally use either the download directory or the history based on the configuration.
+\t\t4. Improved error handling and logging for better debugging and maintenance.
+\t\t5. Added automatic debugging support for vscode.
+\t\t6. Added a new option to view the changelog.
+
+\tDetails:
+\t\t- The `sort_cdl_only` option allows users to choose whether to sort files based on the download history or the current download directory.
+\t\t- Asynchronous iteration ensures efficient handling of large datasets when fetching unique download paths.
+\t\t- Conditional sorting logic provides flexibility and enhances the user experience by allowing customized sorting behavior.
+\t\t- Debug mode is automatically enabled in vscode for easier debugging and troubleshooting.
+\t\t- The changelog option provides users with a quick overview of the latest changes and updates.
+
+\tFor more details, visit the wiki: https://script-ware.gitbook.io
+"""
\ No newline at end of file