Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:31 +0100] rev 4668
[form] fix #719285, due to multiple calls to restore_previous_post, by proper refactorings
* move __init__ code from FieldsForm to Form. Must behaviour here should actually be in the Form base class
* avoid buggy duplicated call to restore_previous_post
* move some code that was in the form renderer to the form'__init__ method (__redirectpath & __form_id hidden input handling))
* 'formvid' should now be specified on form selection, not on form rendering
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 18 Feb 2010 14:30:23 +0100] rev 4667
[fix] Apply fulltextindexed change in the actual index
Change of the fulltextindexed attribute of a CWAttribute did actually change
anything for already existing entity (but apply to new one). This patch fix this
behaviour:
* A new SingleLastOperation, UpdateFTIndexOp, to reindex entity whose
ftindexation changed during a commit. This data is read from
session.transaction_data['fti_update_etypes']
* The SourceDbRDefUpdate operation to store Etype who modify they fulltextindexed
of attribute in session.transaction_data['fti_update_etypes'].
* A new test is added to check the behaviour
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:40:55 +0100] rev 4666
3.6 api update (introduced by merge)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:19:16 +0100] rev 4665
when validating a form, we should properly call 'actual_fields(form) on edited field else compound field are not correctly processed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:59:30 +0100] rev 4664
#714109: [selectors] non_final_entity should implement score_class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:57 +0100] rev 4663
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:40 +0100] rev 4662
add XXX note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:51:20 +0100] rev 4661
[form] cache field value in form.formvalues using (field, form) key since in some case the same field instance may be shared accross multiple forms, which may share the formvalues dict in case of sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:49:37 +0100] rev 4660
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:46:56 +0100] rev 4659
[form] complete 25de2eb0432b by ignore req parameters by default for all hidden fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:43:15 +0100] rev 4658
[form] add a new ignore_req_params attribute on field controlling value's retreival
for such field, such as eid/__type in entity forms, we don't want to consider values
from req.form since we may get undesired value (as reported by #714766). This new
attribute allow do specify that we don't want to consider req.form in such case.
Also, it seems that retreival of form values after a validation error suffer from
the same problem, so don't use form_previous_values for field with ignore_req_params
set to True (XXX though I suppose that may not be correct in some cases).
Charles Hébert <charles.hebert@logilab.fr> [Tue, 23 Feb 2010 12:43:16 +0100] rev 4657
[css] fix disappearing image in menu when a:hover
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 23 Feb 2010 08:41:06 +0100] rev 4656
[cwctl] modify command list to check for cube dependency problems
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 10:57:51 +0100] rev 4655
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 08:54:04 +0100] rev 4654
docstring improvement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:53:01 +0100] rev 4653
import cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:52:38 +0100] rev 4652
restore 3.5 compat for date functions moved to lgc.date in 3.6 (closes #716055)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 19:25:04 +0100] rev 4651
[devtools/fill] fix date generation and its test
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 18:22:54 +0100] rev 4650
typo: capitalize migration confirmation messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 15:12:46 +0100] rev 4649
[views/deleteconf] remove action ppty (useless & clashes with form attr, replace buggy non_final_entity selector with implements workaround
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 12:53:35 +0100] rev 4648
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:12:33 +0100] rev 4647
[workflow] fix potential destination for go back transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:04:24 +0100] rev 4646
[workflow] finish refactoring introduced by 021035b9a7ab for 'go back' transition:
* fix SubWorkflowTransition.destination() prototype (must now take an entity as argument)
* fix the change state for to give the entity to the transition's destination() method
* we need a new method to draw workflow since we've no entity to give and 'go back'
transition usually go back to multiple states
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:37:03 +0100] rev 4645
deprecate Transition.set_transition_permissions in favor of set_permissions (after all we know we're on a transition entity)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:36:26 +0100] rev 4644
introduce 'go back' transition: transition without destination state will go to the state we were coming from
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:34:14 +0100] rev 4643
fix optimisation with super session that may lead to integrity loss
at some point I've decided to stop ensuring ?1 cardinality was respected
when adding a new relation using a super session, to avoid the cost of
the delete query. That was yet discussable because it introduced unexpected
difference between execute and unsafe_execute, which is imo not worth it.
Also, now that rql() in migration script default to unsafe_execute, we
definitly don't want that implicit behaviour change (which already cause
bug when for instance adding another default workflow for an entity type:
without that fix we end up with *two* default workflows while the schema
tells we can have only one.
IMO we should go to the direction that super session skip all security
check, but nothing else, unless explicitly asked.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 12:14:35 +0100] rev 4642
[auto/inline forms] reallow nested inline forms #703910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:29 +0100] rev 4641
[reledit] fix #713217: reledit doesn't check 'update' permission on attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:09 +0100] rev 4640
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:27:00 +0100] rev 4639
cleanup internal forms parameters in postlogin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:07:56 +0100] rev 4638
grmmbl, bad resolve
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:06:17 +0100] rev 4637
missed conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:02:48 +0100] rev 4636
backport lost stable head
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:31:03 +0100] rev 4635
fix sync_schema_props_perms test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:30:37 +0100] rev 4634
fix create_user function introduced in d6ae30c5d055 for database initialization: messup admin user groups when anon is created due to missing restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:28:38 +0100] rev 4633
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:58:52 +0100] rev 4632
fix unittest_hooks: attributes have now update_permission instead of [add/delete]_permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:57:57 +0100] rev 4631
when modifying a persistent schema, erschema may miss some permissions which wil trigger a key error, but we don't want to crash on such cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:52:34 +0100] rev 4630
fix #694445: related entity generates weird RQL which in turn generates weird SQL which fails on SQL Server
quick fix to reuse modification_date if already retreived by the rql query.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:13:36 +0100] rev 4629
fix 4626:c26b4df9fc90 (#703911): use can't rely on peid since it's not an actual eid when we're creating the parent entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:08:00 +0100] rev 4628
[form fields] nicer behaviour of the password field: don't put internal field value on edition (triggering validation error if one validation without removing the value, due to confirmation mismatch), and don't show the field as required in such case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:06:40 +0100] rev 4627
minor cleanup: don't use builtin 'id' as variable name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:57:50 +0100] rev 4626
[forms/inline] fix #703911: add new link disappears if inline box removed. Since we've the information, we must specify the target type else we get random cardinality on ambiguous relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:55:41 +0100] rev 4625
this is not the form renderer responsability to check for update permissions. Move this to autoform editable_attributes relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:54:50 +0100] rev 4624
turn default logging threshold to warning (we usually want them), and log 'no schema for eid' pb using warning instead of error, so we see them in logs but not during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:26:04 +0100] rev 4623
pfff, sorry to keep messing with default/stable...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:22:04 +0100] rev 4622
specify db port on backup/restore commands (require forth comming lgc 0.48.1)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 08:39:30 +0100] rev 4621
move captcha view to a place where it will be loaded by the registry...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 07:29:13 +0100] rev 4620
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 20:22:12 +0100] rev 4619
[security] allow to call .check on rql expression with a user eid specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:42:52 +0100] rev 4618
[facet] rqlst should be the select node
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:27:01 +0100] rev 4617
oops, should have been in my previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:21:34 +0100] rev 4616
fix table view facet retreival, necessary since 95ccd84c892b. Also some cleanup in facet box
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:58:09 +0100] rev 4615
Fix: RangeFacet is selected (valid rset) but without any values
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:57:03 +0100] rev 4614
fix the bad rqlst syntax tree usage during facets initialization by copying it
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 17 Feb 2010 10:39:35 +0100] rev 4613
[R] dataimport: refine error detection
Consider only None as non-expected value after parsing the input file.
False is now allowed because of the boolean yesno checker that returns False by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:23:36 +0100] rev 4612
added a function to create admin/anon user during db initialization process so one get a chance to monkey patch it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:16:50 +0100] rev 4611
fix unittest_schema, remove deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:12:35 +0100] rev 4610
when creating an instance, ask for cubes specific options properly (fix #607349)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:11:30 +0100] rev 4609
avoid loading twice site_cubicweb files on instance creation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:25:17 +0100] rev 4608
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:21:28 +0100] rev 4607
[schema security] fix so that when cheking attributes perms for an entity being created, 'owners' and has_*_permission in erqlexpr are considered satisfied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:26:09 +0100] rev 4606
dont add CUBES_DIR to cubes search path if it doesn't exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:46 +0100] rev 4605
fix dumb name error triggering crash when some directory in cubes search path doesn't exist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:12 +0100] rev 4604
remove 3.6 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:49 +0100] rev 4603
login form style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:00 +0100] rev 4602
proper deprecation of TabedPrimaryView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:12:42 +0100] rev 4601
missing call to toolbox in tabbed primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:51 +0100] rev 4600
use needs_css so you can change login form css without redefining LogFormView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:28 +0100] rev 4599
bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:31:12 +0100] rev 4598
backport fixes done accidentaly in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:30:52 +0100] rev 4597
use class, not klass, in widget.attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:42:04 +0100] rev 4596
specify login form dom id, don't render progress div
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:33:48 +0100] rev 4595
backport crypto/captcha utilities from the registration cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:27:15 +0100] rev 4594
use an actual form for the login form ease customization from external cubes (eg rememberme)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:25:18 +0100] rev 4593
add space between a checkbox and its label
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:24:40 +0100] rev 4592
ensure cnx is set first (necessary to introduce of a form object to handle the login form)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:23:35 +0100] rev 4591
don't let set_schema making commit_event fail
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:57 +0100] rev 4590
use constant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:50 +0100] rev 4589
fix permission of the condition permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:35 +0100] rev 4588
fix *_permissions schema: using the same cardinality/composite properties for cwgroup/rqlexpr leads to important pbs...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:44:47 +0100] rev 4587
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:36:34 +0100] rev 4586
DEFAULT_ATTRPERMS is now public
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 17:47:50 +0100] rev 4585
[inlined formos] don't pop attributes from kwargs, so they end-up in
cw_extra_kwargs which is then passed to the edition form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:22:01 +0100] rev 4584
[notification] we should use unsafe_execute here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:45 +0100] rev 4583
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:06 +0100] rev 4582
[calendar view] fix related to the date_range mess (max value exclusion). Calendar views authors should check if more similar fixes needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:18:38 +0100] rev 4581
[forms] fix RelationField bug with pending eids (eg inlined forms): we have to override process_form_value to avoid caching when recomputing is needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:17:24 +0100] rev 4580
[shell] rql() should use unsafe_execute when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:16:08 +0100] rev 4579
[autoform] we should consider role when checking delete permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:50 +0100] rev 4578
don't update modification_date in repairing_mode (eg upgrade or shell)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:27 +0100] rev 4577
[security] we should save back edited_attributes in case of multiple modification of an entity during the same transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:47 +0100] rev 4576
tune startup logging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:31 +0100] rev 4575
[schema] fix RelationSchema.has_perm to properly works with attribute relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:12:57 +0100] rev 4574
[schema] refactor/cleanup check_permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:49 +0100] rev 4573
use a close_form method for consistency w/ open_form and allow overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:18 +0100] rev 4572
add version info to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:02 +0100] rev 4571
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:10:25 +0100] rev 4570
follow yams api change: attributes permissions are now defined for
an 'update' action, no more 'add' / 'delete' which makes no sense in such case.
fix afs.relations_by_section permissions checking of object relation on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:05:15 +0100] rev 4569
fix dumb name error causing error when non managers try to change his properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:04:44 +0100] rev 4568
fix typo in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:19:08 +0100] rev 4567
remove crappy basket specific code
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 23:34:19 +0100] rev 4566
[views] toolbox must be rendered before the title to appear at top right
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 22:40:44 +0100] rev 4565
[uicfg] make deprecation message easier to understand
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 12 Feb 2010 16:48:57 +0100] rev 4564
[uicfg] allow autoform_section's formtype parameter to be a tuple
Typical usage is:
afs.tag_attribute(('X', 'y'), formtype=('main', 'muledit'), section='attributes')
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 15:18:00 +0100] rev 4563
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 14:34:38 +0100] rev 4562
branch oldstable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 14:17:52 +0100] rev 4561
create oldstable branch, remove 3.5 tag
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:35:12 +0100] rev 4560
merge 3.6 default/stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:33:54 +0100] rev 4559
merge 3.5/stable heads
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:32:14 +0100] rev 4558
Added tag 3.5 for changeset a0571ff0cb5d
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Feb 2010 14:24:05 +0100] rev 4557
[http cache/json controller] ensure json_view does proper cache validation #390986
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:56 +0100] rev 4556
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:14 +0100] rev 4555
typo fix in help string
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:55:49 +0100] rev 4554
use subprocess instead of os.popen to run diff
this avoids argument quoting issues (spaces in path, etc)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 12:13:07 +0100] rev 4553
[migration] abort becomes possible when asked for confirmation before migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:18:46 +0100] rev 4552
sort on sortvalue, not dc_title to allow customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:54 +0100] rev 4551
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:32 +0100] rev 4550
fix bug when value is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:20 +0100] rev 4549
Added tag cubicweb-debian-version-3.6.0-1 for changeset 17e88f2485d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:19 +0100] rev 4548
Added tag cubicweb-version-3.6.0 for changeset 5f957e351b0a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 14:31:22 +0100] rev 4547
added jquery.ui image files
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
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.
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
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
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.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 09:18:47 +0100] rev 4430
le patch added_tips 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é