Commit graph

62 commits

Author SHA1 Message Date
Sacha Greif
f74a8396f6 when upvoting while not logged in, redirect instead of just throwing error 2012-12-05 11:22:14 +09:00
Sacha Greif
4bf2e3bf46 reworking signin/signup and even tracking 2012-11-26 17:11:21 +09:00
Sacha Greif
6f51459eb7 stop returning all the site's post for single post collection 2012-11-26 14:12:38 +09:00
Tom Coleman
31c1c7f7ff Be more manual about checking if the digest is ready.
The digest data can be there even while the subscription is still loading, as the subscription window is over 3 days.

I'm not sure if this is the best solution, but it seems to work.
2012-11-26 15:04:58 +11:00
Lyudmil Angelov
739adaafcf More FormModel comment improvements. 2012-11-22 18:39:46 +01:00
Lyudmil Angelov
a5d2c20e82 Improve FromModel comments slightly. 2012-11-22 18:26:39 +01:00
Lyudmil Angelov
84f58b6526 Add comments to explain what DatabaseForm and FormModel do. 2012-11-22 18:22:42 +01:00
Lyudmil Angelov
2dfbf220ac Use more descriptive names for classes used to generate forms automatically. 2012-11-22 17:48:31 +01:00
Sacha Greif
b43ac5bd56 fixed comment timestamp bug 2012-11-22 09:08:12 +09:00
Tom Coleman
7a59ccf773 The startRequest function should only run when the page of the router changes. 2012-11-22 10:26:23 +11:00
Sacha Greif
720373f30c using router permissions for admin area 2012-11-22 08:13:43 +09:00
Sacha Greif
0646caeea1 tweaking permissions 2012-11-21 14:31:58 +09:00
Sacha Greif
4e582acbaf moved permissions to own file 2012-11-21 14:18:30 +09:00
Sacha Greif
6c2589ab90 transformed window vars in Session vars 2012-11-21 13:44:03 +09:00
Sacha Greif
cf8a433b0c repressRecursion -> showChildComments 2012-11-21 13:41:27 +09:00
Sacha Greif
e871171769 fixed conflicts 2012-11-21 13:34:08 +09:00
Sacha Greif
92c57121ed userLoaded -> userId 2012-11-21 13:32:58 +09:00
Tom Coleman
8641d52674 Moved canEdit logic into the router too. 2012-11-21 15:28:29 +11:00
Tom Coleman
628001eb50 Some more small fixes. 2012-11-21 15:15:30 +11:00
Tom Coleman
72d8115b1b New router is working, to some degree.
I switched over to router 2.0, and refactored the permissions a bit.
There's still a bit of work needed to get the permissions fully up to speed.
2012-11-21 14:28:18 +11:00
Lyudmil Angelov
1d2422b3b3 Merge main line. 2012-11-20 16:00:27 +01:00
Lyudmil Angelov
c346015912 Refactor settings view code to apply correct naming conventions and use the compact helper syntax. 2012-11-20 15:52:27 +01:00
Lyudmil Angelov
5638fcc37e Extract a generic Model class and refactor Setting to extend from it. Refactor ModelForm and settings code in accordance with changes. 2012-11-20 15:27:46 +01:00
Sacha Greif
3c6f20c679 reworking permissions system 2012-11-19 12:03:06 +09:00
Sacha Greif
758675f66c do the same for comment, comment_reply, and comment_edit 2012-11-19 11:26:21 +09:00
Sacha Greif
a895c7114a make router wait until subscription is ready for post and post_edit 2012-11-19 11:23:44 +09:00
Sacha Greif
64530543b7 refactoring settings form code and removing redudant libraries 2012-11-18 08:46:50 +09:00
Sacha Greif
db55645887 fixed conflicts 2012-11-17 13:24:19 +09:00
Lyudmil Angelov
6dd6651358 Complete the move of jsonform library files. The deletions were not ocmmitted the first time. 2012-11-13 22:14:06 +01:00
Lyudmil Angelov
bcb9ffdf9e Refactor code to make it more readable. Move form options into a separate file. 2012-11-13 22:13:11 +01:00
Lyudmil Angelov
43968f66d5 Set up jsonform and prepare to generate the settings form. 2012-11-13 13:14:50 +01:00
Sacha Greif
552441cde5 router spark bug thing 2012-11-02 13:34:32 +09:00
Sacha Greif
401f0bad1d now checking for duplicate links and limiting to 30 posts per 24 hours 2012-10-30 12:01:11 +09:00
Sacha Greif
8df2f53a35 added pending posts 2012-10-24 11:04:42 +09:00
Sacha Greif
fc855e5fc8 added keyboard nav for digest 2012-10-22 09:28:42 +09:00
Sacha Greif
fba0375f7a git fetch merge test 2012-10-21 12:07:24 +09:00
Sacha Greif
a886b00123 refactored part of the app to be clearer 2012-10-19 19:20:14 +09:00
Sacha Greif
bb9bd50eab calculate posts distance from top better 2012-10-18 15:59:21 +09:00
Sacha Greif
f515c552dc use Meteor.userLoaded() 2012-10-18 14:53:37 +09:00
Tom Coleman
218f76347b Refactored the subscriptions to be all separate.
Probably still a bit of work to do to get things up to scratch, but looking good.
2012-10-18 13:07:10 +11:00
Tom Coleman
ea5b50fc73 Single post has it's own subscription.
Works _only_ on the post_page and breaks the other lists right now.
2012-10-18 12:01:17 +11:00
Tom Coleman
f2be21d496 Pull out instrumentation stuff. 2012-10-18 11:53:59 +11:00
Tom Coleman
8d4682a558 One way of achieving a 404 page... 2012-10-18 10:53:57 +11:00
Sacha Greif
159492d12e cleaned up router 2012-10-11 08:23:52 +09:00
Sacha Greif
ad9fca0d4a added date in url to digest view 2012-10-10 13:54:48 +09:00
Sacha Greif
721e1fb02d fixed load more button position 2012-10-10 11:25:00 +09:00
Sacha Greif
b54a525362 adding categories admin page, reworked permissions for admin pages 2012-10-10 07:57:34 +09:00
Sacha Greif
4801a8c45b working on pagination 2012-10-09 12:02:37 +09:00
Julien Chaumond
b3d0cca6cb Posts pagination 2012-10-08 16:12:47 +02:00
Sacha Greif
c3bc691029 fix permissions for /users and /settings, fix canView and canPost bug 2012-10-08 18:33:53 +09:00