summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-20move configuration bits of tween stuff into config/tweensChris McDonough
2011-08-20- The ``RemoteUserAuthenticationPolicy ``, ``AuthTktAuthenticationPolicy``,Chris McDonough
and ``SessionAuthenticationPolicy`` constructors now accept an additional keyword argument named ``debug``. By default, this keyword argument is ``False``. When it is ``True``, debug information will be sent to the Pyramid debug logger (usually on stderr) when the ``authenticated_userid`` or ``effective_principals`` method is called on any of these policies. The output produced can be useful when trying to diagnose authentication-related problems.
2011-08-20- The ``pyramid.request.Request.static_url`` API (and its brethrenChris McDonough
``pyramid.request.Request.static_path``, ``pyramid.url.static_url``, and ``pyramid.url.static_path``) now accept an asbolute filename as a "path" argument. This will generate a URL to an asset as long as the filename is in a directory which was previously registered as a static view. Previously, trying to generate a URL to an asset using an absolute file path would raise a ValueError.
2011-08-20add static_path function to url and static_path method to requestChris McDonough
2011-08-20fix current_route_path exampleChris McDonough
2011-08-20Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-08-20- New request methods: ``current_route_url``, ``current_route_path``.Chris McDonough
- New function in ``pyramid.url``: ``current_route_path``.
2011-08-19whitespacePhilip Jenvey
2011-08-19gardenChris McDonough
2011-08-19review and fix configurator docs in random placesChris McDonough
2011-08-19add default renderers eagerly so they can be overridden, get rid of useless ↵Chris McDonough
warning about ordering, comment about global_registries, no longer have a circular import between config and router
2011-08-19coverageChris McDonough
2011-08-19- Better Mako rendering exceptions viaChris McDonough
``pyramid.mako_templating.MakoRenderingException``
2011-08-18coverageChris McDonough
2011-08-18gardenChris McDonough
2011-08-18- Pyramid no longer eagerly commits some default configuration statements atChris McDonough
Configurator construction time, which permits values passed in as constructor arguments (e.g. ``authentication_policy`` and ``authorization_policy``) to override the same settings obtained via an "include".
2011-08-18Merge branch 'SpotOn-master'Chris McDonough
2011-08-18use __name__ unless it doesnt exist; then just use viewChris McDonough
2011-08-18Merge https://github.com/SpotOn/pyramid into SpotOn-masterChris McDonough
2011-08-18gardenChris McDonough
2011-08-18View authorization and predicate mismatch exceptions have prettier messagesmLewisLogic
2011-08-18first cutChris McDonough
2011-08-171.1 bw compat: dont choke trying to preserve view attrs if the view is NoneChris McDonough
2011-08-16provide a default for route_prefix to PyramidConfigurationMachine (for zcml ↵Chris McDonough
directives that dont call _makeContext)
2011-08-16Garden.Chris McDonough
2011-08-16Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-08-16Merge pull request #252 from mmerickel/feature.pshell-setupChris McDonough
Feature.pshell setup
2011-08-16Added some docs for the new 'setup' option key in [pshell].Michael Merickel
2011-08-16Added an initialization callable to pshell.Michael Merickel
Modified the use_script idea into a callable called 'setup', which expects the API: def setup(env): env['a'] = 1
2011-08-16with_context requires that the route_prefix param be a passthrough even when ↵Chris McDonough
class is old configurator
2011-08-16Added tests for module without __all__.Michael Merickel
2011-08-16Minor change to help output.Michael Merickel
2011-08-16Added support for --import option to pshell.Michael Merickel
2011-08-16Added support for 'import' key in [pshell] ini section.Michael Merickel
2011-08-16minor Configurator constructor cleanups and reordering; start coming up with ↵Chris McDonough
a plan to make the constructor sane
2011-08-15misc cleanupsChris McDonough
2011-08-15move config tests back to top-level tests dir (setup.py test cant cope)Chris McDonough
2011-08-15appease setup.py testChris McDonough
2011-08-15- Refactor ``pyramid.config`` into a package.Chris McDonough
2011-08-15gardenChris McDonough
2011-08-15remove temp debugging codeChris McDonough
2011-08-15- New methods of the ``pyramid.config.Configurator`` class:Chris McDonough
``set_authentication_policy`` and ``set_authorization_policy``. These are meant to be consumed mostly by add-on authors.
2011-08-14- The ZODB wiki tutorial now uses the ``pyramid_zodbconn`` package ratherChris McDonough
than the ``repoze.zodbconn`` package to provide ZODB integration. - The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the ``repoze.zodbconn`` package to provide ZODB integration.
2011-08-14- ``pyramid.testing.DummyRequest`` now implements theChris McDonough
``add_finished_callback`` and ``add_response_callback`` methods.
2011-08-14- All tutorials now use - The ``route_url``, ``route_path``,Chris McDonough
``resource_url``, ``static_url``, and ``current_route_url`` methods of the request rather than the function variants imported from ``pyramid.url``.
2011-08-14gardenChris 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-08-14Garden.Chris McDonough
2011-08-14fix jython test failuresChris McDonough
2011-08-14garden:Chris McDonough