Commit graph

75 commits

Author SHA1 Message Date
Tom Coleman
e2d164d593 Fixed problem where directly loading a digest page could stay spinning. 2012-12-13 18:51:42 +11:00
Tom Coleman
15c2550828 Fix for not yet loaded digest handles. 2012-12-13 18:33:46 +11:00
Tom Coleman
f36d68451c Sorted out digests in a nice clean way. 2012-12-13 18:13:52 +11:00
Sacha Greif
f23e26f6b6 CSS fixes 2012-12-13 15:22:28 +09:00
Tom Coleman
0be912db24 Massively simplified all the posts_lists using the paginatedSub. 2012-12-13 17:06:13 +11:00
Sacha Greif
77de206046 Strip HTML from comments and posts to prevent code injections 2012-12-13 10:58:17 +09:00
Sacha Greif
c5bff7fb5c finished improving analytics and event tracking 2012-12-12 11:15:27 +09:00
Sacha Greif
19143689d0 deactivating goSquared for now 2012-12-11 11:39:06 +09:00
Sacha Greif
5149f4cd4b clicky fix 2012-12-11 11:35:29 +09:00
Sacha Greif
8da6f5ca94 disabling gosquared 2012-12-11 11:24:58 +09:00
Sacha Greif
87681aae02 improving analytics 2012-12-11 10:47:11 +09:00
Sacha Greif
5ab5cb30ff added /best subscription and templates 2012-12-10 13:22:48 +09:00
Tom Coleman
6ff27ae383 Created paginatedSubscription, use it for topPosts. 2012-12-06 23:46:20 +11:00
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