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
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.