Permalink
Commits on Mar 30, 2011
  1. Prepare 0.2 release.

    miracle2k committed Mar 30, 2011
Commits on Jan 13, 2011
  1. I don't know what I was thinking, but actually, we can't build the urls

    miracle2k committed Jan 13, 2011
    ourselves, since the can't access a module's static_path (it's only
    available in encoded form as part of the routes).
    
    The previous version didn't pass my own tests, so why I committed this I don't know.
  2. Fixed some tests that broke due to the recent changes, and added new

    miracle2k committed Jan 13, 2011
    tests specifically for the new module support.
  3. Actually, it turns out that it is slightly easier to build the path

    miracle2k committed Jan 13, 2011
    manually, because url_for() requires an application on the stack, which
    is not guaranteed in cases where our extension is bound permanently to
    an app object (in which case it may be used outside of an request).
    
    So rather than pushing a dummy context on the stack and removing it
    again, simply build the path using the correct static_path property.
  4. Slightly change the behavior of Olivier's Flask module support. First,

    miracle2k committed Jan 13, 2011
    'url' and 'directory' behave now identically, that is, if the user sets
    a custom value, he completely disables our handling of module-specific
    paths. Previously, this was only the case for 'url', while in the case
    of setting a custom 'directory' value, it would only affect where we
    looked for global application-level static files.
    
    Number two, the 'url' and 'directory' do now by default not exist at
    all, rather than being None. This makes it even clearer that these
    values are not needed or used unless the user specifically opts to
    customize them.
  5. Fixed a test: The KeyError is of course not raised if the get() helper

    miracle2k committed Jan 13, 2011
    is used, only when indexing into the config object.
  6. Note alternative option that we're now only aware of because the

    miracle2k committed Jan 13, 2011
    confusion about the use of app.static_path is cleared up.
  7. Merge branch 'master' into modsupport

    miracle2k committed Jan 13, 2011
    Conflicts:
    	src/flaskext/assets.py
  8. Merge remote branch 'rs/master' into modsupport

    miracle2k committed Jan 13, 2011
    Conflicts:
    	src/flaskext/assets.py
  9. Actually, the use of static_path is incorrect here - it's the url. The

    miracle2k committed Jan 13, 2011
    directory the static files are served *from* is currently hardcoded in
    Flask to be 'static'.
Commits on Dec 10, 2010
  1. Add support for Flask modules

    rs committed Dec 10, 2010
Commits on Dec 7, 2010
Commits on Dec 1, 2010
  1. Before the init_app refactor, it was not possible to override the

    miracle2k committed Dec 1, 2010
    default url and directory settings via the config, since the values set
    by the user were always overwritten by the Flask-Assets defaults.
    
    This bug is now gone, but add a regression test for it.
  2. Made a design decision to not allow global across-app defaults, as the

    miracle2k committed Dec 1, 2010
    previous commit supported. Now, if you do not bind the extensions to an
    application, you can basically only use the extension object within a
    request context. This is less functionality, but keeps things simpler.
Commits on Aug 24, 2010
  1. Inc to next dev version.

    miracle2k committed Aug 24, 2010
  2. Fixed the url in setup.py.

    miracle2k committed Aug 24, 2010
  3. Added changes file.

    miracle2k committed Aug 24, 2010
Commits on Aug 21, 2010
  1. webassets now requires us to implement __contains__. This fixes a

    miracle2k committed Aug 21, 2010
    problem in which existing Flask config values could be overridden with
    their Flask-Assets defaults.