Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 11:16:39 +0100] rev 3841
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 11:16:24 +0100] rev 3840
prepare support for a 'context toolbar', used in tracker but will much probably be backported in default primary view. Turn pdfview component into a toolbar element
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 11:14:48 +0100] rev 3839
missing space between label and value
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 13 Nov 2009 10:47:26 +0100] rev 3838
[web] safety belt to avoid overriding pageid with loadxhtml()
HtmlHeaders.define_var() now accepts a third optional 'override' paramater.
If set to False, the variable won't be evaluated if it's already defined
in the page.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 09:16:28 +0100] rev 3837
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 09:15:28 +0100] rev 3836
fix necessary when adding a cube which isn't listed in fs dependencies of the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Nov 2009 09:13:30 +0100] rev 3835
more sensible default values to c-c "create" inputs
* db name default to instance name
* db user default to user's login on 'user' mode
* admin account login default to 'admin'
note: dirty hack to make default_instance_id method available
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 12 Nov 2009 18:27:59 +0100] rev 3834
[javascript] fid form / onfailure behaviour
If onfailure is specified, it should be done _before_ any default /
standard CW action is done.
The callback signature should be the same as the onsuccess one.
If the onfailure callback returns true, the default actions will still
take place afterwards, otherwise (i.e. return false), the processing
stops directly after the callback.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 17:36:15 +0100] rev 3833
add set_page_data as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 17:32:09 +0100] rev 3832
#473188: missing get_page_data when patching bare db-api request for web compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 17:31:19 +0100] rev 3831
benefit from the orm for clearer code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 17:15:07 +0100] rev 3830
close #472361: omit password and bytes attributes in allowed mass-mailing keys
by fixing default implementation for allowed_massmail_keys() in the
Emailable pluggable mixin (cw.common.mixins).
Added test (in entities.test though), also fix CWUserTC classes conflicts in the test module.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 13:53:26 +0100] rev 3829
close #474415 by using 'is' instead of comparison which explicitly fails on entity classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 13:46:47 +0100] rev 3828
when instance is started normally (eg not in debug mode), check versions before daemonization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 13:46:10 +0100] rev 3827
doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 12:15:19 +0100] rev 3826
close #511810: bad rql generated when looking for vocabulary for a relation on an entity which doesn't exist (yet)
technical details:
* add a graph of linked variables in the RRQLExpression instance
* modify rql rewriter to remove relations where an unexistant
variable and or a variable linked to an unexistant variable is used.
* activate this feature in Entity.unrelated_rql if the entity doesn't exists yet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 12:08:43 +0100] rev 3825
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 12:08:30 +0100] rev 3824
consider U when computing main variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 12:07:59 +0100] rev 3823
fix cut and paste
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 09:33:55 +0100] rev 3822
do not fail if anon user == manager, simply emit warning that it should not be done in production.
close #469395
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 09:27:26 +0100] rev 3821
oops, junk
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 09:27:01 +0100] rev 3820
c-c create stopped asking if anonymous access should be activated
introduced by 2654:6512522860aa, close #469418
Generic behaviour of WebCreateHandler should be kept for
twisted and all-in-one configurations.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Nov 2009 09:08:00 +0100] rev 3819
no more dependency on mx date time. Better description of optional dependencies
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 11 Nov 2009 14:44:58 +0100] rev 3818
[web ui] move help from header to footer
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Nov 2009 18:13:07 +0100] rev 3817
merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Nov 2009 18:11:24 +0100] rev 3816
[web] set pageid at request instanciation rather than in htmlheader template
In some occasions, we need to force a pageid: typically an ajax-rendererd
creation form would need to use the pageid of the main page to correclty
set it's page_data (e.g. rql varmker).
If pageid is found in req.form, it's used, otherwise we build a new one with.
make_uid(). The behaviour should be consistent with the former one in
JSonController.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Nov 2009 18:06:47 +0100] rev 3815
test and fix http://www.logilab.org/ticket/499838
refactor nicely on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Nov 2009 15:46:34 +0100] rev 3814
merge