Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:39:28 +0200] rev 6238
[basecontroller] pagination / ajax fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:38:41 +0200] rev 6237
[basecontroller] handle case where the query is prefixed by 'rql:' as allowed by the search input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:37:32 +0200] rev 6236
[repo tests] add test case for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:36:29 +0200] rev 6235
[primary view] properly handle case where view specified in pvdc['vid'] isn't selectable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:35:42 +0200] rev 6234
[primary view] don't need to pick arbitrary target, this is properly handled by the rtag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:28 +0200] rev 6233
[schema] turn comment into docstring for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:01 +0200] rev 6232
[schema] ensure DISTINCT is displayed for constraint using it, this ease debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:29 +0200] rev 6231
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:26 +0200] rev 6230
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:48:44 +0200] rev 6229
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:47:11 +0200] rev 6228
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:47:03 +0200] rev 6227
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:46:52 +0200] rev 6226
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 15:15:21 +0200] rev 6225
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6224
Added tag cubicweb-debian-version-3.9.6-1 for changeset 7d2cab567735
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6223
Added tag cubicweb-version-3.9.6 for changeset d37428222a63
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:46 +0200] rev 6222
[migration] attempt to fix pre 3.6 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:20 +0200] rev 6221
[migration] remove buggy assertion
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:56:09 +0200] rev 6220
[js] jqNode is more robust here wrt some node ids
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:55:37 +0200] rev 6219
[migration] .pop() is more readable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 12:24:11 +0200] rev 6218
[form fields] option may be a 3-uple (3d element being dict containing widget options)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 11:00:22 +0200] rev 6217
[migration] fix so that context modification are reflected on the currently executed migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:51:55 +0200] rev 6216
3.9.6
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 10:01:43 +0200] rev 6215
[javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 09:56:10 +0200] rev 6214
[javascript] fix test_ajax.js implementation
In cubicweb.ajax.js, we maintain two lists (cw.loaded_src and cw.loaded_href)
to keep track of already included CSS and JS. (see discussion about
jQuery and $('foo').appendTo($head) in _loadAjaxHtmlHead.)
Since all tests are executed in the "same page", those two
variables need to be reinitialized before each test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:00:05 +0200] rev 6213
[migration] commit just after symetric has been renamed to symmetric (else later rollback may cancel this)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 12 Sep 2010 15:53:16 +0200] rev 6212
[doc] fix link to appendix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 18:30:38 +0200] rev 6211
nicer error reporting for unique together constraints
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 17:58:38 +0200] rev 6210
removed print_exc
syt [Fri, 10 Sep 2010 16:56:37 +0200] rev 6209
fix tests
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 16:48:58 +0200] rev 6208
unique_together integration in CW (alf+syt)
* added in-DB representation of the constraint with a new entity type (CWUniqueTogetherConstraint)
* the schema is now migrated on a sync_schema_props_perms(EType) call in the migration script
* removed the migration commands provided in the first implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:31 +0200] rev 6207
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:26 +0200] rev 6206
[test] skip unittest_fti if we don't have the required setup...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:50:43 +0200] rev 6205
[test] fix in 6203:d3dea5f84404 wasn't enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:45:46 +0200] rev 6204
[json controller] check rql is really specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:32:38 +0200] rev 6203
[test] during some tests (unittest_migrations), we should not register ClearGroupMap which is actually already there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:31:42 +0200] rev 6202
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 09:54:19 +0200] rev 6201
[c-c create] ask for database driver by default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:25:31 +0200] rev 6200
[migration] when some CWGroup is added during migration, we should reset migration handler's group mapping cache and the set telling what have been synchronized (we may be able to add some new groups on perms syncing...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:23:43 +0200] rev 6199
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:08 +0200] rev 6198
add a small c-c shell script to detect cycle for a given relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:06 +0200] rev 6197
[test] fixes to follow recent changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:05 +0200] rev 6196
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:04 +0200] rev 6195
[rset] add test for #1251252, actually fixed in rql; fix docstring and add comments in rset.related_entity to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:07:56 +0200] rev 6194
[querier test] remove some actually bad tests that were passing thanks to a sqlite bug
Now, rql has been fixed to correctly detect this kind of query can't be
answered correctly
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:32:46 +0200] rev 6193
[views] do not underline h1 titles for tabbedprimary views
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:27:53 +0200] rev 6192
[doc] improve doc thanks to user feedback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Sep 2010 10:03:30 +0200] rev 6191
[schema deserial] fix loading of schema when mapping an entity type to an existing one
To ensure rdef of the old entity type don't overwrite those already existing
on the mapped entity type.
Also rename some variables/arguments on the way to make things clearer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:34:16 +0200] rev 6190
[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:24:45 +0200] rev 6189
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:23:16 +0200] rev 6188
[integrity] fix case where we can get two entities related while the cardinality is single on the object of an inlined relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:02:08 +0200] rev 6187
[migration] propose to open pdb on error during execution of rql/sql query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:00:53 +0200] rev 6186
[migration] set ask_confirm=False by default on rqlexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:59:55 +0200] rev 6185
[c-c db-check] skip error while checking relation, useful when analyzing really broken database (after a migration failure for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:58:31 +0200] rev 6184
[c-c db-check] add missing import
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Sep 2010 18:58:20 +0200] rev 6183
[doc] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:34:42 +0200] rev 6182
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:33:33 +0200] rev 6181
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 02 Sep 2010 14:09:20 +0200] rev 6180
fix name error by adding missing import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 17:21:13 +0200] rev 6179
migration actions for unique_together constraints
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