pyramid-fullauth 0.3.0__py2.7.egg → 0.3.1__py2.7.egg
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- EGG-INFO/PKG-INFO +7 -19
- EGG-INFO/SOURCES.txt +1 -0
- pyramid_fullauth/__init__.py +1 -1
- pyramid_fullauth/__init__.pyc +0 -0
- pyramid_fullauth/auth.pyc +0 -0
- pyramid_fullauth/config/default.yaml +26 -0
- pyramid_fullauth/events.pyc +0 -0
- pyramid_fullauth/exceptions.pyc +0 -0
- pyramid_fullauth/models/__init__.pyc +0 -0
- pyramid_fullauth/models/mixins/__init__.pyc +0 -0
- pyramid_fullauth/models/mixins/email.pyc +0 -0
- pyramid_fullauth/models/mixins/password.pyc +0 -0
- pyramid_fullauth/request.pyc +0 -0
- pyramid_fullauth/routing/__init__.pyc +0 -0
- pyramid_fullauth/routing/predicates.pyc +0 -0
- pyramid_fullauth/tools.pyc +0 -0
- pyramid_fullauth/views/__init__.pyc +0 -0
- pyramid_fullauth/views/basic/__init__.pyc +0 -0
- pyramid_fullauth/views/basic/activate.pyc +0 -0
- pyramid_fullauth/views/basic/forbidden.pyc +0 -0
- pyramid_fullauth/views/basic/login.pyc +0 -0
- pyramid_fullauth/views/basic/logout.pyc +0 -0
- pyramid_fullauth/views/basic/profile/__init__.pyc +0 -0
- pyramid_fullauth/views/basic/profile/email.pyc +0 -0
- pyramid_fullauth/views/basic/profile/password.pyc +0 -0
- pyramid_fullauth/views/basic/register.pyc +0 -0
- pyramid_fullauth/views/social.pyc +0 -0
- tests/__init__.pyc +0 -0
- tests/conftest.pyc +0 -0
- tests/tools.pyc +0 -0
- tests/unit/test_default_settings.pyc +0 -0
- tests/unit/test_groupfinder.pyc +0 -0
- tests/unit/test_social_view.pyc +0 -0
- tests/unit/test_tools.pyc +0 -0
- tests/unit/test_user_active.pyc +0 -0
- tests/unit/test_user_admin.pyc +0 -0
- tests/unit/test_user_email.pyc +0 -0
- tests/unit/test_user_password.pyc +0 -0
- tests/unit/test_user_providers.pyc +0 -0
- tests/unit/test_user_repr.pyc +0 -0
- tests/unit/test_validators.pyc +0 -0
- tests/views/__init__.pyc +0 -0
- tests/views/conftest.pyc +0 -0
- tests/views/test_activation.py +0 -4
- tests/views/test_activation.pyc +0 -0
- tests/views/test_email.pyc +0 -0
- tests/views/test_events.pyc +0 -0
- tests/views/test_login.pyc +0 -0
- tests/views/test_login_social.pyc +0 -0
- tests/views/test_logout.pyc +0 -0
- tests/views/test_register.pyc +0 -0
- tests/views/test_reset.pyc +0 -0
EGG-INFO/PKG-INFO
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: pyramid-fullauth
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: This package intends to provide full authentication / authorisation
|
|
5
5
|
implementation for pyramid applications
|
|
6
6
|
Home-page: https://github.com/fizyk/pyramid_fullauth
|
|
@@ -73,6 +73,11 @@ Description: pyramid_fullauth
|
|
|
73
73
|
CHANGELOG
|
|
74
74
|
=========
|
|
75
75
|
|
|
76
|
+
0.3.1
|
|
77
|
+
-----
|
|
78
|
+
|
|
79
|
+
- fixes MANIFEST.in to include yaml files - fixes `#33 <https://github.com/fizyk/pyramid_fullauth/issues/33>`_.
|
|
80
|
+
|
|
76
81
|
0.3.0
|
|
77
82
|
-----
|
|
78
83
|
|
|
@@ -106,7 +111,7 @@ Description: pyramid_fullauth
|
|
|
106
111
|
|
|
107
112
|
0.2.3
|
|
108
113
|
-----
|
|
109
|
-
- weaker pyramid_yml requirements. Use ``registry['config']`` instead of ``request.config`` which gets added only
|
|
114
|
+
- weaker pyramid_yml requirements. Use ``registry['config']`` instead of ``request.config`` which gets added only when explicitly including tzf.pyramid_yml package.
|
|
110
115
|
- remove default_config with permission set for forbidden views. Throwning errors in pyramid 1.5a3
|
|
111
116
|
- remove lazy='load' for relationship between AuthenticationProvider and User models as it was incorrect. Fixes error while using with sqlalchemy 0.9
|
|
112
117
|
|
|
@@ -145,23 +150,6 @@ Description: pyramid_fullauth
|
|
|
145
150
|
- ability to set custom session factory [with Veronica Zgirvaci help]
|
|
146
151
|
- moved password validation to one place
|
|
147
152
|
|
|
148
|
-
0.0.4
|
|
149
|
-
-----
|
|
150
|
-
- remove basemodel restrictions from setup.py
|
|
151
|
-
|
|
152
|
-
0.0.3
|
|
153
|
-
-----
|
|
154
|
-
- fixed issue, where reset password would check for csrf on GET request [Veronica Zgirvaci]
|
|
155
|
-
|
|
156
|
-
0.0.2
|
|
157
|
-
-----
|
|
158
|
-
- fixed MANIFEST.in, to include .yml, and .mako files
|
|
159
|
-
|
|
160
|
-
0.0.1
|
|
161
|
-
-----
|
|
162
|
-
- initial package creation
|
|
163
|
-
- prepared for CI on travis-ci, and coverage reports on coveralls.io
|
|
164
|
-
|
|
165
153
|
Keywords: python authentication authorisation pyramid
|
|
166
154
|
Platform: UNKNOWN
|
|
167
155
|
Classifier: Development Status :: 5 - Production/Stable
|
EGG-INFO/SOURCES.txt
CHANGED
|
@@ -35,6 +35,7 @@ pyramid_fullauth.egg-info/dependency_links.txt
|
|
|
35
35
|
pyramid_fullauth.egg-info/not-zip-safe
|
|
36
36
|
pyramid_fullauth.egg-info/requires.txt
|
|
37
37
|
pyramid_fullauth.egg-info/top_level.txt
|
|
38
|
+
pyramid_fullauth/config/default.yaml
|
|
38
39
|
pyramid_fullauth/models/__init__.py
|
|
39
40
|
pyramid_fullauth/models/mixins/__init__.py
|
|
40
41
|
pyramid_fullauth/models/mixins/email.py
|
pyramid_fullauth/__init__.py
CHANGED
|
@@ -17,7 +17,7 @@ from pyramid_fullauth.auth import groupfinder
|
|
|
17
17
|
from pyramid_fullauth.routing import predicates
|
|
18
18
|
from pyramid_fullauth.request import login_perform, logout, user
|
|
19
19
|
|
|
20
|
-
__version__ = '0.3.
|
|
20
|
+
__version__ = '0.3.1'
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
logger = logging.getLogger(__name__)
|
pyramid_fullauth/__init__.pyc
CHANGED
|
Binary file
|
pyramid_fullauth/auth.pyc
CHANGED
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Copyright (c) 2013 - 2014 by pyramid_fullauth authors and contributors <see AUTHORS file>
|
|
2
|
+
#
|
|
3
|
+
# This module is part of pyramid_fullauth and is released under
|
|
4
|
+
# the MIT License (MIT): http://opensource.org/licenses/MIT
|
|
5
|
+
|
|
6
|
+
# pyramid_fullauth's default configuration
|
|
7
|
+
fullauth:
|
|
8
|
+
check_csrf: True # Whether login processes should work with csrf token, or without
|
|
9
|
+
register:
|
|
10
|
+
password:
|
|
11
|
+
require: True # set to false to not read password during register, and generate random one
|
|
12
|
+
length_min: 6 # will be used either to check password's length or generate this length random password
|
|
13
|
+
confirm: True # by default there will be a field for password confirmation on the registration form
|
|
14
|
+
AuthTkt:
|
|
15
|
+
secret: fullauth_psst # default secret used to hash auth_tk cookie
|
|
16
|
+
hashalg: sha512 # default authentication policy hash algorithm
|
|
17
|
+
login:
|
|
18
|
+
cookie_max_age: 2592000 # 30 days
|
|
19
|
+
redirects: # route name, to redirect to. If False, then redirects just to /
|
|
20
|
+
logout: False
|
|
21
|
+
session: # session factory settings
|
|
22
|
+
# factory key is responsible for providing full path to factory class (module.submodule.SessionFactory)
|
|
23
|
+
factory: pyramid.session.UnencryptedCookieSessionFactoryConfig
|
|
24
|
+
# settings are key: value pairs of all factory initialize attributes
|
|
25
|
+
settings:
|
|
26
|
+
secret: THATS_NOT_SECRET_ITS_A_SECRET
|
pyramid_fullauth/events.pyc
CHANGED
|
Binary file
|
pyramid_fullauth/exceptions.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
pyramid_fullauth/request.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
pyramid_fullauth/tools.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
tests/__init__.pyc
CHANGED
|
Binary file
|
tests/conftest.pyc
CHANGED
|
Binary file
|
tests/tools.pyc
CHANGED
|
Binary file
|
|
Binary file
|
tests/unit/test_groupfinder.pyc
CHANGED
|
Binary file
|
tests/unit/test_social_view.pyc
CHANGED
|
Binary file
|
tests/unit/test_tools.pyc
CHANGED
|
Binary file
|
tests/unit/test_user_active.pyc
CHANGED
|
Binary file
|
tests/unit/test_user_admin.pyc
CHANGED
|
Binary file
|
tests/unit/test_user_email.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
tests/unit/test_user_repr.pyc
CHANGED
|
Binary file
|
tests/unit/test_validators.pyc
CHANGED
|
Binary file
|
tests/views/__init__.pyc
CHANGED
|
Binary file
|
tests/views/conftest.pyc
CHANGED
|
Binary file
|
tests/views/test_activation.py
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"""Account activation related tests."""
|
|
3
3
|
from urllib import quote
|
|
4
4
|
|
|
5
|
-
import pytest
|
|
6
5
|
import transaction
|
|
7
6
|
|
|
8
7
|
from pyramid_fullauth.models import User
|
|
@@ -44,9 +43,6 @@ def test_account_activation_wrong_key(user, db_session, default_app):
|
|
|
44
43
|
|
|
45
44
|
def test_account_activation_key_with_trash_chars(user, db_session, default_app):
|
|
46
45
|
"""Strange characters in activation key."""
|
|
47
|
-
if db_session.connection().dialect.name == 'mysql':
|
|
48
|
-
pytest.xfail("failing due mysql default character set being latin1 and collation latin1_swedish_ci")
|
|
49
|
-
|
|
50
46
|
user = db_session.merge(user)
|
|
51
47
|
|
|
52
48
|
activate_key = user.activate_key
|
tests/views/test_activation.pyc
CHANGED
|
Binary file
|
tests/views/test_email.pyc
CHANGED
|
Binary file
|
tests/views/test_events.pyc
CHANGED
|
Binary file
|
tests/views/test_login.pyc
CHANGED
|
Binary file
|
|
Binary file
|
tests/views/test_logout.pyc
CHANGED
|
Binary file
|
tests/views/test_register.pyc
CHANGED
|
Binary file
|
tests/views/test_reset.pyc
CHANGED
|
Binary file
|