Commit graph

43 commits

Author SHA1 Message Date
Egg
9e435787c6
Environment variables for default port and bind address (#342)
* Add env vars to override default bind address and port

* Update main.py

Prefix bind address and port with SNAPPASS_

* Update README.rst

update readme to prefix SNAPPASS_ to bind address and port

---------

Co-authored-by: Yuru Shao <yshao@pinterest.com>
2024-08-02 15:40:39 -07:00
Emilien GUILMINEAU
e4803977c0 🚸 Add a link to web view
Allowing usage of the password into a subsystem which target human
2024-03-30 20:47:03 +01:00
Emilien GUILMINEAU
b69290425a 🚸 Remove URL encoding from token 2024-03-30 20:46:02 +01:00
Emilien GUILMINEAU
26b26f9c25 📝 Add documentation about new APIs 2024-03-29 23:53:45 +01:00
Reinoud van Leeuwen
dc321ef79c
add /api endpoint for automated flows (#316)
* add /api endpoint

* pass password in request body when using API

* flake8 fixed; tests added

* flake8 fixed test.py

---------

Co-authored-by: Reinoud van Leeuwen <reinoud.van.leeuwen@itcreation.nl>
2024-02-26 15:22:40 -08:00
Yuru Shao
baa921f1cb
Prepare 1.6.1 release (#304)
* Prepare 1.6.1 release

* Update configs

* Fix dev requirements
2023-12-01 17:04:38 -08:00
Jon Parise
1e37c82f64 Update supported Python versions 2022-05-17 10:48:54 -07:00
Jon Parise
27f70ed5ec
Migrate CI to GitHub Actions (#150) 2022-05-17 10:32:12 -07:00
Omer Hamerman
40df900dc7
Allowing full host override (#143) 2021-07-29 10:39:47 -07:00
Jon Parise
a94e16802d Note that Redis must be running
Also, fix Redis link syntax (for reStucturedText).
2021-01-12 13:47:28 -08:00
Jon Parise
6a349e83c0 Link to redis.io and bump Python requirement to 3.5+ 2021-01-12 13:45:02 -08:00
Jon Parise
e49cd8963a
Mention Snappass.NET (#114)
Also clean up a few existing links.
2019-11-04 08:16:12 -08:00
vin01
5747ee2d14 Add url prefix for reverse proxies (#106) 2019-08-09 14:07:49 -07:00
James W Thorne
3fc5d2b864 README fixes 2019-01-16 08:11:56 -06:00
Benjamin Gandon
921492733b Fix reST syntax for fixed-with text 2018-08-12 23:45:49 +02:00
Samuel Dion-Girardeau
0f1cc0900c Align docs with actual base image pulled 2018-07-12 21:54:54 -04:00
Nicholas Charriere
76962f8d8c Add REDIS_PREFIX documentation 2018-07-01 10:25:55 -07:00
Nicholas Charriere
a42815d17e
Merge pull request #84 from pinterest/shameless-hiring-plug
Add hiring plug in readme
2018-06-16 10:17:16 -07:00
Nicholas Charriere
a2d4245a3a Add hiring plug in readme 2018-05-12 09:02:24 -07:00
Nicholas Charriere
699293b5a0 Remove support for py26 and py33 from readme 2018-05-07 09:49:04 -07:00
Samuel Dion-Girardeau
4ea2195c72 Fix header size for new section 2017-05-16 09:25:03 -04:00
Samuel Dion-Girardeau
68d4c3fc7b Document security features in the README 2017-05-15 21:34:13 -04:00
Samuel Dion-Girardeau
428c49a1b6 Add PyPI badge
Now that the package will be updated
2017-04-30 17:17:14 -04:00
Samuel Dion-Girardeau
2f6afd0e58 Improve Travis badge
- Alt text
- Clicking will lead to the build result, not the image.
2017-04-30 17:15:46 -04:00
Samuel Dion-Girardeau
57a40a06af Use consistent capitalization for "SnapPass" 2017-04-15 12:58:38 -04:00
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
Jon Parise
9a404d18bc Switch to SVG-based badges
These render a lot better at different resolutions.
2017-04-13 15:00:42 -07: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
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
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
Donny Winston
d12d218042 Handle and document use of REDIS_URL env var 2016-09-08 13:44:03 -07:00
Nicholas Charriere
2855e5b9b6 Add env var options 2016-08-21 09:05:01 +02:00
Samuel Dion-Girardeau
00f6964a90 Fix python2.6 support for tests
- "{}".format('foo') does not work on python2.6, as the index needs to be explicitly specified.
- assertIn(x, y) was only introduced in 2.7, reverting to assertTrue(x in y)

Updated test environments definitions and docs accordingly.
2016-08-12 18:47:02 -04:00
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
Yongwen Xu
918ed8bf02 Merge pull request #14 from pinterest/yongwen-patch-2
more info on Docker
2016-07-19 14:39:11 -07: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
Samuel Dion-Girardeau
98c3ffe3e5 Document Docker setup steps 2016-07-18 17:37:54 -04:00
Dave Dash
eefe2bdc76 Prepare snappass for distribution. 2013-10-05 23:10:50 -07:00