Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:14:58 +0100] rev 7092
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:07:08 +0100] rev 7091
merge: [testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:03:50 +0100] rev 7090
[testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 11:38:52 +0100] rev 7089
remove conflict marker
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Mar 2011 18:12:57 +0100] rev 7088
merge old stable into stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7087
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7086
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:56 +0100] rev 7085
merged back pylint help changes to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:11 +0100] rev 7084
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:37:46 +0100] rev 7083
help pylint by explicitely defining some attributes
* the logging functions automatically set by set_log_methods
* the attributes of Hook classes (eidfrom, entity...):
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 21:36:06 +0100] rev 7082
[doc] fix indentation spelling and grammar of tutorials/advanced/part03_bfss
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 10:38:02 +0100] rev 7081
[doc] complete description of EXISTS in rql/language.rst
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7080
[doc] fix rql/debugging.rst and server.__init__ docstrings
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7079
[doc] fix rql/debugging.rst and server.__init__ docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 22:35:19 +0100] rev 7062
[http test] fix typo in super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:32:19 +0100] rev 7061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:21:40 +0100] rev 7060
[testlib] New assertion method assertSentEmail() to test presence of emails in system mailbox
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 18 Feb 2011 15:26:00 +0100] rev 7059
[tests] Fix web test for windmill and forms
- new component 'inout' needed to be clicked (windmill)
- renamed id will fail html tests (windmill and unittest_forms.py)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:16:44 +0100] rev 7058
[uilib] fix eid_param implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:32 +0100] rev 7057
[test] fix bad super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:12 +0100] rev 7056
[dbapi] split in_memory_cnx functions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:38 +0100] rev 7055
Remove trailing white space
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:15 +0100] rev 7054
Add a "closed" property on session
This will simplify check and allow nicer error thatn the current "no _tx_data"
attribute error.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:02 +0100] rev 7053
[test] Improve tagging and error message of TwistedCWIdentTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:52:35 +0100] rev 7052
[test/windmill] Gracefully skip windmill test if windmill can't be imported.
If windmill import fails the windmill module is set to None and a dummy
CubicWebWindmillUseCase test class is create. This class contains a test that
skip itself with a proper warning message.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:49:32 +0100] rev 7051
[devtools/qunit] had "qunit" test for tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 16:00:25 +0100] rev 7050
[3.10.9 migration] don't display progress bar if stdout is not a tty
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 23:16:22 +0100] rev 7049
[source host alias] match_host is the attribute, match is the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7048
Added tag cubicweb-debian-version-3.11.1-1 for changeset 77318f1ec4aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7047
Added tag cubicweb-version-3.11.1 for changeset d0410eb4d8bb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:22:00 +0100] rev 7046
3.11.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:21:54 +0100] rev 7045
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:29 +0100] rev 7044
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:00 +0100] rev 7043
some copyrigh updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:17:07 +0100] rev 7042
[sql generation] fix exists table scope pb: when iterating other solutions inner to an EXISTS subquery, we should reset variables which have this exists node as scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:15:06 +0100] rev 7041
[sql generation] fix table scope pb: when an inlined relation is used as principal for the rhs variable, we should adjust lhs variable'scope
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 07 Mar 2011 17:02:15 +0100] rev 7040
merge stable changes into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:41:04 +0100] rev 7039
[testlib] backport some useful testing utilities from tracker's testutils module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:40:07 +0100] rev 7038
[testlib] fix rql generation bug w/ groups given as unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 17:50:13 +0100] rev 7037
[multi-sources] add missing close method on ConnectionWrapper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:57 +0100] rev 7036
[c-c db-check] new checks for entities missing a mandatory relation/attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:34 +0100] rev 7035
[c-c db-check] factorize code by introducing notify_fixed dumb function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 15:44:07 +0100] rev 7034
[migration] cleanup corrupted database, pb noticed on several instances
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Mar 2011 12:55:29 +0100] rev 7033
[dataimport] remove eid_key deprecation warning and prints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:14:19 +0100] rev 7032
[config] fix option group clash causing anonymous user configuration to end in the MAIN section instead of the WEB section if cubicweb-dev is installed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:12:42 +0100] rev 7031
[config refactoring] rename eproperty_definition method to cwproperty_definition
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:33:10 +0100] rev 7030
allow configuring the level of the configuration settings for cw-ctl add-source and db-init (which may call add-source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:30:32 +0100] rev 7029
add some tips for users who want to bind to an AD server
adjust the level of the different configuration parameters so that the condfiguration becomes usable outside Logilab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:31:18 +0100] rev 7028
[c-c upgrade] rename force-componant-version option to force-cube-version and cleanup code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:28:59 +0100] rev 7027
[repo querier] fix rqlst cache no limit issue, comment the code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 18:18:42 +0100] rev 7026
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:45 +0100] rev 7025
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:07:40 +0100] rev 7024
[source hooks] filter out case where source configuration doesn't have to be reloaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:00 +0100] rev 7023
Added tag cubicweb-debian-version-3.11.0-1 for changeset 8daabda9f571
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:10:59 +0100] rev 7022
Added tag cubicweb-version-3.11.0 for changeset 37432cede4fe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 16:30:02 +0100] rev 7021
[schema sync] we don't want to react on after_update_entity, it may only causes bug. CWUniqueConstraint should be deleted then a fresh one readded on change (as we do in sync_schema_props_perms)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:21 +0100] rev 7020
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:17 +0100] rev 7019
[source ui] uicfg tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:27:34 +0100] rev 7018
3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:18:28 +0100] rev 7017
[web test] fix some tests broken by recent (and various) changesets
notice test_jscript and test_windmill are still broken, a pain to
maintain and so breaks apycot test since we can't see state change
from green to red (they are always red due to those two tests)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 18 Feb 2011 09:33:51 +0100] rev 7016
[web/views] add a generic rdf view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:49 +0100] rev 7015
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:32 +0100] rev 7014
[testlib pageinfo] extract matching_node method from has_tag to ease looking for a node with a given set of attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 08:04:10 +0100] rev 7013
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:43:45 +0100] rev 7012
[schema serialization] for relation type, ertidx contains the relation type as string, for relation def, the RelationDefinitionSchema instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:23:41 +0100] rev 7011
[schema deserialization] enhance fix done in 7010:fa707848a88a to properly deal with cw 3.9 database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 17:46:10 +0100] rev 7010
[schema deserialization] _unique_together should hold string, not schema instance (may lead to crash during sync_schema_props_perms for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:38 +0100] rev 7009
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:25 +0100] rev 7008
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:18 +0100] rev 7007
[web test] ensure we're using proper instance home
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:09:06 +0100] rev 7006
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:20 +0100] rev 7005
[config] we should load available configuration before search for an instance configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:19 +0100] rev 7004
[dbapi] fix for cases where one want to use 'connect' for an in-memory connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:09 +0100] rev 7003
[skel] avoid pylint warning for newly generated cube
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:26:50 +0100] rev 7002
[sobjects/parsers] compatibility with xml view of cw <= 3.10
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:24:45 +0100] rev 7001
[sobjects/parsers] on validationerror, skip entity and continue processing feed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 17:59:58 +0100] rev 7000
[web test] fix test name conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:30:09 +0100] rev 6999
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:29:47 +0100] rev 6998
merge default heads
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 16 Feb 2011 09:02:00 +0100] rev 6997
[tabs] use datadir_url to build image url instead of hardcoding data/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:54:09 +0100] rev 6996
[wdoc] fallback to english title when no translation found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:40:25 +0100] rev 6995
[datafeed] don't crash if python-kerberos isn't installed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Feb 2011 23:32:32 +0100] rev 6994
[sobjects/parsers] add gssapi auth handler to urllib2 opener
applied patch gssapiauth.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Feb 2011 23:30:01 +0100] rev 6993
[data operation] add new remove_data method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 23:18:20 +0100] rev 6992
[migtration] fix migration script for 'dont cross' relations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:47:15 +0100] rev 6991
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:46:08 +0100] rev 6990
[dataimport] implement create_entity() on ObjectStore to provide a consistent interface
(+fix typo s/attribute_edited/edited_attributed/)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 16:46:49 +0100] rev 6989
[dataimport] make it possible to insert 'empty' (i.e. no-attrs) entities
In such cases (e.g. ternary relations), generated RQL must be
'INSERT MyEntityType' instead of 'INSERT MyEntityType:'
nico [Mon, 14 Feb 2011 09:38:03 +0100] rev 6988
[hooks] do not break if no entity created or updated during feed update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 09:37:17 +0100] rev 6987
[ajax box] fix ajaxBoxShowSelector w/ mono-valued fields + minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6986
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6985
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6984
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6983
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:22 +0100] rev 6982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:09 +0100] rev 6981
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 12:17:47 +0100] rev 6980
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:37:10 +0100] rev 6979
[testlib] take care, validator may be None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:29:23 +0100] rev 6978
[testlib] extract get_validator method from _check_html, move assertDocTestFile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:28:46 +0100] rev 6977
[testlib] new method on page info object to ensure some tag with arbitrary attributes is found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 10:57:35 +0100] rev 6976
[packaging, test] include ldap test files in sdist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 17:17:54 +0100] rev 6975
[test] python 2.5 specifix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:35 +0100] rev 6974
add a note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:23 +0100] rev 6973
[manage view] get etypes first to avoid xhtml validation error if no one found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:20:49 +0100] rev 6972
[datafeed] return empty dict when source is fresh avoid crash in the looping task because None returned
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 10 Feb 2011 13:26:41 +0100] rev 6971
[manage view] fix skipping of startup views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 12:28:31 +0100] rev 6970
[parser host mapping] take care to cases where apphome is None (c-c i18ncube command for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:25 +0100] rev 6969
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:14 +0100] rev 6968
[test] update cwxml tests: computed cwuri have changed, and parser.parse isn't anymore a static method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:57:09 +0100] rev 6967
[testlib] by default skip new 'manage' action's category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:49:41 +0100] rev 6966
[manage view] filter before displaying anything avoid xhtml errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:47:29 +0100] rev 6965
[test] update cwuri test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:08:40 +0100] rev 6964
[test] test extracted from unittest_hooks + new test for unique constraint check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:29 +0100] rev 6963
[datafeed] introduce a host mapping so dev instance may transparently redirect request to another host than the actual's one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:27 +0100] rev 6962
[management ui] add views to manage sources similarly to users
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:25 +0100] rev 6961
[manage view] cleanup manage view and user menu
* drop code that shouldn't be there (e.g. folders handling)
* add a section displaying site management actions, some of them
were initially in the user's drop down menu, which now only have
a 'manage' link with regards to management actions
* stop displaying 'system' and 'schema' entities by default, only
'application' entities
* put 'gc', 'registry' and 'info' views as tabs of a generic
'server information' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:24 +0100] rev 6960
[datafeed] add parser to import cubicweb xml
this parser is configurable through a mapping, which basically
tells which entity's relation should be copied. Multiple actions
to control backport of data are available:
* 'copy': copy the external entities locally (though marked as
coming from the data feed source)
* 'link': find similar entity internaly (e.g. for states)
* 'link-or-create': try to find a similar entity internaly, and create
it if necessary (won't be marked as coming from the data feed source,
e.g. for tags)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:19 +0100] rev 6959
[xml] enhance default entity xml view
* format attributes according to their type in a predictable way
* move eid/cwuri as top level tag attributes
* control which relations should be in using 'relation' form param
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:18 +0100] rev 6958
[pyro source] benefit from addition of latest_retrieval on CWSource
to avoid using a CWProperty to store pyrorql source latest synchronization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:17 +0100] rev 6957
[repository] #1460066: backport datafeed cube as cubicweb source
* add some attributes to CWSource to handle this kind of source
(not natural to put everything in 'config' string). Adding a CWSource
subclass has been attempted then rollbacked because it adds pain
to handle multi-sources planning and it introduce an ambiguity on
a generic relation (cw_source), which may be a penalty in multiple
case
* data feed sources are a new kind of source, namely 'copy based',
which have no effect on the query planner
* a data feed source is associated to a list of url and a parser (appobjects
in the 'parsers' registry
* entities imported by a data feed have cwuri set to their url on the distant
site, their cw_source relation point to the data feed source, though their
source stored in the entities table (returned by cw_metainformation) is their
physical source, hence 'system'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:13 +0100] rev 6956
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:05:39 +0100] rev 6955
[entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:04:04 +0100] rev 6954
[doc] update some copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 16:16:20 +0100] rev 6953
[repo, ms] fix pb introduced in 6941:9ed02daa7dbb resulting in missing relation deletes when an entity is deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:42 +0100] rev 6952
[tabs js] merge tabs and lazy js files into cw.ajax.js and use camel case names to satisfy js coding standards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:23 +0100] rev 6951
[schema, ui] fix is_subobject to skip cw_source relation (else everything is considered as a subobject, since this relation is now composite)
Charles Hébert <charles.hebert@logilab.fr> [Tue, 08 Feb 2011 14:18:18 +0100] rev 6950
[admin ui] nicer views for users/groups management
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 14:16:41 +0100] rev 6949
[test, ui] mark CWSourceSchemaConfig as an internal type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 12:23:30 +0100] rev 6948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 19:17:14 +0100] rev 6947
[js] using the actual registry fixes spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:40 +0100] rev 6946
[pyrorql source] using 'time' option type is more convenient
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:39 +0100] rev 6945
[sources] refactor source creation and options handling
* options validation
* ease proper update of source's config on configuration change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:36 +0100] rev 6944
[sources] rewrite the way pyrorql mapping are stored in the database so it can be reused for other sources (eg datafeed+cwxml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6943
[sources] reorganize abstract source code, drop no more used cleanup_entities_info and _cleanup_system_relations methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6942
[source schema] fix permission pb on cw_host_config_of relation + add composite on cw_source, so entities from a source are properly removed when the source is removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:04 +0100] rev 6941
[repo, ms] optimise external source deletion by using source's eid instead of name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 06 Feb 2011 11:33:04 +0100] rev 6940
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Feb 2011 10:02:48 +0100] rev 6939
[c-c] fix crash on delete instance + potential others when user don't specify db user's password
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:56:59 +0100] rev 6938
add a rql directive to restructuredtext
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Feb 2011 18:18:31 +0100] rev 6937
[pkg] bump dependency on logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6936
Added tag cubicweb-debian-version-3.10.8-1 for changeset 132b525de25b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6935
Added tag cubicweb-version-3.10.8 for changeset e581a86a68f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:12:03 +0100] rev 6934
3.10.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:11:53 +0100] rev 6933
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 11:03:08 +0100] rev 6932
undo part of #6911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 11:52:10 +0100] rev 6931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:10:46 +0100] rev 6930
[test] add test for != operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:08:44 +0100] rev 6929
[rql2sql] fix bug with NOT in "fake" having terms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 10:29:56 +0100] rev 6928
[doc/book] simplify & fix the overview chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:48:57 +0100] rev 6927
ooops :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:31:09 +0100] rev 6926
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:30:48 +0100] rev 6925
[ctxcomponents vreg] allow to specify 'no cache' using __cache argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:28:51 +0100] rev 6924
[js utils] backport some generic code from comments cube
to handle inline ajax form as you get to add comment to entities.
Following stuff has been generalized and backported to ease such things:
* lazy_view_holder() method on EntityCtxComponent class, to build
place holder where the form will be inserted
* ajax_composite_form() function in cw.web.views.ajaxedit, to build
the form itself
* reload() and reloadCtxComponentsSection() javascript function in
cubicweb.ajax.js for the javascript processing side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:24:05 +0100] rev 6923
[doc] update photo web site tutorial: we're starting from cw 3.10/file 1.9+
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:13:47 +0100] rev 6922
[view] fix/enhance view.render
* give view init args when selecting row view
* optimize by avoiding re-selection on rset of size 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:11:28 +0100] rev 6921
[js lib] new string.rstrip method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 16:19:22 +0100] rev 6920
[ibreadcrumb] fix breadcrumb adapter backward compat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 16:08:40 +0100] rev 6919
[selectors] modify workflow selectors: is_in_state, on_transition
- factorize `is_on_state` selector
- add new `on_transition` selector
Especially useful to match pending transitions to enable notifications when
your workflow allows several transition to the same states.
Note that if workflow `change_state` adapter method is used, this selector
will not be triggered.
In debug mode:
These both selectors will check against the entity current workflow if expected
values given in selector argument are valid.
ValueError exception will be raised for unmatching state/transition
names against the current workflow (generic etype workflow).
(check against custom workflow is not implemented)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 15:23:47 +0100] rev 6918
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally
When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the
permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not
be able to run the db-dump command.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 11:21:45 +0100] rev 6917
[debian] fix lintian errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:24:19 +0100] rev 6916
[devtools] fix understanding of boundary constraint on db automatic population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:15:14 +0100] rev 6915
[rset] fix entity building for some result set with UNION and subqueries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:12:13 +0100] rev 6914
[c-c] lgc 0.54 check for duplicated commands, this may occurs with cw where plugins are automaticall (re)loaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:11:26 +0100] rev 6913
[utils] support_args now support classes, searching if __init__ supports the arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 11:08:31 +0100] rev 6912
[schema sync] fix crash when bad inlinment detected, inlined is not in the locals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 18:46:47 +0100] rev 6911
cleanup, docstring update
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 18:29:17 +0100] rev 6910
fix test broken by addition of new entity in test schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 16:28:00 +0100] rev 6909
[view] missing class on label span
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 14:10:44 +0100] rev 6908
fix #1452413 : is_in_state selector does not match initial state of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:43:49 +0100] rev 6907
[component] refactor layout retrieval to handle case where we've an entity without rset properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:42:51 +0100] rev 6906
[forms] EntityFieldsForm now take extra mainentity argument, for usage with composite form (the main form) where one of the subform edits the main entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:41:00 +0100] rev 6905
[selectors] one_line_rset selector should also work when rset is None but an entity is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:40:01 +0100] rev 6904
[workflow] fix warning: we want to see the adapted entity, not the adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:39:29 +0100] rev 6903
[js] fix deprecated call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:52 +0100] rev 6902
[uicfg] fix reledit rtag initialization for final relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:14 +0100] rev 6901
[uicfg] use INTERNAL_TYPES and WORKFLOW_TYPES to initialize indexview_etype_section dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:44:08 +0100] rev 6900
[rtags] fix NoTargetRelationTagsDict to ensure relation are tagged using '*' during initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:42:18 +0100] rev 6899
[rtags] speepup initialization by avoiding to get file entity types relations (useless)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 17:44:38 +0100] rev 6898
[skel] try to generate warning free stub...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 12:21:47 +0100] rev 6897
[deprecation] kill remaining 3.6 warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 11:39:21 +0100] rev 6896
[migration] cwunique constraint schema fix must be done in bootstrap migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 10:50:38 +0100] rev 6895
[i18n] missing some english translation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:49:05 +0100] rev 6894
we must check constraint for all concerned entities and not stop at the first deleted one
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:42:40 +0100] rev 6893
avoid creating a new instance of CleanupDeletedEidsCacheOp if nothing was deleted
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 15:16:05 +0100] rev 6892
[css] fix popup css (login box) for IE7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 09:32:34 +0100] rev 6891
[user form] use InOutWidget to edit CWUser in_group relation
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 12:50:56 +0100] rev 6890
[widgets, js] add a InOutWidget for multiple select
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 25 Jan 2011 12:09:59 +0100] rev 6889
improve massive deletion performance
change hooks.integrity._DelayedDeleteOp implementation to give it a chance of
processing the entities by chunks of reasonnable size (500 entities at a time)
adapt ssplanner.DeleteEntitiesStep to call a variant of glob_delete_entity with several entities.
That variant calls all the before_delete_entities hooks in one go, then
performs the deletion, and then calls all the after_delete_entities hooks. The
deletion is performed by grouping together entities by etype and by source.
adapt the HooksManager to call the hooks on a list of entities instead of on a single entity.
adapt the sources to be able to delete several entities of the same etype at once.
changed the source fti_(un)index_entity methods to fti_(un)index_entities taking a collection of entities.
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 10:01:19 +0100] rev 6888
[ldap] remove useless hack in unittest_ldapuser.py
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:52:49 +0100] rev 6887
[tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:51:47 +0100] rev 6886
[ldap] small code cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Jan 2011 09:20:38 +0100] rev 6885
[test] fix score_entity test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:42 +0100] rev 6884
[testlib] missing method on value generator to generate the Interval type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:14 +0100] rev 6883
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 17:02:38 +0100] rev 6882
backport stable
Charles Hébert <charles.hebert@logilab.fr> [Mon, 24 Jan 2011 16:59:26 +0100] rev 6881
[selector] update `match_transition` selector to match form & as well as form view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 11:39:53 +0100] rev 6880
[book] fixes some references and other doc construction pbs
* predefine order of js files in index generation, skip some files
* fix some references to the base tutorial (recently changed)
* other ReST fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:42:09 +0100] rev 6879
[book] advanced tutorial part 5 improvments: add some roles, talk about cube's layout, strip image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:40:54 +0100] rev 6878
update code sample to 3.10 api
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 24 Jan 2011 09:17:11 +0100] rev 6877
blog proofreading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 23 Jan 2011 14:59:04 +0100] rev 6876
[doc] backport part 3 & 4 of the sytweb's tutorial + to be published part 5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 16:38:13 +0100] rev 6875
[test] missing future imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 14:14:30 +0100] rev 6874
[test] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 13:07:10 +0100] rev 6873
[schema test] fix tests broken by 6861:9d4e11d6e783 (missing data files and not removed deprecated/broken test)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 21 Jan 2011 11:13:40 +0100] rev 6872
[vreg] check for identical app objects when replacing
Prevent from weird behaviour when you badly wrote vreg callback
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 14:38:53 +0100] rev 6871
[docstring] minor: add warning about entity cache for rql_condition selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:51:58 +0100] rev 6870
[selectors] minor: use similar __repr__ implementation for selector instances
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 13:16:30 +0100] rev 6869
[tests] new unit tests about score_entity selector (inscore machinery)