Skip to content

Commit

Permalink
4.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Apr 28, 2021
1 parent 3cc9f0f commit c508283
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ rem "C:\Program Files\7-Zip\7z" a -xr!.svn quickFolders.zip install.rdf chrome.m
echo %quickFoldersRev% > revision.txt
move QuickFolders*.xpi "..\..\Release\_Test Versions\4.21\"
pwsh -Command "Start-Sleep -m 150"
rename QuickFoldersWeb.zip QuickFolders-wx-4.21.3pre%quickFoldersRev%.xpi
rename QuickFoldersWeb.zip QuickFolders-wx-4.21.4pre%quickFoldersRev%.xpi
8 changes: 8 additions & 0 deletions chrome/content/quickfolders-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -5011,6 +5011,10 @@ QuickFolders.Interface = {

// [issue 135] allow in-string search for parents using delimiters: - _ . and space!
let folderNameMatches = f.prettyName.toLowerCase().split(/[_ ]/);
// [issue 148] splitting prevents full name to be matched!
if (folderNameMatches.length>1) {
folderNameMatches.push(f.prettyName.toLowerCase()); // add the full string
}
// ignore 1-character matches
if (folderNameMatches.some(a => a.startsWith(ancestors[maxLevel]) && a.length>1)) {
// 1st (top level) match
Expand All @@ -5037,6 +5041,10 @@ QuickFolders.Interface = {
maxLevel--;
// [issue 135] allow in-string search for children using delimiters: - _ . and space!
let folderNameMatches = f.prettyName.toLowerCase().split(/[-_. ]/);
// [issue 148] splitting prevents full name to be matched!
if (folderNameMatches.length>1) {
folderNameMatches.push(f.prettyName.toLowerCase()); // add the full string
}
if (folderNameMatches.some(a => a.startsWith(search))) {
if (!directParent) directParent = folder;
if (maxLevel == 0) {
Expand Down
2 changes: 1 addition & 1 deletion chrome/content/quickfolders-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ QuickFolders.Util = {
_isCSSGradients: -1,
_isCSSRadius: -1,
_isCSSShadow: true,
HARDCODED_CURRENTVERSION : "4.21.3", // will later be overriden call to AddonManager
HARDCODED_CURRENTVERSION : "4.21.4", // will later be overriden call to AddonManager
HARDCODED_EXTENSION_TOKEN : ".hc",
ADDON_ID: "[email protected]",
FolderFlags : { // nsMsgFolderFlags
Expand Down
4 changes: 4 additions & 0 deletions chrome/content/quickfolders.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ END LICENSE BLOCK */
## [issue 144] Mark folders + subfolders read stops at first generation (direct child folder) mails
## [issue 145] Thunderbird 60: QuickFolders always offers update to 4.21.2
4.21.4 QuickFolders Pro - WIP
## [issue 148] quickMove: parent folder containing an underscore not suggested as parent
Future Work
===========
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
em:icon64URL="chrome://quickfolders/skin/ico/QF64x64.png"
em:optionsURL="chrome://quickfolders/content/options.xul">
<em:type>2</em:type>
<em:version>4.21.3</em:version>
<em:version>4.21.4</em:version>
<em:homepageURL>https://quickfolders.mozdev.org/index.html</em:homepageURL>
<em:targetApplication RDF:resource="rdf:#$Vsomz2"/>
<em:targetApplication RDF:resource="rdf:#$Vsomt2"/>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"manifest_version": 2,
"name": "QuickFolders",
"description": "Bookmark your favorite mail folders in Thunderbird.",
"version": "4.21.3",
"version": "4.21.4",
"developer": {
"name": "Axel Grude",
"url": "https://quickfolders.org/index.html"
Expand Down
8 changes: 2 additions & 6 deletions release-notes.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
Release 4.21.3
Release 4.21.4

This release backports some of the fixes that were also done in the new version for Thunderbird 78. If you want to get the latest features, I highly recommend updating Thunderbird to the current 78 release version.
To support QuickFolders, <a href="http://sites.fastspring.com/quickfolders/product/quickfolders?referrer=atn-version-page">buy a license</a> or <a href="https://quickfolders.org/donate.html?referrer=atn-version-page">donate</a> to support the project.

<b>Bug Fixes</b>
<ul>
<li>
<a target="_blank" href="https://github.com/RealRaven2000/QuickFolders/issues/144">[issue 144]</a> Mark folders + subfolders read stops at first generation (direct child folder) mails
<li> <a target="_blank" href="https://github.com/RealRaven2000/QuickFolders/issues/148">[issue 148]</a> quickMove: parent folder containing an underscore not suggested as parent if typed from fully. This is a regression caused by changes in <a target="_blank" href="https://github.com/RealRaven2000/QuickFolders/issues/135">[issue 135]</a> which allows for entering parent names by entering text within the string if that starts with an underscore or space - e.g. to find all child folders of "001_Test" you could just type "tes/". The regression caused it not to be suggested when typing "001_tes/" as it only would evaluate the substrings "001" and "Test" as possible parents.
</li>
<li>
<a target="_blank" href="https://github.com/RealRaven2000/QuickFolders/issues/144">[issue 144]</a> Thunderbird 60 users only - QuickFolders always offers update to 4.21.2 - this is due to a faulty version number in the deprecated file install.rdf (which isn't used by Thunderbird 66 - 91 anymore).
<li>
<li>
I am working on making QuickFolders compatible with Thunderbird 91, which is planned for release in summer 2021. There is a lot of rewriting going on in the background in order to replace internal functionality with the new API model. If you still ust THunderbird 68 or older, consider at least switching to Thunderbird 78 to get the <a href="https://quickfolders.org/version.html#latest">latest version of QuickFolders</a>.
</li>
Expand Down

0 comments on commit c508283

Please sign in to comment.