Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 18:21:30 +0100] rev 4671
add */*.py to default MANIFEST.in to avoid pb such as #719282 in the future
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:39:13 +0100] rev 4670
fix #615379 by checking admin user exists instead of making think everything is fine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:43 +0100] rev 4669
cleanup, typos
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