Commits on Sep 7, 2014
  1. Revert "Fix footer resizing on small viewport"

    This reverts commit 372b0f0.
    See #223 (comment).
    committed Sep 7, 2014
  2. Merge pull request #223 from chenglou/footer

    Fix footer resizing on small viewport
    committed Sep 7, 2014
Commits on Sep 5, 2014
Commits on Aug 31, 2014
Commits on Aug 26, 2014
  1. Update footer text

    committed Aug 26, 2014
Commits on Apr 19, 2014
Commits on Apr 16, 2014
  1. Test validation of initial data dict for PageType

    (The one used for generating the slug and title)
    Like, make sure it doesn't trigger any errors.
    committed Apr 16, 2014
  2. Add tests for page types

    kind of shitty tbh, will work on them later maybe
    committed Apr 16, 2014
  3. Delete redundant code in find_errors on PageType

    like why
    committed Apr 16, 2014
Commits on Apr 15, 2014
  1. Move get_kwargs() to PageType base class

    Cleans up the code a bit and also fixes #218.
    Should probably have tests though.
    committed Apr 15, 2014
  2. Convert get_metadata_fields() into attribute

    For PageType. There's no point in it being a method. In fact, it should
    eventually be removed completely, since it's redundant (see the
    editable_fields attribute), but for some reason I'm using professor_id
    instead of professor in editable_fields. Hopefully fixing that can be
    the next commit.
    EDIT: Never mind. Can't be fixed at the moment. Will leave for another
    committed Apr 15, 2014
Commits on Apr 14, 2014
  1. Add pinned courses feature to dashboard

    Replaces the welcome message on the dashboard, which was pretty useless
    anyway, let's be honest. The get_pin_url and get_unpin_url methods on
    Course have corresponding tests, but the views don't, since the current
    testing framework doesn't really support testing these views. I'll have
    to update the test base classes to account for this.
    Requires a db migration! (Create the wiki_userprofile_pinned_courses
    Also requires compiling the CSS.
    committed Apr 14, 2014
  2. Add default icon for new Engineering departments

    In slightly related news, it looks like departments can be part of
    more than one faculty, for different courses. Kill me
    committed Apr 14, 2014
  3. Fixed OpenGraph image URL in base template

    Needs to be a full path, including the domain name.
    committed Apr 14, 2014
Commits on Apr 12, 2014
  1. Fix get_large_image() method on Department

    Closes #216.
    committed Apr 12, 2014
Commits on Mar 22, 2014
  1. Revert "Implemented header collapsing." (#191)

    This reverts commit f81dc85, due to a
    buggy implementation of header collapsing. Major issues:
    * Hides footnotes if the last section is being hidden (and shows the
      quiz buttons on non-quiz pages)
    * h4/h4/h5/h6 headings are ignored
    * Clicking the edit/¶ links triggers the toggle
    Will be reimplemented once I figure out a clean way of determining sections
    dynamically, most likely with a link next to "edit".
    committed Mar 22, 2014
Commits on Mar 21, 2014
  1. Fix string formatting bug in recent view

    Caught in production ... this is why I need to finish #205
    committed Mar 21, 2014
  2. Enable "cancel" extension for MathJax

    Closes #214.
    committed Mar 21, 2014
Commits on Mar 2, 2014
  1. Delete bootstrap script

    It's not used anymore, and it's pretty dumb tbh
    committed Mar 2, 2014
  2. Update ROOT_URLCONF setting

    This way, it will work even when the parent directory is not called
    committed Mar 2, 2014
Commits on Mar 1, 2014
  1. Fix failing search view test

    At least this gives me another commit
    committed Mar 1, 2014