Samuel Dion-Girardeau
20635bdec8
Explicitly define all supported python environment
...
With only 3.5, travis-ci works, because 2.7, 3.3 and 3.4 interpreters
are present by default, but it might break randomly at some point.
Definining all the versions explicitly, and using the tox-travis plugin
is more robust.
Also, 2.6 was removed from the "officially supported" python versions,
as the tests are not run (and don't pass).
2016-08-11 22:48:36 -04:00
Samuel Dion-Girardeau
faef96c30c
Use python 3.5 in the Docker image
...
Since tests are running for 3.5, there is no
point in not using the latest & greatest version.
2016-08-11 22:33:17 -04:00
Samuel Dion-Girardeau
28e19b51a7
Add support for python 3.3 in tox
...
And update associated documentation
2016-08-11 22:33:17 -04:00
Samuel Dion-Girardeau
a46fc40aa3
Improve string encoding for password retrieval
...
- Prevent the password from displaying as b'...' in the app;
- Use Flask's `get_data(as_test=True)` to read the data, in the tests;
- Add test to ensure `get_password` is not returning bytes.
2016-08-11 22:05:35 -04:00
Samuel Dion-Girardeau
c0ec6dbec2
Remove useless top-level __init__ file
...
If the top-level snappass directory is a package,
`import` will fail, depending on the environment,
python version, etc.
2016-08-11 22:05:35 -04:00
Nicholas Charriere
a3f1ddef62
Merge pull request #15 from pinterest/new-travis-container-infrastructure
...
Upgrade to new container travis infrastructure
2016-07-20 20:46:14 -07:00
Nicholas Charriere
bbfb48576f
Upgrade to new container travis infrastructure
2016-07-20 20:39:53 -07:00
Yongwen Xu
918ed8bf02
Merge pull request #14 from pinterest/yongwen-patch-2
...
more info on Docker
2016-07-19 14:39:11 -07:00
Nicholas Charriere
653e93080c
Merge pull request #12 from pinterest/tweaks
...
Improve wording
2016-07-19 04:05:23 +00:00
Yongwen Xu
938b31fc2c
more info on Docker
...
fixed docker link, added docker compose and start up info.
2016-07-18 17:41:34 -07:00
Nicholas Charriere
479dca09b2
Improve wording
2016-07-18 17:14:38 -07:00
Yongwen Xu
8360cf4498
Merge pull request #8 from samueldg/feature/dockerized_app
...
looks good. agree that the redis is better separated from snappass's dockerfile. Thanks for the dockerizing snappass.
2016-07-18 15:39:02 -07:00
Samuel Dion-Girardeau
98c3ffe3e5
Document Docker setup steps
2016-07-18 17:37:54 -04:00
Samuel Dion-Girardeau
fb020522ad
Add compose file for easy setup
2016-07-18 17:37:54 -04:00
Samuel Dion-Girardeau
b34b5c4b69
Add Dockerfile/.dockerignore files
2016-07-18 17:37:54 -04:00
Samuel Dion-Girardeau
6c3f8f6884
Ensure the egg is a directory, not a zip
...
Prevents NotADirectoryError's in flask templates
Ref.:
https://github.com/pallets/flask/issues/1562
https://github.com/pallets/flask/issues/1645
2016-07-18 17:37:54 -04:00
Nicholas Charriere
64755bae8a
Merge pull request #11 from pinterest/tweaks
...
Cleanup gitignore and make linter pass
2016-07-18 20:53:38 +00:00
Nicholas Charriere
a9fc727240
Fix tests
2016-07-18 13:36:06 -07:00
Nicholas Charriere
d88cf2600e
Refactor _id() function to be inline
2016-07-18 13:35:57 -07:00
Nicholas Charriere
db1ef7673e
Make flake8 test pass
2016-07-18 11:53:34 -07:00
Nicholas Charriere
bc52ebb278
Add virtualenv env/ to gitignore
...
Add python standardized .gitignore
2016-07-18 11:53:29 -07:00
Dave Dash
f533c71d5a
Merge pull request #2 from futureimperfect/fix-typos
...
Fix typos.
2014-11-04 14:09:18 -08:00
James Barclay
17c54e9896
Fix typos.
2014-11-04 14:02:54 -08:00
Dave Dash
eefe2bdc76
Prepare snappass for distribution.
2013-10-05 23:10:50 -07:00
Ryan Park
812539fc06
When displaying the password link, show it as https, not http
2013-10-05 23:01:10 -07:00
Owen Coutts
b555472d0f
Privatley share passwords using redis
2013-10-05 23:01:10 -07:00
Owen Coutts
b3800a65d6
Initial Commit
2012-10-08 10:28:26 -07:00