hooks/syncschema.py
Fri, 17 Jun 2016 14:44:59 +0200 Sylvain Thénault [server] some pep8 changes
Fri, 12 Feb 2016 10:39:24 +0100 Sylvain Thénault [migration] test if entity type has been in the deleted in the transaction should protect both clauses
Tue, 22 Dec 2015 10:39:05 +0100 Julien Cristau [hooks] fix extra_props handling on python3
Wed, 09 Dec 2015 17:44:18 +0100 Sylvain Thénault [server, hooks] allow callable in dbh.TYPE_MAPPING
Wed, 09 Dec 2015 17:44:17 +0100 Sylvain Thénault [migration] consider extra_props in rdef created during attribute creation hook
Thu, 24 Sep 2015 11:26:11 +0200 Sylvain Thénault [migration] don't handle data deletion anymore on schema changes
Tue, 24 Nov 2015 16:01:43 +0100 Sylvain Thénault [hooks/syncschema] drop unused import
Tue, 24 Nov 2015 16:01:26 +0100 Sylvain Thénault [hooks/syncschema] indentation fix
Tue, 24 Nov 2015 16:00:06 +0100 Sylvain Thénault [hooks/syncschema] don't set NOT NULL on inlined relation columns
Thu, 24 Sep 2015 12:18:00 +0200 Sylvain Thénault [hooks/syncschema] Turn DropColumnOp into a data operation
Mon, 19 Oct 2015 14:28:30 +0200 Julien Cristau [syncschema] hashlib.md5() wants bytes
Tue, 03 Nov 2015 18:10:58 +0100 Julien Cristau [syncschema] don't arbitrarily remove constraints from the in-memory schema
Wed, 16 Sep 2015 16:04:17 +0200 Sylvain Thénault make sync_schema_props_perms(<computed rtype>) work as expected
Tue, 13 Oct 2015 16:57:09 +0200 Rémi Cardona [py3k] bytes required for hashlib.{md5,sha1}()
Fri, 11 Sep 2015 18:05:38 +0200 Rémi Cardona [py3k] replace '_ = unicode' in global scope (closes #7589459)
Tue, 13 Oct 2015 15:09:22 +0200 Rémi Cardona [py3k] dict.itervalues → dict.values
Fri, 09 Oct 2015 17:52:14 +0200 Rémi Cardona merge with 3.20.10
Thu, 08 Oct 2015 18:38:16 +0200 Rémi Cardona merge with 3.19.13
Wed, 23 Sep 2015 15:01:55 +0200 Julien Cristau [hooks/syncschema] make sure CWUniqueTogetherConstraintDelOp happens before CWConstraintDelOp
Wed, 23 Sep 2015 15:00:33 +0200 Aurelien Campeas [hooks/syncschema] only call "ALTER TABLE" once when changing a size constraint
Mon, 18 May 2015 19:47:34 +0200 Julien Cristau [hooks/syncschema] drop/add check constraints as appropriate
Fri, 13 Feb 2015 13:39:33 +0100 Julien Cristau [hooks/syncschema] use a list instead of a set for UpdateFTIndexOp
Thu, 15 Jan 2015 16:49:32 +0100 Julien Cristau Add foreign key for inline relations
Thu, 15 Jan 2015 16:44:36 +0100 Julien Cristau Use our version of schema2sql
Mon, 01 Dec 2014 11:13:10 +0100 Julien Cristau merge 3.19.6 into 3.20 branch
Wed, 29 Oct 2014 16:39:36 +0100 Rémi Cardona [hooks] Fix precommit event logging message
Thu, 13 Nov 2014 10:37:44 +0100 Julien Cristau [migration] hackish black magic to bootstrap addition of formula attr during migration
Thu, 28 Aug 2014 17:41:34 +0200 Sylvain Thénault [CWEP002 migration] support sync_schema_props_perms for computed attribute
Thu, 28 Aug 2014 18:31:18 +0200 Sylvain Thénault [CWEP002 migration] support add_relation_type/add_attribute for computed attributes
Mon, 16 Jun 2014 10:08:32 +0200 Denis Laxalde [CWEP002] Account for attribute formula in schema bootstrap
Thu, 28 Aug 2014 07:44:29 +0200 Sylvain Thénault [CWEP002 migration] support sync_schema_props_perms for computed relations
Thu, 28 Aug 2014 08:02:15 +0200 Laura Médioni [CWEP002 migration] support add_relation_type for computed relations
Thu, 28 Aug 2014 07:55:33 +0200 Laura Médioni [CWEP002 migration] support drop_relation_type for computed relations
Fri, 27 Jun 2014 12:00:17 +0200 Laura Médioni [hooks] do not abuse of inheritance for CWRType hooks
Thu, 28 Aug 2014 18:12:28 +0200 Sylvain Thénault Fix test migration crash waiting to happen due to inferred relations
Thu, 28 Aug 2014 07:42:10 +0200 Sylvain Thénault fix typo in syncschema hooks
Wed, 16 Jul 2014 17:20:55 +0200 Julien Cristau [hooks/syncschema] avoid altering a dropped table
Mon, 07 Apr 2014 18:04:56 +0200 Julien Cristau Fix constraint sync during migration
Mon, 07 Apr 2014 17:02:04 +0200 Julien Cristau merge 3.18.4 into default
Tue, 01 Apr 2014 16:48:34 +0200 Julien Cristau [hooks/syncschema] work with connections not sessions
Tue, 01 Apr 2014 18:09:46 +0200 Aurelien Campeas [merge] bring the 3.17.14 fixes to 3.18 stable
Thu, 27 Mar 2014 14:32:21 +0100 Sylvain Thénault [migration] always rebuild infered relation stable
Mon, 10 Mar 2014 15:17:50 +0100 Denis Laxalde [migractions] Better handle removal of RQLConstraint in sync_schema stable cubicweb-centos-version-3.17.14-1 cubicweb-debian-version-3.17.14-1 cubicweb-version-3.17.14
Thu, 27 Feb 2014 18:10:29 +0100 Aurelien Campeas [hooks/syncschema] do not crash on double removal of a constraint stable
Tue, 21 Jan 2014 18:30:16 +0100 Aurelien Campeas [schema] fix composite deletion handling
Thu, 23 Jan 2014 13:47:28 +0100 Sylvain Thénault [multi-sources-removal] Drop entities.source column
Wed, 22 Jan 2014 15:49:32 +0100 Sylvain Thénault [multi-sources-removal] Simplify ConnectionsSet internal structures and public methods
Tue, 21 Jan 2014 18:20:28 +0100 Sylvain Thénault [multi-sources-removal] Drop deleted_entities system table and entities.mtime column
Mon, 13 Jan 2014 13:47:47 +0100 Julien Cristau merge 3.18.0 in 3.19 branch
Wed, 08 Jan 2014 12:09:44 +0100 Aurelien Campeas [schema] fix unique together index handling
Tue, 17 Dec 2013 14:50:29 +0100 Sylvain Thénault [yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
Fri, 23 Aug 2013 15:06:27 +0200 Aurélien Campeas [schema] store default attribute values in a Bytes field, allowing python objects as default values
Thu, 27 Jun 2013 11:19:32 +0200 Pierre-Yves David [migraction] do not access session.data directly
Wed, 24 Apr 2013 14:42:43 +0200 Sylvain Thénault [repo] kill rebuildinfered feature from Repository.set_schema
Thu, 28 Mar 2013 12:32:26 +0100 Pierre-Yves David merge 3.15.x into 3.16.x stable
Thu, 28 Mar 2013 11:45:17 +0100 Pierre-Yves David [migration] fix bug in `CWAttributeAddOp.revertprecommit_event` oldstable
Mon, 11 Mar 2013 18:37:01 +0100 Pierre-Yves David merge stable fix into default
Mon, 11 Mar 2013 14:46:09 +0100 Aurelien Campeas [hooks/syncschema] do not crash when adding a new entity type (closes #2741643) stable
Thu, 14 Feb 2013 16:01:24 +0100 Nicolas Chauvat [toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)
Thu, 14 Feb 2013 15:38:25 +0100 Nicolas Chauvat [toward-py3k] rewrite to "except AnException as exc:" (part of #2711624)
Mon, 17 Sep 2012 17:48:55 +0200 Sylvain Thénault [validation error] refactor validation error handling so translation is done on the web side
Fri, 07 Sep 2012 13:48:55 +0200 Aurelien Campeas [hooks/syncshema] fix logging level and nicer message (wrong changeset published previously) stable
Fri, 31 Aug 2012 13:19:39 +0200 Aurelien Campeas [hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393) stable
Fri, 10 Feb 2012 16:53:52 +0100 Sylvain Thénault backport stable
Fri, 10 Feb 2012 16:53:17 +0100 Sylvain Thénault [schema sync hooks] fix format string stable
Fri, 03 Feb 2012 14:32:11 +0100 Aurelien Campeas [hooks/syncschema] do not crash if the schema did not learn (yet) some new META rtype (closes #2171313) stable
Mon, 23 Jan 2012 13:25:02 +0100 Sylvain Thénault [vreg] move base registry implementation to logilab.common. Closes #1916014
Thu, 19 Jan 2012 18:44:41 +0100 Sylvain Thénault [schema synchronization] don't use sql for TODAY/NOW in keyword arg. Closes #2154815 stable
Mon, 05 Dec 2011 13:37:40 +0100 Julien Cristau [schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
Mon, 21 Nov 2011 17:58:18 +0100 Alexandre Fayolle use dbhelper functions to get default date / datetime (closes #2094544)
Wed, 28 Sep 2011 10:36:41 +0200 Sylvain Thénault [sync schema hooks] pylint fixes have broken hasattr test stable
Wed, 28 Sep 2011 09:27:42 +0200 Sylvain Thénault [pylint] fix pylint detected errors and tweak it so that pylint -E will be much less verbose next time (+ update some copyrights on the way) stable
Wed, 21 Sep 2011 17:38:00 +0200 Sylvain Thénault [exceptions] stop catching any exception in various places (closes #1942716) stable
Mon, 27 Jun 2011 15:30:52 +0200 Sylvain Thénault backport stable
Wed, 22 Jun 2011 18:24:56 +0200 Sylvain Thénault cleanup stable
Wed, 15 Jun 2011 17:16:19 +0200 Sylvain Thénault backport stable
Tue, 14 Jun 2011 17:15:39 +0200 Sylvain Thénault [sync schema hooks] consider etype name map before trying to update in-memory schema stable
Mon, 06 Jun 2011 16:13:09 +0200 Sylvain Thénault [schema] support for BigInt type. Closes #1720995
Thu, 19 May 2011 10:53:11 +0200 Sylvain Thénault [repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Wed, 06 Apr 2011 10:17:48 +0200 Sylvain Thénault rephrase stable
Wed, 06 Apr 2011 09:57:28 +0200 Sylvain Thénault [schema synchronization] get back eid when adding a final entity type, else it may cause pb on later schema synchronization during the migration where the type is added stable
Fri, 18 Feb 2011 16:30:02 +0100 Sylvain Thénault [schema sync] we don't want to react on after_update_entity, it may only causes bug. CWUniqueConstraint should be deleted then a fresh one readded on change (as we do in sync_schema_props_perms) stable
Wed, 09 Feb 2011 18:04:04 +0100 Sylvain Thénault [doc] update some copyrights stable
Tue, 25 Jan 2011 12:09:59 +0100 Alexandre Fayolle improve massive deletion performance stable
Thu, 13 Jan 2011 12:36:08 +0100 Sylvain Thénault [schema] fix pb with ambiguous relation used within UniqueTogetherConstraint by having CWUniqueTogetherConstraint.relation targeting CWRType instead of CWAttribute/CWRelation. This fixes 3.10.7 migration. stable
Thu, 06 Jan 2011 18:53:00 +0100 Sylvain Thénault [schema hook] don't depends on lgc.testlib, hence unittest2 for a dumb mock stable
Sat, 18 Dec 2010 23:11:58 +0100 Sylvain Thénault backport oldstable stable
Thu, 09 Dec 2010 15:23:10 +0100 Alexandre Fayolle brown paperbag fix oldstable
Thu, 09 Dec 2010 14:55:51 +0100 Alexandre Fayolle make rename_table work with MS SQL (needs updated logilab.database) oldstable
Sat, 09 Oct 2010 00:05:52 +0200 Sylvain Thénault [schema / sources] store data sources as cubicweb entities
Sat, 09 Oct 2010 00:05:50 +0200 Sylvain Thénault [hook/operation] nicer api to achieve same result as set_operation, as described in #1253630
Thu, 23 Sep 2010 23:28:58 +0200 Sylvain Thénault backport stable
Wed, 22 Sep 2010 10:00:36 +0200 Alexandre Fayolle use new logilab.database interface for multicol indexes stable
Thu, 16 Sep 2010 18:56:35 +0200 Sylvain Thénault backport stable into default
Thu, 16 Sep 2010 13:37:25 +0200 Sylvain Thénault [syncschema hooks] simplify core types definition be reusing schema sets (remove typos on the way) stable
Mon, 13 Sep 2010 15:15:21 +0200 Sylvain Thénault backport stable
Fri, 10 Sep 2010 16:48:58 +0200 Alexandre Fayolle unique_together integration in CW (alf+syt) stable
Mon, 06 Sep 2010 15:03:11 +0200 Sylvain Thénault backport stable
Fri, 27 Aug 2010 08:56:58 +0200 Adrien Di Mascio [migration] fix add_relation_type() for symmetric relations stable
Wed, 25 Aug 2010 10:29:18 +0200 Sylvain Thénault [session] cleanup hook / operation / entity edition api
Wed, 11 Aug 2010 16:16:25 +0200 Sylvain Thénault [cleanup] remove debug print stable
Fri, 06 Aug 2010 17:38:45 +0200 Sylvain Thénault [migration] when some inlined relation definition is added to an entity type which has some specialized types, it should be propagated to those types else they may miss the necessary table column to store the relation stable
Wed, 21 Jul 2010 12:41:14 +0200 Sylvain Thénault [schema sync] if something went wrong while getting rdef in precommit event, rdef adttribute won't be set in revertprecommit. We don't want to fail in such case stable
Mon, 05 Jul 2010 18:25:19 +0200 Sylvain Thénault [schema migration] import refactoring to fix #1109558 and enhances things on the way
Mon, 05 Jul 2010 13:35:15 +0200 Sylvain Thénault [selectors] use before-registry-reset event to init is_instance cache: cleaner code and avoid reloading bug (making hooks test fail for instance)
Mon, 05 Jul 2010 12:04:32 +0200 Sylvain Thénault [selectors] provide a new, optimized, is_instance selector that should at some point replace implements (along with the adaptable selector)
Thu, 01 Jul 2010 17:06:37 +0200 Sylvain Thénault backport stable
Thu, 01 Jul 2010 08:47:24 +0200 Sylvain Thénault [migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1 stable
Thu, 01 Jul 2010 08:32:27 +0200 Sylvain Thénault [schema migration] fix name error introduced in parent changeset stable
Thu, 01 Jul 2010 08:13:03 +0200 Sylvain Thénault [schema migration] avoid potential duplicated ft reindexation due to multiple UpdateFTIndexOp operations by using set_operation stable
Thu, 24 Jun 2010 16:03:57 +0200 Alexandre Fayolle fix name error stable
Thu, 24 Jun 2010 15:59:17 +0000 Alexandre Fayolle fix schema migration hooks (partial) stable
Mon, 21 Jun 2010 13:23:11 +0200 Sylvain Thénault backport stable
Mon, 21 Jun 2010 09:36:40 +0200 Sylvain Thénault [schema migration] fix fix introduced in 5803:589e2e3fb997, test for backend alter column support should be done in the operation, else the associated index is not dropped while this is supported stable
Mon, 21 Jun 2010 08:54:12 +0200 Sylvain Thénault [schema migration] fix backend compatibility issue by using type_from_constraints / sql_change_col_type instead of bare ALTER COLUMN stable
Mon, 21 Jun 2010 08:53:13 +0200 Sylvain Thénault [schema migration] don't try to drop column if backend doesn't support column alteration (eg sqlite) stable
Sun, 20 Jun 2010 15:09:42 +0000 Alexandre Fayolle Use SQL standard ALTER TABLE command (with ADD instead of ADD COLUMN) stable
Thu, 17 Jun 2010 15:15:52 +0200 Sylvain Thénault backport stable
Thu, 17 Jun 2010 15:08:25 +0200 Katia Saurfelt [text search] fix fulltext_container indexation stable
Thu, 20 May 2010 20:50:03 +0200 Sylvain Thénault [schema migration] make some stuff to ease file 1.9 migration : we want to kill the Image entity so that existing image are turned into (existing entity type) File entities
Thu, 20 May 2010 20:47:55 +0200 Sylvain Thénault [entity] introduce a new 'adapters' registry
Wed, 28 Apr 2010 12:24:20 +0200 Sylvain Thénault backport oldstable changes stable
Wed, 28 Apr 2010 12:15:52 +0200 Sylvain Thénault replace logilab-common by CubicWeb in disclaimer oldstable
Wed, 28 Apr 2010 12:14:22 +0200 Sylvain Thénault backport default into stable: stable is now cw 3.8
Wed, 28 Apr 2010 10:06:01 +0200 Sylvain Thénault proper licensing information (LGPL-2.1). Hope I get it right this time. stable
Wed, 07 Apr 2010 14:26:35 +0200 Sylvain Thénault #759035: Automate addition of eid cachekey in RQL analysis
Thu, 18 Mar 2010 17:39:17 +0100 Sylvain Thénault backport stable
Thu, 18 Mar 2010 17:33:54 +0100 Sylvain Thénault cleanup stable
Wed, 17 Mar 2010 09:23:27 +0100 Sylvain Thénault backport stable
Wed, 17 Mar 2010 09:21:58 +0100 Sylvain Thénault [cleanup] objtype not used stable
Wed, 17 Mar 2010 09:21:13 +0100 Sylvain Thénault [schema sync] test and fix bug when updating multiple constraint for the same rdef in the same transaction stable
Tue, 09 Mar 2010 11:05:29 +0100 Sylvain Thénault backport stable
Tue, 09 Mar 2010 10:53:38 +0100 Sylvain Thénault [schema hooks] properly check for changes of schema properties avoid useless costly operation (such as full-text reindexing all entities of a type). Refactor inlined handling and fix a bug trying to reindex a final entity type on the way. stable
Tue, 09 Mar 2010 08:59:43 +0100 Sylvain Thénault [repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Mon, 08 Mar 2010 09:51:29 +0100 Sylvain Thénault backport stable
Mon, 08 Mar 2010 09:05:17 +0100 Sylvain Thénault [cleanup] fti_* method already try/except exception, no need for additional catch here stable
Mon, 08 Mar 2010 09:04:36 +0100 Sylvain Thénault [hook] use entity instead of values dict, check for edited_attributes on rtype change stable
Mon, 08 Mar 2010 09:03:43 +0100 Sylvain Thénault [schema hook] fulltext_container is a relation *type* property. Test and fix (+ more fti properties change testing) stable
Thu, 04 Mar 2010 18:06:03 +0100 Sylvain Thénault backport stable
Thu, 04 Mar 2010 18:04:26 +0100 Sylvain Thénault [cleanup] add index_entity to abstract source, add docstring stable
Thu, 04 Mar 2010 18:02:33 +0100 Sylvain Thénault [fti] refactor and fix full text indexation handling stable
Wed, 03 Mar 2010 17:56:04 +0100 Sylvain Thénault schema serialization optimization by using eids instead of type names. Heavy refactoring/cleanup on the way
Fri, 26 Feb 2010 13:30:24 +0100 Sylvain Thénault pylint suggested refactorings stable
Fri, 26 Feb 2010 13:24:47 +0100 Sylvain Thénault pylint style fixes stable
Fri, 26 Feb 2010 13:19:14 +0100 Sylvain Thénault kill dead/useless code as suggested by pylint stable
Thu, 18 Feb 2010 14:30:23 +0100 Pierre-Yves David [fix] Apply fulltextindexed change in the actual index stable
Thu, 18 Feb 2010 10:54:50 +0100 Sylvain Thénault turn default logging threshold to warning (we usually want them), and log 'no schema for eid' pb using warning instead of error, so we see them in logs but not during migration stable
Tue, 16 Feb 2010 09:23:35 +0100 Sylvain Thénault don't let set_schema making commit_event fail
Mon, 15 Feb 2010 15:10:25 +0100 Sylvain Thénault follow yams api change: attributes permissions are now defined for stable
Fri, 05 Feb 2010 11:56:57 +0100 Sylvain Thénault fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Wed, 27 Jan 2010 10:00:19 +0100 Sylvain Thénault missing import
Mon, 18 Jan 2010 19:21:30 +0100 Sylvain Thénault backport stable branch
Tue, 22 Dec 2009 10:27:49 +0100 Sylvain Thénault backport stable
Wed, 09 Dec 2009 12:41:05 +0100 Sylvain Thénault use implements instead of entity_implements
Tue, 08 Dec 2009 19:16:56 +0100 Sylvain Thénault fix infered rdef propagation
Tue, 08 Dec 2009 18:05:10 +0100 Sylvain Thénault yams api update
Tue, 08 Dec 2009 16:45:01 +0100 Sylvain Thénault give group mapping where needed
Tue, 08 Dec 2009 16:41:43 +0100 Sylvain Thénault 3.6 api update
Mon, 07 Dec 2009 19:14:49 +0100 Adrien Di Mascio [migration] write migration instructions for permissions handling on relation definition
Mon, 07 Dec 2009 05:09:09 -0800 Sandrine Ribeau fix bad merge
Fri, 20 Nov 2009 19:35:54 +0100 Sylvain Thénault backport stable branch (one more time painfully)
Wed, 21 Oct 2009 17:32:20 +0200 Sylvain Thénault backport stable branch
Mon, 19 Oct 2009 17:35:33 +0200 Sylvain Thénault forgotten some part of a merge
Mon, 19 Oct 2009 15:16:41 +0200 Sylvain Thénault backport stable
Tue, 13 Oct 2009 18:20:05 +0200 Sylvain Thénault 3.6 update
Wed, 07 Oct 2009 12:31:08 +0200 Sylvain Thénault backport stable branch
Wed, 30 Sep 2009 18:57:42 +0200 Sylvain Thénault backport stable branch
Wed, 23 Sep 2009 13:41:18 +0200 Sylvain Thénault move hooks test to the hooks package, update them to work with a minimal schema
Wed, 23 Sep 2009 11:20:29 +0200 Sylvain Thénault fix class name
Wed, 23 Sep 2009 11:03:57 +0200 Sylvain Thénault fix some name errors
Wed, 23 Sep 2009 11:03:38 +0200 Sylvain Thénault typo
Wed, 23 Sep 2009 11:03:14 +0200 Sylvain Thénault should be a after_add hook
Wed, 23 Sep 2009 10:21:37 +0200 Sylvain Thénault access to schema through vreg
Wed, 23 Sep 2009 08:42:52 +0200 Sylvain Thénault [appobjects] use __regid__ instead of __id__, more explicit
Fri, 21 Aug 2009 16:26:20 +0200 Sylvain Thénault somewhat painful backport of 3.5 branch, should mostly be ok
Tue, 18 Aug 2009 09:25:44 +0200 Sylvain Thénault remove some deprecation warnings
Tue, 18 Aug 2009 09:12:52 +0200 Sylvain Thénault [hooks] missing declaration
Mon, 17 Aug 2009 18:37:16 +0200 Sylvain Thénault fix name error
Mon, 17 Aug 2009 18:35:46 +0200 Sylvain Thénault don't do this: already defined as a (deprecated) read-only property
Fri, 14 Aug 2009 14:31:25 +0200 Sylvain Thénault use ._cw instead of .cw_req
Fri, 14 Aug 2009 11:14:10 +0200 Sylvain Thénault rewrite hooks in sobjects as new Hook style into hooks sub-package
Fri, 14 Aug 2009 09:26:41 +0200 Sylvain Thénault [hooks] major refactoring:
less more (0) tip