Skip to content
Commits on Dec 28, 2011
  1. @paltman

    0.3.dev3

    paltman committed
  2. @paltman

    Update included tags and jquery plugin

    paltman committed
    - Remove unnecessary blocks
    - Break apart js and widget
    - Add ability to control language in widget
  3. @paltman

    Fix white-space violations

    paltman committed
  4. @paltman

    Update docs

    paltman committed
  5. @paltman

    0.3.dev2

    paltman committed
  6. @paltman

    Add request object to signals

    paltman committed
Commits on Nov 29, 2011
  1. @paltman

    Merge pull request #8 from maelstrom/render_like

    paltman committed
    Add a {% render_like %} template tag
  2. @paltman

    Merge pull request #7 from maelstrom/default-model-list

    paltman committed
    Like list tag defaults to all registerd models
  3. @paltman

    Merge pull request #6 from maelstrom/anonymous-users

    paltman committed
    Handle anonymous users by not showing the button
  4. Checking for likable models is now more robust

    Tim Heap committed
    `phileo.utils_allowed` handles string arguments, and Model arguments now,
    and treats them appropriately. This way, you can pass in either a Model
    instance OR a string already in the 'app_name.model' format and both are
    handled correctly.
    
    When using the {% likes %} tag, the PHILEO_LIKABLE_MODELS list is
    checked before the likes for that model are queried. If the model is not
    in PHILEO_LIKABLE_MODELS, that model is skipped.
  5. Removed an extra ContentType lookup

    Tim Heap committed
  6. Updated the docs with the new template tag

    Tim Heap committed
  7. Removed an erroneous href attribute from a span

    Tim Heap committed
  8. Include the user in the phileo_widget context

    Tim Heap committed
    Anonymous user detection wasnt working correctly, as the user was not
    always in the template context at render time. This resulted in the
    'like' button just plain old not being shown in some circumstances,
    which is incorrect. By explicitly including the user in the context,
    this problem is solved
  9. Like list tag defaults to all registerd models

    Tim Heap committed
    {% likes user as like_list %} defaults to using all registered models
    when no models are specified, to allow easy listing of all likes in an
    application - which is probably the main use case for this.
Commits on Nov 28, 2011
  1. Add a {% render_like %} template tag

    Tim Heap committed
    {% render_like like %} renders the given like and prints it in the
    template. The template that it uses depends upon the liked instance, and
    is either:
    
    * phileo/<app>/<model>.html
    * phileo/<app>/like.html
    * phileo/_like.html
    
    This allows for custom like templates on a per model and per application
    basis.
  2. Handle anonymous users by not showing the button

    Tim Heap committed
  3. @paltman

    0.3.dev1

    paltman committed
  4. @paltman

    Merge branch 'security-fix'

    paltman committed
  5. @paltman

    Update change log

    paltman committed
  6. @paltman
  7. @paltman

    Change registry to a setting

    paltman committed
  8. @paltman

    Likable models must be registered with phileo first

    Tim Heap committed with paltman
  9. @paltman

    Merge pull request #3 from maelstrom/better-form

    paltman committed
    Improve the default widget
  10. Add a default value for widget_id

    Tim Heap committed
    The widget_id when rendering a like widget defaulted to None, which
    broke the widget when no id was supplied. This creates a default id for
    widgets, which should be unique for that model instance.
    
    Conflicts:
    
    	phileo/templatetags/phileo_tags.py
  11. Reworked the widget form, including the JavaScript

    Tim Heap committed
    - Turned the JavaScript code in to a jQuery plugin, removed most of the
      initialization code from the individual widget templates to a external
      JavaScript file, and added a {% phileo_js %} tag to load this plugin.
    - Each like button gets a unique ID, so multiple like buttons can appear
      on a single page
    - Made the widget a plain old form. This way, it works without
      JavaScript. Additionally, the CSRF stuff is included in the form by
      default, so the ajax_csrf.js script is obsolete
Commits on Nov 1, 2011
  1. @paltman

    Update setup.py

    paltman committed
  2. @paltman

    Update docs/index.rst

    paltman committed
  3. @paltman

    Update README.rst

    paltman committed
Commits on Oct 31, 2011
  1. @paltman

    Fix doc error

    paltman committed
  2. @paltman
  3. @paltman

    0.2

    paltman committed
  4. @paltman

    Add toggle class to widget

    paltman committed
  5. @paltman

    0.9a2.dev3

    paltman committed
  6. @paltman
Something went wrong with that request. Please try again.