Skip to content

Conversation

@sasakalaba
Copy link
Owner

No description provided.

gtmanfred and others added 30 commits July 11, 2015 13:56
But allow others to be able to use stormpath with python3
Also, sender for user_deleted signal is None (instead of User object).
When running on Python 3, when blinker iterates through all receivers listening for sender (receivers_for() method on Signal), it tries to get hashable_identity for the sender.
To do that, it checks if sender has '__func__' attribute. This calls _ensure_data() on User object that we have just deleted (so it doesn't exist any more).
 - importing stormpath_config from a local repository (not available through
   pip)
 - commented out MoveApiKeyToClientAPIKeyStrategy (not yet implemented in
   stormpath_config)
 - fixed field mapping in app.config dict object
 - skipped all the tests that are broken due to partly implemented
   StormpathSettings class
	'moved init settings to manager because we need the manager settings'
	(c73eb55)

Updated test_settings.py.
Conflicts:
	requirements.txt
	setup.py
	'removed redundant settings -> defined in default config'
	(e7e1ad2)

Commented out STORMPATH_BASE_TEMPLATE config setting.
…mented the rest

Conflicts:
	flask_stormpath/__init__.py

Commented out StormpathSettigns.__contains__, current mapping breaks the code.
Conflicts:
	flask_stormpath/views.py

Removed field mapping and replaced with Resource.to_camel_case().
sasa.kalaba and others added 30 commits January 23, 2017 15:21
ValidateClientConfigStrategy makes sure that apiKey id and secret are always
present.
…r_page

Filter form fields before passing to User.create()
 - moved accept header and request json logic to request_processors.py
 - return form.hidden_tag in login template (and removed form.csrf_token)
   (hidden_tag checks for every hidden field, not just csrf fields)
 - CSRFProtection object is now passed to and activated in StormpathManager
   init method
 - csrf is now manually checked before every request
  - removed visible field attribute
  - removed organization field
  - also moved all config.setdefaults to a setdefault method
  - added create_social_directory
  >> moved create_social_directory to helpers
  >> now creating social directories on main setup
MoveStormpathSettingsToStormpathConfigStrategy name.
Conflicts:
	flask_stormpath/views.py
…into xy_backup

Conflicts:
	flask_stormpath/__init__.py
	flask_stormpath/context_processors.py
	flask_stormpath/forms.py
	flask_stormpath/models.py
	flask_stormpath/views.py
	setup.py
	tests/helpers.py
	tests/test_context_processors.py
	tests/test_decorators.py
	tests/test_settings.py
	tests/test_views.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.