Commit graph

88 commits

Author SHA1 Message Date
Michael Hope bbf2b5e06c Fix a whitespace-only extended description turning into a real description. 2014-04-22 19:59:16 +02:00
Michael Hope 52ce6a4a44 PEP8, pylint, and pychecker all the things. 2014-04-22 19:51:34 +02:00
Michael Hope ff7dbc5b4c Switch to using a dirty flag on the whole of the table.
Pull back the cache time to reduce the dirty impact.
2014-04-19 20:50:19 +02:00
Michael Hope e90121ae36 Changed the cache prefix to come from the db name. 2014-04-19 20:24:19 +02:00
Michael Hope ad6c4a4ba6 Make /link/nn do a not found if there's no link.
Pull the memcache configuration out into config.
2014-04-19 20:11:38 +02:00
Michael Hope 92a607f907 Added a simple Makefile with some fetch only tests. 2014-04-19 19:55:25 +02:00
Michael Hope dbdae74266 Added a special '_count' extension which turns into a SQL COUNT(*). 2014-04-18 22:32:01 +02:00
Michael Hope 90d7d1dc7a Added a diediedie handler for killing the server while profiling. 2014-04-18 22:31:19 +02:00
Michael Hope 81ce9b2203 Added a memcache based database cache.
Turn off debug by default.
2014-04-18 22:29:59 +02:00
Michael Hope b9bc4f5347 Added imports from the previous database. 2014-04-17 20:40:59 +02:00
Michael Hope 1b39c19971 Re-worked the ordering of the by line to allow comment links.
Re-worked the layout of the sidebar.
Exclude the users own comments from the sidebar.
2014-04-17 20:17:16 +02:00
Michael Hope a3edebf092 Tweak how string variable names are generated.
Add highlighting on wrong inputs.
2014-04-17 19:56:09 +02:00
Michael Hope 9843c00dec Add CSRF tokens to all forms. 2014-04-17 19:55:55 +02:00
Michael Hope 3c464e3427 Tweaked the recent comments list. 2014-04-17 18:53:48 +02:00
Michael Hope 59abf6b5a2 Change back to three days of history. 2014-02-23 21:08:46 +01:00
Michael Hope 3d52cb0024 Fix misreporting of the comment age. 2014-02-23 21:06:06 +01:00
Michael Hope 61978c7c08 Added a 'new' section to the sidebar. Currently goes back a fixed
number of days.
2014-02-23 21:04:35 +01:00
Michael Hope f4ddba1a4f Support an optional site wide license.
Fixes #29.
2014-02-23 20:25:42 +01:00
Michael Hope 2c072be6bc Use a (English only) helper to pluralise numbers.
Fixes #20.
2014-02-23 20:18:43 +01:00
Michael Hope f8f9e300cf Added MonkeyFilter compatible URLs. 2014-02-23 20:04:58 +01:00
Michael Hope 460083fc1b Added a Counters class for bumping event counters.
Added counters to most events.
2014-02-23 19:55:32 +01:00
Michael Hope 414b18b17f Made password boxes the same width as text.
Added a 'contact us on lost password' email link.
2013-10-10 22:15:44 +02:00
Michael Hope dcb391b86d Add a little bit of margin to the checkboxes. 2013-10-10 22:09:01 +02:00
Michael Hope 12953d9616 Tidied up all of the forms. Now uses CSS.
Added a hook to automatically add descriptions and style to forms.
Now need the 'current password' when changing the password.
Changed 'content' to 'comment' for the new comment form.
2013-10-10 22:05:49 +02:00
Michael Hope 33ad21941d Prettified the new comment page. 2013-10-09 21:15:14 +02:00
Michael Hope edc008866a Added a JSON based generic type.
Added user editing.
Fixed rendering of the bio.
2013-10-09 20:49:02 +02:00
Michael Hope a7c96ebd49 web.config.debug needs to be set before anything else is created.
Tidy up the rest in preperation for a hack.
2013-10-03 22:29:41 +02:00
Michael Hope a627150757 Revert "Add simple function call count tracking."
This reverts commit b9bd774076.
2013-10-03 22:08:58 +02:00
Michael Hope b9bd774076 Add simple function call count tracking. 2013-10-03 21:50:44 +02:00
Michael Hope 53f29c3e4d Added an option to turn off auto reload. Not the best as fastcgi and
autoreload are normally tied.
2013-10-01 21:17:46 +02:00
Michael Hope 1f0a2df53b Added an internal page for tracking the object diff between GC runs.
Should show the type of any leaks.
2013-10-01 21:12:33 +02:00
Michael Hope a305bd6e08 Widened the default tags to match Monkeyfilter. 2013-10-01 19:56:27 +02:00
Michael Hope a78e763cac Fixed the permissions on the feed icon. Execute means nginx won't serve it. 2013-09-30 21:48:24 +02:00
Michael Hope d19f0c99d7 Bind in RSS.
Bind in RSS to the layout page.
Add a checkout of all of a users links.
Put RSS and checkout behind feature flags.
2013-09-30 21:39:42 +02:00
Michael Hope 4f89ff4bd8 Bound the RSS feed into the layout and footer.
Put RSS and checkout behind a feature flag.
2013-09-30 21:35:08 +02:00
Michael Hope 4ac23c37fb Added a RSS feed at /rss.
Added a checkout fo all of a users links.
2013-09-30 21:25:53 +02:00
Michael Hope af12a3d3dd Let the admin set a users password.
First pass at pylint.
2013-09-30 20:18:41 +02:00
Michael Hope beb8bc2328 Change how the server type (dev vs FastCGI) is set. 2013-09-29 21:16:04 +02:00
Michael Hope 020bbccdb3 Fix the archive by limiting the end date to 2037. Needed on brik as
its got an old libc.
Add a simple filter to the archive.
2013-09-29 20:18:21 +02:00
Michael Hope 873b4c2393 Added Markdown support for links and comments.
Split ConfigParser out so the defaults and a lists are common.
2013-09-29 15:58:06 +02:00
Michael Hope 5cd023b9b4 Fixed the link view to match the front page 'links' formatting.
Changed the comment box to always show.
2013-09-29 15:11:23 +02:00
Michael Hope 1c54208910 Shifted where the message box goes so it wraps to the main content area. 2013-09-29 15:10:54 +02:00
Michael Hope e1a73723cd Pulled the niche top level stylesheet back in to get alert highlighting. 2013-09-29 15:10:18 +02:00
Michael Hope 217fcb61f0 Added the html5 shim to support IE8 and earlier. 2013-09-29 14:48:28 +02:00
Michael Hope 24bf894668 Did proper, auto-sizing pagination. 2013-09-28 21:25:03 +02:00
Michael Hope 31da4a2259 Always include the revno in the version. 2013-09-28 21:01:03 +02:00
Michael Hope 3b656ba821 Heavily hacked the templates to match Able's style. 2013-09-28 20:57:44 +02:00
Michael Hope b897cbfe53 Imported the Wordpress Able 1.2 template. 2013-09-28 20:57:19 +02:00
Michael Hope c4602871c4 Added a call out to get the version from git. 2013-09-28 20:56:45 +02:00
Michael Hope 33e5680558 Added a link to the github page for filing bugs. 2013-09-28 19:43:55 +02:00