Skip to content

Releases: RealRaven2000/SmartTemplates

3.14 - released 26/10/2022

26 Oct 16:26
Compare
Choose a tag to compare

The full change log with screen shots can be found here

Enhancements

  • Added a search field to the variables page. [issue #215]

    image

    Enter a search term to find any words in the complete variables documentation (including currently collapsed chapters). Push Enter to start the search and F3 to continue to the next match.

  • Improved colors in variables window when using dark themes.
  • Support using `toclipboard` parameter to copy data to clipboard multiple times in the same template. [issue #210]
  • Added a new section to document clipboard functions in variables tab

Bug Fixes / Maintenance

  • Fixed header variables with uppercase letters, such as `%Message-Id%`and `%Newsgroups%` [issue #211]

3.13 - released 21/08/2022

28 Sep 10:07
Compare
Choose a tag to compare

The full change log with screen shots can be found here

Enhancements

  • New toclipboard parameter for address fields such as %from(name)% to copy results to clipboard.
  • Improved the parameters bracketMail and bracketName for using with clipboard. These now do not encode the < and > signs anymore.
  • [issue 208] Improved accessibility for settings dialog. tabs and buttons can now be navigated using keyboard only.
  • After updating, SmartTemplates does not display the tab with version log automatically anymore. The original behavior can be restored on the licenses tab in the new 'Updates' section.

    The fully translated "News" screen or a detailed change log (in English) on the support site can also be displayed opened from here.

Bug Fixes / Maintenance

  • [issue 205] Fixed: After FiltaQuilla automatically forwarded or replied to an email using smarttemplate, the same template had been used in error on a following manual reply in error.
  • [issue 204] Repaired the context menu command to update and replace field variables with content (without updating the content - to update it just use a left click beforehand).
  • [issue 206] Repaired: %datelocal% returned a blank space instead of the localized date.

Miscellaneous

  • In Thunderbird 102 We now use compose-window-init event in 102 to reliably attain headers at an earlier stage - in order to extract headers from the original email.

3.12.2 - released 29/06/2022

29 Jun 19:52
Compare
Choose a tag to compare

Maintenance Version 3.12.2

  • [issue 197] - Expand / collapse / help buttons are now also visible when opening settings from Add-ons Manager
  • [issue 198] - Renew license button on left bottom of settings dialog now works as expected

Enhancements (3.12.1)

  • [issue 183] SmartTemplates now supports using "clipboard" as argument for text and header manipulation functions

    header manipulation - examples

    • %header.set(to,clipboard)% - set the final recipient from the clipboard
    • %header.append(to,clipboard)% - add a recipient from clipboard
    • %header.prefix(subject,clipboard)% - add some subject prefix from clipboard

    Template text and Quote replacements

    • %replaceText(regularExpression,clipboard)% - overwrite placeholder text in template from clipboard
    • %replaceQuotedText(regularExpression,clipboard)% - replace text in the quoted part with clipboard contents
  • [issue 187] Support transferring headers / variable results to clipboard

    Use the parameter toclipboard to transfer header contents such as email addresses to the clipboard: %from(mail,toclipboard)%

    Use it when replying or forwarding messages to extract text from the original message body or subject to the clipboard, for example:

    %matchTextFromBody("Please reply until (.)",1,toclipboard)%
    %matchTextFromSubject("[Support] (.
    )",1,toclipboard)%

    You can use it for copying the date with dateformat as well:

    Wrap the format strings in double quotes, and add the parameter toclipboard to force copying the date to clipboard instead of inserting it into the email. Use the additional parameter current to always enforce current time (without that, it will interpret it as the timestamp of the replied to / forwarded original mail)

    Examples:

      %dateformat("A, e/n/Y H:M",toclipboard)%
      %dateformat("A, e/n/Y H:M",current,toclipboard)%
  • [issue 189] Support multiple spellcheck languages with %spellcheck()% command - for example: use %spellcheck(en,de)% to enable combined English / German dictionary checking.
  • [issue 182] Improved *selection* placeholder in Snippets to better support processing html elements. For example, you can now wrap an image with some HTML to add a shadow. Just click on the image and then load the following Smart Template:
      <div style="border: 1px solid rgba(80, 80, 80, 0.3); 
          box-shadow: rgba(80, 80, 80, 0.3) 5px 5px 5px; 
          width:max-content;">*selection*</div>
    

    This will add a nice outlines and drop shadow. There are many more creative way to add functionality to the Thunderbird Composer using the SmartTemplates Snippets button, by using HTML and style rules.

  • [issue 185] Simplified and modernized SmartTemplates Settings - Accounts dropdown and toolbar buttons.

    The accounts dropdown often showed squashed buttons at the top right due to long labels, also the icons
    were confusing - I have decided to streamline this by taking the following steps:

    • removed the "Advanced" label and using the widely used [...] icon to expand dialog to advanced settings
    • used monochrome scalable svg icons for most of the toolbarbutton
    • removed the account name from the account label - the identity name should be enough. If you need to add it back (or additional info such as the account id) you can right-click the "Account:" label
    • reduced space between buttons to save even more space
  • Compatibility changes for Thunderbird ESR 102:
    Increased minimum version number
    Fixed notifications
    Fixed setting focus in composer
    Stabilized code when reading external signatures or including external files
    Fixed menu spacings for Templates in reply / write / forward / Snippets buttons.
  • Bug Fixes / Maintenance

  • [issue 186] Fixed various issues in bracketMail parameter in %to% / %from% etc:
    • You can now use bracketMail without the parentheses: %to(name,bracketMail)% this will default to wrapping the email in the standard of angled brackets: <[email protected]>
    • Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields.
      For example, %to(bracketName({;}),mail)% will generate "{Fred} [email protected]" and not the faulty "{Fred} {[email protected]}"
    • When using deferred fields (e.g. when using %to(bracketMail)% within a write template), angle brackets used to be encoded twice leading to an output of "&lt;[email protected]&gt;" instead of the expected "<[email protected]>" when the user clicks to update the field.
    • Using multiple bracketMail functions could lead to only the last [[ optional section ]] to be removed as expected. See related [issue 192]
  • Ongoing work: [issue 184] Move template processing into background script

    In order to use ComposeScripts and allow integration of SmartTemplates with other mail extensions (not just legacy) all template / string processing and the insertion into Composer need to be moved into the background script. The new code will be implemented on the current ESR branch (currently 91, soon to be 102) but not activated until it is ready.

    Once the main parser runs within background we are an essential step closer to conversion to a native API mail extension [mx] without legacy code and without requiring full permissions to the user's PC. However it is likely that things like UI integration (3 buttons in composer toolbar), full access to external files, access to certain MIME headers etc. might then still not possible with non-experimental Add-ons.

  • New Greek translation by StratosL (Work in Progress)

3.12.1 - released 28/06/2022

28 Jun 18:44
Compare
Choose a tag to compare

Enhancements 3.12

  • [issue 183] SmartTemplates now supports using "clipboard" as argument for text and header manipulation functions

    header manipulation - examples

    • %header.set(to,clipboard)% - set the final recipient from the clipboard
    • %header.append(to,clipboard)% - add a recipient from clipboard
    • %header.prefix(subject,clipboard)% - add some subject prefix from clipboard

    Template text and Quote replacements

    • %replaceText(regularExpression,clipboard)% - overwrite placeholder text in template from clipboard
    • %replaceQuotedText(regularExpression,clipboard)% - replace text in the quoted part with clipboard contents
  • [issue 187] Support transferring headers / variable results to clipboard

    Use the parameter toclipboard to transfer header contents such as email addresses to the clipboard: %from(mail,toclipboard)%

    Use it when replying or forwarding messages to extract text from the original message body or subject to the clipboard, for example:

    %matchTextFromBody("Please reply until (.)",1,toclipboard)%
    %matchTextFromSubject("[Support] (.
    )",1,toclipboard)%

    You can use it for copying the date with dateformat as well:

    Wrap the format strings in double quotes, and add the parameter toclipboard to force copying the date to clipboard instead of inserting it into the email. Use the additional parameter current to always enforce current time (without that, it will interpret it as the timestamp of the replied to / forwarded original mail)

    Examples:

      %dateformat("A, e/n/Y H:M",toclipboard)%
      %dateformat("A, e/n/Y H:M",current,toclipboard)%
  • [issue 189] Support multiple spellcheck languages with %spellcheck()% command - for example: use %spellcheck(en,de)% to enable combined English / German dictionary checking.
  • [issue 182] Improved *selection* placeholder in Snippets to better support processing html elements. For example, you can now wrap an image with some HTML to add a shadow. Just click on the image and then load the following Smart Template:
      <div style="border: 1px solid rgba(80, 80, 80, 0.3); 
          box-shadow: rgba(80, 80, 80, 0.3) 5px 5px 5px; 
          width:max-content;">*selection*</div>
    

    This will add a nice outlines and drop shadow. There are many more creative way to add functionality to the Thunderbird Composer using the SmartTemplates Snippets button, by using HTML and style rules.

  • [issue 185] Simplified and modernized SmartTemplates Settings - Accounts dropdown and toolbar buttons.

    image

    The accounts dropdown often showed squashed buttons at the top right due to long labels, also the icons
    were confusing - I have decided to streamline this by taking the following steps:

    • removed the "Advanced" label and using the widely used [...] icon to expand dialog to advanced settings
    • used monochrome scalable svg icons for most of the toolbarbutton
    • removed the account name from the account label - the identity name should be enough. If you need to add it back (or additional info such as the account id) you can right-click the "Account:" label
    • reduced space between buttons to save even more space
  • Compatibility changes for Thunderbird ESR 102:
    Increased minimum version number
    Fixed notifications
    Fixed setting focus in composer
    Stabilized code when reading external signatures or including external files
    Fixed menu spacings for Templates in reply / write / forward / Snippets buttons.
  • Bug Fixes / Maintenance

  • [issue 186] Fixed various issues in bracketMail parameter in %to% / %from% etc:
    • You can now use bracketMail without the parentheses: %to(name,bracketMail)% this will default to wrapping the email in the standard of angled brackets: <[email protected]>
    • Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields.
      For example, %to(bracketName({;}),mail)% will generate "{Fred} [email protected]" and not the faulty "{Fred} {[email protected]}"
    • When using deferred fields (e.g. when using %to(bracketMail)% within a write template), angle brackets used to be encoded twice leading to an output of "&lt;[email protected]&gt;" instead of the expected "<[email protected]>" when the user clicks to update the field.
    • Using multiple bracketMail functions could lead to only the last [[ optional section ]] to be removed as expected. See related [issue 192]
  • Ongoing work: [issue 184] Move template processing into background script

    In order to use ComposeScripts and allow integration of SmartTemplates with other mail extensions (not just legacy) all template / string processing and the insertion into Composer need to be moved into the background script. The new code will be implemented on the current ESR branch (currently 91, soon to be 102) but not activated until it is ready.

    Once the main parser runs within background we are an essential step closer to conversion to a native API mail extension [mx] without legacy code and without requiring full permissions to the user's PC. However it is likely that things like UI integration (3 buttons in composer toolbar), full access to external files, access to certain MIME headers etc. might then still not possible with non-experimental Add-ons.

  • New Greek translation by StratosL (Work in Progress)

3.11 - released 17/March/2022

17 Mar 20:19
Compare
Choose a tag to compare

Enhancements 3.11

  • [issue 173] Auto-Forward / Auto-Reply with template - implement triggering template from filter (using FiltaQuilla). This requires the Add-on FiltaQuilla version 3.4 or later.

    In order to use this feature, open Filtaquilla settings and enable the "forward with SmartTemplates" option on the actions page. One can then add the new action on any message filter.
    For detailed documentation refer to the article on the quickFilters premium features page.

  • [issue 172] Modifiy text in body of forwarded mail [inline]. This now works in the functions: %deleteQuotedText()%, %replaceQuotedText()%, %deleteQuotedTags()%, %replaceQuotedTags()%. Read the full documentation here.

    These have to be called with a quote level parameter of "0" from the template and then they can be used to delete or replace text or HTML parts from the original mail.

    Limitation: the string parameters cannot contain double quotes ", the percent sign % or parentheses ( ) .

  • [issue 174] %suppressQuoteHeaders% command to suppress all quote headers - the ones inserted by Thunderbird automatically (usally along the lines of "on 12/03/2020 John Doe wrote:") and also any of the replacement ones configured in SmartTemplates account settings.
  • New Greek translation by StratosL (Work in Progress)

The full change log with screen shots can be found here

3.10.2 - released 07/Feb/2022

07 Feb 15:28
Compare
Choose a tag to compare

The full change log with screen shots can be found here

Bug Fixes 3.10.2

  • [issue 171] SmartTemplates Settings Dialog: Empty Examples tab in Thunderbird 91. This was caused by Thunderbird 91 enabling multi-process browsing which doesn't allow remote iFrames. Examples are now loaded in a browser element instead. Note that the examples are pulled from the support site and as such are always in English only.

Enhancements 3.10.2

  • [issue 170] Added a method to view license extension sooner than 1 month before expiry of Pro license. If you need to extend your license by another year before it expires, you can click the valid date in Settings / SmartTemplates license tab to open the licensing screen to extend it

Enhancements from 3.10.1

  • [issue 154] Support pushing [Esc] to close template change confirmation. Also removed non-functional buttons from this dialog.
  • [issue 166] Implemented: %recipient% should use reply-to header if present when replying.
  • [issue 150] Removed nag screen which pops up after trial date is expired.

Bug Fixes from 3.10.1

  • [issue 167] Fixed: BCC list entry not expanded with empty "To:" address.
  • [issue 168] Fixed: custom background and text colors ignored in composer when writing new mails.

3.10.1 - released 04/Feb/2022

04 Feb 10:49
Compare
Choose a tag to compare

The full change log with screen shots can be found here

Enhancements

  • [issue 154] Support pushing [Esc] to close template change confirmation. Also removed non-functional buttons from this dialog.
  • [issue 166] Implemented: %recipient% should use reply-to header if present when replying.
  • [issue 150] Removed nag screen which pops up after trial date is expired.

Bug Fixes

  • [issue 167] Fixed: BCC list entry not expanded with empty "To:" address.
  • [issue 168] Fixed: custom background and text colors ignored in composer when writing new mails.

2.18 - Release for TB 68

03 Feb 15:35
Compare
Choose a tag to compare

Full change log with screen shots can be found here

Latest News

ATN (addons.thunderbird.net) does not accept versions for Thunderbird 68 anymore - so any future version for legacy Add-ons will now be released to the SmartTemplates github releases page.

I may backport some fixes / features for Thunderbird 68 only in the SmartTemplate version 2.*. See the item lists below for more detail.

If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider
buying a license
to support the project.

Enhancements

  • [issue 154] Support pushing [Esc] to close template change confirmation. Also removed non-functional buttons from this dialog.
  • [issue 166] Implemented: %recipient% should use reply-to header if present when replying.

Latest version for Thunderbird 68 is attached below:

3.9 - published 09/12/2021

09 Dec 12:52
Compare
Choose a tag to compare

The full change log with screen shots can be found here

Enhancements

  • [issue 164] Feature: Added *selection* placeholder for inserting HTML snippets (fragments). This is a SmartTemplates Pro feature.

Bug Fixes

  • Fixed: [issue 162] Main toolbar - template dropdowns - items in category submenus don't trigger composer.
  • Fixed: [issue 139] Duplicate template inserted when replying to own email - Tb Conversations Add-on!
  • Fixed: [issue 155] reply template applied twice in thunderbird 91.2.0.
  • Fixed: [issue 163] With Cardbook installed, SmartTemplates statusbar icon may not be shown.

Miscellaneous

  • [issue 161] remove text shadow in html edit boxes for dark themes - this makes the text better readable.

2.17 - legacy version released on github only - 09/12/2021

09 Dec 13:12
Compare
Choose a tag to compare

Full change log with screen shots is available here

Latest News

Important: ATN (addons.thunderbird.net) does not accept versions for Thunderbird 68 anymore - so any future version for legacy Add-ons will now be released to the SmartTemplates github releases page.

I may backport some fixes / features for Thunderbird 68 only in the SmartTemplate version 2.*. See the item lists below for more detail.

If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider buying a license to support the project.

Enhancements

  • [issue 142] New feature to insert html Smart snippets within Composer.
  • [issue 164] Feature: Added *selection* placeholder for inserting HTML snippets (fragments). This is a SmartTemplates Pro feature.
  • [issue 147] Added categories / folders to structure template menus

Bug Fixes

  • Fixed: [issue 155] reply template applied twice in thunderbird 91.2.0.
  • Fixed: [issue 139] Double template inserted when replying to own email - Tb Conversations Add-on!
  • Fixed: [issue 156] When FORWARDING, %quotePlaceholder% doesn't position forwarded mail text correctly.
  • Fixed: [issue 153] Recipient Names which are only 1 Character long are dropped.
  • Fixed: [issue 163] With Cardbook installed, SmartTemplates statusbar icon may not be shown.
  • Fixed: [issue 149] If no %cursor% is entered, HTML template may be truncated / reformatted at the end
  • Fixed: Fixed some strings in Occitan locale.

Miscellaneous

  • [issue 127] Make SmartTemplates compatible with Thunderbird 91.0 - this is mostly complete and you can upgrade to Thunderbird 91 already.
  • ATN dropped support for Thunderbird versions older than 78. Bugfixes will only be done on request for Tb68 (and Tb78 and later). Most new features will go into the current-compatible version which runs both on Thunderbird 78 and 91.