Tue, 14 May 2013 00:36:43 +0200 [connection] add logging method on connection
pierre-yves [Tue, 14 May 2013 00:36:43 +0200] rev 9021
[connection] add logging method on connection If we are to use this object like we currently do with session, we need to have the logging method as a lot of code use them.
Thu, 13 Jun 2013 15:12:06 +0200 rename server.session.transaction into server.session.connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 15:12:06 +0200] rev 9020
rename server.session.transaction into server.session.connection The ongoing rework of the API to access the database include the splitting of Session in two objects: The ``Session`` object will only hold credential (user) and global session data. A new object will publicly emerge to handle a database access. This object is named ``Connection`` since that the way database accessors with the same property are named in other system. So we renamed the ``Transaction`` object into ``Connection``. The ``Transaction`` object have already grown in the direction of something directly usable by generic code, but the name ``Transaction`` is ill suited as such object can be used for multiple database transaction in a row. Related to #2503918
Fri, 14 Jun 2013 13:43:29 +0200 [application] call req.set_session in application.main_handle_request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 13:43:29 +0200] rev 9019
[application] call req.set_session in application.main_handle_request The Session handling chain is no more responsible for calling req.set_session. It just returns a valid session and lets the caller link it to the Request. This opens the way to explicitly creating and closing a connection/transaction in ``application.main_handle_request``. Related to #2503918
Thu, 13 Jun 2013 18:46:39 +0200 [session-handler] use session directly to update last usage
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:46:39 +0200] rev 9018
[session-handler] use session directly to update last usage We don't really need the WebRequest for that. Not using the WebRequest to access the cubicweb repository here will allow a delayed set_session. Related to #2503918
Thu, 13 Jun 2013 18:50:19 +0200 [application/connect] simplify connection logic
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:50:19 +0200] rev 9017
[application/connect] simplify connection logic ``application.connect`` now either sets a full featured ``DBAPISession`` to the ``WebRequest`` object or raises ``AuthenticationError``. The creation and usage of a fake DBAPISession is now handled by ``main_handle_request`` when needed. This means that fake DBAPISession are no longer tracked by the session manager and that user are not given anyway to retrieve them for a later request. This fake DBAPISession is still passed to ``core_handle`` because multiple cubes like registration or forgotten password need this behavior. We would like to get ride of it in the future. This clarification of the connection API greatly simplifies ``DBAPISession`` retrieval//creation process opening the way to improvements in this area. Related to #2503918
Thu, 13 Jun 2013 15:36:10 +0200 Drop hijack user (closes #2901093)
pierre-yves [Thu, 13 Jun 2013 15:36:10 +0200] rev 9016
Drop hijack user (closes #2901093) Deprecated since 3.17.0. Dropping this function help the session cleanup business.
Thu, 13 Jun 2013 17:27:43 +0200 [sources] drop support for ldapuser source (closes #2936496)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 17:27:43 +0200] rev 9015
[sources] drop support for ldapuser source (closes #2936496) The ldapfeed source is a replacement for ldapuser. Use it instead.
Fri, 14 Jun 2013 17:13:17 +0200 merge stable back into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 17:13:17 +0200] rev 9014
merge stable back into default
Fri, 14 Jun 2013 16:26:25 +0200 3.17 is the new stable stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:26:25 +0200] rev 9013
3.17 is the new stable
Fri, 14 Jun 2013 16:13:24 +0200 Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4 stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:13:24 +0200] rev 9012
Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4
Fri, 14 Jun 2013 16:02:39 +0200 [pkg] prepare 3.16.5 stable cubicweb-centos-version-3.16.5-1 cubicweb-debiann-version-3.16.5-1 cubicweb-version-3.16.5
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:02:39 +0200] rev 9011
[pkg] prepare 3.16.5
Fri, 14 Jun 2013 14:41:50 +0200 Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 14:41:50 +0200] rev 9010
Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
Thu, 13 Jun 2013 17:32:49 +0200 [pkg] prepare 3.17.2 cubicweb-debian-version-3.17.2-1 cubicweb-version-3.17.2
David Douard <david.douard@logilab.fr> [Thu, 13 Jun 2013 17:32:49 +0200] rev 9009
[pkg] prepare 3.17.2
Fri, 14 Jun 2013 11:53:40 +0200 repository: make tests pass again
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Jun 2013 11:53:40 +0200] rev 9008
repository: make tests pass again The tests use mono-threaded pyro, which breaks assumptions made in e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict when they're closed, and force the test pyro client to actually disconnect when it's done.
Wed, 12 Jun 2013 18:33:50 +0200 repository: monkey patch pyro connection handling to detect clients going away
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 18:33:50 +0200] rev 9007
repository: monkey patch pyro connection handling to detect clients going away When a pyro client goes away we need to close their session (to release their cnxset). Add a dict to the repository mapping pyro client threads to session object. Closes #2932058
Thu, 13 Jun 2013 12:01:23 +0200 notification: use viewargs for notif_entity_updated instead of transaction_data
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:01:23 +0200] rev 9006
notification: use viewargs for notif_entity_updated instead of transaction_data Now that notifications use separate sessions, they can't rely on the original transaction_data being around, so pass the data through view arguments instead, so the notification view knows what changed on updated entities. Closes #2936180
Thu, 13 Jun 2013 12:03:59 +0200 notification: properly handle cnx and lifetime of the hijacked session
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:03:59 +0200] rev 9005
notification: properly handle cnx and lifetime of the hijacked session When we create a session for the notification rendering, we need to 1) give it a cnxset 2) commit and close it after we're done 3) restore the original session for subsequent notifications This changes the ordering of actual mail sending, since there are several different commits involved, but I don't see a way to fix that short of restoring hijack_user. Related to #2934523
Wed, 12 Jun 2013 12:27:00 +0200 notification: fix session creation (closes #2934523)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:27:00 +0200] rev 9004
notification: fix session creation (closes #2934523) Session() takes a user and repo, not repo and user.
Fri, 07 Jun 2013 16:48:20 +0200 Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
David Douard <david.douard@logilab.fr> [Fri, 07 Jun 2013 16:48:20 +0200] rev 9003
Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
Fri, 24 May 2013 13:00:28 +0200 [cwctl] add configure command to cw-ctl (closes #2709702) cubicweb-centos-version-3.17.1-1 cubicweb-debian-version-3.17.1-1 cubicweb-version-3.17.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 13:00:28 +0200] rev 9002
[cwctl] add configure command to cw-ctl (closes #2709702) usage: cw-ctl configure <appid> --param key=value,key2=value2 --param key3=value3
Fri, 24 May 2013 14:02:45 +0200 [cwctl] rename option no-post-create to no-db-create
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:02:45 +0200] rev 9001
[cwctl] rename option no-post-create to no-db-create
Thu, 06 Jun 2013 16:02:46 +0200 [pkg] version 3.17.1 for rpm packages
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 16:02:46 +0200] rev 9000
[pkg] version 3.17.1 for rpm packages
Mon, 27 May 2013 15:48:03 +0200 [session] upgrade session closed error from Exception to SessionClosedError
pierre-yves [Mon, 27 May 2013 15:48:03 +0200] rev 8999
[session] upgrade session closed error from Exception to SessionClosedError Exception is far too wide and we already have a SessionClosedError anyway. Closes #2897696
Thu, 06 Jun 2013 12:29:44 +0200 [pkg] prepare 3.17.1
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 12:29:44 +0200] rev 8998
[pkg] prepare 3.17.1
Thu, 30 May 2013 14:46:32 +0200 [web/application] add some minimal documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 May 2013 14:46:32 +0200] rev 8997
[web/application] add some minimal documentation Some documentation to the Application main entry point.
Thu, 23 May 2013 19:25:24 +0200 [session] raise proper exception with get_tx is called on a closed session
pierre-yves [Thu, 23 May 2013 19:25:24 +0200] rev 8996
[session] raise proper exception with get_tx is called on a closed session Prevent attribute error on _txs Closes #2897836
Thu, 06 Jun 2013 09:44:37 +0200 [view] typo in a docstring
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 09:44:37 +0200] rev 8995
[view] typo in a docstring
Fri, 24 May 2013 14:07:46 +0200 [cwctl] pass missing inputlevel argument to postcreate() (closes #2901037) stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:07:46 +0200] rev 8994
[cwctl] pass missing inputlevel argument to postcreate() (closes #2901037)
Wed, 29 May 2013 11:41:39 +0200 [server] fix documentation of ZMQ options harder stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 May 2013 11:41:39 +0200] rev 8993
[server] fix documentation of ZMQ options harder The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.
Wed, 29 May 2013 16:44:16 +0200 merge with 3.16.x fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 29 May 2013 16:44:16 +0200] rev 8992
merge with 3.16.x fixes
Mon, 27 May 2013 15:39:56 +0200 [server] fix documentation of ZMQ options stable
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 27 May 2013 15:39:56 +0200] rev 8991
[server] fix documentation of ZMQ options
Fri, 24 May 2013 11:16:09 +0200 [zmq] set order for ZMQStartHook so other hooks don't need to stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 May 2013 11:16:09 +0200] rev 8990
[zmq] set order for ZMQStartHook so other hooks don't need to If an application wants to subscribe to some messages on the zmq bus, that needs to happen after ZMQStartHook.
Thu, 23 May 2013 17:32:56 +0200 import merge_options directly from logilab.common
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 17:32:56 +0200] rev 8989
import merge_options directly from logilab.common
Fri, 24 May 2013 15:10:50 +0200 [server] fix error messages in write_sources_file()
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 15:10:50 +0200] rev 8988
[server] fix error messages in write_sources_file()
Thu, 02 May 2013 12:22:14 +0200 [doc] a couple almost-typos stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 May 2013 12:22:14 +0200] rev 8987
[doc] a couple almost-typos
Fri, 03 May 2013 17:26:23 +0200 [schemaserial] mitigate critical message during migration
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 May 2013 17:26:23 +0200] rev 8986
[schemaserial] mitigate critical message during migration We can't fetch extra_props because it is not yet there.
Wed, 22 May 2013 06:30:16 +0200 [doc] typo
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Wed, 22 May 2013 06:30:16 +0200] rev 8985
[doc] typo
Thu, 23 May 2013 18:57:25 +0200 [cw-ctl] fix help message for schemadiff In global help (closes #2888538)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 18:57:25 +0200] rev 8984
[cw-ctl] fix help message for schemadiff In global help (closes #2888538) The leading space make it appears on multiple line. The help content is a bit improved in the process.
Tue, 14 May 2013 18:02:24 +0200 [dbapi] fix connect backwards compat harder stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 May 2013 18:02:24 +0200] rev 8983
[dbapi] fix connect backwards compat harder Passing None as group and host should result in "pyro:///cubicweb.appid", not "pyro://None/None.appid". Followup for 2091d275fe5c. Closes #2882666.
Thu, 23 May 2013 12:35:02 +0200 [zmq] make publish address optional stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 12:35:02 +0200] rev 8982
[zmq] make publish address optional It should be possible to use the zmq communication bus in a read-only manner. Allow setting zmq-address-sub without zmq-address-pub. Closes #2897178.
Thu, 23 May 2013 14:38:43 +0200 Fix documentation for zmq pub/sub hooks and configuration stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 14:38:43 +0200] rev 8981
Fix documentation for zmq pub/sub hooks and configuration Closes #2897177
Fri, 17 May 2013 16:25:48 +0200 [entity] improve deprecation messages stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 17 May 2013 16:25:48 +0200] rev 8980
[entity] improve deprecation messages
Wed, 15 May 2013 14:42:50 +0200 [devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:42:50 +0200] rev 8979
[devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Wed, 15 May 2013 16:21:23 +0200 [testlib] fix page validator selection. Closes #2869456
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 16:21:23 +0200] rev 8978
[testlib] fix page validator selection. Closes #2869456 * use a validator that checks XML well-formness for the html5 doctype (as a convenient side-effect, it does not choke on e.g. a canvas tag like the HTMLParser does) * use a DTD validator if there is an xml declaration * else use the HTMLValidator
Wed, 15 May 2013 14:22:51 +0200 [testlib] introduce a validator that check xml-well formness
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:22:51 +0200] rev 8977
[testlib] introduce a validator that check xml-well formness This validator simply check XML is well formed and accept any entities (think HTML defines much more entities than bare XML)
Wed, 15 May 2013 15:37:22 +0200 [view] return HTML5 doctype. Closes #2869426
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 15:37:22 +0200] rev 8976
[view] return HTML5 doctype. Closes #2869426 We dropped xhtml support in 3.17 but we kept providing documents using the XHTML strict doctype, while our content wasn't conform to the DTD since we dropped proper namespaces definition as well as declaration of cubicweb DTD extensions.
Mon, 06 May 2013 17:16:45 +0200 [testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:16:45 +0200] rev 8975
[testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481 the context is calculated using position information relative to a preprocessed content, not the original source
Mon, 06 May 2013 15:58:52 +0200 [web request] drop no more necessary request.document_surrounding_div method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 15:58:52 +0200] rev 8974
[web request] drop no more necessary request.document_surrounding_div method This is awful and no more necessary since we dropped xhtml support
Mon, 06 May 2013 17:13:43 +0200 [testlib] unspaghettify Validator / PageInfo api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:13:43 +0200] rev 8973
[testlib] unspaghettify Validator / PageInfo api
Mon, 06 May 2013 16:05:51 +0200 [testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 16:05:51 +0200] rev 8972
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Mon, 06 May 2013 17:26:16 +0200 [testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:26:16 +0200] rev 8971
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Tue, 14 May 2013 15:26:24 +0200 [dataimport] minor typo in error handling
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 14 May 2013 15:26:24 +0200] rev 8970
[dataimport] minor typo in error handling
Tue, 07 May 2013 00:29:42 +0200 [views] attempt to clarify the inline help system documentation
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 07 May 2013 00:29:42 +0200] rev 8969
[views] attempt to clarify the inline help system documentation
Mon, 06 May 2013 19:40:15 +0200 [sobject] fix notification operation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 May 2013 19:40:15 +0200] rev 8968
[sobject] fix notification operation regression introduced in bf4003760e02 Operation use self. session. not self._cw. I'm a bit surprised that its not tested. closes ##2870077
Fri, 03 May 2013 16:36:42 +0200 Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
David Douard <david.douard@logilab.fr> [Fri, 03 May 2013 16:36:42 +0200] rev 8967
Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
Fri, 03 May 2013 16:27:34 +0200 [pkg/debian] prepare release 3.17.0-2 cubicweb-debian-version-3.17.0-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:27:34 +0200] rev 8966
[pkg/debian] prepare release 3.17.0-2
Fri, 03 May 2013 16:24:42 +0200 [pkg/debian] update yams runtime depends
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:24:42 +0200] rev 8965
[pkg/debian] update yams runtime depends Only the built depends were updated to 0.37.0.
Fri, 03 May 2013 16:23:08 +0200 [pkg/debian] expand all depends and co on multiple line
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:23:08 +0200] rev 8964
[pkg/debian] expand all depends and co on multiple line This is more readable and simplifies patching.
Thu, 02 May 2013 17:14:22 +0200 Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:22 +0200] rev 8963
Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
Thu, 02 May 2013 17:14:21 +0200 Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c cubicweb-debian-version-3.17.0-1
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:21 +0200] rev 8962
Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip