Commits

Show all
Author Commit Message Labels Comments Date
David Chambers
Replaced `posts` with `get_posts`, and added `posts` and `archives` which call `get_posts` if the cache does not contain a recent posts list. The main benefit of having both `posts` and `archives` is that it is no longer necessary to unpack the (year, month, [posts]) tuple in order to get a simple list of posts.
Chris Chambers
Merge
Chris Chambers
Moving the update regex search to inside the parse_text, not ideal as it causes recursion but allows updates inside excerpts
David Chambers
Updated footer link to point to mango.io.
David Chambers
Added "respond" to actions list in comment notification e-mail.
David Chambers
Changed `moderate` so that comments marked as spam are now also deleted.
David Chambers
Changed `limit` in call to `get_thread_posts` from 0 to 9999 (I mistakenly thought that a limit of zero results in all comments being returned).
David Chambers
Changed `post_urls` to have it return absolute and root-relative versions of the short and canonical URLs.
David Chambers
Added `ip_address` to `create_post` arguments. This is useful as Disqus allows blacklisting by IP address.
Chris Chambers
Updated redirects to use the reverse function as well
Chris Chambers
Updated templates to use the url template tag rather than assuming that the urls are on the base dir and removed the hack of base address that I added in last time
Chris Chambers
Cleaned up for loop in posts
Chris Chambers
Fixing the tags links if mango not running at the top directory and making SHORT_URL work as advertised int eh documentation
Chris Chambers
Changing parse_markdown to parse_text and parse_file
Chris Chambers
Caching of pages and index pages now working
Chris Chambers
Fixing url generation to work with trailing slashes and fix for redirects when the django instance isn't running at the root URL
David Chambers
Added tag 0.1 for changeset 1236cd40df9b
David Chambers
Removed "subscribe to comments" checkbox from `post.dhtml` in preparation for 0.1 release.
Tags
0.1
David Chambers
Added moderation links to comment notification e-mail.
David Chambers
Fixed broken tag link in `post.dhtml` ("tags" -> "tag").
David Chambers
Added support for comment moderation.
David Chambers
Added \r\n -> \n replacement to both instances of `clean_message`.
David Chambers
Slightly improved the way in which the excerpt and update regular expressions are constructed.
David Chambers
Alphabetized default settings.
David Chambers
Updated to version 1.1 of the Disqus API. Note that this change requires an up-to-date version of disqus-python-client.
David Chambers
Improved file path handling. `PATH_TO_POSTS` must now be in one of two formats: absolute, or relative to the project directory (e.g. "mango/examples"). Never include a trailing slash.
David Chambers
Removed defensive code surrounding call to `get_num_posts` (version 1.1 of the Disqus API reversed the order of its return values).
David Chambers
Comments withheld for moderation are now displayed to their authors. Unfortunately the Disqus API appears to return `"shown": true` for all comments, even those awaiting moderation. >.<
David Chambers
Added \r\n? -> \n conversion to simplify existing regular expressions (which now use \n rather than \r?\n).
David Chambers
Updated `posts` doctests to inspect the correct post, and made the code more pythonic.
  1. Prev
  2. Next