Commit Graph

90 Commits

Author SHA1 Message Date
psychobunny
a9672ab9d8 begin refactor of posts/topics + pagination + cleanup + async 2013-05-23 12:52:16 -04:00
Baris Soner Usakli
760037ba0a added signature to new replies 2013-05-21 22:56:09 -04:00
Julian Lam
26781157b3 refactoring posts, topics, and categories so that each "get" is moved up
one level. Topics.get will get all of the posts in a tid, etc.
2013-05-21 21:07:26 -04:00
psychobunny
34133eef8c post counts + read status working on homepage category listing. fixed posts.get_cid_by_pid 2013-05-21 18:12:39 -04:00
Baris Soner Usakli
9c5fa5fc5e signature work 2013-05-21 13:44:53 -04:00
Julian Lam
e62fcc5831 refactored the entire privileges stack. .editable() is now deprecated, use
.privileges instead. Privileges now are inherited, so querying a topic's
privileges will automatically query it's parent category's privileges as
well, etc.
2013-05-18 14:59:50 -04:00
Julian Lam
fd5277c815 fixed bug with isAdministator usage in Posts 2013-05-17 21:27:48 -04:00
Julian Lam
1a38644eb8 exposing thread tools to users in the "administrators" set, fixing up
Topics methods to call the "editable" method first instead of just
checking rep thresholds.

Also changed the limit on thread length from 10 to infinity (for now,
until infinite scrolling makes it in)
2013-05-17 21:14:58 -04:00
Baris Usakli
bece6a7878 added signature to topic template 2013-05-17 14:52:19 -04:00
Julian Lam
4b6ad9607e removing static saving of recent post, and added in dynamic pulling on Topics.get 2013-05-17 12:25:06 -04:00
Julian Lam
8b1ff03cbb fixing social network logins and refactoring post actions 2013-05-16 21:30:16 -04:00
Julian Lam
e5716145ae get pid and tid and cid methods in posts and topics 2013-05-16 18:15:58 -04:00
Julian Lam
2258ab3503 fixing up posts behaviour when a mod is the viewer 2013-05-16 16:23:17 -04:00
Julian Lam
6dd960d6c3 adding moderator checking to post actions 2013-05-16 15:55:17 -04:00
Julian Lam
e256ee99f7 Merge branch 'master' of github.com:psychobunny/node-forum 2013-05-16 12:49:57 -04:00
Julian Lam
bdeb7b13f1 interim commit for moderator support 2013-05-16 12:49:39 -04:00
Baris Usakli
4cf0af0556 fixed topics 2013-05-16 12:47:21 -04:00
Baris Usakli
96df6abe85 broken posts 2013-05-16 12:21:13 -04:00
Baris Usakli
34432773d6 fix crash when you go to /topics/nonexistant 2013-05-16 12:13:39 -04:00
Julian Lam
6013017ffd fixing bug where the favourites star was still shaded in if an anon tried to favourite a post 2013-05-16 11:23:57 -04:00
Julian Lam
71482163ed updating post and topic methods so that when you reply to a post or create a new topic, that topic isn't flagged as unread for you 2013-05-16 10:59:45 -04:00
psychobunny
725d4c09fa Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
	src/posts.js
2013-05-15 17:40:14 -04:00
psychobunny
435d24eb25 differentiation between the main post and rplies including preliminary duhsign 2013-05-15 17:38:43 -04:00
Baris Usakli
4117a3da48 anon users use default gravatar image 2013-05-15 16:52:50 -04:00
psychobunny
25e218442a updated category: tracking active participants + removed placeholder; recent author picture now pulled dynamically; graph/users/picture implemented 2013-05-15 15:42:24 -04:00
Julian Lam
a4dfc604e7 changed favouriting behaviour so that it no longer allows anons to favourite, and favouriting your own posts don't raise your rep count 2013-05-15 13:28:28 -04:00
Julian Lam
98193ecb29 Merge branch 'master' of github.com:psychobunny/NodeBB 2013-05-14 17:19:28 -04:00
Julian Lam
3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage 2013-05-14 17:19:22 -04:00
psychobunny
a7cefe35f8 started to add real data to the topics listing, got latest post working per topic 2013-05-14 17:06:48 -04:00
Julian Lam
1b61511e8a fixed tabindex in reply window, wrapping up some minor bugs in editing
posts
2013-05-12 15:59:45 -04:00
Julian Lam
156d5dce08 post deletion 2013-05-12 15:46:23 -04:00
Julian Lam
4fd1244e2d some work on deleting posts, and allowing a mod to edit a post 2013-05-11 23:35:27 -04:00
Julian Lam
b608a5ff97 Merge branch 'master' into edit_delete 2013-05-11 22:05:10 -04:00
Julian Lam
fdc866c840 fixing line breaks on posts markdown rendering 2013-05-11 00:45:04 -04:00
Julian Lam
11cc68ce8f server-side srestruction to editing posts (though need to add rep of editor blah blah) 2013-05-10 16:20:27 -04:00
Julian Lam
a8ab0055e6 UPDATE YOUR CONFIG TO INCLUDE THE "manage_content" PERMISSION!!
users with the proper "manage_content" permission can now edit anybody's
posts
2013-05-09 22:24:50 -04:00
Julian Lam
b244da724e edit labels, and fixing responsive layout in topic view 2013-05-09 20:46:52 -04:00
Julian Lam
e9a552eab4 editing of posts 2013-05-09 10:20:25 -04:00
psychobunny
f218e0f3a7 user has read feature - turns post count badge red if there is a new post and grey if the user has seen this post already 2013-05-09 07:27:55 +00:00
psychobunny
5e901a76aa fixed the rest of the bugs that arised from the redis refactor 2013-05-09 05:48:55 +00:00
psychobunny
fb83913670 redis wrapper removed. pretty safe to say that we didn't really need it in the first place. 2013-05-09 01:04:15 -04:00
Julian Lam
ff025f0e48 interim commit to thread moving 2013-05-08 14:09:50 -04:00
Baris Soner Usakli
8710aa3457 users page 2013-05-07 19:18:13 -04:00
Julian Lam
f0eeec8932 fixing alert removal by alert_id and adding alerts when thread is locked or pinned 2013-05-07 15:36:32 -04:00
psychobunny
2dccfb96e7 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
	src/posts.js
	src/topics.js
2013-05-07 18:29:20 +00:00
psychobunny
ae2be687b8 small refactor plus breadcrumbs for all ur pages 2013-05-07 18:21:00 +00:00
Julian Lam
d35bffa830 removing topic from listing if deleted, and adding lock icon if thread is locked 2013-05-07 13:52:19 -04:00
Julian Lam
a3e816b68e Merge remote-tracking branch 'origin' into thread_options 2013-05-07 13:32:40 -04:00
psychobunny
9e23279459 fixed socket notifications for new posts 2013-05-07 17:27:38 +00:00
Julian Lam
250c70bdfc topic locking and deletion 2013-05-07 12:54:10 -04:00