summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2013-08-12Allow explicit cookie domain setting.Wichert Akkerman
This is useful as an escape hatch when dealing with enviroments where no normal rules apply.
2013-08-10No cookies on other domain with parent_domainWichert Akkerman
2013-08-10Merge branch 'master' of github.com:junaidali/pyramid into junaidali-masterChris McDonough
2013-08-10Merge branch 'master' of github.com:cd34/pyramid into cd34-masterChris McDonough
2013-08-10Merge branch 'pserve.verbosity' of github.com:joulez/pyramid into ↵Chris McDonough
joulez-pserve.verbosity
2013-08-09"agsinst" to "against"tisdall
2013-08-09"intead" to "instead"tisdall
2013-08-09"argments" to "arguments"; "agument" to "argument"tisdall
2013-08-08"readded" to "re-added"tisdall
2013-08-02add pdistreport commandChris McDonough
2013-08-02add a docstring for not_Chris McDonough
2013-08-02quiet keyword sets verbose level to 0, test_pserve.py restored to previous stateJulian Paul Glass
2013-08-01Changed to an incrementing verbose level, (-q, --quiet) option added, all ↵Julian Paul Glass
references to quiet=BOOL removed (can't have both) Updated test_pserve.py
2013-08-01Updated test_pserve.py - ins.options.verboseJulian Paul Glass
2013-08-01Replaced references tow self.verbose with self.option.verboseJulian Paul Glass
2013-07-31Added verbosity option -v --verbose to pserve.pyJulian Paul Glass
2013-07-31Added verbosity option -v --verbose to pserve.pyJulian Paul Glass
2013-07-24add not_ predicate featureChris McDonough
2013-07-21Fix documentation of testing.setUpRonan Amicel
2013-07-18When running the alchemy scaffold on MySQL an error is generated on tableChris Davies
creation: sqlalchemy.exc.OperationalError: (OperationalError) (1170, "BLOB/TEXT column 'name' used in key specification without a key length") '\nCREATE TABLE models (\n\tid INTEGER NOT NULL AUTO_INCREMENT, \n\tname TEXT, \n\tvalue INTEGER, \n\tPRIMARY KEY (id), \n\tUNIQUE (name)\n)\n\n' () MySQL (and MariaDB) doesn't allow an index of more than 255 characters. After modifying the scaffold and creating a project, the following results: > show create table models; +--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | models | CREATE TABLE `models` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text, `value` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `my_index` (`name`(255)) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 | +--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ A unique index is created on the name field, constrained to 255 characters. When run on SQLite3: sqlite> .schema models CREATE TABLE models ( id INTEGER NOT NULL, name TEXT, value INTEGER, PRIMARY KEY (id) ); CREATE UNIQUE INDEX my_index ON models (name); the mysql specific constraint is ignored and the table is created with a unique index as desired.
2013-07-17Merge branch 'auth-parent-domain' of github.com:wichert/pyramid into ↵Chris McDonough
wichert-auth-parent-domain
2013-07-14Avoid re-executing the same view when looking up context base views.Laurence Rowe
This is a tweak of #1004. Really we should be using subscribers here instead of adapters, but zope.interface doesn't yet suppport named subscribers.
2013-07-14Merge branch 'master' of lrowe/pyramid into pull.1004Michael Merickel
2013-07-12Merge pull request #1043 from merwok/masterTres Seaver
Minor markup update to clarify object type
2013-07-12Merge branch 'feature.prequest_login'Chris McDonough
2013-07-11Coverage for new OPTIONS and PROPFIND methods.Tres Seaver
2013-07-11Coverage for new '--login' option.Tres Seaver
2013-07-11Typo firx from merwok.Tres Seaver
2013-07-11Minor markup update to clarify object typeÉric Araujo
2013-07-11reST fixÉric Araujo
2013-07-02Allow 'prequest' to send basic auth headers.Tres Seaver
Also, allow passing PROPFIND / OPTIONS as methods.
2013-06-19Update docstring to show PUT / PATCH usage.Tres Seaver
2013-06-19Merge branch 'master' into merwok-masterTres Seaver
2013-06-19Trailing whitespace.Tres Seaver
2013-06-19Add support for PUT and PATCH in prequest (#877)Éric Araujo
2013-06-11- ``pyramid.testing.DummyResource`` didn't define ``__bool__``, so code underChris McDonough
Python 3 would use ``__len__`` to find truthiness; this usually caused an instance of DummyResource to be "falsy" instead of "truthy". See https://github.com/Pylons/pyramid/pull/1032 Closes #1032
2013-06-05Merge branch 'master' of github.com:lukecyca/pyramid into lukecyca-masterChris McDonough
2013-06-04Update tests to use X-CSRF-Token headerLuke Cyca
2013-06-03Add a parent_domain option for auth_tkt policyWichert Akkerman
This change adds a new ``parent_domain`` option to ``AuthTktAuthenticationPolicy`` which sets the authentication cookie as a wildcard cookie on the parent domain. This is useful if you have multiple sites sharing the same domain.
2013-06-02Changed header name to X-CSRF-TokenLuke Cyca
2013-06-01unused importChris McDonough
2013-05-31Added test to cover failing statements in scaffold viewJunaid Ali
2013-05-30Support CSRF via X-CSRFToken HeaderLuke Cyca
2013-05-22Defer imports of Chameleon until needed. Fixes #1021.Vojislav Stojkovic
2013-05-21normalize exception messages, coverageChris McDonough
2013-05-21override all known attrs and methods instead of allowing subclass to ↵Chris McDonough
override in failure case
2013-05-21Merge branch 'feature-pep302'Chris McDonough
2013-05-21skip mako-related tests on py32Chris McDonough
2013-05-21Prevent non-3.2-compatible MarkupSafe 0.16 from breaking us.Tres Seaver
Apps which actually use Mako templates are still broken.
2013-05-16fix indentaion typeGoodwill Coding