Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:19 +0200] rev 5891
[schema migration] import refactoring to fix #1109558 and enhances things on the way
the main pb demonstrated by #1109558 was due to the fact that in-memory schema
was updated in commit_event of operations. This is undesired in most cases,
since we want the modification to be taken into account in the interval between
the modification detection and the commit_event.
I've fixed this by merging in-memory schema / database alteration operations
for most important changes, doing in-memory schema changes as they are detected
and implementing a revertcommit_event method to revert them if necessary (with
exception for removal of stuff from the schema, where this is simply done in a
postcommit_event methods).
Also, I've benefited from this to support reverting of database alteration for
some operations (more to be done there), and to move so system source alteration
code to the native source code for a nicer design.
There may be some more stuff in syncschema.py that would benefit from similar
changes, but most important things are done (at least to close #1109558, w/
unittest_syncschema and unittest_migration green).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:00:33 +0200] rev 5890
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:56:02 +0200] rev 5889
[test] running transaction while session is closed are now killed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:41 +0200] rev 5888
[security] fix read rql expression insertion: we should not insert rql expr on variables only referenced in neged relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:37 +0200] rev 5887
[rql2sql] test and fix crash when OR in HAVING where both expresion are 'fake' having terms (eg not using aggregat function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:06:11 +0200] rev 5886
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:39 +0200] rev 5885
[config] use hashlib to avoid warning w/ py2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:11 +0200] rev 5884
[req] hashlib has no hash function, but has an hash1 function even in python 2.5
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:59:14 +0200] rev 5883
[utils] improve repr() of RepeatList
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:58:36 +0200] rev 5882
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:35:15 +0200] rev 5881
[selectors] use before-registry-reset event to init is_instance cache: cleaner code and avoid reloading bug (making hooks test fail for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:34:29 +0200] rev 5880
[vreg] new [before|after]-registry-reset event, taking vreg as argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:21 +0200] rev 5879
[doc] update book for adapters
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:13 +0200] rev 5878
[reledit] fix relation cardinality handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 12:04:32 +0200] rev 5877
[selectors] provide a new, optimized, is_instance selector that should at some point replace implements (along with the adaptable selector)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 19:14:48 +0200] rev 5876
[web/views/massmailing] fix cancel button msg/icon
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 02 Jul 2010 19:05:58 +0200] rev 5875
[testlib] improve test description messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:56:05 +0200] rev 5874
[web/views/reledit] fix typo (-add we used as id component in delete id)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:46:26 +0200] rev 5873
[web/test] fix test (doreledit must have a formid and this is now checked)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 18:03:18 +0200] rev 5872
[web ui] add missing image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:50:31 +0200] rev 5871
[ITree] small fixes: parent_entity is a IBreadCrumbs method, we should use .parent on ITree
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:49:23 +0200] rev 5870
restore bw compat on Entity.related_rql
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 15:26:59 +0200] rev 5869
reledit refactoring
* js handling rewritten to exploit all form capabilities (such as file upload ...)
* attribute-like composite relations (one ttype, cardinality in '?1' from composite side) are more
cutely handled, with a 'add'/'delete' additional actions/icons
* a reledit_ctrl rtag to finely control: reloading, edition and default values
* a proper chapter in the documentation (book)
* many bugfixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:44 +0200] rev 5868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:34 +0200] rev 5867
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:12 +0200] rev 5866
[idownloadable] make the download view http cache friendly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:46:09 +0200] rev 5865
[publisher] avoid useless rollback after successful commit, which clutters debug logs and may also not be cost-free
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:44:23 +0200] rev 5864
[controller] same method defined on the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:51 +0200] rev 5863
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:19 +0200] rev 5862
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5861
Added tag cubicweb-debian-version-3.8.6-1 for changeset 607a90073911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5860
Added tag cubicweb-version-3.8.6 for changeset 1a24c62aefc5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:38:56 +0200] rev 5859
[dbapi] refactor so that cw 3.8.6 can still speak with a 3.8.5 server
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:29:32 +0200] rev 5858
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Jun 2010 13:54:02 +0200] rev 5857
[bfss] fix file update to ensure file's content is available on the fs asap...
and not only at commit time. So it's consistent with entity creation behaviour.
The new file is created at assignement time and removed if the commit is
rollbacked.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:09:59 +0200] rev 5856
[ldap] fix exception handling on authentication error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:05:56 +0200] rev 5855
[ldap] cleanup password checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:02:08 +0200] rev 5854
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:58 +0200] rev 5853
[css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:22 +0200] rev 5852
bump version number to trigger migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 00:39:46 +0200] rev 5851
3.8.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:46:58 +0200] rev 5850
[migration] schema should be accessed through .repo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:06:37 +0200] rev 5849
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 09:23:39 +0200] rev 5848
[security] use set_operation for relation permission checking operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:47:24 +0200] rev 5847
[migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1
so the code looks better and avoid clutering lgdb api. Depends on lgdb 1.0.5.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:32:27 +0200] rev 5846
[schema migration] fix name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:13:03 +0200] rev 5845
[schema migration] avoid potential duplicated ft reindexation due to multiple UpdateFTIndexOp operations by using set_operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 18:47:10 +0200] rev 5844
[sql generation] fix bug with inlined relation and referenced by other neged relation
we should check in that the column is not null in such cases
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:35 +0200] rev 5843
[refactor] refactor rtag keys generations.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:13 +0200] rev 5842
[fix] fix a uicfg bug in autoform_section
When several rtags matches the same relation (for example "* login *" and
"CWUser login *") inconsistent rtag could be merged.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:50:06 +0200] rev 5841
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:43:36 +0200] rev 5840
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:51 +0200] rev 5839
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:48 +0200] rev 5838
[login form] fix bad login field label by using pgettext
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:44:47 +0200] rev 5837
updated docstrings on Operation class
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:42:48 +0000] rev 5836
do not allow password-less bind: windows accepts this as Anonymous Logon
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 25 Jun 2010 11:29:48 +0200] rev 5835
[#969169] don't display remove link in edition forms if the cardinality is 1
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 16:03:57 +0200] rev 5834
fix name error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 15:59:17 +0000] rev 5833
fix schema migration hooks (partial)
SQL Server requires some additional steps to alter columns
(index drop and restore, etc...) and this in turn requires
passing a connection on the DB to find out the indexes.
Also partially fix an issue where the null_allowed value was
not correctly computed. Still some problems in there
(see https://www.logilab.net/cwo/ticket/1109558)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:36:22 +0200] rev 5832
delete trailing whitespace