diff --git a/Mac/Tentia-Info.plist b/Mac/Tentia-Info.plist index 98cfea2..15dcd0e 100644 --- a/Mac/Tentia-Info.plist +++ b/Mac/Tentia-Info.plist @@ -42,7 +42,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.3.1 + 0.4.0 CFBundleSignature ???? CFBundleURLTypes @@ -57,7 +57,7 @@ CFBundleVersion - 0.3.1 + 0.4.0 LSApplicationCategoryType public.app-category.lifestyle LSMinimumSystemVersion diff --git a/Mac/Tentia.xcodeproj/project.pbxproj b/Mac/Tentia.xcodeproj/project.pbxproj index 3561294..7bd7286 100644 --- a/Mac/Tentia.xcodeproj/project.pbxproj +++ b/Mac/Tentia.xcodeproj/project.pbxproj @@ -13,6 +13,7 @@ 1F1990C6117BCA960049BEA7 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F1990C5117BCA960049BEA7 /* ApplicationServices.framework */; }; 1F1C80F916482A250010B409 /* WebKit in Resources */ = {isa = PBXBuildFile; fileRef = 1F1C80F816482A250010B409 /* WebKit */; }; 1F2D79BD165E8C6B000E8428 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F2D79BC165E8C6B000E8428 /* CoreLocation.framework */; }; + 1F303BE31660752700891D71 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F303BE21660752700891D71 /* QuickLook.framework */; }; 1F3F129E164F202000C7C983 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 1F3F129D164F202000C7C983 /* dsa_pub.pem */; }; 1F618ECA12DB5E6100E500D9 /* PostModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F618EC912DB5E6100E500D9 /* PostModel.m */; }; 1F70619F1178FBB300C85707 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F70619E1178FBB300C85707 /* Carbon.framework */; }; @@ -61,6 +62,7 @@ 1F1990C5117BCA960049BEA7 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = System/Library/Frameworks/ApplicationServices.framework; sourceTree = SDKROOT; }; 1F1C80F816482A250010B409 /* WebKit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = WebKit; path = ../WebKit; sourceTree = ""; }; 1F2D79BC165E8C6B000E8428 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = /System/Library/Frameworks/CoreLocation.framework; sourceTree = ""; }; + 1F303BE21660752700891D71 /* QuickLook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickLook.framework; path = /System/Library/Frameworks/QuickLook.framework; sourceTree = ""; }; 1F3F129D164F202000C7C983 /* dsa_pub.pem */ = {isa = PBXFileReference; lastKnownFileType = text; name = dsa_pub.pem; path = publish/dsa_pub.pem; sourceTree = ""; }; 1F618EC812DB5E6100E500D9 /* PostModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = PostModel.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 1F618EC912DB5E6100E500D9 /* PostModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = PostModel.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; @@ -99,6 +101,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 1F303BE31660752700891D71 /* QuickLook.framework in Frameworks */, 6B68359B166015C4004F4732 /* Security.framework in Frameworks */, 1F2D79BD165E8C6B000E8428 /* CoreLocation.framework in Frameworks */, 1FDEF722164EFE9100F927F3 /* Growl.framework in Frameworks */, @@ -117,6 +120,7 @@ 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( + 1F303BE21660752700891D71 /* QuickLook.framework */, 6B68359A166015C4004F4732 /* Security.framework */, 1F2D79BC165E8C6B000E8428 /* CoreLocation.framework */, 1FDEF721164EFE9100F927F3 /* Growl.framework */, diff --git a/Mac/publish/ReleaseNotes.html b/Mac/publish/ReleaseNotes.html index 1a0a3c8..18a3631 100644 --- a/Mac/publish/ReleaseNotes.html +++ b/Mac/publish/ReleaseNotes.html @@ -14,6 +14,12 @@ +

Tentia 0.4.0

+ +

Implemented Photo post type, you can now upload a photo and see the photos others uploaded

+ +
+

Tentia 0.3.1

Security update

diff --git a/WebKit/css/default.css b/WebKit/css/default.css index acfa130..52a2f55 100644 --- a/WebKit/css/default.css +++ b/WebKit/css/default.css @@ -261,4 +261,5 @@ li.mentioned { margin-top: 10px; max-width: 100%; border-radius: 3px; + box-shadow: 0 0 1px black; } \ No newline at end of file diff --git a/WebKit/scripts/helper/Paths.js b/WebKit/scripts/helper/Paths.js index 92a0c32..b2f42b3 100644 --- a/WebKit/scripts/helper/Paths.js +++ b/WebKit/scripts/helper/Paths.js @@ -64,14 +64,16 @@ function(jQuery, HostApp, Hmac) { }); } - Paths.postMultipart = function(url, callback, data, boundary) { + Paths.postMultipart = function(url, callback, data, boundary, accepts) { + + accepts = accepts || "application/vnd.tent.v0+json"; jQuery.ajax({ beforeSend: function(xhr) { - + xhr.setRequestHeader("Accept", accepts); + if (data) xhr.setRequestHeader("Content-Length", data.length); - debug("Content-Length: " + data.length); var user_access_token = HostApp.stringForKey("user_access_token"); @@ -83,12 +85,11 @@ function(jQuery, HostApp, Hmac) { HostApp.secret(), user_access_token ); - debug(auth_header) + xhr.setRequestHeader("Authorization", auth_header); } }, url: url, - accepts: "application/vnd.tent.v0+json", contentType: "multipart/form-data;boundary=" + boundary, type: "POST", complete: callback,