Commit Graph

102 Commits

Author SHA1 Message Date
Michael Hope b604cce31c niche: add the templates and static files 2020-12-12 13:14:11 +01:00
Michael Hope a1e04d5834 niche: move into a package so it can be installed 2020-12-12 12:35:38 +01:00
Michael Hope 79e47bc39a niche: add pymysql to setup.py 2020-12-11 22:10:29 +01:00
Michael Hope ded2046179 niche: add the markdown dep 2020-12-11 21:50:44 +01:00
Michael Hope 5fd6e981e9 niche: add a stub test case 2020-12-11 21:46:09 +01:00
Michael Hope 4cee16ba96 niche: fix the web.py package name 2020-12-11 21:39:05 +01:00
Michael Hope 71e78fbb8e niche: move from Makefile to setup.py with a version hack 2020-12-11 21:35:27 +01:00
Michael Hope 278193dc5a niche: add a setup.py 2020-12-11 21:21:53 +01:00
Michael Hope 14ed4b9d1f niche: update to Python3 2020-12-11 21:17:16 +01:00
Michael Hope b99a317835 Support HTTPS based redirects. 2015-03-03 20:41:12 +01:00
Michael Hope a376aba8a6 templates: ensure bold blocks are always closed. 2015-03-03 20:40:26 +01:00
Michael Hope e928eae275 Added support for login behind HTTPS. 2014-05-23 21:41:04 +02:00
Michael Hope 1cd4b58142 Added notes on the site performance. 2014-05-23 21:40:22 +02:00
Michael Hope 05989ab593 Use unquote_plus so usernames like /user/foo+the+bar change to spaces. 2014-04-22 20:06:27 +02:00
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