summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src
AgeCommit message (Collapse)Author
2016-12-23wiki2/src/authentication update filesSteve Piercy
2016-12-23wiki2/src/views update files, line number rangeSteve Piercy
2016-12-23wiki2/src/models - update filesSteve Piercy
2016-12-23wiki2/src/basiclayout - update filesSteve Piercy
2016-12-23wiki2/src/installation - update filesSteve Piercy
2016-12-14Merge branch 'master' into pr/2853Michael Merickel
2016-12-09Added configuration for ipv6 in .ini files.Martin
2016-12-08bring wiki2 test coverage up to 100%, refs #2451Nejc Zupan
2016-12-07fixed 'list' to 'listen'Martin
2016-12-07Changed 'host' and 'port' configuration to a new 'listen' style that is now ↵Martin
supported by waitress server.
2016-12-06Revert "Changed 'host' and 'port' configuration to a new 'listen' style that ↵Bert JW Regeer
…"
2016-12-06Changed 'host' and 'port' configuration to a new 'listen' style that is now ↵Martin
supported by waitress server.
2016-07-16fix the wiki2 tutorial to set the password as unicodeMichael Merickel
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.
2016-07-06Update links for AlembixSteve Piercy
2016-06-13pep8: inline comment must have 2 spaces beforeJC Bohin
2016-06-13Fix flake8's noqa directive in documentation and scaffoldsJC Bohin
2016-05-23Merge pull request #2601 from stevepiercy/1.7-branchSteve Piercy
revert column type change in alchemy scaffold and related docs
2016-05-22Change type to Text from Integer. See #2591Steve Piercy
2016-05-20Change column `Page.data` to `Text`viniciusban
2016-05-19oops, encode the password in the authorization tutorial as wellMichael Merickel
2016-05-15password_hash is unicode, needs to be encodedMichael Merickel
2016-04-12- use an environment variable and venv. See ↵Steve Piercy
https://github.com/Pylons/pyramid/pull/2468#discussion_r59311019 - rename stanza from `testing_extras` to `tests_require` - switch from nose to pytest
2016-04-11remove theme.min.css, it serves no purposeMichael Merickel
2016-04-11fix readme to show directions in both alchemy and zodbMichael Merickel
2016-04-11tweak wiki2 test to be more succinctSteve Piercy
2016-04-09use an alias for the import. Fixes #2450. Thanks @bertjwregeer!Steve Piercy
2016-04-09- update wiki2/tests stepSteve Piercy
2016-04-09- update wiki2/authorization stepSteve Piercy
2016-04-09- fix straggler from wiki2/src/views/tutorial/tests.pySteve Piercy
2016-04-09- update wiki2/authenticationSteve Piercy
2016-04-09- update wiki2 definingviewsSteve Piercy
2016-04-09- update definingmodels stepSteve Piercy
2016-04-09- update wiki2/src/basiclayout filesSteve Piercy
2016-04-09- add missing filesSteve Piercy
2016-04-09add result of installation step in wiki2 tutorial, but using the recently ↵Steve Piercy
updated scaffold from master and normalize its version to 1.7. See #2104.
2016-02-28redirect to edit page when user attempts to add page that already existsSteve Piercy
- update src/*/views/default.py - update src/*/routes.py - write new test - revise docs, double-checking line counts and highlighting
2016-02-28apply change to all src/*/user.pySteve Piercy
2016-02-28wiki2 revert unnecessary hmac stuffSteve Piercy
2016-02-27wiki2 authentication bug fix and improvement against timing attackSteve Piercy
- Bytes type does not have encode method. The expected_hash retrieved from the database is a bytes object. - Use hmac.compare_digest instead of == to avoid timing attacks as a recommended security best practice. See https://www.python.org/dev/peps/pep-0466/ https://bugs.python.org/issue21306 and https://codahale.com/a-lesson-in-timing-attacks/ for details. Note, however, this was not backported to py2.6. For a tutorial, I am OK with stating this will not work on Python 2.6 with a clear warning note at the start of the tutorial and on the authentication step.
2016-02-18update tests chapterMichael Merickel
2016-02-18add fallback for next_urlMichael Merickel
2016-02-18add webtest and tests_require to setup.pyMichael Merickel
2016-02-16add first cut at source for authorization chapterMichael Merickel
2016-02-16remove whitespaceMichael Merickel
2016-02-16use page.name to prepare for contextMichael Merickel
2016-02-14implement the authentication example codeMichael Merickel
2016-02-14split routes into a separate moduleMichael Merickel
2016-02-14fix unicode issues with check_passwordMichael Merickel
2016-02-13improve the views section by removing quirks and explaining transactionsMichael Merickel
2016-02-12forward port changes to models / scripts to later chaptersMichael Merickel