Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:23:57 +0200] rev 5126
[test] fix expected error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 17:02:51 +0200] rev 5125
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 17:02:21 +0200] rev 5124
fix #822890, missing argument on abstract source backup method make backup failed on multi-sources instances
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 16:00:16 +0200] rev 5123
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:59:32 +0200] rev 5122
[schema] ensure we don't remove has_text relation type unfortunatly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:39:09 +0200] rev 5121
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:37:41 +0200] rev 5120
Added tag cubicweb-debian-version-3.7.3-1 for changeset 44c7bf90df71
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:37:40 +0200] rev 5119
Added tag cubicweb-version-3.7.3 for changeset 768beb8e15f1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:04:36 +0200] rev 5118
[distrib] fix pkginfo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:55:54 +0200] rev 5117
3.7.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:50:30 +0200] rev 5116
[hooks] better message on bad .event class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:46:04 +0200] rev 5115
[repository] forbid usage of set_attributes() in before_add_entity
set_attributes() will generate a RQL query that will silently fail.
An explicit error is better.
You can still use the ``entity[attr] = value`` notation that
won't generate a SQL query but still update the inner state
of the entity and its edited_attributes attribute.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:32:19 +0200] rev 5114
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:32:07 +0200] rev 5113
[cleanup] tb already printed by self.exception; add note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:28:40 +0200] rev 5112
[facet] fix 'bookmark this search':
* vid wasn't included in the link generated by the facet box
* proper url quoting in both js / box code (try an has_text search with '&' inside...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:27:02 +0200] rev 5111
[widget] more wide textarea on bookmark edition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 13:35:44 +0200] rev 5110
[distribution] the web/data/images directory has to be handled in pkginfo
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 31 Mar 2010 14:25:26 +0200] rev 5109
[test] use the new temporary_appojects CM to simplfy unittest_storage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:53:24 +0200] rev 5108
[session] try to reconnect on unexpected error in system_sql. We need this for proper reconnection of pool used by hooks or looping task doing sql queries (such as cw_cleanup_transaction)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:51:35 +0200] rev 5107
[source] log attempt to reconnect using warning level. Also, don't relog failed sql (already logged)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:33:47 +0200] rev 5106
[test] avoid critical log by informing the source we consider Personne as a multi-sources type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:33:09 +0200] rev 5105
[test] use new temporary_appobjects context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:32:39 +0200] rev 5104
[test] that doesn't smell good but fix the test...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:22:20 +0200] rev 5103
[vreg] we do want the opposite...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:26:07 +0200] rev 5102
[testlib] simple helper method to register temporary appobjects (hooks for instance) with a context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:21:39 +0200] rev 5101
[undo] fix transactions table name in cleanup operation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 31 Mar 2010 11:52:15 +0200] rev 5100
Add context management methode to dbapi.Connection
the connection is automaticly closed when exiting the context.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 11:41:20 +0200] rev 5099
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 11:41:17 +0200] rev 5098
[i18n] use named substitution to avoid gettext warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 10:56:43 +0200] rev 5097
[dataimport] print transaction id when we get one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:58:44 +0200] rev 5096
[cleanup] add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:58:20 +0200] rev 5095
[optimisation] _select_best is used very intensivly. Peanuts optimization may count :)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:57:18 +0200] rev 5094
[optimization] traced_selection is used very intensively in debug mode
optimizing it is worth the pain. Basically : don't do stuff unnecessary
when we don't trace anything.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:55:19 +0200] rev 5093
[optimization] improve massive write performance by optimizing hooks selection
profiling on some massive deletion showed up that 2/3 of the time was spent
in hooks selection. Those changes make it much more acceptable (through
selection is still not negligeable):
* use one registry for each event, so we've much less hooks to check
when emiting an event as well as no more need for the match_event
selector. This required ability to put one appobject
into several registries, using a __registries__ class attribute.
* check for deprecated .enabled at registry initialization time instead
of at selection time
A very simple HooksManager class has been reintroduce to choose the
right registry on call_hooks.
Those optimisations leads to a ~x3 factor of time necessary to delete
16000 entities.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:45:14 +0200] rev 5092
[upgrade] after upgrade, fork command to start instance avoid grave uicfg pb (explicit rules all removed...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 19:59:56 +0200] rev 5091
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 19:55:20 +0200] rev 5090
[repo creation] removing existing entities of 'single' cardinality relatino should be considered as 'activeintegrity' hook. Also don't disable that category during repo creation to avoid pb such as two default workflows for one entity types
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 30 Mar 2010 18:41:17 +0200] rev 5089
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 30 Mar 2010 16:29:32 +0200] rev 5088
handle Service Close request correctly (closes #736039)
The windows event self._stop_event was not used, and twisted was not getting a
chance of terminating cleanly by calling its shutdown event handlers (which
would eventually call pyro_unregister). Fixed by calling reactor.stop()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:59:18 +0200] rev 5087
[js form validation] fix case where we've None/null keys in the errors dictionnary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:56:10 +0200] rev 5086
[cleanup] exists imported, use it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:54:28 +0200] rev 5085
[form] CompoundField should not return itself in actual_fields, this avoid error on iliane with 3.7.2 where it's marked as required (from the schema) while value are provided by subfields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:50:09 +0200] rev 5084
[repo] we want a hooks manager and hooks initialized event on quick start (we trigger events such as server_backup / server_restore for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:29:03 +0200] rev 5083
[distribution] sql extensions files now have proper extension, fix manifest file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 14:32:03 +0200] rev 5082
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:32:01 +0200] rev 5081
[events manager] onevent decorator may be given extra arguments to give to em.bind
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:31:21 +0200] rev 5080
[cleanup] some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:29:55 +0200] rev 5079
[reload] on registry reloading, we should change class of users of opened session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:28:19 +0200] rev 5078
[appobject imports] don't include __init__ in package's name. See comment for more info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:27:30 +0200] rev 5077
[rset] cubes such as iliane hi-jack rset description by poping some lines from it. Handle this on RepeatList
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:18:31 +0200] rev 5076
[undo] basic support for undoing of entity creation / relation addition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:17:50 +0200] rev 5075
[undo] init entity cache when undoing an entity deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:17:21 +0200] rev 5074
[undo] consistent is/is_instance_of processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:15:57 +0200] rev 5073
[repo] don't need rset description on those queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:15:08 +0200] rev 5072
[cleanup] style fixes, add nodes, 0.2 cents refactorings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:06:13 +0200] rev 5071
[undo] during undoing, call hooks in the [active]integrity and undo categories