summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-15Merge branch 'master' into mmerickel-feature.scriptingChris McDonough
2011-07-15Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-07-15fix Jython test failuresChris McDonough
2011-07-15Merge pull request #238 from jinty/masterChris McDonough
minor fix: failIf -> assertFalse
2011-07-15Use assertFalse instead of deprecated failIfBrian Sutherland
2011-07-15deshadow testChris McDonough
2011-07-14Modified tests to use global_registries.remove() instead of relying on gc.Michael Merickel
2011-07-14Added test coverage for p.paster.bootstrap.Michael Merickel
2011-07-14Modified bootstrap to return a dict.Michael Merickel
2011-07-14Removed unused variableMichael Merickel
2011-07-14Added p.paster.bootstrap for handling simple loading of INI files.Michael Merickel
2011-07-14gardenMichael Merickel
2011-07-14Added p.scripting.get_root2 that doesn't require an app arg.Michael Merickel
2011-07-14Just changed some of the docstrings to reference config_uri.Michael Merickel
2011-07-14Reverted get_root back to its behavior of expecting a router instance.Michael Merickel
2011-07-14Updated scripting test coverage to 100%.Michael Merickel
2011-07-14Added some docs for make_request and global_registries.Michael Merickel
2011-07-14Added the ability to make a request object for use in scripts.Michael Merickel
2011-07-14Moved the WeakOrderedSet into pyramid.util.Michael Merickel
2011-07-14Added tracking of p.config.global_registries for created apps.Michael Merickel
2011-07-14Adding a global to track the last registry loaded by Pyramid.Michael Merickel
2011-07-14Merge pull request #236 from AnneGilles/patch-1Michael Merickel
Edited docs/narr/viewconfig.rst via GitHub
2011-07-14Edited docs/narr/viewconfig.rst via GitHubAnneGilles
2011-07-14describe what Pyramid doesChris McDonough
2011-07-14we no longer support py24Chris McDonough
2011-07-14mention traversalChris McDonough
2011-07-14note that flask does not use import ordering, but complexity orderingChris McDonough
2011-07-14typoChris McDonough
2011-07-14Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-07-14- Without a mo-file loaded for the combination of domain/locale,Chris McDonough
``pyramid.i18n.Localizer.pluralize`` run using that domain/locale combination raised an inscrutable "translations object has no attr 'plural' error. Now, instead it "works" (it uses a germanic pluralization by default). This is not the "right" thing really (it's nonsensical to try to pluralize something without translations for that locale/domain available), but it matches the behavior of ``pyramid.i18n.Localizer.translate`` so it's at least consistent; see https://github.com/Pylons/pyramid/issues/235. Closes #235.
2011-07-14Sentence was badly structured and also had a word capitalized after a commaCarlos de la Guardia
2011-07-14Removed superfluous 'and'Carlos de la Guardia
2011-07-14corrected typoCarlos de la Guardia
2011-07-14eliminated repeated wordCarlos de la Guardia
2011-07-14typoChris McDonough
2011-07-14promote http_cache to major featureChris McDonough
2011-07-14forgot to change whatsnewChris McDonough
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-07-13move all paster commands to a separate chapterChris McDonough
2011-07-13- Fix corner case to ease semifunctional testing of views: create a newChris McDonough
rendererinfo to clear out old registry on a rescan. See https://github.com/Pylons/pyramid/pull/234. Closes #234.
2011-07-13prep for 1.1b2Chris McDonough
2011-07-13- Views associated with routes with spaces in the route name may not haveChris McDonough
been looked up correctly when using Pyramid with ``zope.interface`` 3.6.4 and better. Closes #232.
2011-07-13- We now clear ``request.response`` before we invoke an exception view; anChris McDonough
exception view will be working with a request.response that has not been touched by any code prior to the exception.
2011-07-12gardenChris McDonough
2011-07-12gardenChris McDonough
2011-07-12clarifyChris McDonough
2011-07-12- New environment setting ``PYRAMID_PREVENT_HTTP_CACHE`` and newChris McDonough
configuration file value ``prevent_http_cache``. These are synomymous and allow you to prevent HTTP cache headers from being set by Pyramid's ``http_cache`` machinery globally in a process. see the "Influencing HTTP Caching" section of the "View Configuration" narrative chapter and the detailed documentation for this setting in the "Environment Variables and Configuration Settings" narrative chapter. - New documentation section in View Configuration narrative chapter: "Influencing HTTP Caching".
2011-07-12- The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` scaffoldsChris McDonough
inappropriately used ``DBSession.rollback()`` instead of ``transaction.abort()`` in one place. - Wiki2 (SQLAlchemy + URL Dispatch) tutorial ``models.initialize_sql`` didn't match the ``pyramid_routesalchemy`` scaffold function of the same name; it didn't get synchronized when it was changed in the scaffold.
2011-07-12gardenChris McDonough
2011-07-12- The ``Configurator.add_route`` method allowed two routes with the sameChris McDonough
route to be added without an intermediate ``config.commit()``. If you now receive a ``ConfigurationError`` at startup time that appears to be ``add_route`` related, you'll need to either a) ensure that all of your route names are unique or b) call ``config.commit()`` before adding a second route with the name of a previously added name or c) use a Configurator that works in ``autocommit`` mode.