Version 1.20.4 - 8 May 2024
Fix: for book_vars(), set_book_vars(), list_book_vars() get the vars dict from template global_vars.
Version 1.20.3 - 5 May 2024
Misc Fixes.
Version 1.20.2 - 11 April 2024
Fix:
https://www.mobileread.com/forums/sh...postcount=1314
Version 1.20.0 - 15 March 2024
Update: Experimental: Run chains in jobs.
Version 1.19.4 - 31 January 2024
Fix: Convert books: Action should not quit if plugin_for_input_format() returns None. This can happen with some supported input formats like zip.
Fix: Single Field Edit: Typo in remove formats.
Version 1.19.2 - 15 January 2024
Update: Basic Scopes: Add checkbox to restrict search to selected books.
Version 1.19.1 - 11 January 2024
Modifications to the "Open With" action.
Bump schema version to 1.9
Version 1.18.19 - 26 November 2023
Fix: incorporate latest calibre fixes for Qt date bugs
Version 1.18.18 - 16 November 2023
Fix: Single Field Edit: Don't reset selected option when changing column. This helps keep templates in place when importing new chains that needs changing column name on the part of the user.
Version 1.18.16 - 8 November 2023
Fix: Qt bug regarding dates
https://www.mobileread.com/forums/sh...d.php?t=357069
Version 1.18.15 - 28 October 2023
Update: Allow "Chain Caller" passing _variant_argument.
Version 1.18.13 - 10 September 2023
Fix:
https://www.mobileread.com/forums/sh...postcount=1152
Version 1.18.12 - 28 July 2023
Update: Single Field Widgets: Use stacked layout for predefined widgets instead of dynamically creating and deleting the widget.
Update: Add load_plugin() function. Can be used by other plugins that implement on_modules_update().
Fix: Create a new predefined comments button to get around the error: RuntimeError: wrapped C/C++ object of type FlowToolBar has been deleted
Version 1.18.11 - 18 July 2023
Fix: Stretching when resizing the Actions Dialog. submitted by @chaley.
Version 1.18.10 - 17 July 2023
Update: Option to turn off chain progress bar. submitted by @chaley.
Version 1.18.9 - 11 July 2023
Update: New on_modules_update() API function.
Version 1.18.8 - 13 June 2023
Fix: Calibre Actions: Error when populating actions tree caused by SortAction returning int instead of str when calling QAction.text(). See:
https://www.mobileread.com/forums/sh...postcount=1109,
https://www.mobileread.com/forums/sh...postcount=1114,
https://www.mobileread.com/forums/sh...postcount=1115
Update: Run Python Code: Add book_id to container object.
Version 1.18.7 - 24 May 2023
Update: Run Python Code: Add a new mode to run code for each book in the current scope, passes the container of the chosen format (epub or azw3) as an argument.
Update: Chain Caller is no longer experimental.
Version 1.18.6 - 9 April 2023
Fix: Bug when copying a separator.
Fix: Escape ampersands in menu entries.
Fix: Contamination of chain vars.
Version 1.18.5 - 5 March 2023
Update: When condition is not met, add the condition tooltip to the error message
Fix: Chain Variables: PyQt6 migration bug.
Version 1.18.4 - 6 February 2023
Fix: Search and Replace: Fix bug introduced by updates to calibre 6.12.0.
Version 1.18.3 - 30 December 2022
Fix: Chain Caller: don't call refresh_gui.
Version 1.18.2 - 19 December 2022
Fix: Bug in icon download.
Version 1.18.1 - 29 November 2022
Update: Add "Convert Books" Actions.
Fix: Bug in Chain Caller validation.
Version 1.18.0 - 4 November 2022
Update: Changes to support python template functions.
Update: Single Field Edit: Remember last size for interactive dialogs.
Version 1.17.5 - 9 August 2022
Update: update to calibre6 icon themes. Code borrowed from @JimmXinu.
Version 1.17.4 - 17 July 2022
Fix: PyQt6 migration bugs.
Version 1.17.3 - 15 July 2022
Fix: PyQt6 migration bugs.
Update: Modify the API by which other plugins provides resources (actions, events, scopes) to Action Chains. Now all types of plugins can provide resources by defining them in an action_chains.py module in the root directory of the plugin.
Version 1.17.2 - 9 July 2022
Fix: Bug in "Library About To Change" event when library_path is None.
Version 1.17.0 - 7 July 2022
Update: New action: "Run Python Code".
Update: New event: "Shutting Down".
Update: New event: "Library About To Change".
Version 1.16.4 - 29 June 2022
Fix: Export chain not working in PyQt6.
Version 1.16.3 - 10 February 2022
Fix: PyQt6 migration bug.
Version 1.16.2 - 31 January 2022
Fix: Single Field Edit: bug when using template option to add a format.
Version 1.16.1 - 13 January 2022
Fix: PyQt6 migration bug.
Version 1.16.0 - 6 January 2022
Changes for the upcoming PyQt6.
Version 1.15.1 - 1 January 2022
Fix: Regression with user defined templates.
Version 1.15.0 - 1 January 2022
Update: New action: Save/Restore Format.
Fix: Update templates before running template evaluator.
Fix: Error at startup building chain variations.
Version 1.14.0 - 6 November 2021
Update: Event Variants.
Update: Resources are imported from editor plugins as well.
Version 1.13.3 - 29 September 2021
Update: New template functions: book_field(), book_raw_field()
Fix: Vl Tab Changed Event: Improve performance when a tab is being dragged.
Fix: template_dialog_mode not set correctly.
Version 1.13.2 - 27 September 2021
Update: Vl Tab Changed Event: Add option to turn off event if vl tabs are hidden.
Update: Vl Tab Changed Event: Add additional event argument: last_vl.
Fix: Timer Event: Fix timer interval settings not read properly.
Version 1.13.1 - 25 September 2021
Fix: Vl Tab Changed Event: Signal vl_tab_changed is emitted multiple times when a new tab is added.
Version 1.13.0 - 22 September 2021
Update: Events: Add VL Tab Changed event.
Update: Single Field Edit: Disable template box when no field is chosen.
Version 1.12.0 - 27 August 2021
Update: Single Field Edit: Add formats and cover fields.
Update: Integration with Last Modified plugin hibernate mode.
Version 1.11.2 - 16 August 2021
Add restart signal for events dialog.
Version 1.11.0 - 15 August 2021
Update: Add event specific options.
Update: Timer event now configured from the event dialog.
Version 1.11.1 - 16 August 2021
Bug fix.
Version 1.10.0 - 7 August 2021
Update: Events: Add Book List Enter Key Pressed Event.
Update: Events: Rename "Library View Double Clicked" into "Book List Double Clicked". The event now responds to double clicks on the cover grid as well.
Update: Events: Add "Timer" event.
Update: Pressing F2 with multiple selections when active cell is submenu will pop up an input dialog to batch change the submenu for all selected entries.
Version 1.9.3 - 10 July 2021
Fix: Problem with Copy To Clipboard.
https://www.mobileread.com/forums/sh...&postcount=608
Version 1.9.2 - 7 July 2021
Fix: Bug with name of "Search and Replace Action"
Version 1.9.1 - 3 July 2021
Update: Chain Caller: Option to pass variables from calling chain.
Update: refresh_gui: Check db.last_modified() before refreshing gui.
Update: New template function last_modified()
Update: Calibre Actions: Minor modifications.
Version 1.9.0 - 16 May 2021
Update: Allow adding separator to submenus.
Update: Calibre Actions: Add device actions.
Minor Fixes.
Version 1.8.10 - 14 May 2021
Fix: Search And Replace: Regression in validation.
Fix: Regression in chain validation.
Version 1.8.9 - 13 May 2021
Fix: Bug:
https://bugs.launchpad.net/calibre/+bug/1928321 ,
https://www.mobileread.com/forums/sh...&postcount=576
Update: Chain Variations (Experimental): Rename _chain_argument into _variant_argument
Version 1.8.8 - 09 May 2021
Fix: Single Field Edit: Fix but where "Clear Value" does not work for the standard date column "timestamp".
Version 1.8.7 - 06 May 2021
Fix: KeyError when validating Open With action.
Version 1.8.6 - 05 May 2021
Fix: Regression in Single Field Edit when processing templates for marked field.
Minor improvements.
Version 1.8.5 - 05 May 2021
Fix: KeyError when having and empty event.
Version 1.8.4 - 05 May 2021
Update: Events: Store event arguments as chain variable _event_args.
Update: New Template Functions: field_names() and field_metadata()
Minor Fixes.
Version 1.8.3 - 27 April 2021
Some modification to allow the Chain Caller to have access to unsaved chains and to the parent chain name.
Version 1.8.2 - 27 April 2021
Update: Experimental: new "Chain Caller" action.
Minor changes.
Version 1.8.0
Update: New template functions: sanitize_path(), cover_path().
Update: Events: New "Calibre Initialized" Event.
Update: Experimental: New chain variation feature.
Update: Open With: Template GPM can be used for command arguments.
Fix: Crash if you delete a row from the actions table with editor open but no action selected.
Version 1.7.2 - 14 April 2021
Fix: Regression that led to chain conditions not being checked when called from keyboard shortcut.
Fix: Pass option to disable QApplication.processEvents() when a "Library View Double Clicked" is activated as it leads to active cell entering edit mode on double click for chains that have more than one action.
Update: Changes to the button delegate to make it behave like a real button.
Update: Search Using Templates: Add option to make template return a list of book ids.
Version 1.7.1 - 13 April 2021
Fix: Regression with conditions because of a missing import.
Version 1.7.0 - 9 April 2021
Update: Add persistent storage for templates. Can be accessed using these new template functions: persistent_vars(), set_persistent_vars(), list_persistent_vars(), delete_persistent_vars(), list_persistent_namespaces(), delete_persistent_namespaces()
Update: Copy To Clipboard: Add option to write to a file.
Update: Chain Variables: Add option to ask for variables at runtime.
Update: Library View Double Clicked: tweak to allow single click edit (action_chains_single_click_edit).
Update: Add a tweak to allow disabling submenu inheriting first action icon (action_chains_default_sub_menu_icon).
Update: Update the way table state is saved to avoid messing it up every-time a new column is added.
Update: Add options to customize scope icon and tooltip.
Update: Add new template function: list_book_vars().
Version 1.6.2 - 4 April 2021
Fix: Template Scopes: Discard book ids not currently present in library.
Minor changes to the icons.
Version 1.6.1 - 2 April 2021
Fix: Scope dialog should not open when double clicking on actions that does not support scopes.
Fix: Bug when importing settings and resources/images file is not present.
Version 1.6.0 - 2 April 2021
Update: Add scopes.
Update: Conditions button is removed and replaced by context menu items.
Fix: Bug with set_book_vars() when running for the first time when configuring a chain.
Version 1.5.2 - 27 March 2021
Update: Actions table: Add button to duplicate actions.
Version 1.5.1 - 26 March 2021
Fix: bug in treecombbox adding extra levels of user actions for every time the delegate is initiated.
Remove to_timestamp as it is made obsolete by the new changes introduced to calibre's format_date().
Version 1.5.0 - 25 March 2021
Fix: Calibre Actions: Bug that allowed choosing two actions if they are not top level items.
Update: Calibre Actions: Add option to wait for jobs started by action to finish before proceeding.
Update: Calibre Actions: Add option to wait for progress bar started by action to finish before proceeding.
Update: Calibre Actions: re-add previously excluded action like add books, remove books, convert books ... etc as they can be used with newly introduced options.
Update: New template function to_timestamp which makes it possible to do date comparisons by converting date to float numbers.
Update: Add new event: Library View Double Clicked.
API changes: Rename some methods.
Version 1.4.3 - 23 March 2021
Fix: Module editor failing to load source if it contains errors (e.g imported objects that no longer exist).
Minor modification to the TemplateBox.
Events: pass singal args to the Event loop.
Version 1.4.2 - 17 March 2021
Update: Single Field Edit: Add identifiers.
Fix: bug when deleting multiple non-contiguous rows.
Version 1.4.1 - 16 March 2021
Fix: Bug with colors in the tree combobox when in dark mode. Thanks to @chaley.
Version 1.4.0 - 15 March 2021
Update: Add a new Action: Search Using Templates.
Update: Change actions/events combobox into tree combobox.
Update: Import/Export: Include schema version plus other minor changes.
Update: Conditions Evaluator: Add option to turn off action validation of conditions are not met. The default as of this version if to verify all actions regardless of conditions unless this option is checked.
Update: (Experimental) Add two API methods: action_chains_resources(), on_action_chains_modules_update(). The first enables other plugins to provide action chains with resources (actions, events, template_functions). The second method makes the modules manager available for other plugins.
Code refactoring.
Version 1.3.3 - 5 March 2021
Fix: Calibre Actions: Always persist non translated strings in settings. This is done to avoid the settings being invalid if the the user switches languages.
Version 1.3.2 - 27 February 2021
Minor changes to TemplateBox.
Minor changes to category_items() template function.
Version 1.3.1 - 26 February 2021
Fix: For chains triggred by events, if conditions are not met, print a message to the status bar instead of an error dialog.
Fix: Single Field Edit: Bug when setting marks from template.
Single Field Edit: Some minor technical changes (pass plugin_action instead of db).
Version 1.3.0 - 21 February 2021
Fix: from_selection() and from_search() formulas always return a constant list of 1,2,3,4,5 when in any template dialog, no just in the formula dialog.
Update: Add new template function: category_items().
Update: Chain Variables: Double clicking the value cell always opens the formula dialog.
Version 1.2.4 - 20 February 2021
Update: Selection Modifier: Add two new options: "Clear Selections", "Select first book in current view"
Update: Add new template function set_book_vars.
Update: Chain Variables: Guarantee order of processing of variables is same as order in table.
Update: Chain Variables: Double clicking value cell will open template dialog if value start with "program:"
Version 1.2.3 - 20 February 2021
Update: Chain Variables: Add option to loop over all books per var in the table.
Update: Chain Variables: Right clicking value cell opens template editor.
Update: Add new template function book_vars to access book specific variables set by custom actions (using chain_loop.set_book_vars). They are no longer accessible from the globals template function, to provide consistent behavior that enables set_globals to work the same everywhere.
Fix: Formulas: Bug with mean value when fed an empty list or a list with no numerical values. It now handles it by returning 0.
Version 1.2.2 - 19 February 2021
Fix: Formulas: Give the template processor access to the chain_vars.
Update: Formulas functions available as part of template_functions and can be accessed from any other action in the plugin.
Version 1.2.1 - 15 February 2021
Minor bug fix.
Version 1.2.0 - 13 February 2021
Fix: Selection modifier: make sure to temporarily turn of search highlighting (if turned on by the user), to allow for the selection of all books in current search only.
Version 1.1.1 - 12 February 2021
Update: Single Field Edit: Setting template output to empty string deletes the column value for all datatypes.
Version 1.1.0 - 12 February 2021
Fix: Single Field Edit: Don't update column value if template returns a value identical to the current value.
Version 1.0.0 - 3 February 2021
Update: Allow Nested sub-menus by using ::: as a separator.
Fix: Single Field Edit: Bug checking enum types when applying templates.
Fix: Importing entries should not allow duplicate chain names as it leads to errors when menus are re-built.
Version 0.7.1 - 26 January 2021
Minor bug fix.
Version 0.7.0 - 26 January 2021
Update: Modify TemplateBox, ConditionsEval, FormulaEditor to use the new changes introduced by chaley that allow adding custom widgets to the Template Dialog, and pass functions to the initiator. Now they all inherit from the calibre's TemplateDialog without the need to re-implement any methods. This makes template functions defined by the plugins more integrated as they can be highlighted and also show their own source and documentation in the appropriate places in Template Editor.
Update: Allow hiding menu entries by putting them in a submenu called invisible.
Version 0.6.5 - 20 January 2021
Update: make disabling menu items based on chain conditions optional.
Fix: Bug where chain conditions are unnecessarily tested for actions without their own condition.
Version 0.6.4 - 18 January 2021
Update: add selection_count template function instead of the old way of pre-calculating selection count as a global_var
Version 0.6.3 - 17 January 2021
Update: Prior to running a chain, only validate actions that have no conditions, or those that have conditions that evaluate to true.
Version 0.6.2 - 11 January 2021
Update: Spanish translation. Thanks to @dunhill
Version 0.6.1 - 3 January 2021
Update: Add formulas action.
Version 0.6.0 - 31 December 2020
Fix: Open with handle books selected with missing formats.
Fix: Conditions Evaluator choose active index instead of first selected book.
Fix: Calculate selection count once in about_to_show_menu when evaluating conditions for chains to prevent the menu from taking long time to show.
Version 0.5.3 - 30 December 2020
Fix: Another regression in icon combobox.
Fix: Regression in check templates.
Fix: Error converting int output from templates.
Version 0.5.2 - 29 December 2020
Fix: Regression in icon combobox.
Version 0.5.1 - 29 December 2020
Minor fixes.
Version 0.5.0 - 26 December 2020
Update: Add event manager.
Update: Add optional icon and tooltip entries in Conditions Dialog.
Version 0.4.0 - 22 December 2020
Update: Add option to disable wait cursor for calibre actions.
Update: Add new action "Chain Variables".
Update: Add support for conditional executions of actions.
Update: Add support for conditional executions of chains.
Update: Add support for the new global template function.
Fix: pre-defined template error with marked field.
Fix: problem in open with action when using multiple selections in windows.
Version 0.3.3 - 19 December 2020
Fix: Problem with Calibre Actions when "Show marked books" is selected.
Version 0.3.2 - 17 December 2020
Minor bug fixes.
Version 0.3.1 - 4 December 2020
Fix: Reset errors after changing action settings.
Minor bug fixes.
Version 0.3.0 - 3 December 2020
Update: Add option to clear value in the single field edit.
Fix: Allow the user to choose undefined predefined values for bool, enumeration and rating field types.
Fix: Multiple other fixes to the single field edit.
Fix: When copying a chain in the customize dialog, ensure the name is unique
Version 0.2.1 - 1 December 2020
Update: make columns movable.
Update: save and restore columns state.
Version 0.2.0 - 29 November 2020
Update: re-write add actions as a table dialog.
Update: re-write config dialog table.
Version 0.1.2 - 23 November 2020
Update: Add marked column to single field edit action.
Fix: Turn off the wait cursor temporarily while single edit field dialog are on.
Fix: Refresh gui after running chain.
Fix: Problem with calibre's show all marked books chaining its name depending on number of marked books, messing up the stored setting in calibre actions.
Version 0.1.1 - 20 November 2020
Fix: Problem with predefined dates set to today.
Version 0.1.0 - 16 November 2020
Initial Release.