Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask february release #98

Open
wants to merge 148 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
4ccab64
added stormpath to requirements.txt
gcetusic Mar 8, 2016
f3f69ff
dynamic form settings based on environment and settings files - work …
gcetusic Mar 21, 2016
22adfaf
tests for custom settings object
gcetusic Mar 21, 2016
c21d8aa
Skipping broken tests.
May 18, 2016
97f8295
Updated commit:
May 19, 2016
cffb093
Merge branch 'develop' into temp_fork_cetko
May 19, 2016
fc0fa52
Updated commit:
May 20, 2016
03909b7
replaced several old style settings in templates with new ones -> com…
gcetusic Mar 23, 2016
2d249f6
misc fixes to make standard forms show
gcetusic Mar 23, 2016
c835199
fixed registration
gcetusic Mar 23, 2016
9742e52
change logout redirect based on settings
gcetusic Mar 23, 2016
75f1d2e
Updated broken test messages.
May 20, 2016
e66aae0
misc work on verification flow
gcetusic Mar 25, 2016
3ed0bef
first stab at me view
gcetusic Mar 30, 2016
dccc731
don't lazily load stormpath client and application since it's already…
gcetusic Apr 13, 2016
b4ed1ff
moving imports to a more appropriate location
gcetusic Apr 13, 2016
c5e1115
moved json representation login to stormpath python sdk
gcetusic Apr 13, 2016
b804d1a
json vs html response basic functionality
gcetusic Apr 25, 2016
8b9e86c
error handling for login and register
gcetusic Apr 25, 2016
14cb1b8
registration via json
gcetusic Apr 27, 2016
4ac4737
autologin if verify
gcetusic Apr 27, 2016
448b70b
basePath setting taken into account
gcetusic Apr 27, 2016
fc55212
Updated error messages on skipped tests.
May 23, 2016
2389e10
Updated check_settings.
May 28, 2016
7414357
Added temporary fixes for form instantiation.
Jun 3, 2016
8e7d1ef
Updated registration view.
Jun 7, 2016
faea9b0
Updated login view.
Jun 8, 2016
5123b00
Updated gitignore.
Jun 8, 2016
7671d96
Updated .gitignore #2.
Jun 8, 2016
31802d8
Combined redirect tests in test_views.
Jun 8, 2016
da21def
Fixed minor issues in register view.
Jun 9, 2016
952a57c
Fixed dynamic form building.
Jun 13, 2016
c43a330
Removed fail flag from registration view.
Jun 13, 2016
d85aa18
Added if request == POST check to registration view.
Jun 14, 2016
48f9092
Applied confirm_password check to registration view.
Jun 14, 2016
286fe28
Moved validation logic from register view to StormpathForm.
Jun 14, 2016
0827b69
Fixed autologin on register.
Jun 14, 2016
81a71ca
Config settings for login and register are now accessed more easily.
Jun 15, 2016
decbc65
Fixed dynamic field building on StormpathForm.
Jun 16, 2016
eb8f3af
Fixed PEP8 errors.
Jun 16, 2016
24ff100
Fixed if statement.
Jun 17, 2016
96b7beb
Updated TestLogout tests.
Jun 17, 2016
044f0ac
Updated forgot view.
Jun 20, 2016
91b9307
Minor test_views refactoring.
Jun 20, 2016
5e75750
Minot test_models refactoring.
Jun 20, 2016
602a615
Added test for request_wants_json().
Jun 20, 2016
02e6183
Implemented json to forms.
Jun 21, 2016
7403364
Added test_make_stormpath_response test.
Jun 21, 2016
1713bb6
Added to_json method to User model.
Jun 21, 2016
560e51c
Moved 'account' key from views to to_json() method.
Jun 22, 2016
087c93a
Added json test to test_views.
Jun 24, 2016
15e2048
Added me tests.
Jun 27, 2016
c6b1eff
Templates now center aligned.
Jun 27, 2016
35aada1
Removed hardcoded api id and secret from tests.
Jun 28, 2016
aabc634
Removed the ugly sys import.
Jun 28, 2016
85a74b6
Fixed remaining settings tests.
Jun 28, 2016
76fe79d
Removed backslashes for newlines.
Jun 28, 2016
ceda074
Fixed the remainder of broken tests.
Jun 29, 2016
b61c13c
Renamed AppWrapper to HttpAcceptWrapper.
Jun 29, 2016
e8374c8
Minor test refactoring.
Jun 29, 2016
4782ba0
Fixed form.errors output on register and login views.
Jul 4, 2016
52659fc
Updated forgot view.
Jul 5, 2016
218323d
Fixed status code in views.
Jul 5, 2016
cc9d563
Added function description to views.
Jul 5, 2016
ee8aa30
Updated change view.
Jul 6, 2016
5209a58
Updated form tests.
Jul 6, 2016
d8ae135
Updated fields on User.to_json.
Jul 6, 2016
b5103d3
Minor update on tests for User.to_json.
Jul 6, 2016
559f246
Updated config file.
Jul 6, 2016
863be89
Refactored views.
Jul 12, 2016
af11ab1
User.to_json now also returns expanded data.
Jul 12, 2016
852186f
Forms can now accept empty configs.
Jul 12, 2016
71db24c
Added 406 check.
Jul 14, 2016
4d7dd90
Removed the obsolete VerificationForm.
Jul 14, 2016
679ae29
** WORK IN PROGRESS ** Social views refactor 1/2.
Jul 15, 2016
a56345f
User.to_facebook refactor.
Jul 26, 2016
16d3a10
Updated the way we handle test environment variables.
Jul 27, 2016
8fcaa34
User.to_google refactor.
Jul 29, 2016
dd2dd67
User social methods tests refactor 1/2.
Jul 29, 2016
8b13972
User social methods tests refactor 2/2.
Aug 1, 2016
ce4f73f
Moved user creation in our test to main tester class (StormpathTestCa…
Aug 1, 2016
75c059c
Updated models tests.
Aug 1, 2016
7deafce
Refactored from_social methods in models.
Aug 2, 2016
84df960
Removed function based google_login view.
Aug 2, 2016
77970c6
Added a testing structure for social views.
Aug 2, 2016
284f87a
Social views refactor 2/2.
Aug 3, 2016
d99043c
Updated StormpathView.
Aug 4, 2016
25e53c3
Added redirect logic to assertJsonResponse in test_views.
Aug 4, 2016
26eb074
Updated SocialView error message.
Aug 4, 2016
c1d5e6e
Updated the accept header 406 check.
Aug 4, 2016
8d7c7a9
Removed Python 3 specialized import.
Aug 9, 2016
31421e2
Added Python 3 import for mocking.
Aug 9, 2016
e7dbb7c
Added a custom datetime serializer to our User.to_json method.
Aug 9, 2016
b0b6011
Pulled the latest version of the config file.
Aug 10, 2016
7d48353
Fixed PEP 8 errors in init.py.
Aug 10, 2016
d13c0e2
Updated imports.
Aug 10, 2016
5152e97
Updated templates and views based on the new config 1/3.
Aug 12, 2016
2f2d0d8
Updated templates and views based on the new config 2/3.
Aug 12, 2016
716f1c4
Updated error processing in views.
Sep 9, 2016
d9ce4e7
Updated templates and views based on the new config 3/3.
Sep 13, 2016
78acff3
Implemented verify view 1/2 (WIP).
Sep 21, 2016
875cf8d
Updated assertJsonResponse in test_views.
Sep 22, 2016
4691a9d
Minor updates to parameters when calling make_stormpath_response.
Sep 22, 2016
fa49d0a
Updated VerifyEmail view.
Nov 25, 2016
496efe6
Added uuid to test social directory.
Dec 6, 2016
5d561e3
Python 3 support.
Dec 8, 2016
22a67a8
Updated dependencies (fixed deprecation warnings).
Dec 9, 2016
f087b5e
Updated dependencies in setup.py.
Dec 13, 2016
4b726d9
Merge branch 'develop' of https://github.com/stormpath/stormpath-flas…
Dec 14, 2016
7fe284a
Fixed August week 3 issues.
Dec 19, 2016
6396390
Partial default-config update.
Dec 20, 2016
ed73f6d
Disabled CSRF protection on JSON requests.
Dec 22, 2016
56a0598
Renamed Facebook environment variables.
Jan 11, 2017
a2fd7f5
Updated CSRF protection for Flask-WTF 0.14.
Jan 11, 2017
78ca572
Added capabilities for testing disabled views.
Jan 12, 2017
0d1faa8
Updated social error message in tests.
Jan 13, 2017
5732f37
Fixed wrong Facebook env variable name.
Jan 13, 2017
7225f8e
Minor optimization.
Jan 16, 2017
57fddc9
Added KeyboardInterrupt teardown.
Jan 16, 2017
5fead63
Renamed errorUri to unverifiedUri.
Jan 18, 2017
1578d2d
Updated default-config.
Jan 18, 2017
9e809c9
Fixed tearDown flow on views by calling super().
Jan 18, 2017
170503f
Removed validation duplicates from check_settings.
Jan 23, 2017
cd8232f
Simplified client instantiation.
Jan 23, 2017
9bddb6a
Set cache to None for now.
Jan 23, 2017
7f7cac0
Removed obsolete social and template settings.
Jan 23, 2017
3126e82
STORMPATH_SOCIAL will be set to default for now.
Jan 23, 2017
03b2a40
Updated check_settings.
Jan 23, 2017
d2ac453
Updated tests for new organizationNameKey value.
Jan 24, 2017
433ade5
Included MoveAPIKeyToClientAPIKeyStrategy.
Jan 24, 2017
21785df
Removed csrf_token from new user data on register view.
Jan 25, 2017
090a1e9
Updated default account stone mapping check on register.
Jan 26, 2017
f76789f
Added error redirect url and updated sptoken handling.
Jan 26, 2017
729f460
Updated .gitignore.
Jan 30, 2017
4b69811
Updated unverified login error message.
Jan 31, 2017
7ef2237
Updated csrf in tests.
Feb 1, 2017
8767e8f
Updated csrf.
Feb 13, 2017
fab0502
Added test for stormpath-flask user agent.
Feb 14, 2017
1d8611a
Updated default-config.yaml file.
Feb 15, 2017
aa58fc7
Moved check_settings logic to python_config.
Feb 17, 2017
c65615e
Moved settings with 'STORMPATH' prefix to stormpath config.
Feb 26, 2017
9cc4999
Updated ConfigurationError import.
Feb 26, 2017
5a7324b
Updated social tests.
Feb 28, 2017
aece360
Added ExtendConfigStrategy and updated
Feb 28, 2017
0fd9721
Merge branch 'master' into temp_fork_cetko_backup
Feb 28, 2017
6ca83bc
Renamed MoveSettingsToConfigStrategy and moved it to ConfigLoader.
Mar 1, 2017
cb6a87b
Updated version and changelog.
Mar 1, 2017
69d4de5
Merge branch 'develop' of https://github.com/stormpath/stormpath-flas…
Mar 1, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ _build
dist
*.pyc
__pycache__
.cache/
.coverage
htmlcov/
pytest.ini
*.ini
16 changes: 16 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ Change Log
All library changes, in descending order.


Version 0.5.0
-------------

**Released March 1, 2017.**

- Refactored views from function based to class based.
- Adding VerifyEmail and Me view.
- Adding request parsing.
- Upgrading social login.
- Upgraded CSRF protection.
- Adding new configuration loading.
- Replaced settings with 'STORMPATH' prefix to one from our Stormpath Config
object.
- Adding dynamic forms.


Version 0.4.8
-------------

Expand Down
6 changes: 3 additions & 3 deletions docs/product.rst
Original file line number Diff line number Diff line change
Expand Up @@ -480,12 +480,12 @@ Next, copy the following code into ``templates/login.html``::
</form>

{# If social login is enabled, display social login buttons. #}
{% if config['STORMPATH_ENABLE_FACEBOOK'] or config['STORMPATH_ENABLE_GOOGLE'] %}
{% if config['stormpath']['web']['social']['facebook']['enabled'] or config['stormpath']['web']['social']['google']['enabled'] %}
<p>Or, log in using a social provider.</p>
{% if config['STORMPATH_ENABLE_FACEBOOK'] %}
{% if config['stormpath']['web']['social']['facebook']['enabled'] %}
{% include "flask_stormpath/facebook_login_form.html" %}
{% endif %}
{% if config['STORMPATH_ENABLE_GOOGLE'] %}
{% if config['stormpath']['web']['social']['google']['enabled'] %}
{% include "flask_stormpath/google_login_form.html" %}
{% endif %}
{% endif %}
Expand Down
6 changes: 6 additions & 0 deletions docs/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ This page contains specific upgrading instructions to help you migrate between
Flask-Stormpath releases.


Version 0.4.8 -> Version 0.5.0
------------------------------

**No changes needed!**


Version 0.4.7 -> Version 0.4.8
------------------------------

Expand Down
Loading