Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Advanced options for kotti_blog #5

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Dec 20, 2013

  1. Configuration menu
    Copy the full SHA
    4713d5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1ea4d4 View commit details
    Browse the repository at this point in the history
  3. Whoops, turned request and context around (thought

    something was strange :P)
    nightmarebadger committed Dec 20, 2013
    Configuration menu
    Copy the full SHA
    c24e1fb View commit details
    Browse the repository at this point in the history
  4. Added all dates from posts to the sidebar - they show the

    month and year, ordered descending. No filtering yet
    nightmarebadger committed Dec 20, 2013
    Configuration menu
    Copy the full SHA
    3bcff2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    059aee9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e9db68 View commit details
    Browse the repository at this point in the history
  7. Adding more metadata (date/time, tags with links to filters),

    some styling changes (I think it looks much nicer/cleaner this
    way, we can of course revert back to how it was)
    nightmarebadger committed Dec 20, 2013
    Configuration menu
    Copy the full SHA
    ef9cdb4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    89e970e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bad297c View commit details
    Browse the repository at this point in the history
  10. Marking translations

    nightmarebadger committed Dec 20, 2013
    Configuration menu
    Copy the full SHA
    f87c2c9 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2013

  1. Move getting tags/archives to methods in Blog class. Tried to

    cache but couldn't get it to work.
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    4fa3dd6 View commit details
    Browse the repository at this point in the history
  2. Add a categories view which either lists categories or shows

    blog posts filtered by the provided tag (kinda hacky)
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    8b552d6 View commit details
    Browse the repository at this point in the history
  3. Reworked pagination so it works via URL's like

    blog/categories/tag1/{page-number} or
    blog/view/{page-number}
    
    It's a bit hacky and I couldn't make it work with
    blog/{page-number} though ...
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    1b786ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e9ccea View commit details
    Browse the repository at this point in the history
  5. Implemented archives in the same way as categories (will fix

    comments later, need sleep now o.O)
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    d7c9293 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa4f486 View commit details
    Browse the repository at this point in the history
  7. Fix archives and categories "list" view

    (note: ''.split('/') is not an empty list ... :P)
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    7e8adfd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    24bb50a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1b7de69 View commit details
    Browse the repository at this point in the history
  10. Show no. of posts for category/archive, add basic settings

    (enable/disable and nr. of categories/archives in sidebar),
    categories are now sorted on post numbers. Some minor
    cleaning and making sure we use "categories" everywhere
    instead of "tags"
    nightmarebadger committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    61e6230 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2013

  1. Instead of querying, use Kotti's .children attribute. Not sure

    on the speed (in my case it was very marginally faster this
    way - around 0.1s with 3000 entries when running in
    development mode while using sqlite) - when we succesfully
    use caching, this should be faster.
    nightmarebadger committed Dec 26, 2013
    Configuration menu
    Copy the full SHA
    bea99f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1eafd0b View commit details
    Browse the repository at this point in the history
  3. Cleaning up imports

    nightmarebadger committed Dec 26, 2013
    Configuration menu
    Copy the full SHA
    943d7a2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    15e3b4d View commit details
    Browse the repository at this point in the history
  5. Minor cleaning

    nightmarebadger committed Dec 26, 2013
    Configuration menu
    Copy the full SHA
    c245e3a View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2013

  1. If you choose 0 in the "how many categories/archives are

    shown" option, it shows all (updated the description of
    settings too)
    nightmarebadger committed Dec 27, 2013
    Configuration menu
    Copy the full SHA
    d31a764 View commit details
    Browse the repository at this point in the history