79 Commits

Author SHA1 Message Date
Projjol Banerji 425a1deb4a Merge pull request #32 from tonyseek/app-factory-support 2019-02-16 11:44:18 +05:30
Семён Марьясин 30ae87fd5c Merge pull request #55 from killthekitten/patch-1
Add a note about Flask-Talisman
2019-02-06 18:40:26 +03:00
Nikolay Shebanov 549bea991c Add a note about Flask-Talisman 2019-01-29 22:45:35 +02:00
kennethreitz 6c5b3f6812 Update README.rst 2018-09-17 08:11:04 -04:00
Jiangge Zhang 5cac457342 Fix the broken testing in py3k. 2017-10-12 12:04:49 +08:00
Jiangge Zhang a4ce015943 Test in app-factory. 2017-10-12 12:04:49 +08:00
Jiangge Zhang 8d2ab77815 Test in the simplest situation. 2017-10-12 12:04:49 +08:00
Jiangge Zhang 6f042e4379 Let the config be read lazily in app-factory. 2017-10-12 12:01:18 +08:00
kennethreitz 8c70d29474 Merge pull request #45 from MarSoft/fix-init
Fixed constructor to work without app context
2017-09-30 09:11:36 -04:00
kennethreitz b4c3fc7d33 Merge pull request #48 from Cabalist/master
Mark Python 3 support in setup.py
2016-12-18 00:09:36 -08:00
Ryan Jarvis 3b56c67737 Mark Python 3 support 2016-08-31 08:21:44 -07:00
Semyon Maryasin 4f9d0b83d6 Fixed constructor to work without app context
In some configurations, extension object is constructed
while there is no current application.
Without this fix, this extension doesn't support such setups.
2016-07-10 02:33:13 +03:00
kennethreitz 8afefa5e5b Merge pull request #36 from DanielBrookRoberge/master
Disable redirects when testing mode is enabled.
2016-02-04 18:57:08 -05:00
Daniel Brook-Roberge 37317a67fd Bump the version to 0.1.6 2016-01-29 11:54:47 -08:00
Daniel Brook-Roberge 9b21aeb075 Don't redirect if the testing mode is active. 2016-01-29 11:53:50 -08:00
Ryan Lane a5576e9e90 Merge pull request #29 from lyft/increase-version
Up version of flask-sslify to 0.1.5
v0.1.5
2015-04-01 15:14:49 -07:00
Ryan Lane 6ab54b081c Up version of flask-sslify to 0.1.5 2015-04-01 15:14:18 -07:00
Ryan Lane 436edebefd Merge pull request #28 from tofias/master
Allow certain paths from being redirected.
2015-04-01 15:11:49 -07:00
Michael Tofias 7931c2d96b Changed docs to explain SSLIFY_XXX style config. 2015-03-31 16:34:48 -05:00
Michael Tofias d028fd3d54 SSLIFY_XXX for config 2015-03-31 14:47:03 -05:00
Michael Tofias 7ba2684213 Less crazy config? 2015-03-31 14:45:22 -05:00
Michael Tofias 3e67792452 Ideas about Configing…. 2015-03-31 14:37:29 -05:00
Michael Tofias 30ff6a572d Have skip return False by default. 2015-03-31 12:56:55 -05:00
Michael Tofias 9740d4a7c1 Removed unnecessary self.app = None block. 2015-03-31 12:42:40 -05:00
Michael Tofias 7979f0b9e5 Concat string with format() like a real person would do. 2015-03-31 12:41:38 -05:00
Michael Tofias 7634d98427 More current_app cleanup. 2015-03-31 12:39:46 -05:00
Michael Tofias 2be30b1768 Make work with current_app. 2015-03-31 12:36:50 -05:00
Michael Tofias 1f7a79f1e0 Fixed. 2015-03-31 12:31:55 -05:00
Michael Tofias d8d9434074 Fixed current_app stuff which I took out b/c … ? 2015-03-31 12:28:32 -05:00
Michael Tofias 2685703d88 Skips can’t be a string. 2015-03-31 12:11:38 -05:00
Michael Tofias d141f4fec9 Removed completely turning off redirects stuff. 2015-03-31 12:07:07 -05:00
Michael Tofias 6431e8fbf4 Removed another is True. 2015-03-31 12:04:14 -05:00
Michael Tofias 594d927a97 Pretty up readme. 2015-03-31 11:58:27 -05:00
Michael Tofias cbd7d60c49 Made suggested improvements, allow more parameters to be set via
config, added to documentation.
2015-03-31 11:56:05 -05:00
tofias fc22468876 Removed comments, returned request.is_secure check 2015-03-25 18:59:59 -05:00
tofias ce0b305a2a Update README.rst 2015-03-25 18:42:08 -05:00
tofias 30c27772bb Adds ability to exclude paths from redirects. 2015-03-25 18:37:12 -05:00
kennethreitz 6f4b90ddca Merge pull request #22 from mbr/blueprint-fix
Use current_app instead of hard-coupling extension to app.
2014-06-12 11:41:17 -04:00
kennethreitz c7ae85f2cc Merge pull request #21 from mbr/master
Update README.rst with some notes on security.
2014-03-03 13:12:24 -05:00
Marc Brinkmann 39223823d9 Use current_app instead of hard-coupling extension to app.
This is good practice, regardless of whether Blueprints will be
supported!
2014-02-22 17:04:28 +01:00
Marc Brinkmann 800e250d12 Update README.rst with some notes on security.
This closes #7.
2014-02-22 16:55:04 +01:00
kennethreitz 6217898a50 Merge pull request #8 from nvie/master
Don't send HSTS headers over non-HTTPS connections
2014-01-08 11:09:27 -08:00
kennethreitz dcbaccb2e9 Merge pull request #17 from bazerk/master
Fix breaking error in init, probably a bad merge
2014-01-08 11:08:17 -08:00
bazbarrett 2cf147cc4b Fix breaking error in init, probably a bad merge 2013-10-30 15:20:49 +00:00
Kenneth Reitz f0b8840ced Merge pull request #14 from jgelens/master
Make init_app work properly
2013-08-30 05:11:03 -07:00
Kenneth Reitz 0fd33a6f53 Merge pull request #15 from zyegfryed/patch-1
Typo and emphase on default duration
2013-08-30 05:07:47 -07:00
Sébastien Fievet 127e5ed4a3 Typo and emphase on default duration 2013-08-30 13:50:36 +02:00
Jeffrey Gelens f7c3aa9b92 Move hsts_age and other variables set in __init__ out of the if statement 2013-07-18 09:48:41 +02:00
Jeffrey Gelens d2a0f8330f self.app in __init__ is not needed anymore 2013-07-18 09:45:33 +02:00
Jeffrey Gelens 9c12df10c4 Fixed bug when initializing SSLify without 'app' argument and using init_app(app) to
set it later.
2013-07-18 09:43:09 +02:00