Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 13:20:32 +0200] rev 6178
remove buggy call to builtins._ on navigation content
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Sep 2010 21:57:12 +0200] rev 6177
[views] rename Edition to Modification and personal information to profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:37 +0200] rev 6176
[cw.utils] avoid spurious warning, ustrftime may be globally imported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:12 +0200] rev 6175
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:04:12 +0200] rev 6174
add missing msgstr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:03:11 +0200] rev 6173
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Sep 2010 15:42:14 +0200] rev 6172
[web/uicfg] better error reporting for reledit_ctrl
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 15:56:21 +0200] rev 6171
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 15:05:03 +0200] rev 6170
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 14:38:49 +0200] rev 6169
fix order of parameters in call to callfunc_every
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 31 Aug 2010 10:43:03 +0200] rev 6168
[test/entity] fix test (following mtconverter 0.8+ plain text transform change)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 15:02:34 +0200] rev 6167
[doc] add documentation on RealDatabaseConfiguration
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 14:14:54 +0200] rev 6166
[devtools] add url_publish() method on CubicWebTC to test a full publishing process from the url_resolver to the html generation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 13:44:55 +0200] rev 6165
[devtools] make CubiwebTC.login() context-manager restore the testcase connection on exit
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 09:02:41 +0200] rev 6164
[devtools] restore ability to test on real databases
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 08:56:58 +0200] rev 6163
[migration] fix add_relation_type() for symmetric relations
To check if the corresponding SQL table has to created, CWRelationAddOp
tests that the tablename is not in the 'createdtables' session variable
(i.e. the table hasn't been created before in the same transaction) and
that len(rschema.rdefs) is not greater to 1, that is the relation already
existed in the database before this transaction.
In case of symmetric relations, len(rschema).rdefs will be at least 2
since rdefs will store both (subj, obj) and (obj, subj) relation
definitions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:45:57 +0200] rev 6162
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6161
Added tag cubicweb-debian-version-3.9.5-1 for changeset 12038ca95f0f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6160
Added tag cubicweb-version-3.9.5 for changeset 0a1fce8ddc67
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:55:08 +0200] rev 6159
3.9.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:54:42 +0200] rev 6158
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:59 +0200] rev 6157
[doc, adapters] drop deprecated code from examples
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:25 +0200] rev 6156
[doc] interesting stuff backported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:51:55 +0200] rev 6155
[doc] clean ITreeAdapter documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:32 +0200] rev 6154
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:23 +0200] rev 6153
remove useless import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 10:13:48 +0200] rev 6152
use is_instance in a number of places (esp. documentation) rather than the deprecated implements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:09:18 +0200] rev 6151
[new components] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:01:58 +0200] rev 6150
remove some deprecated stuff about relation definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:58 +0200] rev 6149
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:48 +0200] rev 6148
[book] more about has_<action>_permission and enhance a bit security definition section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:29:55 +0200] rev 6147
update documentation to follow 6142:8bc6eac1fac1 changes. Try to make it better and move most doc with code on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:13:05 +0200] rev 6146
cwconfig module already used by another autodocstring. Drop this currently useless file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 13:45:41 +0200] rev 6145
more cwctl api update and fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:23:22 +0200] rev 6144
[c-c create] argument inversed accidentally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:22:47 +0200] rev 6143
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:18 +0200] rev 6142
[session] cleanup hook / operation / entity edition api
Operation api
~~~~~~~~~~~~~
* commit_event killed, recently introduced postcommit_event is enough and has a better name
* kill SingleOperation class, it's a) currently never used b) superseeded by set_operation if needed.
Entity edition api
~~~~~~~~~~~~~~~~~~
edited_attributes turned into a special object holding edition specific attributes:
- attributes to be edited (simply mirrored in cw_attr_cache, actual values are there)
- former _cw_skip_security set (cw_edited) and querier_pending_relations
It has also been renamed to `cw_edited` on the way (it may also contains inlined relations)
The entity dict interface has been deprecated. One should explicitly use either
cw_attr_cache or cw_edited according to the need.
Also, there is now a control that we don't try to hi-jack edited attributes
once this has no more effect (eg modification have already been saved)
At last, _cw_set_defaults/cw_check internal methods have been moved to this
special object
Hook api
~~~~~~~~
hook.entity_oldnewvalue function now moved to a method of cw_edited object.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:07 +0200] rev 6141
[web api] unify 'contentnav' (VComponent) and 'boxes' registries as 'ctxcomponents' (CtxComponent)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:01:11 +0200] rev 6140
[boxes] introduce new boxes system
* separate box content generation from its layout
* refactor css classes to allow moving boxes and still get consistent ui
On the way to contentnavigation/boxes unification (in a later patch)
* * *
some fixes for the previous (default_new_boxes_system) patch
* * *
some fixes for the previous (default_new_boxes_system) patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:43:12 +0200] rev 6139
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:42:55 +0200] rev 6138
update to lgc.clcommands 0.51 api
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:59:07 +0200] rev 6137
[css] make sure the toolbar is clickable because layered over title
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:57:45 +0200] rev 6136
[dataimport] refactor commitevery to gain readability
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 12:49:28 +0200] rev 6135
[win32] no os.getuid on windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 09:07:20 +0200] rev 6134
use logilab.common.date.ustrftime in json encoder to work around datetime.strftime limitation on dates < 1900
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 08:46:24 +0200] rev 6133
use iter_and_commit in example
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 17:08:08 +0200] rev 6132
[c-c check-mapping] fix dumb name error and add a warning about inlined crossed relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 10:59:57 +0200] rev 6131
[ms] more planning bug fixes
* fix sourcesterms w/ constant: all occurences of the same constant should be there once one of them is
* fix handling of constant and relation in expand_terms:
* we should always consider system source there for constants
* for relation, we should check its lhs and rhs are in selected terms, not
that the relation is in linkedterms (this has no chance to be true)
This fixes 3 tests that were either passing erroneously (syt should be punished
for copy/paste output as test reulst without triple checking it) or were not
optimal.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:36:58 +0200] rev 6130
oops, missing part of 6125:628cf5213154 (mapping file checking)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:35:10 +0200] rev 6129
[ms] fix two planner bugs: one occuring query such as X created_by U where X in a external source and U may come from an ldap source. The other being that when we've to merge input maps, we were modifying the same tree/solutions while a copy were needed. Also, ensure we add type restrictions, necessary for pyro source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:31:02 +0200] rev 6128
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:29:48 +0200] rev 6127
[ms, c-c] new command checking for consistency / potentian flaws and enhancements of mapping file of a multi-sources instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:21:15 +0200] rev 6126
[repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:17:04 +0200] rev 6125
[migration] enhance RqlForIterator so we can do 'for e in rqliter(...).entities()'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:16:03 +0200] rev 6124
[ms] when entity is coming from an external source, don't add non final relations on complete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:15:06 +0200] rev 6123
[querier] add_types_restriction_cleanups: remove useless try/except (we already filtered out variables not in newroot.defined_vars) and dict accss. Also systematically set computed solutions instead of modifying existing ones
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 20 Aug 2010 08:46:32 +0200] rev 6122
improvements in dataimport.py
* updated the docstrings
* fixed small issues in ucsvreader_pb
* help user in using RQLObjectStore
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 19 Aug 2010 11:14:55 +0200] rev 6121
add missing semi colon in js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 16:53:05 +0200] rev 6120
[book] some more documentation and cleanups
* merged existing facets documentation with the one I've just written and
put almost everything within the code
* added a note about __depends__ and __recommends__ and about the recommends
semantic (extracted from a post on the ml)
* added a note about write security checking (extracted from a post on the ml)
* fixed some dumb sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 13:58:12 +0200] rev 6119
new RelationAttributeFacet + other fixes and cleanup + facets test
* added documentation to Relation[Attribute]Facet and AttributeFacet explaining
how to configure them
* fixed behaviour of sorting for various combinaison of attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 10:36:02 +0200] rev 6118
[migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:29 +0200] rev 6117
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:17 +0200] rev 6116
[migration] fix rename_entity_type: avoid removal of attributes on the new entity type from the schema during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:23:59 +0200] rev 6115
[migration] we can now specify attributes to backport to rename_entity_type using its attrs argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:57 +0200] rev 6114
[formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:04 +0200] rev 6113
[primary view] consider rtypevid flag for relations in the 'relations' section as well
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 17 Aug 2010 11:06:20 +0200] rev 6112
[db-fti-index] simple fix fpr progressbar-related crash when etypes is None in reindex_entities()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:43 +0200] rev 6111
[views/reledit] small refactoring
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:34 +0200] rev 6110
[views/reledit] fix bad role handling in _may_add_related
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Aug 2010 08:23:14 +0200] rev 6109
integrate Celso's work on translation file: proper/complete spanish translation, fixed some typos in french translation, occured -> occurred fix in various places
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 13 Aug 2010 13:34:47 +0200] rev 6108
[web] fix typo in ajax_build_url (s/xtml/xhtml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 18:49:20 +0200] rev 6107
[web controller] don't try to translate arbitrary exception message
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 16:50:52 +0200] rev 6106
[selectors] fix match_transition & introduce new edited_attribute selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 15:58:42 +0200] rev 6105
RQLUniqueConstraint not in CWConstraintType for some old instances
Alexandre Richardson <alexandre.richardson@logilab.fr> [Thu, 12 Aug 2010 14:41:44 +0200] rev 6104
[tableview] take care, description may include None (try Any NULL)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 11:56:33 +0200] rev 6103
fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:12:52 +0200] rev 6102
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:11:49 +0200] rev 6101
[form, migration] etype_relation_field should not raise error, it may block migration if used for a non yet existing field
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 18:11:32 +0200] rev 6100
fix bug introduced by 6098:a0fde9334dd0
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 11 Aug 2010 15:54:44 +0200] rev 6099
work around Apache's mod_proxy limitation with special chars in URLs by not using Rest urls when such a case is detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:17:05 +0200] rev 6098
[entity] base_url argument may be explicitly specified for other purpose (eg http/https site version control)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:16:25 +0200] rev 6097
[cleanup] remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 10:08:48 +0200] rev 6096
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:39:48 +0200] rev 6095
[dot] oops, should use dc_title here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:35:07 +0200] rev 6094
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 16:10:28 +0200] rev 6093
more generic dot graph generator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:28:28 +0200] rev 6092
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:27:02 +0200] rev 6091
[login template] missing xml_escape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:26:43 +0200] rev 6090
[primary] backport _rel_label method from the default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 16:05:00 +0200] rev 6089
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 14:56:31 +0200] rev 6088
[doc] docstring more explicit for pyviews
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:22:17 +0200] rev 6087
[debug] change severity of 'site_cubicweb loaded' message to debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:21:32 +0200] rev 6086
[primary] handle final relation (eg attribute) in the relations section, and give dispctrl to view's extra kwargs as for non final relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:20:21 +0200] rev 6085
[entity] entity.view now support initargs as req.view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:19:55 +0200] rev 6084
[schema view] use rdef.ACTIONS, attribute/relation don't use the same actions permission, that causes a crash for attribute rdefs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:16:12 +0200] rev 6083
[tabs] take care, vid may not be a valid dom id (for jQuery at least)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Aug 2010 08:39:06 +0200] rev 6082
[forms] callable field kwargs now always take form _and_ field parameters
+ make help kwargs accept a callable too
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Aug 2010 08:28:16 +0200] rev 6081
[forms] test abs() rql function
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 09 Aug 2010 18:48:32 +0200] rev 6080
[schema] consider ETYPE_NAME_MAP when deserializing specialization relations
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 09 Aug 2010 16:35:49 +0200] rev 6079
fix the fix
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 09 Aug 2010 11:56:12 +0200] rev 6078
fix missing import in web.request
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:49:20 +0200] rev 6077
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:38:45 +0200] rev 6076
[migration] when some inlined relation definition is added to an entity type which has some specialized types, it should be propagated to those types else they may miss the necessary table column to store the relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:37:34 +0200] rev 6075
[migration] dont crash if a group doesn't exists (it may not exists yet)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:37:06 +0200] rev 6074
[migration] fix rename_entity_type bug: not putting eids of relation deleted using sql query may cause later error on commit, complaining on missing relation on an entity which has been actually deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:35:02 +0200] rev 6073
[migration] fix crash when adding symmetric relation type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:34:24 +0200] rev 6072
[db-create] fix bug introduced by 6060:353bec342e2a (we ask for user while in non verbose mode)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:33:07 +0200] rev 6071
[session] should be _cw, not req
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:32:43 +0200] rev 6070
[primary] use a new rtypevid flag in primary view display controller, allowing to tell the view for a non final relation should be called as an attribute view (eg, not on the target rset)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:40 +0200] rev 6069
[cwprops] fix callable vocabulary of cwproperties which were inconsistently called. No more argument, should now simply return a list of (untranslated) values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:39 +0200] rev 6068
[vreg] rename select* object id argument to avoid name clash with arbitrary kwargs, just in case...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:38 +0200] rev 6067
[primary] refactor primary view handling of relation's label
to properly handle label optionaly specified in dispctrl (no more default set)
and use contextual translation by default.
Also, consistent handling in attributes, relations and sideboxes section.
Introduce new support_args function to use when possible instead of
try/except TypeError.