Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:58:11 +0100] rev 4546
provides a fallback_on_none_attribute field attribute, allowing to specify default value for attributes of *existing* entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:57:29 +0100] rev 4545
fix match_transition selector: for instance w/ forge version change state form overiding, we want the form with the publication_date selected by the editcontroller, whatever the transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 12:00:37 +0100] rev 4544
split introduced in the wrong place
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:57:28 +0100] rev 4543
packaging fix: no more test in common (2).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:52:15 +0100] rev 4542
packaging fix: no more test in common. Should remove test from the hooks subpackage in rules for hardy
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:48:33 +0100] rev 4541
drop cubicweb-client package (there was only hercule.py inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:40:41 +0100] rev 4540
remove ref to hercule.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:14:14 +0100] rev 4539
cw 3.6, itself
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:40 +0100] rev 4538
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:34 +0100] rev 4537
i18n msg fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:20 +0100] rev 4536
cleanup 2.5 __future__ imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:54:47 +0100] rev 4535
update translatable docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:27:23 +0100] rev 4534
fix test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:08:17 +0100] rev 4533
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:07:53 +0100] rev 4532
fix auto-rollback on unauthorized error:
* don't rollback if a commit is processing
* don't free pool on rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:06:02 +0100] rev 4531
fix ldap test, our ldap server name has changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:05:43 +0100] rev 4530
fix name error introduced by bad merging of stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:51:19 +0100] rev 4529
fix 'click here to see the created entity' link, which may not appear according to language settings
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
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)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 18:49:12 +0100] rev 4526
merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:16:29 +0100] rev 4525
backport stable branch
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:17 +0100] rev 4522
propagation hooks cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:01 +0100] rev 4521
missing import for 2.4 compat
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:54:44 +0100] rev 4518
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:41:44 +0100] rev 4517
backport 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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:38:59 +0100] rev 4515
turn down some info logs into debug
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 11:22:40 +0100] rev 4513
fix and begin to document autofill algorithm
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:29:59 +0100] rev 4511
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:27:30 +0100] rev 4510
backport stable
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:50 +0100] rev 4508
typo
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:35:07 +0100] rev 4506
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:34 +0100] rev 4505
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:18 +0100] rev 4504
merge
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
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 10:07:52 +0100] rev 4502
merge
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:05:19 +0100] rev 4498
backport 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
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
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
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).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:03:03 +0100] rev 4493
now raise UnknownProperty, not KeyError
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
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.
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
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.
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:37:09 +0100] rev 4487
missing test data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:35 +0100] rev 4486
reminder, cleanup
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:31:27 +0100] rev 4484
fix duplicated vregistry initialization during tests
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:58:46 +0100] rev 4480
i18nupdate
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:45:39 +0100] rev 4478
moved to lgc.date as well
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
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:24 +0100] rev 4473
this test is now useless here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:10 +0100] rev 4472
3.6 test api update
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:57:52 +0100] rev 4468
update yams/rql dependencies
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:54:23 +0100] rev 4466
moved generic datetime manipulation function to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:55:21 +0100] rev 4465
fix wrong autoclass inclusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:54:51 +0100] rev 4464
fix rest syntax error
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
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.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:11:38 +0100] rev 4461
3.6 api update
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 07:25:16 +0100] rev 4459
backport stable
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:43 +0100] rev 4457
mimick actual request set_header method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:30 +0100] rev 4456
fix typo
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
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)
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
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:30:47 +0100] rev 4452
[doc] small fixes on security part
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 ...>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:50 +0100] rev 4450
fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:41 +0100] rev 4449
fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:56 +0100] rev 4448
more details on selectors debugging
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:15 +0100] rev 4446
damn me, more stupid sed fix...
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:35:19 +0100] rev 4444
document the ~ operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:34:44 +0100] rev 4443
start documenting forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:33:49 +0100] rev 4442
fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 19:26:35 +0100] rev 4441
moved content to the dbapi section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:45:20 +0100] rev 4440
nicer docstring
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:44:50 +0100] rev 4438
more stuff in doc's README
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 :'(
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 14:46:32 +0100] rev 4436
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Feb 2010 16:19:12 +0100] rev 4435
discriminate against None, not False-ish values