diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 4d9bfd3..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index 6b81198..6654f93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,6 @@ Mac/build/
Mac/Tentia.xcodeproj/project.xcworkspace/xcuserdata/jeena.xcuserdatad/UserInterfaceState.xcuserstate
dsa_priv.pem
*.pyc
-Mac/.DS_Store
build
.DS_Store
*~
diff --git a/Mac/Tentia-Info.plist b/Mac/Tentia-Info.plist
index 60f76a6..0179f5b 100644
--- a/Mac/Tentia-Info.plist
+++ b/Mac/Tentia-Info.plist
@@ -59,7 +59,7 @@
CFBundleVersion
0.6.2
LSApplicationCategoryType
- public.app-category.lifestyle
+ public.app-category.social-networking
LSMinimumSystemVersion
${MACOSX_DEPLOYMENT_TARGET}
NSMainNibFile
diff --git a/WebKit/index.html b/WebKit/index.html
index 7bcd24c..6d81a6b 100644
--- a/WebKit/index.html
+++ b/WebKit/index.html
@@ -1,5 +1,5 @@
-
-
+
+
Tentia
diff --git a/WebKit/scripts/controller/Profile.js b/WebKit/scripts/controller/Profile.js
index 1e1b2d0..bb7b401 100644
--- a/WebKit/scripts/controller/Profile.js
+++ b/WebKit/scripts/controller/Profile.js
@@ -292,7 +292,15 @@ function(HostApp, Core, Paths, URI) {
_this.populate(_this.profile_template.followed, resp.responseText);
}, null, false);
- Paths.getURL(URI(root_url + "/posts/count").toString(), "GET", function(resp) {
+ var url = URI(root_url + "/posts/count");
+ var post_types = [
+ "https://tent.io/types/post/repost/v0.1.0",
+ "https://tent.io/types/post/status/v0.1.0",
+ "https://tent.io/types/post/photo/v0.1.0"
+ ];
+ url.addSearch("post_types", post_types.join(","));
+
+ Paths.getURL(url.toString(), "GET", function(resp) {
_this.populate(_this.profile_template.posts, resp.responseText);
}, null, false);
@@ -308,7 +316,6 @@ function(HostApp, Core, Paths, URI) {
var post_types = [
"https://tent.io/types/post/repost/v0.1.0",
"https://tent.io/types/post/status/v0.1.0",
- "https://tent.io/types/post/delete/v0.1.0",
"https://tent.io/types/post/photo/v0.1.0"
];
url.addSearch("post_types", post_types.join(","));
@@ -322,6 +329,7 @@ function(HostApp, Core, Paths, URI) {
}, null, false);
}
+
Profile.prototype.newStatus = function(statuses) {
if(statuses != null && statuses.length > 0) {
for(var i = statuses.length-1, c=0; i>=c; --i) {
@@ -494,7 +502,18 @@ function(HostApp, Core, Paths, URI) {
entity_tag.href = profile.entity;
entity_tag.title = profile.entity;
+ var new_line = document.createElement("br");
+ var follows_since = document.createTextNode("follows since ");
+ var follows_since_time = document.createElement("span");
+ follows_since_time.innerText = this.ISODateString(new Date(profile.created_at * 1000));
+ follows_since_time.title = follows_since_time.innerText;
+ follows_since_time.className = "timeago";
+ jQuery(follows_since_time).timeago();
+
p.appendChild(entity_tag);
+ p.appendChild(new_line);
+ p.appendChild(follows_since);
+ p.appendChild(follows_since_time);
div.appendChild(p);
var profile_callback = function(p) {