Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Apr 2010 09:06:16 +0200] rev 5145
added information about the naming conventions in schema.py
also:
* some typo fix
* note about ObjectRelation soon being deprecated
* clarified a few hazy points
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Apr 2010 17:27:53 +0200] rev 5144
[doc/book] a new chapter on how to use the ORM
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 16:10:35 +0200] rev 5143
improved doc on selectors an vregistry
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 16:10:17 +0200] rev 5142
fix rest formatting
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:40:32 +0200] rev 5141
typo fix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:36:54 +0200] rev 5140
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:28:43 +0200] rev 5139
catch and log errors caused by bad json data
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 13:48:16 +0200] rev 5138
list allowed values for ldap protocol setting in help, so that the generated file includes this in a comment
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Apr 2010 13:53:27 +0200] rev 5137
[doc/book] enhance i18n section #656191
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 10:04:33 +0200] rev 5136
[doc] more (doc oriented) feature in list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:56:40 +0200] rev 5135
[doc] enhanced setup section: fix sections'level, more postgres tips, merge environment doc with cwconfig.py module docstring using custom autodocstring directive
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:55:30 +0200] rev 5134
[doc] enhanced concepts section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:54:03 +0200] rev 5133
remove ref to no more existing file
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 02 Apr 2010 08:44:00 +0200] rev 5132
[cleaning] simpler implementation of cmd_create_entity
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 02 Apr 2010 08:43:01 +0200] rev 5131
[storages] fix fs_importing side-effect on entity.data
When creating a new File object, if fs_importing is set,
we want entity.data to be the file content instead of the
filepath for the rest of the transaction.
(see test_bfss_fs_importing_transparency) for test implementation
To make this possible, the storage hooks (entity_added / entity_updated)
must return the correct value to set in the entity dict.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 11:48:18 +0200] rev 5130
nicer warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 10:36:56 +0200] rev 5129
[doc] started full features list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:24:53 +0200] rev 5128
[python] take care to this detail of @contextmanager: if an unhandled exception occurs in the block, it is reraised inside the generator at the point where the yield occurred
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:24:11 +0200] rev 5127
[entity] explain why the assert failed
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