Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:34 +0100] rev 4851
remove deprecation warning introduced by add_onload api change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:16 +0100] rev 4850
[refactor] drop rset.vreg attribute, vreg should be accessed through rset.req. Also kill decorate_rset, simply set rset.req where we were calling this method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:03:26 +0100] rev 4849
missing rename
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:54:27 +0100] rev 4848
rename logilab.db into logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:42:06 +0100] rev 4847
move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:27:41 +0100] rev 4846
[widget] allow to specify hour/minute separator on the JQueryTimePicker (vgodard patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:05:29 +0100] rev 4845
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:01:44 +0100] rev 4844
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:00:48 +0100] rev 4843
fix hooks control method name + other litle cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:50 +0100] rev 4842
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:44 +0100] rev 4841
move SLINK_DIRECTORIES creation to a function avoid unnecessary import (and kill that damed warning of psyco not being installed)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:55 +0100] rev 4840
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:38 +0100] rev 4839
[schema hooks] properly check for changes of schema properties avoid useless costly operation (such as full-text reindexing all entities of a type). Refactor inlined handling and fix a bug trying to reindex a final entity type on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:51:08 +0100] rev 4838
[hook] entity_oldnew_value may cause bug on attributes explicitly set to None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:49:57 +0100] rev 4837
misc fixes to ensure logilab.db compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:48:46 +0100] rev 4836
[sql generation] fti_need_distinct quere was not anymore used, potentially causing duplicates on has_text queries with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 08:59:43 +0100] rev 4835
[repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 19:02:35 +0100] rev 4834
move hooks activation control on session object, so we can have a per transaction control. Added a new `hooks_control` context manager for usual modification of hooks activation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:31:36 +0100] rev 4833
3.7 depends on python >= 2.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:08:24 +0100] rev 4832
rename deprecated file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 17:57:29 +0100] rev 4831
[repo] use logilab.db instead of lgc.adbh/lgc.db/lgc.sqlgen/indexer, test new date extranction functions
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Mar 2010 19:11:47 +0100] rev 4830
[javascript] fix #736185: add_onload / jQuery.bind() vs. jQuery.one()
This patch introduces a new 'server-response' event and
deprecates the 'ajax-loaded' event.
- 'server-response' is triggered by postAjaxLoad() (instead of
'ajax-loaded').
- 'server-response' is also triggered on document.ready().
- The add_onload() method binds the javascript code the
'server-response' event whether or not it's an ajax
request, thus removing the need of the jsoncall hackish
parameter. The binding is done with jQuery.one() instead
of jQuery.bind().
- The javascript callbacks will be passed two extra parameters :
a boolean to indicate if it's an ajax request or not, the DOM
node (result of the HTTP query). As javascript is what it is,
callbacks can safely ignore those two parameters if they don't
need them.
Backward compatibility is maintained by triggerring an 'ajax-loaded'
event when a 'server-response' is emitted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:51:29 +0100] rev 4829
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:05:17 +0100] rev 4828
[cleanup] fti_* method already try/except exception, no need for additional catch here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:04:36 +0100] rev 4827
[hook] use entity instead of values dict, check for edited_attributes on rtype change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:03:43 +0100] rev 4826
[schema hook] fulltext_container is a relation *type* property. Test and fix (+ more fti properties change testing)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:00:23 +0100] rev 4825
fix name error fixed in wrong branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 08:59:07 +0100] rev 4824
[test] don't use an internal url for test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:39 +0100] rev 4823
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:18 +0100] rev 4822
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 18:57:13 +0100] rev 4821
Added tag cubicweb-debian-version-3.6.1-2 for changeset 0a16f07112b9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:52 +0100] rev 4820
[pkg/debian] prepare 3.6.1-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:22 +0100] rev 4819
[pkg/debian] Remove python-elementtree from Depends
elementTree is included in python2.5 and all supported distrib are 2.5 or above.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:07:39 +0100] rev 4818
le patch massiveimport a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:29:24 +0100] rev 4817
fix bad test fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:24:01 +0100] rev 4816
repair stuff broken by fti handling changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:22:41 +0100] rev 4815
update test broken by fulltextindexed change on workflow entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:05:47 +0100] rev 4814
fix another name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:04:46 +0100] rev 4813
fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 12:18:22 +0100] rev 4812
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:39:34 +0100] rev 4811
eschema_type_eid become eschema_eid and always get a schema as argument + misc cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:35:06 +0100] rev 4810
don't issue critical warning about missing text index when we're creating the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:24:55 +0100] rev 4809
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:06:03 +0100] rev 4808
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:04:26 +0100] rev 4807
[cleanup] add index_entity to abstract source, add docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:02:33 +0100] rev 4806
[fti] refactor and fix full text indexation handling
* moved logic from repository to the native source
* avoid creating a FTIndexOp when no full text indexation is needed
* entities with fulltext_container set are not indexed even when not
related to a container
* avoid duplicated unindexation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:58:31 +0100] rev 4805
[schema] do not fulltext index workflow entities'description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:51:19 +0100] rev 4804
no key error subsequent to test module import error
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:51:27 +0100] rev 4803
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:50:17 +0100] rev 4802
[views/breadcrumbs] fix bad signature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:31 +0100] rev 4801
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:14 +0100] rev 4800
nicer explanation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:48:55 +0100] rev 4799
fix schema serialization bug: groupmap considered as addrdef argument
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Mar 2010 16:58:40 +0100] rev 4798
[cwctl] list will warn about a badly formatted version constraint instead of crashing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:23 +0100] rev 4797
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:09 +0100] rev 4796
oops, 'not' missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:07:54 +0100] rev 4795
[repo] fix bug introduced by 4757:ec9c20c6b9f7, testing for select.selection is not enough to avoid the substep query, we should check there is no interesting restriction (test added)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 11:45:29 +0100] rev 4794
[rql2sql] fix potential crash when testing _q_invariant on a ColumnAlias instead of a Variable by always considering _q_invariant to false for them
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:58:28 +0100] rev 4793
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:46 +0100] rev 4792
fix test broken by meta relation permissions tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:27 +0100] rev 4791
fix schema serialization, bad repartition of changes between stable and default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:23:20 +0100] rev 4790
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:22:21 +0100] rev 4789
remove stuff from default introduced accidentally in stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:16:48 +0100] rev 4788
applied vgodard patch for jquery rounded corner w/ MSIE >= 8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 09:57:40 +0100] rev 4787
backport stable
Adrien Chauve <adrien.chauve@logilab.fr> [Thu, 04 Mar 2010 09:43:16 +0100] rev 4786
[fix] #731915 use add_onload instead of plain <script> tag for progress bar.
This changeset fixes : #731915: missing inprogress style on the project page
Content fetched with ajax have their <script> tags removed. (see #734414) We
now use the _cw.html_headers.add_onload method to execute the javascript code
necessary to draw the progress bar.
In the process we removed the ProgressBarWidget and merged it in
ProgressTableView.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 09:35:34 +0100] rev 4785
add render_description method to RSSItemView to improve modularity.
The construction of the description marker of and rss entry is currently built
by the main cell_call function. This make the job hard for RSSItemView subclass
to change the default behaviour. The changeset fix this issue by extracting the
description creation into a render_description method. Such extraction are
already in place for various rss marquer.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 26 Feb 2010 17:00:42 +0100] rev 4784
le patch documentation-admin-tips a été importé
Julien Jehannet <Julien Jehannet <julien.jehannet@logilab.fr>> [Tue, 02 Mar 2010 21:48:36 +0100] rev 4783
[F] views: fix 2 unicode errors
1. You can now use valid unicode strings in ValidationError exception.
Previously, if 'err' contains unicode, UnicodeDecodeError was raised by format_errors()
>>> templstr = '<li>%s</li>\n'
>>> e = ValidationError(None, {None: u'oué, une exception en unicode!'})
>>> templstr % e
'<li>None (None): ou\xc3\xa9, une exception en unicode!</li>\n'
>>> templstr = u'<li>%s</li>\n'
>>> templstr % e
u'<li>None (None): ou\xe9, une exception en unicode!</li>\n'
2. The message of an Exception can contains unicode. But it now properly managed by “informal” string representation.
We can easily fix the problem by using the Exception.message attribute that still contains the original message.
>>> a = AssertionError(u'séfdsdf')
>>> a.message
u's\xe9fdsdf'
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
>>> a = ValueError(u'fsdfsdéfsdfs')
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a
ValueError(u'fsdfsd\xe9fsdfs',)
>>> unicode(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a.message
u'fsdfsd\xe9fsdfs'
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 22 Feb 2010 17:23:46 +0100] rev 4782
le patch fix-3.6-deprecation-warning a été importé
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:27 +0100] rev 4781
Suppress the hidden logform when the user is already connected
by adding a conditionned logform
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:21 +0100] rev 4780
fix a Depression Warning
replace self.req._(... by self._cw._(...
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:03 +0100] rev 4779
fix: Prevent multi pass in restore_previous_post
by adding a conditional return add the top of the methode.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 08:48:51 +0100] rev 4778
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:20:03 +0100] rev 4777
[test] check _shutting_down, not empty dict (empty dict test should go in pytestgc patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:03:52 +0100] rev 4776
assert we are not already shutting down
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:02:36 +0100] rev 4775
[test] call super class teardown after perms restoration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:57:41 +0100] rev 4774
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:56:37 +0100] rev 4773
[testlib] properly close dumb sessions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:54:07 +0100] rev 4772
[debug] more (dirty) gc debuging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:56 +0100] rev 4771
custom rest publisher instead of using rest_publish. Avoid to keep a ref on the latest context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:01 +0100] rev 4770
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:33:56 +0100] rev 4769
[rest] cleanup, avoid deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:32:21 +0100] rev 4768
delete pyro proxy on connection close, properly raise programming error when working on a closed connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:31:08 +0100] rev 4767
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:30:25 +0100] rev 4766
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:12:28 +0100] rev 4765
more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:59:05 +0100] rev 4764
[repo] improve planning of insert/update queries: do not select affected constants so the don't go and back to/from the source.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:56:04 +0100] rev 4763
schema serialization optimization by using eids instead of type names. Heavy refactoring/cleanup on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:51:49 +0100] rev 4762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:49:24 +0100] rev 4761
[testlib] automatic test shouldn't try to populate default_workflow
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:48:08 +0100] rev 4760
minor schema serialization optimization:
* remove verbose handling, no more necessary since server.set_debug
* remove old bw compat code
* other cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:42:19 +0100] rev 4759
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:39:22 +0100] rev 4758
fix code and tests broken by 4744:13a5d3a7410e (proper permission on eid/has_text/identity relations)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:58:39 +0100] rev 4757
do not check for use template permission when session is super session or integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:57:32 +0100] rev 4756
do not check for existant entity when relation of single card is added but integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:44:26 +0100] rev 4755
[schema] tweaks meta-relations and schema/workflow entities attributes permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:43:26 +0100] rev 4754
[schema] new constants for permissions definitions
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Mar 2010 14:06:05 +0100] rev 4753
[book/ldap] note on the role of two options
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:32:46 +0100] rev 4752
[book/cwctl] reorganize a bit this page (very messy)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:15:26 +0100] rev 4751
[book] more id -> __regid__
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:11:46 +0100] rev 4750
[book/entities] a bit of flesh to the interface chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:46:58 +0100] rev 4749
[book/admin/pyro] fix pyro options, give a small setup example
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:10:03 +0100] rev 4748
[book/faq] cleanup & complete a bit
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 16:06:36 +0100] rev 4747
[book/admin/setup] notes about configuration of sql server
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:47:26 +0100] rev 4746
[book] remove seemingly unused old cruft
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:51 +0100] rev 4745
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:45 +0100] rev 4744
[book] cleanup (deleting/moving) old stuff
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:11:11 +0100] rev 4743
[book] a few autoclasses for renderers, misc tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 14:39:06 +0100] rev 4742
[primary] navcontentbottom sections should be in the content table as navcontenttop
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 13:00:41 +0100] rev 4741
[book/controllers] add some content (overview, api super sketch) for the cubicweb controllers
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 12:04:33 +0100] rev 4740
[book/ldap] add missing LDAP section
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 11:21:29 +0100] rev 4739
[reledit] add ajax html head div, which allows to get additional css/js up to the browser #620569
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Mar 2010 16:02:22 +0100] rev 4738
fix open/close/open subnode bug #730709
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:39:33 +0100] rev 4737
backport stable to default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4736
Added tag cubicweb-debian-version-3.6.1-1 for changeset b9cdfe3341d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4735
Added tag cubicweb-version-3.6.1 for changeset 4ae30c9ca11b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 16:51:41 +0100] rev 4734
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:39:59 +0100] rev 4733
3.6.1 depending on yams 0.28
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:36:30 +0100] rev 4732
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4731
Added tag cubicweb-debian-version-3.6.0-1 for changeset d2ba93fcb8da
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4730
Added tag cubicweb-version-3.6.0 for changeset 450804da3ab2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:32:32 +0100] rev 4729
3.6.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:28:15 +0100] rev 4728
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:27:55 +0100] rev 4727
tabs/lazy views: provide a link for the no js user agents (lynx, blinds, google) #693670
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:22:22 +0100] rev 4726
[test] XXX fix to have pytest succeed on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:56:06 +0100] rev 4725
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:31:10 +0100] rev 4724
fix test, broken by the merge of debug and info views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:46 +0100] rev 4723
ensure we don't break xhtml
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:24 +0100] rev 4722
pylint suggested refactorings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:24:47 +0100] rev 4721
pylint style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:21:13 +0100] rev 4720
don't use module doc string as usage string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:19:14 +0100] rev 4719
kill dead/useless code as suggested by pylint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:12:01 +0100] rev 4718
avoid module import in c-c plugins module, and remind it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:10:16 +0100] rev 4717
proper deprecation warning when import class that should be imported from yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:09:12 +0100] rev 4716
fix some pylint detected errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:32 +0100] rev 4715
[test] fix test broken by arthur processinfo patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:03 +0100] rev 4714
merge debug and info views
plus enhancements:
* nicer presentation
* proper translations
* kill dead (modpython!) code
* fix repository stats (active thread count / add looping tasks information)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:27 +0100] rev 4713
[i18n] nothing to translate here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:03 +0100] rev 4712
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:55 +0100] rev 4711
[test] we should properly use vreg method to compute solutions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:02 +0100] rev 4710
[pool] properly close existing connection before reconnection
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 26 Feb 2010 07:44:18 +0100] rev 4709
[web] fix #724769: Use RemoteCallFailed in the publisher's error_handler
On json_request, errors handled by the publisher should raise RemoteCallFailed
exceptions instead of standard StatusResponse so that errbacks get called
normally on the client side.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:26:47 +0100] rev 4708
#687194: cubicweb-ctl exlog : fix help message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:08:11 +0100] rev 4707
merge
arthur [Fri, 26 Feb 2010 07:07:28 +0100] rev 4706
added stats for munin collecting #615844 - from 027bbff3659f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:04:52 +0100] rev 4705
[dbapi] no more need to monkey patch this in 3.6: vreg/schema/config are all properly accessed through ._cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:03:38 +0100] rev 4704
[session] fix memory leak: local thread data living in a thread that never finishes (eg, the main thread) may not be properly freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:59:16 +0100] rev 4703
[session] user.login is usually an unicode string, so implements __unicode__ instead of __str__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:57:02 +0100] rev 4702
fix docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:55:43 +0100] rev 4701
[facet] before 3.6 we were sure to have a cw_rset attribute. Restore this for facets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Feb 2010 17:42:51 +0100] rev 4700
[iprogress] missing js file
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:43:11 +0100] rev 4699
[hooks] match_rtype and match_rtype_sets don't need to extend match_search_state
The only method actually used by those 2 classes is __str__ that is defined
on ExpectedValueSelector, not match_search_state.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:40:47 +0100] rev 4698
[uicfg] section='inlined' is acceptable for inlined forms
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:39:49 +0100] rev 4697
[web] fix muledit rendering bug
form.cw_col might be None and explicitly passing None to the selector
chain may crash. Most __call__ methods of selectors are defined as in :
def __call__(self, cls, req, rset, row=None, col=0, **kwargs)
and then manipulate col as if it's an integer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:08:13 +0100] rev 4696
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:07:17 +0100] rev 4695
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:37 +0100] rev 4694
simplejson may not be available with python 2.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:15 +0100] rev 4693
ensure make_uid return something that may be used as dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:53 +0100] rev 4692
[test] also hide this message during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:30 +0100] rev 4691
[test] fix test inter-dependancies pb. Pytest ok in each individual test dir, though not yet for whole cubicweb, but for different reasons
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:53:36 +0100] rev 4690
[testlib] provide ability to control schema/vreg reset using reset_schema/reset_vreg test class attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:52:11 +0100] rev 4689
[test] skipping versions checking during test is enough, no need for monkey patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:48:24 +0100] rev 4688
[goa] we don't use mx anymore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:21:51 +0100] rev 4687
[integrity] skip auto-delete for internal sessions (but *not* for super session, see 4642:921737d2e3a8)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:20:13 +0100] rev 4686
[integrity] temporary fix auto-delete relation (see 4673:6f8b925a29f4 and 4642:921737d2e3a8): we want no read perms, though we want to check delete perms. Should be properly fixed in 3.7 once we've proper security control and [unsafe_]execute behaviour on the repository side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:14:14 +0100] rev 4685
use set_action_permissions is clearer and avoid @cached issue across tests
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 24 Feb 2010 12:49:55 +0100] rev 4684
[cwctl] use l.c.changelog for version comparison
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:11:27 +0100] rev 4683
[form] only set __form_id for the main form, not for sub-forms. Should fix regression introduced by 4668:9f82f81bf13d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:05:01 +0100] rev 4682
don't issue critical message when trying to alter sqlite db during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:04:28 +0100] rev 4681
[test] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:56:47 +0100] rev 4680
[test] update tests broken by changes on attributes permissions handling in yams (add/delete replaced by update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:37:37 +0100] rev 4679
remove #<formid> from url used to redirect after a validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:35:06 +0100] rev 4678
[test] no more __cubicweb_internal_field__ value displayed on password widget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:34:37 +0100] rev 4677
[test] inline-creation requires petype argument to be selectable. Fix arguments order to make it clearer that 'template' is an argument of the test class .view method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:33:31 +0100] rev 4676
[test] skip test when fop failed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:32:22 +0100] rev 4675
[test] don't display progress bar when testing checkintegrity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:30:31 +0100] rev 4674
[test api] rename _user_session to user_groups_session, fix its arguments and return only the session, not (user, session) to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:23:46 +0100] rev 4673
auto-delete relation with single cardinality using execute, not unsafe_execute, so permissions are correctly checked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:22:40 +0100] rev 4672
fix tests
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