| Age | Commit message (Collapse) | Author |
|
Make it clear that headers are added to the response instead of overwriting existing headers. Explain how to set the content_type instead of just assuming they will know.
|
|
revert changes to the renderers from #2706
|
|
This reverts commit c7d8f6515d4b154c4a4cf2cbaac9789fbcd19282.
This reverts commit 0dcd259c0263c14e8c51d9e204c1419daffbd2ce.
This reverts commit 412ed2e1988e2fd70d02e4176c9c9c7855b0093c.
|
|
Fix up URLs to include default language and reduce verbosity
|
|
(cherry picked from commit d6b2c66)
|
|
update output of pcreate --list for Quick Tour
|
|
|
|
|
|
|
|
|
|
|
|
forward port docs fixes from 1.7-branch
|
|
one of the instances of the tutorial's folder name was mistyped as "tutorials" rather than "tutorial" in the "Route declarations" section
(cherry picked from commit 696f17c)
|
|
The note section under "initializing the database" was entered twice, the same except differing verb tenses. I removed one.
(cherry picked from commit 96c1e36)
|
|
Add highlighting of changed lines
|
|
|
|
Rewrite Quick Tutorial narrative in authentication.rst for consistent…
|
|
|
|
Add one-way password hash to security example in Quick Tutorial.
|
|
|
|
|
|
Change from a * to a +, so long as there is something to split on, it
will split.
Fixes this warning:
FutureWarning: split() requires a non-empty pattern match.
return _compile(pattern, flags).split(string, maxsplit)
|
|
The AuthTktCookieHelper when provided a type it didn't knoww what to do
with would simply pass it through unchanged, this would lead to things
like object() being serialised by just having str() called on it, which
may included spaces and other characters that are not allowed in cookie
values.
WebOb would send a RuntimeWarning:
RuntimeWarning: Cookie value contains invalid bytes: (b' '). Future
versions will raise ValueError upon encountering invalid bytes.
This fix warns the user of the library directly, and makes sure to
call str() on the provided userid, AND then encode it as base64. The
user won't get back the original object after decoding on a
request/response round-trip, but at least no cookies are being generated
that are invalid.
|
|
Change gendered language in examples
|
|
Some examples in documentation use "dude" and "bro" -- for example, "Not
found, bro". While playful, this language can make some people
uncomfortable. I have changed the wording to something equally playful
that doesn't make assumptions about the reader's gender.
|
|
Closes #2706
|
|
|
|
Fix commands in quick tutorial
|
|
(cherry picked from commit 619c4b8)
|
|
(cherry picked from commit df3db24)
|
|
|
|
|
|
|
|
If the Response contains no charset we can't use Response.text. We now
implicitly encode to UTF-8 after showing a warning.
|
|
fix the wiki2 tutorial to set the password as unicode
|
|
Something really weird is happening but this fixes it. SQLAlchemy is
returning the "password_hash" from queries as the type that it was
inserted as. Not consistently unicode or bytes. If I insert bytes, then
I get bytes back out. If I insert unicode then I get unicode back out.
It's unclear why, as the type is Text, the data we're storing is
unambiguously US-ASCII and the connection is using a consistent
text_factory for unicode conversions of "str" on Python 3.
Here, we ensure that we always insert the value as unicode which appears
to fix downstream issues like those mentioned in #2605. I was able to
reproduce that bug and confirm this fixes it if the original database is
initialized using this fix.
Obsoletes #2623.
|
|
Fix link to zope.component docs
|
|
|
|
|
|
|
|
Correct change note
|
|
|
|
Add change note for #2687
|
|
|
|
This shows the correct view when a class and `attr` is involved.
|
|
|
|
|
|
|
|
Update links for Alembix
|
|
|