fixed bug which prevented finding mentions in text + version bump

This commit is contained in:
Jeena Paradies 2013-01-09 01:29:07 +01:00
parent ddbd7a3edd
commit 919ba97744
4 changed files with 17 additions and 10 deletions

View file

@ -42,7 +42,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.5.3</string> <string>0.5.4</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
@ -57,7 +57,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.5.3</string> <string>0.5.4</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.lifestyle</string> <string>public.app-category.lifestyle</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>

View file

@ -6,15 +6,15 @@
<description>Most recent changes with links to updates.</description> <description>Most recent changes with links to updates.</description>
<language>en</language> <language>en</language>
<item> <item>
<title>Version 0.5.2</title> <title>Version 0.5.3</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion> <sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink> <sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>Fri, 28 Dec 2012 21:09:02 +0100</pubDate> <pubDate>Tue, 08 Jan 2013 23:29:48 +0100</pubDate>
<enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip" <enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
sparkle:version="0.5.2" sparkle:version="0.5.3"
length="1089721" length="1091243"
type="application/octet-stream" type="application/octet-stream"
sparkle:dsaSignature="MC0CFBlOfidOFSr/ci5V+Yj9B3ymoICWAhUAiXmb0YmYvgpcxYcREdyJHENmn40=" /> sparkle:dsaSignature="MC0CFE0L/gH1KVw9893FbLuLRZAACrmDAhUAiqEcoIXpdwCfO8CgU3ge4xMSZ5c=" />
</item> </item>
</channel> </channel>
</rss> </rss>

View file

@ -14,12 +14,18 @@
</head> </head>
<body> <body>
<h1>Tentia 0.5.4</h1>
<p>Fixed critical bug which wouldn't find mentions in text</p>
<hr />
<h1>Tentia 0.5.3</h1> <h1>Tentia 0.5.3</h1>
<p>Fixed problem where deleted posts weren't removed from Mentions</p> <p>Fixed problem where deleted posts weren't removed from Mentions</p>
<p>Fixed problem with localStorage on 10.7</p> <p>Fixed problem with localStorage on 10.7</p>
<p>Showind photos now on the profile</p> <p>Showind photos now on the profile</p>
<p>Bugfixes</p> <p>Smaller bugfixes</p>
<hr /> <hr />

View file

@ -593,7 +593,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
var text = node.innerHTML; var text = node.innerHTML;
var mentions_in_text = []; var mentions_in_text = [];
var res = text.match(/(\^[\w]+\.[\w:/.]+)/ig); var res = text.match(/(\^[\w:/.]+)/ig);
if (res) { if (res) {
for (var i = 0; i < res.length; i++) { for (var i = 0; i < res.length; i++) {
@ -680,7 +680,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
}) })
} }
var res = text.match(/(\^[\w]+\.[\w:/.]+)/ig); var res = text.match(/(\^[\w:/]+\.[\w:/.]+)/ig);
if (res) { if (res) {
for (var i = 0; i < res.length; i++) { for (var i = 0; i < res.length; i++) {
@ -693,6 +693,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
} }
} }
} }
return mentions; return mentions;
} }