Tue, 09 Feb 2010 19:50:31 +0100 quick fix for typed formfield validation: accept empty string, split
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:50:31 +0100] rev 4528
quick fix for typed formfield validation: accept empty string, split
Fri, 05 Feb 2010 17:13:53 +0100 [R] devtools: improve default data import mechanism
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Feb 2010 17:13:53 +0100] rev 4527
[R] devtools: improve default data import mechanism Validation chain is now possible with checkers Before that the expected values needed to be coherent. Now, we can use ObjectStore to validate the input data * add new input transformers: - uppercase - lowercase * add new input checkers (raise AssertionError on error): - decimal: take care of possible comma character as number separator - integer: cast to int() - yesno: to validate boolean value - isalpha - required: input value *must* not be empty * new control checker: - optional: block possible exception we delete field in the returned dict instead of raising AssertionError (exclusive with required) Helper methods to manipulate indexes: * build_rqlindex() is used to build index based on already created entities * fetch() replace get_one()/get_many() methods by factorizing code Minor changes in reporting: * use tell() for all printing * let new value for askerrors to display automatically the report (used in crontab)
Tue, 09 Feb 2010 18:49:12 +0100 merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 18:49:12 +0100] rev 4526
merge
Tue, 09 Feb 2010 08:16:29 +0100 backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:16:29 +0100] rev 4525
backport stable branch
Tue, 09 Feb 2010 08:15:20 +0100 [cw-shell] do not set arbitrary limit on number of arguments stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:15:20 +0100] rev 4524
[cw-shell] do not set arbitrary limit on number of arguments
Tue, 09 Feb 2010 16:20:45 +0100 use 'edit' as defaut path for expect_redirect_publish
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:45 +0100] rev 4523
use 'edit' as defaut path for expect_redirect_publish
Tue, 09 Feb 2010 16:20:17 +0100 propagation hooks cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:17 +0100] rev 4522
propagation hooks cleanup
Tue, 09 Feb 2010 16:20:01 +0100 missing import for 2.4 compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:01 +0100] rev 4521
missing import for 2.4 compat
Tue, 09 Feb 2010 13:45:05 +0100 don't play with the custom_workflow relation in autofill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 13:45:05 +0100] rev 4520
don't play with the custom_workflow relation in autofill
Tue, 09 Feb 2010 12:55:08 +0100 fix bug w/ object relation used as inlined form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:55:08 +0100] rev 4519
fix bug w/ object relation used as inlined form
Tue, 09 Feb 2010 12:54:44 +0100 cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:54:44 +0100] rev 4518
cleanup
Tue, 09 Feb 2010 12:41:44 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:41:44 +0100] rev 4517
backport stable
Tue, 09 Feb 2010 12:39:23 +0100 turn down some info logs into debug stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:39:23 +0100] rev 4516
turn down some info logs into debug
Tue, 09 Feb 2010 12:38:59 +0100 turn down some info logs into debug stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:38:59 +0100] rev 4515
turn down some info logs into debug
Tue, 09 Feb 2010 12:37:47 +0100 fix constraint hook: a session may be involved in multiple transaction at time stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:37:47 +0100] rev 4514
fix constraint hook: a session may be involved in multiple transaction at time
Tue, 09 Feb 2010 11:22:40 +0100 fix and begin to document autofill algorithm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 11:22:40 +0100] rev 4513
fix and begin to document autofill algorithm
Mon, 08 Feb 2010 22:41:07 +0100 unset_attribute_storage, for testing purpose at least
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 22:41:07 +0100] rev 4512
unset_attribute_storage, for testing purpose at least
Mon, 08 Feb 2010 21:29:59 +0100 oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:29:59 +0100] rev 4511
oops
Mon, 08 Feb 2010 21:27:30 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:27:30 +0100] rev 4510
backport stable
Mon, 08 Feb 2010 21:22:10 +0100 when no context specified, should return non-zero score as documented
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:22:10 +0100] rev 4509
when no context specified, should return non-zero score as documented
Mon, 08 Feb 2010 21:21:50 +0100 typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:50 +0100] rev 4508
typo
Mon, 08 Feb 2010 21:21:31 +0100 no need for a specific vid argument here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:31 +0100] rev 4507
no need for a specific vid argument here
Mon, 08 Feb 2010 13:35:07 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:35:07 +0100] rev 4506
backport stable
Mon, 08 Feb 2010 15:28:34 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:34 +0100] rev 4505
merge
Mon, 08 Feb 2010 15:28:18 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:18 +0100] rev 4504
merge
Mon, 08 Feb 2010 13:42:22 +0100 add a note about modifying read only attribute stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 13:42:22 +0100] rev 4503
add a note about modifying read only attribute cf. syt's commit message in 81021d62138f
Mon, 08 Feb 2010 10:07:52 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 10:07:52 +0100] rev 4502
merge
Fri, 05 Feb 2010 17:57:51 +0100 use calendar.gmtime instead of time.mktime to avoid UTC/localtime issues with Flot stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 05 Feb 2010 17:57:51 +0100] rev 4501
use calendar.gmtime instead of time.mktime to avoid UTC/localtime issues with Flot This is suggested by the Flot documentation on http://people.iola.dk/olau/flot/API.txt
Mon, 08 Feb 2010 13:33:09 +0100 must use in-place modification, pending_operations is a read-only property stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:33:09 +0100] rev 4500
must use in-place modification, pending_operations is a read-only property
Mon, 08 Feb 2010 13:29:23 +0100 avoid to see the same warning twice, one for 3.6 another for 3.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:29:23 +0100] rev 4499
avoid to see the same warning twice, one for 3.6 another for 3.3
Mon, 08 Feb 2010 13:05:19 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:05:19 +0100] rev 4498
backport stable
Mon, 08 Feb 2010 13:03:38 +0100 fix session's commit handling: when an operation failed in [pre]commit, call rollback_event as well for already processed operation, not only the revert<event> callback stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:03:38 +0100] rev 4497
fix session's commit handling: when an operation failed in [pre]commit, call rollback_event as well for already processed operation, not only the revert<event> callback
Mon, 08 Feb 2010 13:02:05 +0100 race condition may makes this assertion fail, we don't want that stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:02:05 +0100] rev 4496
race condition may makes this assertion fail, we don't want that
Mon, 08 Feb 2010 12:25:15 +0100 unvisible field may have been modified, for instance relation added by an hidden input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:25:15 +0100] rev 4495
unvisible field may have been modified, for instance relation added by an hidden input
Mon, 08 Feb 2010 12:05:56 +0100 AdaptedList -> SameETypeList
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:05:56 +0100] rev 4494
AdaptedList -> SameETypeList *NO BW COMPAT*, benefit from cw 3.6 releasing of folder,file and blog which use it to get update at the same time. CMHN and PEGASE will need update (but won't go to 3.6 without update, so seem fine).
Mon, 08 Feb 2010 12:03:03 +0100 now raise UnknownProperty, not KeyError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:03:03 +0100] rev 4493
now raise UnknownProperty, not KeyError
Mon, 08 Feb 2010 12:02:32 +0100 fix test broken by introduction of ViewSameEType action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:02:32 +0100] rev 4492
fix test broken by introduction of ViewSameEType action
Mon, 08 Feb 2010 12:01:15 +0100 kill register_appobject_class method, simplifying autoregistration. Update test accordingly (test which manually registers object should also properly call there __register__ method). Drop the disable-appobjects config file entry: no one used it since its introduction years ago.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:01:15 +0100] rev 4491
kill register_appobject_class method, simplifying autoregistration. Update test accordingly (test which manually registers object should also properly call there __register__ method). Drop the disable-appobjects config file entry: no one used it since its introduction years ago.
Mon, 08 Feb 2010 11:08:55 +0100 backport stable branch and some vreg cleanups:
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 11:08:55 +0100] rev 4490
backport stable branch and some vreg cleanups: * move initialization_completed from cwvreg to base VRegistry class allowing simplification of CWVregistry * cleanup initialization process: __registered__ is now called after initialization completed, by the relevant registry. * fix/remove deprecated tests
Mon, 08 Feb 2010 10:06:40 +0100 fix security issue #36564 (integrity error w/ RQLUniqueConstraint) by using a global lock serializing commit when some RQLUniqueConstraint is encountered. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 10:06:40 +0100] rev 4489
fix security issue #36564 (integrity error w/ RQLUniqueConstraint) by using a global lock serializing commit when some RQLUniqueConstraint is encountered.
Mon, 08 Feb 2010 09:57:25 +0100 errors on postcommit should never occurs, log it as critical stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 09:57:25 +0100] rev 4488
errors on postcommit should never occurs, log it as critical
Sat, 06 Feb 2010 10:37:09 +0100 missing test data stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:37:09 +0100] rev 4487
missing test data
Sat, 06 Feb 2010 10:34:35 +0100 reminder, cleanup stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:35 +0100] rev 4486
reminder, cleanup
Sat, 06 Feb 2010 10:34:26 +0100 initialize property once initialization has been fully completed, close #666573 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:26 +0100] rev 4485
initialize property once initialization has been fully completed, close #666573
Sat, 06 Feb 2010 10:31:27 +0100 fix duplicated vregistry initialization during tests stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:31:27 +0100] rev 4484
fix duplicated vregistry initialization during tests
Sat, 06 Feb 2010 08:45:14 +0100 cleanup, don't fail if no context set on the sourcecode directive
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 08:45:14 +0100] rev 4483
cleanup, don't fail if no context set on the sourcecode directive
Fri, 05 Feb 2010 15:53:25 +0100 we should not use inheritance there but proper view redirection, so if one adapt listitem view, he gets the same thing by default with the adapted list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:53:25 +0100] rev 4482
we should not use inheritance there but proper view redirection, so if one adapt listitem view, he gets the same thing by default with the adapted list
Fri, 05 Feb 2010 15:44:34 +0100 hidden usage of datetime function which has been moved to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:44:34 +0100] rev 4481
hidden usage of datetime function which has been moved to lgc
Fri, 05 Feb 2010 14:58:46 +0100 i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:58:46 +0100] rev 4480
i18nupdate
Fri, 05 Feb 2010 14:46:34 +0100 replace DevCubeConfiguration/DevDepsConfiguration by a single DevConfiguration, fixing recently introduced by w/ i18ncube command on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:46:34 +0100] rev 4479
replace DevCubeConfiguration/DevDepsConfiguration by a single DevConfiguration, fixing recently introduced by w/ i18ncube command on the way
Fri, 05 Feb 2010 14:45:39 +0100 moved to lgc.date as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:45:39 +0100] rev 4478
moved to lgc.date as well
Fri, 05 Feb 2010 12:33:54 +0100 oops, forgot that part of 3.2 bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:33:54 +0100] rev 4477
oops, forgot that part of 3.2 bw compat
Fri, 05 Feb 2010 12:16:52 +0100 hercule (aka c-c client command) have not (ever?) been used for years, stop supporting it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:16:52 +0100] rev 4476
hercule (aka c-c client command) have not (ever?) been used for years, stop supporting it
Fri, 05 Feb 2010 12:14:36 +0100 kill most pre 3.2 bw compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:14:36 +0100] rev 4475
kill most pre 3.2 bw compat code
Fri, 05 Feb 2010 12:13:48 +0100 kill mx compat code (dropped since 3.2), more efficient merge_args implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:13:48 +0100] rev 4474
kill mx compat code (dropped since 3.2), more efficient merge_args implementation
Fri, 05 Feb 2010 12:05:24 +0100 this test is now useless here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:24 +0100] rev 4473
this test is now useless here
Fri, 05 Feb 2010 12:05:10 +0100 3.6 test api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:10 +0100] rev 4472
3.6 test api update
Fri, 05 Feb 2010 12:04:48 +0100 db fill api has changed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:48 +0100] rev 4471
db fill api has changed, update test accordingly
Fri, 05 Feb 2010 12:04:25 +0100 no needs for a views package, 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:25 +0100] rev 4470
no needs for a views package, 3.6 api update
Fri, 05 Feb 2010 11:58:11 +0100 need post_build_callbacks attribute with earlier yams version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:58:11 +0100] rev 4469
need post_build_callbacks attribute with earlier yams version
Fri, 05 Feb 2010 11:57:52 +0100 update yams/rql dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:57:52 +0100] rev 4468
update yams/rql dependencies
Fri, 05 Feb 2010 11:56:57 +0100 fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:56:57 +0100] rev 4467
fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Fri, 05 Feb 2010 11:54:23 +0100 moved generic datetime manipulation function to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:54:23 +0100] rev 4466
moved generic datetime manipulation function to lgc
Fri, 05 Feb 2010 08:55:21 +0100 fix wrong autoclass inclusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:55:21 +0100] rev 4465
fix wrong autoclass inclusion
Fri, 05 Feb 2010 08:54:51 +0100 fix rest syntax error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:54:51 +0100] rev 4464
fix rest syntax error
Fri, 05 Feb 2010 08:54:11 +0100 more selectors doc in the book, mostly extracted from code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:54:11 +0100] rev 4463
more selectors doc in the book, mostly extracted from code
Fri, 05 Feb 2010 08:53:33 +0100 reorganize, cleanup and properly document base selectors. Kill the may_add_relation selector.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:53:33 +0100] rev 4462
reorganize, cleanup and properly document base selectors. Kill the may_add_relation selector.
Fri, 05 Feb 2010 08:11:38 +0100 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:11:38 +0100] rev 4461
3.6 api update
Fri, 05 Feb 2010 08:11:32 +0100 clear rest_path __unique cache in clear_all_caches, fix related test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:11:32 +0100] rev 4460
clear rest_path __unique cache in clear_all_caches, fix related test
Fri, 05 Feb 2010 07:25:16 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 07:25:16 +0100] rev 4459
backport stable
Thu, 04 Feb 2010 13:17:26 +0100 copy back __doc__ for proper sphinx doc generation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 13:17:26 +0100] rev 4458
copy back __doc__ for proper sphinx doc generation
Thu, 04 Feb 2010 18:29:43 +0100 mimick actual request set_header method stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:43 +0100] rev 4457
mimick actual request set_header method
Thu, 04 Feb 2010 18:29:30 +0100 fix typo stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:30 +0100] rev 4456
fix typo
Thu, 04 Feb 2010 11:33:55 +0100 [views/treeview] fix non-ITree nodes last element computation stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:33:55 +0100] rev 4455
[views/treeview] fix non-ITree nodes last element computation
Thu, 04 Feb 2010 11:33:09 +0100 [request] add a note about the encoding mgmt (or lack thereof) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:33:09 +0100] rev 4454
[request] add a note about the encoding mgmt (or lack thereof)
Thu, 04 Feb 2010 11:32:13 +0100 [views/plot] replace bogus jsoncall computation by something (statistically) more reliable (json_request being set to True in the JSoncontroller stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:32:13 +0100] rev 4453
[views/plot] replace bogus jsoncall computation by something (statistically) more reliable (json_request being set to True in the JSoncontroller
Thu, 04 Feb 2010 11:30:47 +0100 [doc] small fixes on security part stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:30:47 +0100] rev 4452
[doc] small fixes on security part
Thu, 04 Feb 2010 10:17:15 +0100 misc typos found on my way: NameError / SyntaxError / double __select__, <sigh ...>
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 04 Feb 2010 10:17:15 +0100] rev 4451
misc typos found on my way: NameError / SyntaxError / double __select__, <sigh ...>
Wed, 03 Feb 2010 21:11:50 +0100 fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:50 +0100] rev 4450
fix bad rest
Wed, 03 Feb 2010 21:11:41 +0100 fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:41 +0100] rev 4449
fix bad rest
Wed, 03 Feb 2010 21:02:56 +0100 more details on selectors debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:56 +0100] rev 4448
more details on selectors debugging
Wed, 03 Feb 2010 21:02:39 +0100 add_state/add_transition are now deprecated, only add_workflow remaining
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:39 +0100] rev 4447
add_state/add_transition are now deprecated, only add_workflow remaining
Wed, 03 Feb 2010 21:02:15 +0100 damn me, more stupid sed fix...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:15 +0100] rev 4446
damn me, more stupid sed fix...
Wed, 03 Feb 2010 20:35:48 +0100 add note telling you don't et an UStreamIO for binary views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:35:48 +0100] rev 4445
add note telling you don't et an UStreamIO for binary views
Wed, 03 Feb 2010 20:35:19 +0100 document the ~ operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:35:19 +0100] rev 4444
document the ~ operator
Wed, 03 Feb 2010 20:34:44 +0100 start documenting forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:34:44 +0100] rev 4443
start documenting forms
Wed, 03 Feb 2010 20:33:49 +0100 fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:33:49 +0100] rev 4442
fix stupid sed
Wed, 03 Feb 2010 19:26:35 +0100 moved content to the dbapi section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 19:26:35 +0100] rev 4441
moved content to the dbapi section
Wed, 03 Feb 2010 18:45:20 +0100 nicer docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:45:20 +0100] rev 4440
nicer docstring
Wed, 03 Feb 2010 18:45:12 +0100 live-server doesn't work, don't make think it does
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:45:12 +0100] rev 4439
live-server doesn't work, don't make think it does
Wed, 03 Feb 2010 18:44:50 +0100 more stuff in doc's README
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:44:50 +0100] rev 4438
more stuff in doc's README
Wed, 03 Feb 2010 18:44:24 +0100 update exemples using the 3.6 api and add/fix some sections (schema, vreg, talk about CW_MODE in concepts...). So much to do :'(
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:44:24 +0100] rev 4437
update exemples using the 3.6 api and add/fix some sections (schema, vreg, talk about CW_MODE in concepts...). So much to do :'(
Wed, 03 Feb 2010 14:46:32 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 14:46:32 +0100] rev 4436
backport stable
Wed, 03 Feb 2010 16:19:12 +0100 discriminate against None, not False-ish values stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Feb 2010 16:19:12 +0100] rev 4435
discriminate against None, not False-ish values
Tue, 02 Feb 2010 18:24:45 +0100 Improve the schema command with filtering option.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Feb 2010 18:24:45 +0100] rev 4434
Improve the schema command with filtering option. meta data and workflow data are hidden by default. show-meta and show-workflow option are added to display them. Another "hide-type" option allow to hide additional entities type.
Wed, 03 Feb 2010 10:55:25 +0100 Added tag cubicweb-debian-version-3.5.12-1 for changeset 4281e1e2d76b stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 10:55:25 +0100] rev 4433
Added tag cubicweb-debian-version-3.5.12-1 for changeset 4281e1e2d76b
Wed, 03 Feb 2010 10:55:25 +0100 Added tag cubicweb-version-3.5.12 for changeset 98af3d02b83e stable cubicweb-debian-version-3.5.12-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 10:55:25 +0100] rev 4432
Added tag cubicweb-version-3.5.12 for changeset 98af3d02b83e
Wed, 03 Feb 2010 09:21:47 +0100 Updated CW tutorial.
Adrien Chauve <adrien.chauve@logilab.fr> [Wed, 03 Feb 2010 09:21:47 +0100] rev 4431
Updated CW tutorial. * Summarized the list of steps to create a new cube. * Added a subsection on writing entities. * Added a subsection on modifying the schema and updating the corresponding instance.
Wed, 03 Feb 2010 09:18:47 +0100 le patch added_tips a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 09:18:47 +0100] rev 4430
le patch added_tips a été importé
Tue, 02 Feb 2010 21:14:01 +0100 le patch admin_tips_for_backup a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 21:14:01 +0100] rev 4429
le patch admin_tips_for_backup a été importé
Tue, 02 Feb 2010 18:22:25 +0100 Add a ``schema`` command to cmd ctrl to generate schema image.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Feb 2010 18:22:25 +0100] rev 4428
Add a ``schema`` command to cmd ctrl to generate schema image. This changeset add the new commande and do some refactoring in cwconfig and schema.py to allow the use of CubicWebNoAppConfiguration with CubicWebSchemaLoader.
Tue, 02 Feb 2010 16:19:48 +0100 fix rset.related_entity with variables coming from subquery while some others not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 16:19:48 +0100] rev 4427
fix rset.related_entity with variables coming from subquery while some others not
Tue, 02 Feb 2010 11:07:12 +0100 3.5.12 stable cubicweb-version-3.5.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 11:07:12 +0100] rev 4426
3.5.12
Tue, 02 Feb 2010 11:00:08 +0100 cleanup stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 11:00:08 +0100] rev 4425
cleanup
Tue, 02 Feb 2010 10:59:44 +0100 fix spurious http cache bug: sometimes last-modified headers is generated using non-english local, which ends up in a date that twisted can't parse and make it feels the page may be cached while it may not stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 10:59:44 +0100] rev 4424
fix spurious http cache bug: sometimes last-modified headers is generated using non-english local, which ends up in a date that twisted can't parse and make it feels the page may be cached while it may not
Tue, 02 Feb 2010 10:47:47 +0100 simpler last_modified implementation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 10:47:47 +0100] rev 4423
simpler last_modified implementation
Mon, 01 Feb 2010 18:55:47 +0100 merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:55:47 +0100] rev 4422
merge
Mon, 01 Feb 2010 18:55:16 +0100 fetch all forms, avoid potential initialization pb stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:55:16 +0100] rev 4421
fetch all forms, avoid potential initialization pb
Mon, 01 Feb 2010 18:54:46 +0100 missing jsonize, avoid spurious error w/ ff stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:54:46 +0100] rev 4420
missing jsonize, avoid spurious error w/ ff
Mon, 01 Feb 2010 19:11:14 +0100 refactor to use the 3.6 API
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 01 Feb 2010 19:11:14 +0100] rev 4419
refactor to use the 3.6 API
Mon, 01 Feb 2010 17:53:02 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:53:02 +0100] rev 4418
merge
Mon, 01 Feb 2010 17:49:59 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:49:59 +0100] rev 4417
merge
Wed, 27 Jan 2010 16:08:51 +0100 partial backport of support for adbh's new interface to backup_command and restore_command stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Jan 2010 16:08:51 +0100] rev 4416
partial backport of support for adbh's new interface to backup_command and restore_command these methods can return lists or strings which are passed to subprocess.call without or with the shell=True parameter respectively.
Mon, 01 Feb 2010 16:59:26 +0100 more escapes for the backslashes stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:59:26 +0100] rev 4415
more escapes for the backslashes
Mon, 01 Feb 2010 16:53:00 +0100 escape the backslashes stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:53:00 +0100] rev 4414
escape the backslashes
Fri, 29 Jan 2010 21:07:37 +0100 bugfix
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 21:07:37 +0100] rev 4413
bugfix
Fri, 29 Jan 2010 18:57:37 +0100 add action to list entities of the CWEType currently displayed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 18:57:37 +0100] rev 4412
add action to list entities of the CWEType currently displayed
Fri, 29 Jan 2010 18:03:10 +0100 should take arbitrary arguments stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:03:10 +0100] rev 4411
should take arbitrary arguments
Fri, 29 Jan 2010 18:02:50 +0100 i18nupdate stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:02:50 +0100] rev 4410
i18nupdate
Fri, 29 Jan 2010 17:42:38 +0100 calling unicode instead of gettext... stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 17:42:38 +0100] rev 4409
calling unicode instead of gettext...
Fri, 29 Jan 2010 16:54:49 +0100 [entity] small optimization: once an entity has been completed, don't redo it (for nothing) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:54:49 +0100] rev 4408
[entity] small optimization: once an entity has been completed, don't redo it (for nothing)
Fri, 29 Jan 2010 16:53:52 +0100 [treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:53:52 +0100] rev 4407
[treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset * is_last has to be computed on the caller now, not possible in the callee * rely on b3f61c38526b to use entity.view() with vid in *view*'s arguments
Fri, 29 Jan 2010 16:45:18 +0100 [entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:45:18 +0100] rev 4406
[entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs
Fri, 29 Jan 2010 16:43:57 +0100 eschema view is gone away stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:43:57 +0100] rev 4405
eschema view is gone away
Thu, 28 Jan 2010 14:30:05 +0100 remove misnamed argument stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:30:05 +0100] rev 4404
remove misnamed argument
Thu, 28 Jan 2010 14:29:52 +0100 add version number to deprecation warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:29:52 +0100] rev 4403
add version number to deprecation warning
Thu, 28 Jan 2010 09:49:50 +0100 [entities] fix CWUser.is_in_group implementation stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Jan 2010 09:49:50 +0100] rev 4402
[entities] fix CWUser.is_in_group implementation use self.groups property instead of self._groups which might not be initialized.
Wed, 27 Jan 2010 14:12:09 +0100 missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 14:12:09 +0100] rev 4401
missing import
Wed, 27 Jan 2010 11:15:32 +0100 must check for relation inlined in main form type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:15:32 +0100] rev 4400
must check for relation inlined in main form type
Wed, 27 Jan 2010 11:14:57 +0100 skip final relations at this point
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:14:57 +0100] rev 4399
skip final relations at this point
Wed, 27 Jan 2010 11:26:57 +0100 add missing errno import in etwist/server.py stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Jan 2010 11:26:57 +0100] rev 4398
add missing errno import in etwist/server.py
Wed, 27 Jan 2010 10:17:27 +0100 should not raise KeyError if key's missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:17:27 +0100] rev 4397
should not raise KeyError if key's missing
Wed, 27 Jan 2010 10:00:58 +0100 choices function should now take the field as argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:58 +0100] rev 4396
choices function should now take the field as argument
Wed, 27 Jan 2010 10:00:35 +0100 cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:35 +0100] rev 4395
cleanup
Wed, 27 Jan 2010 10:00:19 +0100 missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:19 +0100] rev 4394
missing import
Wed, 27 Jan 2010 09:59:55 +0100 systematically call bool on BooleanField values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:55 +0100] rev 4393
systematically call bool on BooleanField values
Wed, 27 Jan 2010 09:59:13 +0100 by default this is not the widget responsability to turn empty string into None,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:13 +0100] rev 4392
by default this is not the widget responsability to turn empty string into None, move this behaviour to the field.
Wed, 27 Jan 2010 09:57:53 +0100 ensure we get a correct key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:53 +0100] rev 4391
ensure we get a correct key
Wed, 27 Jan 2010 09:57:16 +0100 test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:16 +0100] rev 4390
test fixes
Wed, 27 Jan 2010 09:56:58 +0100 useless, same as test_nonregr_eetype_etype_editing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:58 +0100] rev 4389
useless, same as test_nonregr_eetype_etype_editing
Wed, 27 Jan 2010 09:56:16 +0100 [forms] propagate aguments given to .vocabulary to .choices if it's a callable.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:16 +0100] rev 4388
[forms] propagate aguments given to .vocabulary to .choices if it's a callable. So we can properly uses vocabulary(limit=xxx) in places where we used to call .choices(limit), since field.choices is not meant to be accessed directly. Also, document expected behaviour for custom choices method for relation fields.
Wed, 27 Jan 2010 09:53:48 +0100 reorganize code:
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:53:48 +0100] rev 4387
reorganize code: move everything related to inlined forms and generic relation from editviews/editforms where there are used, eg in autoforms
Wed, 27 Jan 2010 09:25:40 +0100 [forms] fix backward compat for field.choices arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:25:40 +0100] rev 4386
[forms] fix backward compat for field.choices arguments
Wed, 27 Jan 2010 09:24:35 +0100 use field.vocabulary instead of field.choices, skip already related eids. Also consider vocabulary when no etype specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:24:35 +0100] rev 4385
use field.vocabulary instead of field.choices, skip already related eids. Also consider vocabulary when no etype specified
Wed, 27 Jan 2010 09:22:07 +0100 [primary view] activate toolbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:22:07 +0100] rev 4384
[primary view] activate toolbox
Wed, 27 Jan 2010 09:21:38 +0100 it seems that prefixiter is expected to return child *folder* but was relying on a specific .children implementation, fix this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:21:38 +0100] rev 4383
it seems that prefixiter is expected to return child *folder* but was relying on a specific .children implementation, fix this
Tue, 26 Jan 2010 20:30:35 +0100 3.6 api update, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:30:35 +0100] rev 4382
3.6 api update, cleanup
Tue, 26 Jan 2010 20:29:52 +0100 [forms] let the autoform specify the generic relation field label,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:29:52 +0100] rev 4381
[forms] let the autoform specify the generic relation field label, no need for a custom fieldset, may be handled as for other fields by the renderer.
Tue, 26 Jan 2010 20:28:56 +0100 simplify messages used for inlined forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:28:56 +0100] rev 4380
simplify messages used for inlined forms
Tue, 26 Jan 2010 20:27:48 +0100 should have been in previous commit (moved below in the module)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:27:48 +0100] rev 4379
should have been in previous commit (moved below in the module)
Tue, 26 Jan 2010 20:25:56 +0100 [forms] the last touch: handle inlined relation forms as fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:25:56 +0100] rev 4378
[forms] the last touch: handle inlined relation forms as fields by introducing a simple InlinedRelationField. This makese things more flexible while removing a lost of overriding necessary.
Tue, 26 Jan 2010 20:22:13 +0100 fix label handling: when label is explicitly set to None, don't try to guess it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:22:13 +0100] rev 4377
fix label handling: when label is explicitly set to None, don't try to guess it
Tue, 26 Jan 2010 16:48:41 +0100 surrounding div necessary for proper error localization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:41 +0100] rev 4376
surrounding div necessary for proper error localization
Tue, 26 Jan 2010 16:48:06 +0100 cleanup base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:06 +0100] rev 4375
cleanup base class
Tue, 26 Jan 2010 16:47:45 +0100 by default use new jquery widgets for Time/Date/DateTime fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:45 +0100] rev 4374
by default use new jquery widgets for Time/Date/DateTime fields
Tue, 26 Jan 2010 16:47:07 +0100 new jquery based widgets for Time/Date/DateTime, backported from crm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:07 +0100] rev 4373
new jquery based widgets for Time/Date/DateTime, backported from crm
Tue, 26 Jan 2010 16:46:12 +0100 introduce a default render implementation on the base widget, which
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:46:12 +0100] rev 4372
introduce a default render implementation on the base widget, which add_media and then call the newly introduced method _render(form, field, formrenderer), abstract of the base widget class. This allow a litle code factorisation and avoid to forget the call to add_media in subclasses.
Tue, 26 Jan 2010 16:43:51 +0100 [forms] new optional suffix attribute on widget objects, used to generage input name / dom id.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:43:51 +0100] rev 4371
[forms] new optional suffix attribute on widget objects, used to generage input name / dom id. Ease reuse of widgets from another widget. Also move base values computing to a separated values(form, field) method.
Tue, 26 Jan 2010 16:40:42 +0100 introduce new _ensure_correctly_typed method on fields, responsible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:40:42 +0100] rev 4370
introduce new _ensure_correctly_typed method on fields, responsible to ensure the value return by the widget is suitable for that kind of field. Also factorize date and time fields.
Tue, 26 Jan 2010 16:37:54 +0100 fix typed_value implementation w/ eidparam field which are actual entity's relation and have .value set for their initial value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:37:54 +0100] rev 4369
fix typed_value implementation w/ eidparam field which are actual entity's relation and have .value set for their initial value
Tue, 26 Jan 2010 16:36:00 +0100 cleanup module namespace but only importing the formwidgets module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:36:00 +0100] rev 4368
cleanup module namespace but only importing the formwidgets module
Tue, 26 Jan 2010 13:38:02 +0100 fix deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:38:02 +0100] rev 4367
fix deprecation warnings
Tue, 26 Jan 2010 13:36:55 +0100 fif inlined relation forms pb w/ new ajax forms.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:36:55 +0100] rev 4366
fif inlined relation forms pb w/ new ajax forms. We've to ensure the varmaker is properly initialized when generating a form where we may add new subentities, which will use ajax call to generate the subform while this subform expect a varmaker to be set.
Tue, 26 Jan 2010 13:34:12 +0100 now that we are property initializing autoform_section for the 'inlined' form type, use it...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:34:12 +0100] rev 4365
now that we are property initializing autoform_section for the 'inlined' form type, use it...
Tue, 26 Jan 2010 13:32:54 +0100 [uicfg] fix autoform_section rtags initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:32:54 +0100] rev 4364
[uicfg] fix autoform_section rtags initialization 1. when a relation is marked as inlined in the 'main' form type, we want its opposite (eg when one the other side of the relation) to be marked as hidden in the 'inlined' form type 2. when no section is specified for the 'inlined' form type, use the same as in the 'main' form type to do this properly, we need two initialization stages. The first one to handle 1., the second to handle what was done before and 2. We can't do this in a single stage because we've to know the bare value of the "opposite" tag.
Tue, 26 Jan 2010 13:27:40 +0100 cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:27:40 +0100] rev 4363
cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Tue, 26 Jan 2010 13:26:41 +0100 incontext view of EmailAddress is a mailto: link
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:26:41 +0100] rev 4362
incontext view of EmailAddress is a mailto: link
Tue, 26 Jan 2010 10:35:46 +0100 add CWProperty for_user CWUser when on the user primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:46 +0100] rev 4361
add CWProperty for_user CWUser when on the user primary view
Tue, 26 Jan 2010 10:35:23 +0100 move CWProperty rtags from autoform to cwproperties module.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:23 +0100] rev 4360
move CWProperty rtags from autoform to cwproperties module.
Tue, 26 Jan 2010 10:34:29 +0100 fix Bytes submission pb on POST, due to multiple call to field.process_form_value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:34:29 +0100] rev 4359
fix Bytes submission pb on POST, due to multiple call to field.process_form_value for a same field. In the case of file, stream.read() doesn't return file's data the second time (since the cursor is at the end of the file). Fix this by having a generic process_form_value method that cache field's value in form.formvalues[field] and so _process_form_value is only called once. You should then override that later method on custom fields.
Tue, 26 Jan 2010 10:30:57 +0100 must skip internal field value from the generic relations combobox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:30:57 +0100] rev 4358
must skip internal field value from the generic relations combobox
Tue, 26 Jan 2010 10:29:50 +0100 case where 'w' argument is None should be handled in do_paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:29:50 +0100] rev 4357
case where 'w' argument is None should be handled in do_paginate
Tue, 26 Jan 2010 10:28:30 +0100 [uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:28:30 +0100] rev 4356
[uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
Tue, 26 Jan 2010 10:27:52 +0100 [uicfg] fix reloading pb with the indexview_etype_section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:27:52 +0100] rev 4355
[uicfg] fix reloading pb with the indexview_etype_section
Tue, 26 Jan 2010 10:26:51 +0100 must catch UnmodifiedField exception in has_been_modified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:26:51 +0100] rev 4354
must catch UnmodifiedField exception in has_been_modified
Tue, 26 Jan 2010 10:24:50 +0100 command may now officially be either a string or a list, don't make think it's for backward compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:24:50 +0100] rev 4353
command may now officially be either a string or a list, don't make think it's for backward compat
Tue, 26 Jan 2010 10:24:07 +0100 nicer usage for cubicweb-ctl
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:24:07 +0100] rev 4352
nicer usage for cubicweb-ctl
Tue, 26 Jan 2010 10:23:38 +0100 get back iterparents implementation from folder cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:23:38 +0100] rev 4351
get back iterparents implementation from folder cubes
Tue, 26 Jan 2010 10:22:48 +0100 eschema view has been removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:22:48 +0100] rev 4350
eschema view has been removed
Tue, 26 Jan 2010 10:22:37 +0100 [bfss] make it works when adding/updating entities with an attribute using bfss
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:22:37 +0100] rev 4349
[bfss] make it works when adding/updating entities with an attribute using bfss
Mon, 25 Jan 2010 21:17:44 +0100 d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:17:44 +0100] rev 4348
d-t-w
Mon, 25 Jan 2010 21:17:15 +0100 fix copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:17:15 +0100] rev 4347
fix copyright
Mon, 25 Jan 2010 21:16:42 +0100 XXX quick fix html validation by removing <canvas>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:16:42 +0100] rev 4346
XXX quick fix html validation by removing <canvas>
Mon, 25 Jan 2010 19:48:19 +0100 skil internal field value, else we get an error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:48:19 +0100] rev 4345
skil internal field value, else we get an error
Mon, 25 Jan 2010 19:36:04 +0100 add source in backup/restore failure message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:36:04 +0100] rev 4344
add source in backup/restore failure message
Mon, 25 Jan 2010 19:28:09 +0100 introduced dependency to lgc > 0.47 for new stacklevel argument to deprecated + new db backup/restore api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:28:09 +0100] rev 4343
introduced dependency to lgc > 0.47 for new stacklevel argument to deprecated + new db backup/restore api
Mon, 25 Jan 2010 19:27:30 +0100 handle lgc.adbh api changes within regards of backup/restore:
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:27:30 +0100] rev 4342
handle lgc.adbh api changes within regards of backup/restore: * new backup_commands method instead of backup_command * some backend still return command as string as expected by os.system, not subprocess.call
Mon, 25 Jan 2010 19:24:09 +0100 match_rtype hook selector now accepts frometypes/toetypes optional arguments to match only given subject/object entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:24:09 +0100] rev 4341
match_rtype hook selector now accepts frometypes/toetypes optional arguments to match only given subject/object entity types
Mon, 25 Jan 2010 19:18:59 +0100 a selector MUST NO return None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:59 +0100] rev 4340
a selector MUST NO return None
Mon, 25 Jan 2010 19:18:33 +0100 some fixes so that deprecation warning are properly localized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:33 +0100] rev 4339
some fixes so that deprecation warning are properly localized
Mon, 25 Jan 2010 19:16:35 +0100 to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:16:35 +0100] rev 4338
to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument
Mon, 25 Jan 2010 19:13:17 +0100 refactor attributes'value generator to deal with yams special
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:13:17 +0100] rev 4337
refactor attributes'value generator to deal with yams special Attribute/NOW/TODAY values that may be used on [Interval]BoundConstraint (BoundConstraint wasn't handled btw, fix this). Besides passing 'entity' to generate_* function (needed to get value for another attribute when computing one for instance): * set nicer method names and makes clearer what's private/protected/public * properly handle choices, constraints on float/date/datetime fields
Fri, 22 Jan 2010 14:42:01 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:42:01 +0100] rev 4336
backport stable
Fri, 22 Jan 2010 14:41:08 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:41:08 +0100] rev 4335
backport stable
Fri, 22 Jan 2010 14:40:29 +0100 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:29 +0100] rev 4334
3.6 api update
Fri, 22 Jan 2010 14:40:14 +0100 [vreg] object_by_id should not have been deprecated. Fix facets.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:14 +0100] rev 4333
[vreg] object_by_id should not have been deprecated. Fix facets. it was *designed* to be able to force an object retreival when selection is potentially not possible. For instance using select instead of object_by_id in get_facet totally breaks the implementation since in get_facet we've not context result set, and we ends up with a NoSelectableObject exception.
Fri, 22 Jan 2010 12:25:54 +0100 fix stupid typo ... stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 22 Jan 2010 12:25:54 +0100] rev 4332
fix stupid typo ...
Fri, 22 Jan 2010 11:41:04 +0100 fix condition to paginate a result set stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:41:04 +0100] rev 4331
fix condition to paginate a result set
Fri, 22 Jan 2010 11:40:22 +0100 make rollback available in shell (as commit is)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:22 +0100] rev 4330
make rollback available in shell (as commit is)
Fri, 22 Jan 2010 11:40:09 +0100 add a reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:09 +0100] rev 4329
add a reminder
Fri, 22 Jan 2010 11:18:13 +0100 fix indentation / tab pbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:18:13 +0100] rev 4328
fix indentation / tab pbs
Fri, 22 Jan 2010 10:43:12 +0100 fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:43:12 +0100] rev 4327
fix name error
Fri, 22 Jan 2010 10:32:00 +0100 add approximated version number to deprecation warning
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:32:00 +0100] rev 4326
add approximated version number to deprecation warning
Fri, 22 Jan 2010 10:30:11 +0100 oops, missing return
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:30:11 +0100] rev 4325
oops, missing return
Fri, 22 Jan 2010 10:07:29 +0100 we need extrapath when trying to import site_cubicweb files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:29 +0100] rev 4324
we need extrapath when trying to import site_cubicweb files
Fri, 22 Jan 2010 10:07:03 +0100 move extra path computing as a configuration class property so we can reused it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:03 +0100] rev 4323
move extra path computing as a configuration class property so we can reused it
Fri, 22 Jan 2010 08:49:16 +0100 first draft for a simple hooks based custom attribute storage,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:49:16 +0100] rev 4322
first draft for a simple hooks based custom attribute storage, with a BytesFileSystemStorage POC implementation. Basically: * a dictionary contains maps from which attribute of which entity types are mapped to which custom storage * hooks check for one of these entity type being added/modified/deleted * read is based on the sql generator callback mecanism (used in vcsfile for instance) * all storages have the same basic interface (read, add, update, delete), and should be pluggable in a transparent way (except at migration time when one want to change from a storage to another) * the sample BytesFileSystemStorage: * may store Bytes attributes content of any entity type as file on the file system * is based on one FSPATH rql/sql function and another _fsopen only available in sql * has a dumb file name allocation algorithm
Fri, 22 Jan 2010 08:40:38 +0100 d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:40:38 +0100] rev 4321
d-t-w
Thu, 21 Jan 2010 17:38:31 +0100 closes #345410: two_lines_rset, two_cols_rset, two_etypes_rset are badly named
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:38:31 +0100] rev 4320
closes #345410: two_lines_rset, two_cols_rset, two_etypes_rset are badly named replaced by multi_lines_rset, multi_columns_rset, multi_etypes_rset, all taking optional 'nb' argument allowing to specify and exact count. Bw compat is kept, usage of deprecated function updated in cw itself. Also drop custom at_least_two_columns selector (in views.plots) since it was the same as multi_columns_rset. Hopefuly the renaming will help in avoid such pb... We should now decide if we want to deprecate one_* selector in favor of multi_*(nb=1). See note on this at then end of selectors.py
Thu, 21 Jan 2010 17:03:30 +0100 fix #636936: read_permission relation should not be mandatory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:03:30 +0100] rev 4319
fix #636936: read_permission relation should not be mandatory
Thu, 21 Jan 2010 16:58:40 +0100 fix #615848: undefined 'new' variable was refering to the newly introduced subquery / remove_subquery doesn't take an undefine argument (probable copy/paste from the remove_node call) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:58:40 +0100] rev 4318
fix #615848: undefined 'new' variable was refering to the newly introduced subquery / remove_subquery doesn't take an undefine argument (probable copy/paste from the remove_node call)
Thu, 21 Jan 2010 16:52:35 +0100 some docstring stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:52:35 +0100] rev 4317
some docstring
Thu, 21 Jan 2010 14:10:23 +0100 [doc] reformulate dependencies stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 14:10:23 +0100] rev 4316
[doc] reformulate dependencies
Thu, 21 Jan 2010 11:13:39 +0100 [views] FinalView should display an empty string if value is None stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jan 2010 11:13:39 +0100] rev 4315
[views] FinalView should display an empty string if value is None
Thu, 21 Jan 2010 11:08:41 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:08:41 +0100] rev 4314
merge
Thu, 21 Jan 2010 11:07:32 +0100 move base form renderer label handling into a function to reuse it in CompositeFormRenderer and avoid seeing a tuple in column headers... stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:07:32 +0100] rev 4313
move base form renderer label handling into a function to reuse it in CompositeFormRenderer and avoid seeing a tuple in column headers...
Thu, 21 Jan 2010 11:02:36 +0100 minor schema deserialization optimizations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:02:36 +0100] rev 4312
minor schema deserialization optimizations
Thu, 21 Jan 2010 10:59:58 +0100 oopb, widget has been renamed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:59:58 +0100] rev 4311
oopb, widget has been renamed
Thu, 21 Jan 2010 10:57:20 +0100 specify formvid=edition to get multiple edition working w/ 3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:57:20 +0100] rev 4310
specify formvid=edition to get multiple edition working w/ 3.6
Thu, 21 Jan 2010 10:52:47 +0100 reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:47 +0100] rev 4309
reminder
Thu, 21 Jan 2010 10:52:24 +0100 this clutter startup screen for little benefit, remove it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:24 +0100] rev 4308
this clutter startup screen for little benefit, remove it
Thu, 21 Jan 2010 10:51:07 +0100 update copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:51:07 +0100] rev 4307
update copyright
Thu, 21 Jan 2010 10:48:00 +0100 move bookmark related uicfg stuff into bookmark specific module, use the EditableURLWidget widget for Bookmark.path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:48:00 +0100] rev 4306
move bookmark related uicfg stuff into bookmark specific module, use the EditableURLWidget widget for Bookmark.path
Thu, 21 Jan 2010 10:47:01 +0100 new field's responsibility POC: EditableURLWidget allow to edit Bookmark.path in two separated fields, displaying unquoted values which are requoted on form post processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:47:01 +0100] rev 4305
new field's responsibility POC: EditableURLWidget allow to edit Bookmark.path in two separated fields, displaying unquoted values which are requoted on form post processing
Thu, 21 Jan 2010 10:42:37 +0100 refactor field's value retreiving from the widget (eg 'display value' concept):
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:42:37 +0100] rev 4304
refactor field's value retreiving from the widget (eg 'display value' concept): * kill field's display_value method, since getting value specified in a previous post or in req.form should be the widget responsibility (the widget nows what inputs to display, not the field) * new typed_value / format_value on widgets, mainly to ease overriding
Thu, 21 Jan 2010 10:39:12 +0100 dom_id now accepts a suffix argument as input_name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:39:12 +0100] rev 4303
dom_id now accepts a suffix argument as input_name
Thu, 21 Jan 2010 10:38:46 +0100 cleaner input_name implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:38:46 +0100] rev 4302
cleaner input_name implementation
Thu, 21 Jan 2010 10:21:09 +0100 when the vregistry is initialized, no need to call vreg.set_schema (else we trigger appobjects registration twice. This allows significant startup speedup.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:21:09 +0100] rev 4301
when the vregistry is initialized, no need to call vreg.set_schema (else we trigger appobjects registration twice. This allows significant startup speedup.
Thu, 21 Jan 2010 10:19:38 +0100 new url_parse_qs method on base request to parse unicode url formatted query strings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:19:38 +0100] rev 4300
new url_parse_qs method on base request to parse unicode url formatted query strings
Wed, 20 Jan 2010 17:07:48 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 17:07:48 +0100] rev 4299
merge
Wed, 20 Jan 2010 09:00:36 +0100 enable cubicweb-ctl db-dump and db-restore on Windows with SQL Server stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 09:00:36 +0100] rev 4298
enable cubicweb-ctl db-dump and db-restore on Windows with SQL Server os.system has some issues on Windows, especially regarding whitespace handling, which subprocess handles correctly.
Wed, 20 Jan 2010 15:03:30 +0100 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 15:03:30 +0100] rev 4297
3.6 api update
Wed, 20 Jan 2010 14:41:04 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:41:04 +0100] rev 4296
merge
Wed, 20 Jan 2010 14:39:44 +0100 allow control of generic relations field display through display_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:44 +0100] rev 4295
allow control of generic relations field display through display_fields
Wed, 20 Jan 2010 14:39:10 +0100 no self._cw on widget objects while '_' is defined locally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:10 +0100] rev 4294
no self._cw on widget objects while '_' is defined locally
Wed, 20 Jan 2010 14:38:45 +0100 delete remaining stuff w/ handling of the generic relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:38:45 +0100] rev 4293
delete remaining stuff w/ handling of the generic relations
Wed, 20 Jan 2010 14:34:06 +0100 test update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:34:06 +0100] rev 4292
test update
Wed, 20 Jan 2010 13:03:08 +0100 clear vreg's parent_classes cache to fix etype cache / auto-reloading bug
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Jan 2010 13:03:08 +0100] rev 4291
clear vreg's parent_classes cache to fix etype cache / auto-reloading bug EtypeRegistry.parent_classes()'s is cached. When the registry is reloaded, if the cache is not cleared, we might get the old list of parent classes and that leads to strange bugs. Typical scenario : 1/ start application in debug mode 2/ go to add/Bookmark -> everything's fine 3/ change the source 4/ reload add/Bookmark -> 'creation' not selectable because : a/ cw detects a change in the source and reloads vreg b/ cw tries to select 'creation' view for 'Bookmark' - 'creation' view uses specified_etype_implements('Any') - cw compares Bookmark.__bases__[0] (i.e. new version of AnyEntity) with the old version of AnyEntity cached in the vreg. They don't match => view is not applicable.
Wed, 20 Jan 2010 11:31:38 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:38 +0100] rev 4290
merge
Wed, 20 Jan 2010 11:31:28 +0100 fix bad indent stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:28 +0100] rev 4289
fix bad indent
(0) -3000 -1000 -240 +240 +1000 +3000 tip