Commit graph

302 commits

Author SHA1 Message Date
Samuel Dion-Girardeau
669aa74599 Point to the appropriate Flask doc sections 2017-04-15 12:57:12 -04:00
Samuel Dion-Girardeau
400dc5cc84 Fix typo 2017-04-15 12:56:07 -04:00
Samuel Dion-Girardeau
5026711647 Fix spacing (format warning) 2017-04-15 12:56:07 -04:00
Samuel Dion-Girardeau
14fdeff4f1 Fix broken list formatting in AUTHORS.rst 2017-04-15 12:29:40 -04:00
Jon Parise
9a404d18bc Switch to SVG-based badges
These render a lot better at different resolutions.
2017-04-13 15:00:42 -07:00
Nicholas Charriere
363c2a88b6 Merge pull request #55 from pinterest/add-thanks
Add commitors to thank you in AUTHORS.rst
2017-03-12 15:34:56 -07:00
Nicholas Charrière
31ecead007 Add commitors to thank you in AUTHORS.rst 2017-03-04 12:22:21 -08:00
Nicholas Charriere
e7f8a40065 Merge pull request #50 from jameswthorne/no-zero-length
Don't allow zero length form submissions
2017-03-04 10:52:09 -08:00
Nicholas Charriere
86ecb49f94 Merge pull request #52 from jameswthorne/more-ui-tweaks
Move brief documentation to textarea
2017-03-04 10:50:55 -08:00
Nicholas Charriere
f569856f52 Merge pull request #53 from clmoreno/master
Adding skype to SNEAKY_USER_AGENTS
2017-02-18 10:59:38 -08:00
Carlos Moreno
e0a03dc484 added skype to sneaky_bots test 2017-02-17 21:48:10 -06:00
Carlos Moreno
93f6c6c06f Adding skype to SNEAKY_USER_AGENTS 2017-02-17 21:37:46 -06:00
Carlos Moreno
dfc25491cf Merge pull request #2 from pinterest/master
update
2017-02-17 21:32:09 -06:00
James W Thorne
ef0cdf8e14 Forgot empty function 2017-01-17 18:17:24 -06:00
James W Thorne
21115979c4 Combine checks 2017-01-17 17:44:47 -06:00
James W Thorne
3270e84fed Move brief documentation to textarea 2017-01-12 19:37:51 -06:00
James W Thorne
d9973c3f29 Don't allow zero length form submissions 2017-01-11 21:42:35 -06:00
Nicholas Charriere
f776c7aa28 Merge pull request #46 from frontfoot/404_to_bots
Return 404 to UserAgents matching /bot/
2017-01-10 19:47:16 -08:00
Joseph Boiteau
58f4658154
Fix code according to @jparise comments
- Refactor is_valid_request code
- Add "Facebot/1.0" User-Agent string
2017-01-11 13:50:42 +11:00
Joseph Boiteau
1651ac4bd5
Return 404 to UserAgents matching list
Empty User-Agent should not break
Add test for 404 response to /bot/
Wrap User-Agent check in `request_is_valid` method
2017-01-11 09:48:54 +11:00
Nicholas Charriere
1f9789edb9 Merge pull request #48 from samueldg/feature/python36
Add support for python 3.6
2017-01-09 11:47:49 -08:00
Samuel Dion-Girardeau
a60732d963 Add support for python 3.6
- Changed the Dockerfile to use `python:3.6` base image;
- Updated PyPI classifiers to include it;
- Added it to tox/travis environments for CI.
2017-01-08 19:24:10 -05:00
Nicholas Charriere
cfc670f1b1 Merge pull request #45 from frontfoot/multiline_secrets
Multiline secrets
2017-01-05 11:37:30 -08:00
Joseph Boiteau
6cdf6f495b
Change wording ‘password’ to ‘secret’ 2017-01-05 11:06:42 +11:00
Joseph Boiteau
d330f94967
Change password input for textarea 2017-01-05 11:01:16 +11:00
Nicholas Charriere
ad4012dfbe Merge pull request #47 from frontfoot/production_environment
Run in production mode by default
2017-01-03 11:55:42 -08:00
Nicholas Charriere
8663b4276c Merge pull request #41 from jameswthorne/ui-improvements
UI improvements
2017-01-03 11:50:30 -08:00
Joseph Boiteau
d61c08c7c7
Run in production mode by default
Use DEBUG environment variable to run debug mode
2017-01-03 13:36:52 +11:00
James W Thorne
f8f672f934 Added back autocomplete=off 2016-11-11 16:39:08 -06:00
James W Thorne
6b88315603 Grammar changes 2016-11-06 09:12:21 -06:00
James W Thorne
3bb3a4949d Removed npm.js and reverted to original copy 2016-11-06 09:05:05 -06:00
James W Thorne
483448051e UI improvements
* Cleaned up UI
* Updated Twitter Bootstrap to v3.3.7
* Updated jquery to 1.12.4
* Added mobile view port
2016-11-02 21:31:50 -05:00
Nicholas Charriere
addd1495a3 Merge pull request #39 from samueldg/test/password_expiration
Add tests for password expiration
2016-10-29 13:12:58 -07:00
Nicholas Charriere
43fd4d405a Merge pull request #38 from samueldg/fix/docker-compose-README
Remove unnecessary step form README Docker install
2016-10-29 13:08:36 -07:00
Samuel Dion-Girardeau
5801007738 Add tests for password expiration 2016-10-24 19:21:08 -04:00
Samuel Dion-Girardeau
82bbbab608 Remove unnecessary step form README Docker install
Since the docker-compose file includes the build directive,
building and tagging beforehand is not necessary.
2016-10-24 18:41:36 -04:00
Nicholas Charriere
dc364bb75e Merge pull request #33 from samueldg/enhancement/atomic_setex
Set password value and expiration atomically
2016-10-24 09:28:45 -07:00
Nicholas Charriere
2c84ff151b Merge pull request #35 from ebuildy/patch-1
Update docker-compose file to version 2
2016-10-24 09:24:29 -07:00
Thomas Decaux
8133db24b0 Update docker-compose file to version 2
And snappass container will be built from Dockerfile since there is no official image (yet..)
2016-10-24 16:03:03 +02:00
Samuel Dion-Girardeau
9e89376416 Set password value and expiration atomically
Redis has a `SETEX` (http://redis.io/commands/SETEX) method,
which does both setting the value and setting the expiration
atomically.
2016-10-23 03:11:32 -04:00
Nicholas Charriere
d12a090952 Merge pull request #29 from dwinston/patch-1
inherit protocol (http/https) for stylesheet load
2016-09-08 14:45:26 -07:00
Nicholas Charriere
2f29a5d50f Merge pull request #30 from dwinston/add-redis-url-env-var
Allow use of REDIS_URL env var
2016-09-08 14:44:08 -07:00
Donny Winston
d12d218042 Handle and document use of REDIS_URL env var 2016-09-08 13:44:03 -07:00
Donny Winston
20a24ff1ec inherit protocol (http/https) for stylesheet load
Some browsers (e.g. latest Chrome) won't load stylesheets over http if the site is loaded over https.
2016-09-08 10:29:01 -07:00
Nicholas Charriere
c22c902de6 Merge pull request #23 from pinterest/more-env-vars
Add ENV variables options
2016-09-08 09:58:01 -07:00
Nicholas Charriere
89eef898e4 Merge pull request #24 from voidpirate/master
Catch Connection Error when redis isn't up #22
2016-08-28 07:27:29 -07:00
Nicholas Charriere
2e8d45e691 Merge pull request #27 from samueldg/improve-dev-setup
Improve development setup
2016-08-28 07:17:34 -07:00
Brandon Davis
fadd2854e5 Fix for remaining comments.
- Call function within try/catch
- Syntax clean up
2016-08-22 21:59:08 -07:00
Brandon Davis
f0c9f6a09d Merge remote-tracking branch 'upstream/master' 2016-08-22 21:18:08 -07:00
Samuel Dion-Girardeau
0d76a62427 Fix coverage commands
- Remove setup.py, as the tests don't run it;
- Put the correct test command;
- Add `$ ` prompts, for conformity with the previous steps.
2016-08-22 20:32:22 -04:00