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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:01:34 +0200] rev 5070
[repo] refactor fti operation to use set_operation and a single operation whatever the number of entities to ft index
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:57:42 +0200] rev 5069
[querier] introduce RepeatList class, used to optimize size of data returned for result set description
When rql query has no ambiguity, we used to return the same description * N
where N is the size of the result set. Returning RepeatList class avoid
that multiplication.
According to quick benchmark this improve performance for result set whose
size is ~ > 50, has very small penalty for rset < 50, and in any case improve
the size of data to be transfered over the network through pyro connection.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:50:46 +0200] rev 5068
[repo] on add entity, set cache as soon as possible + fill type/source cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:39:16 +0200] rev 5067
[repo] more efficient eid cache operations handling based on set_operation; refactor
* split CleanupEidTypeCache operation into one operation for deleted eids
and another for added eids, and put them in cw.server.hook
* for consistency, move fti unindexing handling from the repository
to the system source
* handling of deleted eids is done in plan execution (ssplanner), no
needs to redo it in *delete_info
-> no more need for _prepare_delete_info method, killed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:28:41 +0200] rev 5066
[repo] move eschema_eid function from hooks.metadata to server.utils
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:20:03 +0200] rev 5065
[primary view] skip virtual rtypes anyway
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:18:23 +0200] rev 5064
[test] CubicWebTC.create_user expect an actual query, and we don't need to give session here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:17:29 +0200] rev 5063
[dataimport] stop disabling undo ; commit return transaction id
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 29 Mar 2010 19:10:22 +0200] rev 5062
[logging] demote static file served to debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:34:24 +0200] rev 5061
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:34:06 +0200] rev 5060
[repo] optimize massive insertion/deletion by using the new set_operation function
Idea is that on massive insertion, cost of handling the list of operation
become non negligeable, so we should minimize the number of operations in
that list.
The set_operation function ease usage of operation associated to data in
session.transaction_data, and we only add the operation when data set isn't
initialized yet, else we simply add data to the set. The operation then
simply process accumulated data.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:28:41 +0200] rev 5059
[repo] make etype which should go in deleted_entities configurable: we only need this for types imported from other multi-sources instances
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:26:20 +0200] rev 5058
[repo] don't execute child step twice in EntitiesDeleteStep
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:25:13 +0200] rev 5057
[form] consider autoform_field_kwargs for meta fields; allow required customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 11:51:46 +0200] rev 5056
[workflow] support for automatic transition starting from the initial state
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 11:51:02 +0200] rev 5055
[testlib] create_user support extra kwargs to give to create_entity(CWUser)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 10:20:01 +0200] rev 5054
fix dataimport for 3.7.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:22:04 +0100] rev 5053
use lgc.testlib.TestCase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:21:17 +0100] rev 5052
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:20:49 +0100] rev 5051
Added tag cubicweb-debian-version-3.7.2-1 for changeset 8fda29a6c219
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:20:48 +0100] rev 5050
Added tag cubicweb-version-3.7.2 for changeset d010f749c21d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 17:07:41 +0100] rev 5049
take care to empty string in cubes search path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:15:41 +0100] rev 5048
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:15:16 +0100] rev 5047
[ms] fix name error introduced by rql 0.26 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:13:27 +0100] rev 5046
add note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:54:35 +0100] rev 5045
3.7.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:54:01 +0100] rev 5044
[selectors] new is_in_state select to avoid common error when writing state based selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:53:07 +0100] rev 5043
[repo config] cleanup read_instance_schema / bootstrap_schema / creating mess
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 14:13:34 +0100] rev 5042
fix #726167: i18ninstance use data in bootstrab_cubes instead of the database one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:45:48 +0100] rev 5041
[cleanup] remove 3.7 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:45:21 +0100] rev 5040
[form controller] clear caches in case some attribute participating to the rest path has been modified, avoid redirection to a no more existant page (fix #753567)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:33:47 +0100] rev 5039
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:33:32 +0100] rev 5038
[form] fix validation error handling
* type when possible ValidationError raised by the edit controller
* don't rely on repository to check required field
* turn css class used for field error message to errorMsg to avoid
confusion with the error class added to input
* fix css when errors are added by the form renderer
* fix form renderer to add the error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:23:25 +0100] rev 5037
[captcha] handle captcha validation properly in the captcha widget
also, avoid error if pil isn't installed (only a recommendation)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:21:25 +0100] rev 5036
[testlib] __errorurl may be a relative path, check we're actually removing base url first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:20:42 +0100] rev 5035
[i18ncube] clear_rtag_objects imported when generating cube's .po file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 09:19:09 +0100] rev 5034
[maintainance] don't crash if we've no in-memory repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 09:18:21 +0100] rev 5033
[db dump/restore] fix '#615840: db-dump must be always runnable' by setting repairing on config. Also, avoid to read the whole schema from the database on dump/restore: the bootstrap schema is enough.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:32:32 +0100] rev 5032
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:30:25 +0100] rev 5031
__missing__ main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:28:22 +0100] rev 5030
[form] put qualified name on validation error, should fix #784299
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 06:57:52 +0100] rev 5029
[test] fixes when executed under apycot environment (also added ldap1 to test host /etc/hosts)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:32:10 +0100] rev 5028
...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:46:26 +0100] rev 5027
[config] move ConfigurationProblem to migration + refactor it to benefit from config methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:46:22 +0100] rev 5026
[config] more cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:38:58 +0100] rev 5025
deprecate __use__ and __recommend__
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 25 Mar 2010 20:33:03 +0100] rev 5024
add egg support with dependencies auto-installation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:32:52 +0100] rev 5023
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 19:32:04 +0100] rev 5022
fix _cubes dir
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 17:55:24 +0100] rev 5021
handle nicely typical installation other than debian package / mercurial forest
* new _find_prefix method to detect installation prefix (maybe specified using
CW_INSTALL_PREFIX environment variable)
* set various resource accessors according to this, cleanup on the way
* remove no more necessary APYCOT_ROOT hacks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Mar 2010 15:11:44 +0100] rev 5020
When a TC failed to initiliase the database, the following test are SKIPPED
When a TC failed to initiliase the database, the other test of the same TestCase
are skipped with an explicite message instead of failing later for with an
unrelated message.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 15:08:27 +0100] rev 5019
[c-c] new server_maintenance hook, called on c-c shell / upgrade
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:49:24 +0100] rev 5018
[appobject] add version number to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:33:50 +0100] rev 5017
update rql dependency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:26:13 +0100] rev 5016
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:25:44 +0100] rev 5015
fix migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:00:01 +0100] rev 5014
[cleanup] useless try except
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:59:47 +0100] rev 5013
[source storage] refactor source sql generation and results handling to allow repository side callbacks
for instance with the BytesFileSystemStorage, before this change:
* fspath, _fsopen function were stored procedures executed on the database
-> files had to be available both on the repository *and* the database host
* we needed implementation for each handled database
Now, those function are python callbacks executed when necessary on the
repository side, on data comming from the database.
The litle cons are:
* you can't do anymore restriction on mapped attributes
* you can't write queries which will return in the same rset column
some mapped attributes (or not mapped the same way) / some not
This seems much acceptable since:
* it's much more easy to handle when you start having the db on another host
than the repo
* BFSS works seemlessly on any backend now
* you don't bother that much about the cons (at least in the bfss case):
you usually don't do any restriction on Bytes...
Bonus points: BFSS is more efficient (no queries under the cover as it
was done in the registered procedure) and we have a much nicer/efficient
fspath implementation.
IMO, that rocks :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:49:07 +0100] rev 5012
[bfss] fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:46:55 +0100] rev 5011
[source storage] on deletion, entity has no edited_attributes