summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-30Back to dev.Chris McDonough
2009-06-30Prep for 1.0a7.Chris McDonough
2009-06-30- Add a ``reload_resources`` configuration file setting (aka theChris McDonough
``BFG_RELOAD_RESOURCES`` environment variable). When this is set to true, the server never needs to be restarted when moving files between directory resource overrides (esp. for templates currently). - Add a ``reload_all`` configuration file setting (aka the ``BFG_RELOAD_ALL`` environment variable) that implies both ``reload_resources`` and ``reload_templates``. - The ``static`` helper view class now uses a ``PackageURLParser`` in order to allow for the overriding of static resources (CSS / logo files, etc) using the ``resource`` ZCML directive. The ``PackageURLParser`` class was added to a (new) ``static`` module in BFG; it is a subclass of the ``StaticURLParser`` class in ``paste.urlparser``. - The ``repoze.bfg.templating.renderer_from_cache`` function now checks for the ``reload_resources`` setting; if it's true, it does not register a template renderer (it won't use the registry as a template renderer cache). - Add ``pkg_resources`` to the glossary. - Update the "Environment" docs to note the existence of ``reload_resources`` and ``reload_all``. - Use a colon instead of a tab as the separator between package name and relpath to form the "spec" when register a ITemplateRenderer.
2009-06-30Updated the ``bfg_alchemy`` paster template to include two views:Tres Seaver
- The view on the root shows a list of links to records. - The view on a record shows the details for that object.
2009-06-30Unused imports.Chris McDonough
2009-06-30- Register a ``repoze.bfg.resource.OverrideProvider`` as aChris McDonough
pkg_resources provider only for modules which are known to have overrides, instead of globally, when a <resource> directive is used (performance).
2009-06-29(no commit message)Chris McDonough
2009-06-29Update test output.Chris McDonough
2009-06-29(no commit message)Chris McDonough
2009-06-29Back to dev.Chris McDonough
2009-06-29Prep for 1.0a6.Chris McDonough
2009-06-29- Use ``caller_package`` function instead of ``caller_module``Chris McDonough
function within ``templating`` to avoid needing to name the caller module in resource overrides (actually match docs). - Make it possible to override templates stored directly in a module with templates in a subdirectory of the same module, stored directly within another module, or stored in a subdirectory of another module (actually match docs).
2009-06-29Prep for 1.0a5 release.Chris McDonough
2009-06-29Minimal docs for ``resource`` directive.Chris McDonough
2009-06-29Add to docs.Chris McDonough
2009-06-29Add changelog entry for resource directive.Chris McDonough
Rejigger error detection ordering.
2009-06-29Merge pkg_resource_overrides branch.Chris McDonough
2009-06-27Typo.Chris McDonough
2009-06-27Fit reality.Chris McDonough
2009-06-27Represent reality properly.Chris McDonough
2009-06-27(no commit message)Chris McDonough
2009-06-27- The ``repoze.bfg.templating`` module now uses ``pkg_resources`` toChris McDonough
locate and register template files instead of using an absolute path name.
2009-06-27- Use the ``pkg_resources`` API to locate template filenames insteadChris McDonough
of dead-reckoning using the ``os.path`` module.
2009-06-27Docstring.Chris McDonough
2009-06-26Clean up.Chris McDonough
2009-06-26Update the traversal chapter to account for the fact that traversal elements ↵Chris McDonough
are now usually tuples.
2009-06-26Pointed at the wrong chapter.Chris McDonough
2009-06-26Extension.Chris McDonough
2009-06-26Extension test.Chris McDonough
2009-06-26More docs.Chris McDonough
2009-06-26Wrong.Chris McDonough
2009-06-26Typo.Chris McDonough
2009-06-26Rendering.Chris McDonough
2009-06-26Copyright years.Chris McDonough
2009-06-26Prep for 1.0a4 release.Chris McDonough
2009-06-26- Cause ``:segment`` matches in route paths to put a Unicode-decodedChris McDonough
and URL-dequoted value in the matchdict for the value matched. Previously a non-decoded non-URL-dequoted string was placed in the matchdict as the value. - Cause ``*remainder`` matches in route paths to put a *tuple* in the matchdict dictionary in order to be able to present Unicode-decoded and URL-dequoted values for the traversal path. Previously a non-decoded non-URL-dequoted string was placed in the matchdict as the value.
2009-06-25(no commit message)Chris McDonough
2009-06-25- Add optional ``max_age`` keyword value to the ``remember`` method ofChris McDonough
``repoze.bfg.authentication.AuthTktAuthenticationPolicy``; if this value is passed to ``remember``, the generated cookie will have a corresponding Max-Age value.
2009-06-25(no commit message)Chris McDonough
2009-06-25Wording.Chris McDonough
2009-06-25- Make ``route_url`` URL-quote segment replacements during generation.Chris McDonough
Remainder segments are not quoted.
2009-06-24Save the scary stuff for later.Chris McDonough
2009-06-24Single arg style.Chris McDonough
2009-06-24- Add information to the URL Dispatch narrative documentation aboutChris McDonough
path pattern matching syntax.
2009-06-24Back to dev.Chris McDonough
2009-06-24Wrong.Chris McDonough
2009-06-24Prep for 1.0a3.Chris McDonough
2009-06-24Rendering.Chris McDonough
2009-06-24Reverse ordering of args to route_url.Chris McDonough
2009-06-24Note bw compat.Chris McDonough