- Nothing changed yet.
- Initialize SQL before calling
setUp
of super class inSQLLayer.setUp
, which itself callsmake_app
. This ensuressql.session_factory
is properly set if used in a conemain_hook
. [rnix]
- Implement
expires
andexpired
oncone.sql.ugm.UserBehavior
. Extendcone.sql.ugm.UgmBehavior
byuser_expires_attr
which enables used expiration support. [rnix] - Add
TestSQLSessionFactory
and set tocone.sql.session_factory
inSQLLayer.init_sql
if not present. [rnix, toalba]
- Remove usage of
Nodespaces
behavior. [rnix] - Replace deprecated use of
IStorage
byIMappingStorage
. [rnix] - Replace deprecated use of
Nodify
byMappingNode
. [rnix] - Replace deprecated use of
Adopt
byMappingAdopt
. [rnix] - Replace deprecated use of
NodeChildValidate
byMappingConstraints
. [rnix] - Replace deprecated use of
allow_non_node_children
bychild_constraints
. [rnix]
- Rename deprecated
SQLPrincipalRoles.allow_non_node_childs
toallow_non_node_children
[rnix] - Add
cache_ok
toGUID
type decorator to prevent warning with SQLAlchemy 1.4 [rnix]
- Fix typo in
SqlUGMFactory.__init__
. [rnix]
- SQL database URL setting key in ini file changed from
cone.sql.db.url
tosql.db.url
. [rnix] - Add SQL based UGM implementation. [zworkb, rnix]
- Patch
maker
oncone.sql.session_factory
if present incone.sql.testing.SQLLayer
to ensure working session factory when running tests. [rnix]
- Introduce
cone.sql.SQLSessionFactory
. Gets instanciated at application startup as singleton atcone.sql.session_factory
. [rnix] - SQL database URL setting key in ini file changed from
cone.sql.dbinit.url
tocone.sql.db.url
. [rnix] - SQL database URL definition is only required once in the
app
section of the ini file.sqlalchemy.url
can be removed from session filter. [rnix] - Add SQL based principal ACL support. [rnix]
- Python 3 compatibility. [rnix]
- Fix hex formatting in
cone.sql.model.GUID.process_bind_param
. [rnix] - Register SQL session to transaction manager with
zope.sqlalchemy.register
. [rnix] - Use
pyramid_tm
instead ofrepoze.tm2
. Disabled by default, must be enabled explicitely viapyramid.includes
. [rnix] - Use
pyramid_retry
instead ofrepoze.retry
. Disabled by default, must be enabled explicitely viapyramid.includes
. [rnix] - Upgrade to
cone.app
1.0b1. [rnix]
- Initial work. [rnix]