1. David Chambers
  2. Mango

Commits

Show all
Author Commit Message Date Builds
David Chambers
Changed `settings/__init__.py` to ensure that `PATH_TO_POSTS` is now always an absolute path.
David Chambers
Rewrote code responsible for importing custom and default `urlpatterns`.
David Chambers
Renamed e-mail templates.
David Chambers
Added missing name to import statement.
David Chambers
Added `Subscription` model.
David Chambers
Fixed bug involving uppercase characters in `PATH_TO_POSTS` – URL paths are now converted to lowercase _after_ `UNIX_PATH_TO_POSTS` has been stripped.
David Chambers
Added feed link to base template.
David Chambers
Massive internal changes: added `Category` class and updated `Document` class. `Category` and `Document` objects are aware of their URLs and aliases, removing the need for while-you-wait path resolution.
David Chambers
Added leading and trailing forward slashes to `path` in post view.
David Chambers
Replaced `os.path.split(dirname)[0]` with `os.path.dirname(dirname)`.
David Chambers
Made `Document` a new-style class.
David Chambers
Removed unnecessary import statement.
David Chambers
Added tag 0.3 for changeset ec10e16c268f
David Chambers
Changed archives template hook from a class name to an id.
Tags
0.3
David Chambers
Fixed bug (caused by inappropriate use of `os.walk`) which allowed /bar/ to match /path/to/posts/foo/bar/.
David Chambers
Added heading to tags template.
David Chambers
Replaced calls to defunct `utils.documents` with calls to `utils.get_documents`.
David Chambers
Fixed bug by converting default `DISPLAY_TIME_FORMAT` to encoded `str` – never assign `unicode` objects to Mango settings!
David Chambers
Added title to category template.
David Chambers
Updated `.hgignore`.
David Chambers
Added support for category names (i.e. directory names) which lose fidelity when converted to lowercase (e.g. "JavaScript"). URLs remain lowercase in all instances.
David Chambers
Renamed `path_to_file`.
David Chambers
Added `PROJECT_PATH` to `settings/__init__.py`.
David Chambers
Overhauled caching logic – individual Document objects are cached as are collections of these objects. Added print statements to provide information about cache interaction.
David Chambers
Changed "filesize" pattern from `{{ filesize }}` to `{{ filesize:'/path/to/file' }}`. The file's path must be absolute or relative to the project directory. At this stage filesize replacements are not performed on the "source" version.
David Chambers
Removed line which doubled up backslashes (it's not required after all).
David Chambers
Moved `id_to_path` and `print_filesize` to `models.py` (to avoid circular imports). Fixed code responsible for filesize substitutions (hopefully).
David Chambers
Added code to handle backslashes in documents. Removed << and >> replacements (too problematic).
David Chambers
Added templates for comment notification e-mail.
David Chambers
Removed duplicate "close thread" link from comment notification e-mail.
  1. Prev
  2. Next