summaryrefslogtreecommitdiff
path: root/docs/narr/assets.rst
AgeCommit message (Collapse)Author
2019-12-04negotiate the best static asset using supported encodingsMichael Merickel
2018-10-07Use proper case for Setuptools as a library name.Steve Piercy
Change Setuptools to a glossary term where useful.
2018-09-16doc fixesStephen Martin
2018-09-09merging cookiecuttersStephen Martin
2018-08-18Clean up code-blocks in assetsSteve Piercy
2016-12-27narr/assets - updateSteve Piercy
2016-01-03add a note about serving cache busted assetsMichael Merickel
2015-12-17grammar updates from stevepiercyMichael Merickel
2015-12-16update docs to support explicit asset overridesMichael Merickel
2015-12-09fix broken ref in docsMichael Merickel
2015-12-08update the cache busting narrative to use add_cache_busterMichael Merickel
2015-11-15update docs to use asset specs with ManifestCacheBusterMichael Merickel
2015-11-12update cache buster prose and add ManifestCacheBusterMichael Merickel
redux of #2013
2015-11-12Revert "fix/remove-default-cachebusters"Michael Merickel
This reverts commit 7410250313f893e5952bb2697324a4d4e3d47d22. This reverts commit cbec33b898efffbfa6acaf91cae45ec0daed4d7a. This reverts commit 345ca3052c395545b90fef9104a16eed5ab051a5, reversing changes made to 47162533af84bb8d26db6d1c9ba1e63d70e9070f.
2015-11-12complete cache buster docs using manifest exampleMichael Merickel
2015-10-21first cut at removing default cache bustersMichael Merickel
2015-10-16strip trailing whitespaceSteve Piercy
2015-10-13minor grammar, add rst directives for versionadded/changed, rewrap 79 colsSteve Piercy
2015-07-23Use correct cache argument in cache busting docoDavid Beitey
Minor correction; it's ``cache_max_age`` rather than ``max_cache_age``.
2015-06-06cherry pick 1.6-branch to masterSteve Piercy
2015-02-17remove the token from the ICacheBuster apiMichael Merickel
This exposes the QueryStringCacheBuster and PathSegmentCacheBuster public APIs alongside the md5-variants. These should be more cleanly subclassed by people wishing to extend their implementations.
2014-11-17improve the docs for absolute path overridesMichael Merickel
2014-08-06Merge branch 'master' into feature.override-asset-with-absolute-pathMichael Merickel
2014-07-28add versionadded notesChris McDonough
2014-07-28Mo' features, mo' problems.Chris Rossi
2014-07-24cachebuster -> cachebustChris Rossi
2014-07-21Add 'prevent_cachebuster' setting.Chris Rossi
2014-07-18Take mcdonc's advice. This should be easier for users to understand.Chris Rossi
2014-07-17Add index entry.Chris Rossi
2014-07-17Write the documentation.Chris Rossi
2014-07-14Narrative scifi.Chris Rossi
2014-02-28add support for using an absolute path to override an assetMichael Merickel
fixes #1229
2013-09-05remove chameleon refs from asset specsMichael Merickel
2013-04-05fix some cross-referencesTshepang Lekhonkhobe
2013-04-03minor typo correction 'prepresents'-->'represents'thapar
2013-03-22remove unused ignore-next-block directiveTshepang Lekhonkhobe
2013-03-09capitalize; add term roleTshepang Lekhonkhobe
2013-01-01eliminate repeated "the" wordsTshepang Lekhonkhobe
2012-02-23fixChris McDonough
2012-02-22fixChris McDonough
2012-02-22allow user to pass content type and encoding, change favicon example to use ↵Chris McDonough
FileResponse
2012-02-21Fix favicon_view example: open the file in binary mode.Marius Gedminas
Without this fix Python 3 users might get Unicode errors, and Windows users might get data corruption.
2011-10-01Fix incorrect import in static view exampleCasey Duncan
2011-09-23fixed up all the warning dealing ..note and ..warnmichr
added a hide toc for glossary to prevent warnings
2011-08-28clean up inappropriate discussions of ZCMLChris McDonough
2011-08-14- The ``route_url``, ``route_path``, ``resource_url``, ``static_url``, andChris McDonough
``current_route_url`` functions in the ``pyramid.url`` package now delegate to a method on the request they've been passed, instead of the other way around. The pyramid.request.Request object now inherits from a mixin named pyramid.url.URLMethodsMixin to make this possible, and all url/path generation logic is embedded in this mixin. - Narrative and API documentation which used the ``route_url``, ``route_path``, ``resource_url``, ``static_url``, and ``current_route_url`` functions in the ``pyramid.url`` package have now been changed to use eponymous methods of the request instead.
2011-07-20add more index markersChris McDonough
2011-07-15- get_root2 -> prepareChris McDonough
- change prepare return value to a dict, and return the registry, request, etc - various docs and changelog entries.
2011-07-14- New API class: ``pyramid.static.static_view``. This supersedes theChris McDonough
deprecated ``pyramid.view.static`` class. ``pyramid.satic.static_view`` by default serves up documents as the result of the request's ``path_info``, attribute rather than it's ``subpath`` attribute (the inverse was true of ``pyramid.view.static``, and still is). ``pyramid.static.static_view`` exposes a ``use_subpath`` flag for use when you don't want the static view to behave like the older deprecated version. - The ``pyramid.view.static`` class has been deprecated in favor of the newer ``pyramid.static.static_view`` class. A deprecation warning is raised when it is used. You should replace it with a reference to ``pyramid.static.static_view`` with the ``use_subpath=True`` argument.
2011-06-13- Remove IResponder abstraction in favor of more general IResponseChris McDonough
abstraction. - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned object. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The Pyramid router now, by default, expects response objects returned from view callables to implement the ``pyramid.interfaces.IResponse`` interface. Unlike the Pyramid 1.0 version of this interface, objects which implement IResponse now must define a ``__call__`` method that accepts ``environ`` and ``start_response``, and which returns an ``app_iter`` iterable, among other things. Previously, it was possible to return any object which had the three WebOb ``app_iter``, ``headerlist``, and ``status`` attributes as a response, so this is a backwards incompatibility. It is possible to get backwards compatibility back by registering an adapter to IResponse from the type of object you're now returning from view callables. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The ``pyramid.interfaces.IResponse`` interface is now much more extensive. Previously it defined only ``app_iter``, ``status`` and ``headerlist``; now it is basically intended to directly mirror the ``webob.Response`` API, which has many methods and attributes. - Documentation changes to support above.