56 Commits

Author SHA1 Message Date
Rei
59e5daf0e3 Create comment notification job 2014-04-12 21:47:42 +08:00
Rei
10bc72acc2 Add user confirmation module 2014-04-12 16:32:58 +08:00
Rei
5ad126fbaf Use Rails.application.message_verifier to generate password reset token 2014-04-05 16:04:40 +08:00
Rei
d0a97e8554 User default counter cahce and touch option, and fix for trashed status 2014-04-05 14:21:12 +08:00
Rei
5a18d47294 Don't clean likes after topic/comment trash 2014-04-05 11:09:42 +08:00
Rei
be45b31151 Update category topics_count when update topic, fix #15 2014-03-17 14:39:17 +08:00
Rei
0246ddbd63 Remove _lower column; add lower index; change schema_format to :sql 2014-03-10 15:41:49 +08:00
Rei
47daf91bc8 Delete likes after likeable trash 2014-03-07 16:11:32 +08:00
Rei
aadff9ca51 User touch callback for topic hot update instead of method 2014-03-07 15:33:51 +08:00
Rei
c6941c5d5e Delete notification after comment delete 2014-03-07 12:25:15 +08:00
Rei
017d3a6d78 Set trashed false as default_scope 2014-02-28 19:15:24 +08:00
Rei
c86de60d13 Add password_reset_token to User 2014-02-27 16:27:13 +08:00
Rei
45b93f0663 Add uploader 2014-02-18 16:46:02 +08:00
Rei
d47e66d42e Fix topics counter cache 2014-02-16 19:18:45 +08:00
Rei
6536562375 Fix comments counter cache and topic hot update 2014-02-16 19:12:57 +08:00
Rei
f656fcf86a Replace trashed column with trashed_at for trashable 2014-02-10 23:18:57 +08:00
Rei
775d624524 Init Category model 2014-02-08 14:42:40 +08:00
Rei
0e67a03a80 Rename content column to body 2014-02-06 15:09:53 +08:00
Rei
5bdfeb8b0b comment notifications 2014-02-06 14:27:05 +08:00
Rei
4b107831b5 More Subscribable method 2014-02-05 20:12:58 +08:00
Rei
41fa6e58f5 Init Subscription model 2014-02-05 01:09:33 +08:00
Rei
52849b661d Init like model 2014-02-04 13:51:21 +08:00
Rei
c450878a82 Edit Deletable to Trashable 2014-02-03 20:52:42 +08:00
Rei
20ae32a512 comment mention notifications 2014-02-03 20:19:06 +08:00
Rei
21762fd7ec redirect to comment page and anchor when comment_id exist 2014-02-02 15:29:23 +08:00
Rei
722ca48696 Remove post logic 2014-01-31 20:01:48 +08:00
Rei
c8795edc07 Init Comment model 2014-01-30 20:34:33 +08:00
Rei
8780393eb4 Deletable concerns for Topic and Post model 2014-01-28 16:53:43 +08:00
Rei
24f914ed09 Topic posts counter cache 2014-01-25 15:38:01 +08:00
Rei
2707336106 New topic calculate hot method 2014-01-25 15:32:01 +08:00
Rei
ab1fbe23b6 Remove post_votes 2014-01-25 13:02:56 +08:00
Rei
5e68b33480 Add read status to notification 2014-01-22 20:21:06 +08:00
Rei
457cbcdca0 Skip mention nofitication for author 2014-01-21 21:15:24 +08:00
Rei
c1f8252e47 Create mention notification after create post 2014-01-21 21:11:10 +08:00
Rei
7aea7f796c Add named scope for Notification 2014-01-21 15:52:02 +08:00
Rei
08fc861100 skip post_topic notification for author and top floor 2014-01-21 15:50:12 +08:00
Rei
269f04713e Post extract mentions methiod 2014-01-21 15:44:20 +08:00
Rei
31ea116462 post_topic notification 2014-01-21 15:22:55 +08:00
Rei
24399ee9f3 Init Notification model 2014-01-21 14:54:57 +08:00
Rei
e7b59d7cfb Change topic score rule, equal main_post score 2014-01-17 01:19:27 +08:00
Rei
dff7861ee4 Calculate hot after post vote 2014-01-16 22:35:43 +08:00
Rei
11ae29c91a Rename Post#votes to score 2014-01-16 22:07:17 +08:00
Rei
a58044a8b8 Topic#calculate_hot logic 2014-01-16 21:56:50 +08:00
Rei
b741afbbb5 Topic votes_up/votes_down column 2014-01-16 21:01:26 +08:00
Rei
b55644c522 Change post vote value to boolean 2014-01-16 20:34:41 +08:00
Rei
5186ed5ce2 Split Post#votes column to votes_up/votes_down 2014-01-16 20:17:29 +08:00
Rei
70feaf07f6 posts#vote action 2014-01-14 22:41:19 +08:00
Rei
a16c9885b2 Update post votes after save post_vote 2014-01-14 21:25:12 +08:00
Rei
43b797297e Add PostVote model 2014-01-14 21:00:12 +08:00
Rei
b0aa822764 Add a main_post associations for topic 2014-01-11 21:26:51 +08:00