Commit graph

113 commits

Author SHA1 Message Date
Tom Coleman
d984d0ebf6 Whoops! I didn't mean to comment that out.
I was just bugfixing :/
2012-11-25 19:01:52 +11: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
1f6720aee4 stop screen from jumping back to top 2012-11-22 15:52:08 +09:00
Sacha Greif
b43ac5bd56 fixed comment timestamp bug 2012-11-22 09:08:12 +09: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
Tom Coleman
8641d52674 Moved canEdit logic into the router too. 2012-11-21 15:28:29 +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
5189251533 can now set post time 2012-11-19 11:03:15 +09:00
Sacha Greif
c27fb6b257 tweaking settings options 2012-11-18 09:04:32 +09:00
Sacha Greif
0b224f1ab2 moved json form data to settings form controller 2012-11-18 08:48:24 +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
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
6a6486f698 Add handlers for updating and creating when submitting a ModelForm. 2012-11-13 21:09:22 +01:00
Lyudmil Angelov
81fab293d2 Move form submission logic into the form object. 2012-11-13 20:56:00 +01:00
Lyudmil Angelov
f7a12d29b6 Remove old form and use generated one. 2012-11-13 19:53:29 +01:00
Lyudmil Angelov
f5dc35e8b2 Make form submission work by convention instead of manually looking up input values. 2012-11-13 18:30:57 +01:00
Lyudmil Angelov
3e77059b34 Add correct default values to generated forms. 2012-11-13 18:07:31 +01:00
Lyudmil Angelov
f968a24efa Make generated form look like old form. 2012-11-13 16:56:08 +01:00
Lyudmil Angelov
c6ec235c1e Generate default form and allow user to overwrite options. 2012-11-13 15:54:52 +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
bd1960e7fe bugfix 2012-11-01 10:27:34 +09:00
Sacha Greif
041023866c cleaned up settings page 2012-10-30 17:02:53 +09:00
Sacha Greif
fa3942fbd8 fix subscription bug; let admin add a post with a specific status 2012-10-30 13:33:52 +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
2601ecb048 make sure status is an int and not a string 2012-10-24 16:48:30 +09:00
Sacha Greif
8df2f53a35 added pending posts 2012-10-24 11:04:42 +09:00
Sacha Greif
7afaee4e80 admin now able to change user and date 2012-10-23 12:24:38 +09:00
Sacha Greif
502b6fa676 fix date 2012-10-22 14:05:49 +09:00
Sacha Greif
1685afa2f5 made score update interval a settings 2012-10-22 14:00:47 +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
Tom Coleman
5937b4f0bd Simplified the logic of post_item placement a little. 2012-10-19 12:53:33 +11:00
Sacha Greif
3f54acc137 add message if the digest is empty for a day 2012-10-19 09:05:02 +09:00
Sacha Greif
b9c11a94ce mobile css tweaks 2012-10-18 17:47:56 +09:00
Sacha Greif
e9c3d1c297 don't animate the first render 2012-10-18 16:11:08 +09:00
Sacha Greif
bb9bd50eab calculate posts distance from top better 2012-10-18 15:59:21 +09:00
Sacha Greif
196205cce8 bugfix 2012-10-18 15:04:31 +09:00
Sacha Greif
cf3cb355d1 hide rank on post page 2012-10-18 14:51:15 +09:00
Sacha Greif
f2b893bded switching to 0.5 2012-10-18 14:24:36 +09:00
Sacha Greif
0ba8bcda57 added user subscriptions back in 2012-10-18 12:34:13 +09:00