Version 0.1.7 0.1.7
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Oct 2017 10:21:42 +0200
changeset 99 14805c882758
parent 98 39b5457b87f2
child 100 ca2dc3865624
Version 0.1.7
.installed.cfg
buildout.cfg
docs/HISTORY.txt
setup.py
src/pyams_security.egg-info/PKG-INFO
src/pyams_security.egg-info/SOURCES.txt
--- a/.installed.cfg	Mon Oct 02 14:44:42 2017 +0200
+++ b/.installed.cfg	Fri Oct 13 10:21:42 2017 +0200
@@ -1,5 +1,6 @@
 [buildout]
 installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-file.egg-link
+	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/tmp72p3d019build
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/lingua.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-template.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-security.egg-link
@@ -13,16 +14,16 @@
 parts = package i18n pyflakes test
 
 [package]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pviews
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pshell
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pdistreport
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pserve
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/prequest
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pcreate
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/ptweens
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pshell
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/proutes
+	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pserve
+	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pviews
+	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/prequest
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/zpasswd
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -42,7 +43,7 @@
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pybabel
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pot-create
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/polint
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -57,7 +58,7 @@
 [pyflakes]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pyflakes
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/pyflakes
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -74,7 +75,7 @@
 [test]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_security/parts/test
 	/home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zope.testrunner-4.7.0-py3.5.egg zc.buildout-2.9.3-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.exceptions-4.1.0-py3.5.egg six-cda86838cf68ee677b66d4f7c5d5ea83
+__buildout_signature__ = six-b631ad1454a9f0e2bdac1167b5464291 zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg zope.exceptions-4.1.0-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.testrunner-4.7.0-py3.5.egg setuptools-33.1.1-py3.5.egg
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -86,29 +87,3 @@
 location = /home/tflorac/Dropbox/src/PyAMS/pyams_security/parts/test
 recipe = zc.recipe.testrunner
 script = /home/tflorac/Dropbox/src/PyAMS/pyams_security/bin/test
-
-[buildout]
-installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-file.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/lingua.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-template.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/tmp45539kwobuild
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-security.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-skin.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-pagelet.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-viewlet.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-i18n.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-catalog.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-form.egg-link
-	/home/tflorac/Dropbox/src/PyAMS/pyams_security/develop-eggs/pyams-utils.egg-link
-
-[buildout]
-parts = i18n pyflakes test package
-
-[buildout]
-parts = pyflakes test package i18n
-
-[buildout]
-parts = test package i18n pyflakes
-
-[buildout]
-parts = package i18n pyflakes test
--- a/buildout.cfg	Mon Oct 02 14:44:42 2017 +0200
+++ b/buildout.cfg	Fri Oct 13 10:21:42 2017 +0200
@@ -70,4 +70,4 @@
 eggs = pyams_security [test]
 
 [versions]
-pyams_security = 0.1.6
+pyams_security = 0.1.7
--- a/docs/HISTORY.txt	Mon Oct 02 14:44:42 2017 +0200
+++ b/docs/HISTORY.txt	Fri Oct 13 10:21:42 2017 +0200
@@ -1,6 +1,11 @@
 History
 =======
 
+0.1.7
+-----
+ - added CSRF token cookie in every server response, with validation in every POST or AJAX request
+ - added local user mail info adapter
+
 0.1.6
 -----
  - disable authentication for system users without users
--- a/setup.py	Mon Oct 02 14:44:42 2017 +0200
+++ b/setup.py	Fri Oct 13 10:21:42 2017 +0200
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.6'
+version = '0.1.7'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- a/src/pyams_security.egg-info/PKG-INFO	Mon Oct 02 14:44:42 2017 +0200
+++ b/src/pyams_security.egg-info/PKG-INFO	Fri Oct 13 10:21:42 2017 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyams-security
-Version: 0.1.6
+Version: 0.1.7
 Summary: PyAMS security interfaces and classes
 Home-page: http://hg.ztfy.org/pyams/pyams_security
 Author: Thierry Florac
@@ -106,6 +106,11 @@
         History
         =======
         
+        0.1.7
+        -----
+         - added CSRF token cookie in every server response, with validation in every POST or AJAX request
+         - added local user mail info adapter
+        
         0.1.6
         -----
          - disable authentication for system users without users
--- a/src/pyams_security.egg-info/SOURCES.txt	Mon Oct 02 14:44:42 2017 +0200
+++ b/src/pyams_security.egg-info/SOURCES.txt	Fri Oct 13 10:21:42 2017 +0200
@@ -5,6 +5,7 @@
 src/pyams_security/__init__.py
 src/pyams_security/configure.zcml
 src/pyams_security/credential.py
+src/pyams_security/csrf.py
 src/pyams_security/include.py
 src/pyams_security/index.py
 src/pyams_security/notification.py