Mercurial > p > roundup > code
annotate website/www/make.bat @ 5211:f4b6a2a3e605
Fix expiration dates and expire csrf tokens properly
In client.py: add explicit expiration of csrf tokens to
handle_csrf. There is a clean_up() that runs on every client
connection before handle)csrf is invoked, but it only cleans every
hour. With short lived tokens this is insufficient. Also remove
debugging.
In templating.py fix values for seconds/week and minutes per week. The
original values were shifted/transposed and an order of magnitude off.
In test_templating.py again fix seconds/week constant.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Mar 2017 17:10:13 -0400 |
| parents | bcec10953ae8 |
| children | 3a851df879cd |
| rev | line source |
|---|---|
|
5016
bcec10953ae8
website: Use path-independent way of Sphinx evoking
anatoly techtonik <techtonik@gmail.com>
parents:
4820
diff
changeset
|
1 @rem python -m pip install sphinx |
|
bcec10953ae8
website: Use path-independent way of Sphinx evoking
anatoly techtonik <techtonik@gmail.com>
parents:
4820
diff
changeset
|
2 @rem python -m pip install sphinxcontrib-cheeseshop |
|
bcec10953ae8
website: Use path-independent way of Sphinx evoking
anatoly techtonik <techtonik@gmail.com>
parents:
4820
diff
changeset
|
3 |
|
bcec10953ae8
website: Use path-independent way of Sphinx evoking
anatoly techtonik <techtonik@gmail.com>
parents:
4820
diff
changeset
|
4 python -m sphinx . html |
