Commit Graph

384 Commits

Author SHA1 Message Date
Baris Usakli
a317a4d689 closes #206 2013-08-27 13:32:43 -04:00
Julian Lam
0243e9c5be issue #214, preparing for addition of post.parse hook by renaming markdownToHTML to just "toHTML", and making it asynchronous. 2013-08-27 12:14:27 -04:00
psychobunny
469a5221ed added postcount to topics return; started scrollspy behaviour for "postid / postcount" in topics. 2013-08-27 06:36:49 +08:00
psychobunny
f251b9c6c5 Merge branch 'master' into bootstrap3 2013-08-27 06:03:05 +08:00
Baris Usakli
dda429ab5d unread count shows total 2013-08-26 16:04:31 -04:00
Baris Soner Usakli
545069b069 closes #199 2013-08-24 18:19:01 -04:00
psychobunny
0f8aad52b2 updated all alert-error to alert-danger (wtf did BS3 need to change that?) 2013-08-24 03:36:44 +08:00
psychobunny
a482d4db5f fixed /recent, /unread 2013-08-24 03:10:15 +08:00
Julian Lam
9bc12f28b4 fuck git 2013-08-23 14:55:25 -04:00
Baris Usakli
c647793512 meta config changes, refactors 2013-08-23 13:14:36 -04:00
psychobunny
f1547a7b1f added badge to header for unread topics count 2013-08-22 00:08:11 +08:00
psychobunny
746fa93c80 added API call for total unread topics; moved unread notification parsing to client side
also fixed a bug where the new notification icon glow would disappear on
page refresh even if there were existing notifications.
2013-08-21 23:34:35 +08:00
Baris Usakli
c05f56d28c fix for category view when its empty 2013-08-19 14:28:51 -04:00
Baris Usakli
92d3559146 closes #176 2013-08-19 11:56:40 -04:00
Baris Soner Usakli
999e98e43d add label to banned users, dont hide their posts 2013-08-14 17:42:36 -04:00
Baris Usakli
929282a2f7 ban users, closes #125, banning a user hides all posts topics of a user and their profile page becomes inaccessible 2013-08-14 13:32:07 -04:00
Baris Usakli
0fef0aa582 disable load more users button if there is not more users, dont show mark all read in unread if user isnt logged in 2013-08-13 11:39:19 -04:00
Baris Usakli
1894d0a469 moved confings into redis 2013-08-13 11:25:10 -04:00
Baris Soner Usakli
46afbc0ba0 assorted config fixes 2013-08-12 19:00:31 -04:00
Baris Soner Usakli
dd3b01dfed closes #144 2013-08-12 14:49:49 -04:00
Julian Lam
e8f1d645fe closed #160
new build_title function to be called via socket

also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
2013-08-11 16:12:20 -04:00
Baris Soner Usakli
50c34e4f33 added infinite scrolling to unread page, issue #141 2013-08-10 16:14:50 -04:00
Baris Soner Usakli
244801a0bf added infinite loading to recent page, #141 2013-08-09 20:44:08 -04:00
Baris Soner Usakli
1cc8214d16 infinite scrolling for topics in category view, changed how topics are stored in categories, using sorted sets instead of sets now, if you update to this commit run node app --upgrade to upgrade the redis schema, #141 2013-08-09 20:03:19 -04:00
Baris Usakli
0bd56196cf index topic titles too 2013-08-08 11:40:31 -04:00
Baris Soner Usakli
f0759863e6 reindex all call 2013-08-06 15:46:15 -04:00
Baris Usakli
720dd9e960 scroll to posts 2013-08-01 16:11:00 -04:00
Baris Soner Usakli
b46d81e3e4 removed console.log 2013-07-29 13:37:16 -04:00
Baris Soner Usakli
3273c0558b anon users always see topics as unread 2013-07-29 13:33:54 -04:00
Baris Soner Usakli
78f462e1e6 added a new section that only shows unread topics, added mark all read button, closes #140 2013-07-28 18:27:49 -04:00
Baris Soner Usakli
811d2df728 moved getTopicsByTids and getLatestTopics to topics.js 2013-07-28 14:02:50 -04:00
Baris Soner Usakli
b35ecd08ea use hasReadTopic 2013-07-27 13:59:14 -04:00
Baris Soner Usakli
d32b130d40 added function for marking all topics read #140 2013-07-27 13:05:03 -04:00
Baris Soner Usakli
cca83b9c5c bleh 2013-07-27 12:55:33 -04:00
Baris Soner Usakli
8947553ecd closes #117 2013-07-23 12:35:45 -04:00
Baris Soner Usakli
38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes 2013-07-22 16:47:41 -04:00
Julian Lam
99ba792e6d changing all calls to marked to instead go through
PostTools.markdownToHTML
2013-07-22 12:58:10 -04:00
Baris Usakli
52110016c7 closes #107 2013-07-22 12:07:05 -04:00
Baris Soner Usakli
e437b4df66 removed commented out code 2013-07-21 13:58:41 -04:00
Baris Soner Usakli
919efd4052 drag and drop image upload first pass 2013-07-21 12:29:57 -04:00
Baris Soner Usakli
f7291631d8 when a post is restored update topic timestamp 2013-07-20 16:59:53 -04:00
Baris Usakli
ff9990701b changed to async.eachSeries 2013-07-19 15:26:29 -04:00
Baris Soner Usakli
285e19fbbf closes #97 2013-07-18 15:14:06 -04:00
Baris Soner Usakli
f90eb72706 added minimum lengths into error messages 2013-07-18 14:50:58 -04:00
Baris Soner Usakli
65029ae169 content length changes 2013-07-18 13:50:42 -04:00
Baris Usakli
03d3f59804 change to async.each for addUserInfoToPosts 2013-07-17 15:48:09 -04:00
Baris Usakli
8d21d4f998 closes #91 2013-07-17 10:45:16 -04:00
Baris Soner Usakli
a5b324cbc4 closes #86 2013-07-16 16:19:50 -04:00
Julian Lam
87aec422e9 moved get_last_undeleted_pid to threadTools.js 2013-07-15 15:08:54 -04:00
Julian Lam
31f8be8a0a updating topics.getTeaser and get_last_undeleted_pid to return err first, and handled methods that called it 2013-07-15 15:03:42 -04:00