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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:44:24 +0100] rev 5010
[cleanup] rename dbms_helper to dbhelper for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:42:17 +0100] rev 5009
[entity] we also have to override dict.pop to properly maintain edited_attributes consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:41:26 +0100] rev 5008
[bfss test] some minor refactoring. Test deletion + creation/update/deletion rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:27:09 +0100] rev 5007
don't put hooks deleting orphan composites into the 'integrity' category, we usually want it when integrity is deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:38:23 +0100] rev 5006
[facet] allow to specify a target type on relation facets for case such as Keyword/CodeKeyword where we only targets Keyword
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:38:19 +0100] rev 5005
don't rewrite config's url during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:04:59 +0100] rev 5004
le patch rql26 a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 17:58:05 +0100] rev 5003
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 24 Mar 2010 15:18:48 +0100] rev 5002
[D] book: update backup procedures in additional tips
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:42:23 +0100] rev 5001
[cleanup] remove accidentaly commited print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:40:57 +0100] rev 5000
[test] don't try to reset session manager during test,
this leads to weird failures when running multiple tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:22:01 +0100] rev 4999
don't update dontcheck until everything went fine:
see usage in after_update_entity, where if we got an Unauthorized at
hook time, we will retry and commit time.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:21:21 +0100] rev 4998
[test] having two eid relations is now forbiden by rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:09:49 +0100] rev 4997
[web test] a basic test, to be completed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:09:21 +0100] rev 4996
[test] don't clear rtags during tests, may cause breakage with manually import appobjects modules (see unittest_tracker for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:08:24 +0100] rev 4995
[web] move workflow related uicfg stuff to the workflow module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:17:01 +0100] rev 4994
dont get eid from entity's dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:12:47 +0100] rev 4993
[notification] don't create 'changes' in transaction data until actually needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:11:01 +0100] rev 4992
backport pending_operations on hi-jacked session, see comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 13:51:52 +0100] rev 4991
[entity] fix dumb name error on .set_relations(rel=None)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 13:40:53 +0100] rev 4990
[security] don't add attribute into skip_security if already in edited_attributes, else we may accidentaly skip a desired security check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:15:57 +0100] rev 4989
[repo entity] we have to provide a __delitem__ implementation as well, see example in the docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:00:51 +0100] rev 4988
[yams] on creation, specify relations anyway so we don't get spurious warning for accessing eid through the dict api on yams validation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:00:02 +0100] rev 4987
[repo] fix warning message and implementation of bw compat unsafe_execute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 10:23:57 +0100] rev 4986
stable is now 3.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 10:23:31 +0100] rev 4985
oldstable is now 3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:42:49 +0100] rev 4984
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:40:21 +0100] rev 4983
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:40:00 +0100] rev 4982
Added tag cubicweb-debian-version-3.6.3-1 for changeset f9fce56d6a0c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:39:59 +0100] rev 4981
Added tag cubicweb-version-3.6.3 for changeset 9c342fa4f1b7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:55:31 +0100] rev 4980
Added tag cubicweb-debian-version-3.7.1-1 for changeset 9194740f070e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:55:30 +0100] rev 4979
Added tag cubicweb-version-3.7.1 for changeset 6b0832bbd1da
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:04:32 +0100] rev 4978
backport debian control changes done in 3.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:52:15 +0100] rev 4977
3.6.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 18:35:04 +0100] rev 4976
ticket #636927, add ajaxhtmlhead in controller js_component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 18:16:35 +0100] rev 4975
[widget] allow kwargs passed to Select widget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:08:50 +0100] rev 4974
take care to empty breadcrumbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:06:05 +0100] rev 4973
fix bug with damned transmutation functionality, occuring when using an INSERT query which also add relation to the entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:05:05 +0100] rev 4972
update skeleton for __pkginfo__.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 09:19:42 +0100] rev 4971
don't use optional on final relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 17:58:03 +0100] rev 4970
fix security issue introduced by 4967:04543ed0bbdc: attributes explicitly set by hooks should not be checked by security hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 16:33:29 +0100] rev 4969
[form js] apply vgodard patch fixing #750056: reorderTabindex js function crashes when form dom id is not 'entityForm'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 11:11:00 +0100] rev 4968
missing unittest_main
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Sun, 21 Mar 2010 18:21:27 +0100] rev 4967
[server] add unit tests for storages
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:25:53 +0100] rev 4966
[registry] trigger reload events on set_schema()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:24:34 +0100] rev 4965
[source] only consider edited_attributes in source.preprocess_entity()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:21:31 +0100] rev 4964
[source] implement storages right in the source rather than in hooks
The problem is that Storage objects will most probably change entity's
dictionary so that values are correctly set before the source's
corresponding method (e.g. entity_added()) is called.
For instance, the BFSFileStorage will change the original binary
data and replace it with the destination file path in order to store
the file path in the database. This change must be local
to the source in order not to impact other hooks or attribute access
during the transaction, the whole idea being that the same
application code should work exactly the same whether or not a
BFSStorage is used or not.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 15:27:45 +0100] rev 4963
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:47:34 +0100] rev 4962
3.7.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:47:09 +0100] rev 4961
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:43:49 +0100] rev 4960
[etwist] cleanup, use cProfile instead of hotshot
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:43:15 +0100] rev 4959
[repo] start looping task on repo only config (though I bet more work is needed to get it actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:42:35 +0100] rev 4958
[repo] call server_startup event in start_looping_task the repo is fully started (registered in pyro for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 10:10:18 +0100] rev 4957
[security] take care uidrels may contains a relation targetting something else than a constant node (eg IN function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 10:07:30 +0100] rev 4956
[ms] this test is already done before putting a relation in uidrels
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 09:08:09 +0100] rev 4955
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 09:08:00 +0100] rev 4954
[security] experimental rqlst cache for read security: to activate using a 'security-rqlst-cache' flag in transaction data when you'll issue a lot of identic queries with only kwargs varying
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 08:18:31 +0100] rev 4953
[read security] minor optimizations