Mon, 24 Jun 2013 12:41:27 +0200 [testlib] rework request building in init_authentication
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:41:27 +0200] rev 9039
[testlib] rework request building in init_authentication The previous code was building a full authenticated request and tried to undo the authentication afterward. The new code just create a bare Request with no authenticated session linked yet. This is much closer of what the actual authentication process does.
Mon, 24 Jun 2013 12:39:25 +0200 [request] drop the user argument for set_session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:39:25 +0200] rev 9038
[request] drop the user argument for set_session I see no code nor test that use this optional argument. removing it help to clean the session code. The set_session function will soon be deprecated anyway (at the same time than the dbapi) related to #2503918
Wed, 19 Jun 2013 12:00:54 +0200 [web-request] handle default language earlier
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 19 Jun 2013 12:00:54 +0200] rev 9037
[web-request] handle default language earlier We now read language negotiation header at initialisation time (previously done during ``set_session``). This simplify the set_session code for later reworking. There is no change in behavior, the user selected language continue to overwrite the one picked from the header/default when applicable. related to #2503918
Tue, 18 Jun 2013 15:12:25 +0200 [etwist] pass the repository to the root resource
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Jun 2013 15:12:25 +0200] rev 9036
[etwist] pass the repository to the root resource This is another step toward a cleaner instantiation scheme for the repo. The http test now pass an already created object to the etwist server instead of relying on the config cache. Related to #2249513
Mon, 24 Jun 2013 12:03:37 +0200 [repo] move repo.gc_stats to Service API (closes #2951068)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:03:37 +0200] rev 9035
[repo] move repo.gc_stats to Service API (closes #2951068) We currently have a method on the repo that anyone can call. `call_service` gives a similar thing, modulo: * can be restricted access to manager only (thanks to selection on services), * less unrelated code on the repository class, * no need to fetch a reference to a repo object from the client side * (`req._cnx.repo` is not an API and config.repository() is on its way out). The old way to access this information (repo.gc_stats()) is deprecated.
Mon, 24 Jun 2013 12:05:35 +0200 [repo] move repo stats to Service (closes #2951067)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:05:35 +0200] rev 9034
[repo] move repo stats to Service (closes #2951067) We currently add a new method on repo that anyone can call. Call service allows to reach the same result with: * Restricted access to manager only (thanks to selection on services), * Less unrelated code on the repo. * No need to fetch a reference to a repo object from client side. `req._cnx.repo` is not an API and config.repository() is on its way out. The old way to access this information (repo.stats()) is deprecated.
Mon, 24 Jun 2013 11:59:45 +0200 [service] drop the asynchronous execution possibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:59:45 +0200] rev 9033
[service] drop the asynchronous execution possibility Call_service was able of both sync and sync execution making the API confusing. There is not user of the async case. We drop the async argument in favor of synchronous execution only. This makes call_service the official API to call server side code from the client side. This is a remplacement for the usual monkey patching of the repo object. The zmq notification bus is a solid alternative for codes that needs to start an async execution.
Mon, 24 Jun 2013 12:00:03 +0200 [auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:00:03 +0200] rev 9032
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager Those object actually need a repo object to connect and create new session object. They used to retrieve the repo object using ``vreg.config.repository()``. I'm trying to sanitise the initialisation stack and get ride of ``config.repository()``, a function that mix factory and cache. Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the repo object instead of the vreg.
Fri, 23 Nov 2012 16:12:19 +0100 web/application: instantiate the repository outside of CubicWebPublisher
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:12:19 +0100] rev 9031
web/application: instantiate the repository outside of CubicWebPublisher This improves decoupling and allows ``CubicWebPublisher`` user to choose which argument are used during ``Repository`` instantiation. In particular is allows caller to provide a ``TaskManager``. The `vreg` argument of publisher is made mandatory. See CubicWebPublisher docstring for details. Related to #2249513
Fri, 07 Dec 2012 17:23:04 +0100 remove vreg argument to CWPublisher
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 17:23:04 +0100] rev 9030
remove vreg argument to CWPublisher The passing a vreg to CWPublisher was used by test to allow reused of an existing vreg. We dropped this feature two commit ago and can safely removes it. Removing this argument allows later cleanup and improvement on the CWPublisher and Repository front. closes #2944813
Fri, 07 Dec 2012 16:10:38 +0100 [devtools] vreg becomes a class ppty
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 16:10:38 +0100] rev 9029
[devtools] vreg becomes a class ppty After multiple devtools refactoring, the vreg used for test is now *always* got from the repository. Making this explicit is a step toward simplification of the vreg handling during various initialisation phases. Related to #2944813
Fri, 23 Nov 2012 16:33:00 +0100 [devtools] drop unused `reset_schema` and `reset_vreg` class attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:33:00 +0100] rev 9028
[devtools] drop unused `reset_schema` and `reset_vreg` class attribute They have no effect and no user... Related to #2944813
Mon, 27 May 2013 17:50:55 +0200 [connection] move security control logic on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 May 2013 17:50:55 +0200] rev 9027
[connection] move security control logic on Connection The _security_enabled context manager now operate on connection. We have to keep a specific entry point in Session to ensure Connection object are properly cleaned up when using session to "manage" Connection live cycle. Related to #2503918
Fri, 14 Jun 2013 12:11:42 +0200 [connection] move hook control logic on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:11:42 +0200] rev 9026
[connection] move hook control logic on Connection The _hook_control context manager now operate on connection. We have to keep a specific entry point in Session to ensure Connection object are properly cleaned up when using session to "manage" Connection live cycle. Related to #2503918
Fri, 14 Jun 2013 12:10:45 +0200 [session] update _hook_control docstring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:10:45 +0200] rev 9025
[session] update _hook_control docstring
Mon, 27 May 2013 16:43:02 +0200 [connection] reinstall cnx.data as cnx.transaction_data
pierre-yves [Mon, 27 May 2013 16:43:02 +0200] rev 9024
[connection] reinstall cnx.data as cnx.transaction_data Too much code expects self._cw.data to be session data. backout 9b2f68916474 Related to #2503918 Related to #2912807
Mon, 27 May 2013 16:42:39 +0200 [connection] give access to is_internal_session boolean
pierre-yves [Mon, 27 May 2013 16:42:39 +0200] rev 9023
[connection] give access to is_internal_session boolean Needed if we are to use this object like we currently do with session. Related to #2503918
Fri, 14 Jun 2013 13:39:49 +0200 [req] drop from_controller on non WebRequest object (Closes #2901079)
pierre-yves [Fri, 14 Jun 2013 13:39:49 +0200] rev 9022
[req] drop from_controller on non WebRequest object (Closes #2901079) The `controller` concept is purely a web things. It does not belong to generic `req` object. The `build_url` code is slightly changed to handle that. This probably requires extended cleanup later. This is a barely used and very internal API. No deprecation period
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
Thu, 02 May 2013 15:58:57 +0200 [test/view] exclude some Blog entity from automatic view testing cubicweb-version-3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 02 May 2013 15:58:57 +0200] rev 8961
[test/view] exclude some Blog entity from automatic view testing Some Blog view requires the sioc cubes that we extracted in 3.17 we do not really want to test cubes view here. So we exclude CWEtype that really requires the sioc cubes.
Thu, 02 May 2013 14:30:36 +0200 [doc] fix: cubicweb.gmap.js has moved to the geocoding cube
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 14:30:36 +0200] rev 8960
[doc] fix: cubicweb.gmap.js has moved to the geocoding cube
Tue, 30 Apr 2013 08:17:10 +0200 [test/ldap] do not assume order
David Douard <david.douard@logilab.fr> [Tue, 30 Apr 2013 08:17:10 +0200] rev 8959
[test/ldap] do not assume order Do no assume a specific order is stable when testing group members
Mon, 29 Apr 2013 14:49:43 +0200 Added tags for version 3.16.4 on changeset 041804bc48e9 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 14:49:43 +0200] rev 8958
Added tags for version 3.16.4 on changeset 041804bc48e9
Mon, 29 Apr 2013 12:34:23 +0200 [notification] ensure official API is test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:34:23 +0200] rev 8957
[notification] ensure official API is test By using the official API in the hook we ensure it is tested.
Mon, 29 Apr 2013 09:47:23 +0200 fix typo in notification causing NameError
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 29 Apr 2013 09:47:23 +0200] rev 8956
fix typo in notification causing NameError introduced by: f5b40b66d36e
Mon, 29 Apr 2013 12:29:59 +0200 [test/notification] merge related test classe
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:29:59 +0200] rev 8955
[test/notification] merge related test classe They have no reason to be distinct.
Mon, 29 Apr 2013 11:43:36 +0200 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:43:36 +0200] rev 8954
merge with stable
Tue, 16 Apr 2013 16:51:18 +0200 [server] add a looping task to free unused cnxsets capture by dead pyro stable cubicweb-centos-version-3.16.4-1 cubicweb-debian-version-3.16.4-1 cubicweb-version-3.16.4
Julien Cristau <julien.cristau@logilab.fr> [Tue, 16 Apr 2013 16:51:18 +0200] rev 8953
[server] add a looping task to free unused cnxsets capture by dead pyro When a pyro client disconnects, we're not necessarily notified so they can hang on to their session/cnxset forever. Don't let them do that. The hacky looping task is only installed when pyro is enabled. This optional activation save this very hacky patch from being rejected. closes #2825380
Mon, 29 Apr 2013 11:22:21 +0200 [pkg/debian] update changelog to 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:22:21 +0200] rev 8952
[pkg/debian] update changelog to 3.17.0
Mon, 29 Apr 2013 11:06:28 +0200 [devtools] Use XMLValidator instead deprecated SaxOnlyValidator
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:06:28 +0200] rev 8951
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator The renaming was introduced in 198fdadafed6.o This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
Fri, 26 Apr 2013 18:47:36 +0200 [pkg] update changelog
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:47:36 +0200] rev 8950
[pkg] update changelog
Fri, 26 Apr 2013 18:37:47 +0200 [pkg] prepare 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:37:47 +0200] rev 8949
[pkg] prepare 3.17.0
Fri, 26 Apr 2013 18:21:18 +0200 [pkg] prepare 3.16.4 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:21:18 +0200] rev 8948
[pkg] prepare 3.16.4
Fri, 26 Apr 2013 18:06:44 +0200 [repo] straightforward bootstrap sequence. Closes #2841188
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Apr 2013 18:06:44 +0200] rev 8947
[repo] straightforward bootstrap sequence. Closes #2841188 * kill fill_schema method which was doing to much different things, in favor of a deserialize_method which is simply reading schema from the db and returning it * set_schema doesn't bother with cubes This allows to easilly follow what's going on and so to cleanup init_cnxset_pool to get the following boostrap order: 1. load cubes (implies loading site_cubicweb) 2. load schema 3. init data sources 4. init cnx sets
Wed, 24 Apr 2013 14:49:49 +0200 [repo] minor cleanups to bootstrap sequence
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:49:49 +0200] rev 8946
[repo] minor cleanups to bootstrap sequence * fix some docstring/comments * move initialization of HooksManager to the __init__.py, this has nothing to do with pool initialization / boostraping
Fri, 26 Apr 2013 17:46:56 +0200 [schemaserial] serialize additional yams parameter for customs type
Vincent Michel <vincent.michel@logilab.fr> [Fri, 26 Apr 2013 17:46:56 +0200] rev 8945
[schemaserial] serialize additional yams parameter for customs type Yams have a new custom type feature. We add support for extra parameter on CWAttribute in schema serialization handling. Closes #2847151
Tue, 23 Apr 2013 14:13:58 +0200 [sql] preprocess_entity uses lgdb helper's SQL converters.
Vincent Michel <vincent.michel@logilab.fr> [Tue, 23 Apr 2013 14:13:58 +0200] rev 8944
[sql] preprocess_entity uses lgdb helper's SQL converters. The preprocess_entity does not yield anymore the conversion logic for different base types, but relies on a new SQL_CONVERTERS dictionary of the db helper. This will allow later inclusion of new base types.
Wed, 24 Apr 2013 14:42:43 +0200 [repo] kill rebuildinfered feature from Repository.set_schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:42:43 +0200] rev 8943
[repo] kill rebuildinfered feature from Repository.set_schema This clutters thing and is useless in most cases: when schema just have been readen from the database or from the file-system, infered relations have just be calculated. The only use-case where it should be rebuilt is on migration (ie schema modification by editing the meta-model using rql), so move this feature there.
Wed, 24 Apr 2013 14:51:06 +0200 [test] stop deepcopying for nothing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:51:06 +0200] rev 8942
[test] stop deepcopying for nothing
Fri, 26 Apr 2013 12:10:37 +0200 drop xhtml content-type support (closes #2065651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Apr 2013 12:10:37 +0200] rev 8941
drop xhtml content-type support (closes #2065651) * HTMLStream does not care about xml any more * reqquest.demote_to_html and .xhtml_browser are deprecated * web config: drop force-html-content-type option * adjust tests
Fri, 26 Apr 2013 11:53:47 +0200 [htmlparser] exclude <script> tag from html source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:53:47 +0200] rev 8940
[htmlparser] exclude <script> tag from html source lxml are confused by them :-(
Fri, 26 Apr 2013 11:52:35 +0200 [htmlparser] store unaltered source in pageinfo.source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:52:35 +0200] rev 8939
[htmlparser] store unaltered source in pageinfo.source Do not store the parser to preserve the source aspect. Store the initial input in the source argument instead. This is very useful when parsing html. In such case we need to drop ``<script>`` tag.
Thu, 25 Apr 2013 18:38:47 +0200 [htmlparser] rename SaxOnlyValidator to XMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 18:38:47 +0200] rev 8938
[htmlparser] rename SaxOnlyValidator to XMLValidator
Thu, 25 Apr 2013 17:46:28 +0200 [htmlparser] add missing deprecation message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 17:46:28 +0200] rev 8937
[htmlparser] add missing deprecation message
Thu, 25 Apr 2013 16:55:12 +0200 [form] remove hard coded id
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 16:55:12 +0200] rev 8936
[form] remove hard coded id html id should be unique. It is clearly not achieved here.
Fri, 26 Apr 2013 11:08:06 +0200 [server/test] use server config in migration
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:08:06 +0200] rev 8935
[server/test] use server config in migration This allows a lighter initialisation (no rtag needed). Execution of those test move from 300 secondes to 220 seconds here. A 25% speedup
Mon, 22 Apr 2013 17:57:46 +0200 [session] deprecate `hijack_user` method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:57:46 +0200] rev 8934
[session] deprecate `hijack_user` method The semantic of this method is wicked and lead to very hard violation of sanity. (multiple transaction using the very same cursors). We deprecated the API to be able to drop it as soon as possible. The method was added long ago for some notification trick. It is not needed since we sent notification on ``postcommit_event``. (closes #2781782)
Thu, 25 Apr 2013 12:24:26 +0200 [mail] drop hijack_user usage
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 12:24:26 +0200] rev 8933
[mail] drop hijack_user usage The transaction is now commited before notification. We can create a new session directly and drop `hijack_user` usage. This prepare #2781782
Thu, 25 Apr 2013 13:35:02 +0200 [notification] merge BaseNotificationView and NotificationView
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:35:02 +0200] rev 8932
[notification] merge BaseNotificationView and NotificationView They are in the same module now.
Thu, 25 Apr 2013 13:34:48 +0200 [notification] move notification view in ``sobject.notification``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:34:48 +0200] rev 8931
[notification] move notification view in ``sobject.notification`` It has no user outside this module. This enforce serversideness of notification and allow future cleanup. No backward compat is set up to prevent circular import. The class has no other user anyway. (closes 2845144)
Thu, 25 Apr 2013 14:10:55 +0200 remove unused import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 14:10:55 +0200] rev 8930
remove unused import pyflakes say they are unused. Tests suite confirms.
Thu, 25 Apr 2013 17:30:09 +0200 one more merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 17:30:09 +0200] rev 8929
one more merge
Thu, 25 Apr 2013 16:10:56 +0200 [notification] introduce an official `notify_on_commit` function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 16:10:56 +0200] rev 8928
[notification] introduce an official `notify_on_commit` function It provides a proper notification api instead of replacing it by yet another clumsy one. Closes #2837251
Thu, 25 Apr 2013 10:57:01 +0200 [cubicweb/doc] Replace dc_type() by cw_etype
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 25 Apr 2013 10:57:01 +0200] rev 8927
[cubicweb/doc] Replace dc_type() by cw_etype dc_type() is may be translated. Leading to terrible terrible damage.
Thu, 04 Apr 2013 11:58:41 +0200 [dataimport] backout 6947201033be (related to #2788402)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 04 Apr 2013 11:58:41 +0200] rev 8926
[dataimport] backout 6947201033be (related to #2788402) (and add a try: except to cache the intended error) The problem actually comes from the ``MassiveObjectStore`` in the ``dataio`` cube, so it should be corrected there. Here, we only protect it with a ``RuntimeWarning`` so that the user can see the problem. ``value`` is set to ``None`` (whence to ``NULL`` from a database standpoint), so that the data can be nevertheless inserted in the database. However, only the keys present in ``row`` are actually non-'``NULL``'. The real solution is to work out the issue in ``MassiveObjectStore`` directly. The current try/except should only be a temporary hack.
Thu, 25 Apr 2013 15:45:38 +0200 merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 15:45:38 +0200] rev 8925
merge default heads
Fri, 05 Apr 2013 14:44:03 +0200 [c-c serverctl] import locally to speed up c-c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Apr 2013 14:44:03 +0200] rev 8924
[c-c serverctl] import locally to speed up c-c
Thu, 25 Apr 2013 12:12:15 +0200 [facet js] minor refactoring and cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 12:12:15 +0200] rev 8923
[facet js] minor refactoring and cleanups * extract facetCheckBoxSelect and facetCheckBoxUnselect * use $ as prefix for jQuery variable (facet -> $facet) * other minor rephrasing
Wed, 24 Apr 2013 18:11:37 +0200 [ldapfeed] Add support for LDAP groups (closes #2528116)
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 18:11:37 +0200] rev 8922
[ldapfeed] Add support for LDAP groups (closes #2528116) Groups from the LDAP server are imported as CWGourp entities, and in_group relationships are created between existing CWUsers and CWGroups Unit tests have been refactored a bit, especially ti add helper methods to manage LDAP database.
Wed, 24 Apr 2013 17:57:14 +0200 [test/ldap] small improvement to ldapfeed unit tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:57:14 +0200] rev 8921
[test/ldap] small improvement to ldapfeed unit tests better group testing and further testing of imported user life cycle.
Wed, 24 Apr 2013 17:48:08 +0200 [ldap] prepare import of CWGroup
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 17:48:08 +0200] rev 8920
[ldap] prepare import of CWGroup All CWUser specific code is put in dedicated sections.
Wed, 24 Apr 2013 17:40:49 +0200 [ldap] handle modification date
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:40:49 +0200] rev 8919
[ldap] handle modification date We are now able to import modification date from ldap.
Wed, 24 Apr 2013 17:39:10 +0200 [ldap] refactor attributes mapping handling
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:39:10 +0200] rev 8918
[ldap] refactor attributes mapping handling * use explicit attributes lists when calling ldap search * direct and reverse attributes maps contains now the same elements.
Wed, 24 Apr 2013 14:00:52 +0200 [ldapfeed] add support for multiple email addresses from ldap
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 14:00:52 +0200] rev 8917
[ldapfeed] add support for multiple email addresses from ldap Multiple emails case was ignored before this change. email test
Wed, 24 Apr 2013 15:37:43 +0200 merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:37:43 +0200] rev 8916
merge 3.16.x fix in 3.17.x branch
Wed, 24 Apr 2013 15:33:49 +0200 [session] fix hooks_control backward compat
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:33:49 +0200] rev 8915
[session] fix hooks_control backward compat Session object have no ``hooks_control`` control method. it has ``allow_all_hooks_but`` and ``deny_all_hooks_but`` ones. Regression introduced in bd5b5759c9b3.
Fri, 19 Apr 2013 16:25:45 +0200 [facet js] fix reordering of facet check boxes. Closes #2732947 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 16:25:45 +0200] rev 8914
[facet js] fix reordering of facet check boxes. Closes #2732947 Before this patch, when one select an element, it's moved to the top of the select content. Fine. But when it's later deselected, it stays there instead of moving back to its original location. This patch fixes that by introducing a facetCheckBoxReorder function which properly reorder the whole facet, instead of buggy attempt to locally reorder.
Wed, 24 Apr 2013 14:40:09 +0200 [vreg] (re)build entity classes cache after registry initialization. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:40:09 +0200] rev 8913
[vreg] (re)build entity classes cache after registry initialization. This fix potential memory fragmentation issue. Closes #2719113
Wed, 24 Apr 2013 12:10:12 +0200 [task] allow negative intervals for add_looping_task (closes #2818280)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 24 Apr 2013 12:10:12 +0200] rev 8912
[task] allow negative intervals for add_looping_task (closes #2818280) Instead of rejecting values < 0 with a ValueError, we ignore tasks with a negative interval. This introduce a simple way to disable task from configuration.
Wed, 24 Apr 2013 11:58:49 +0200 [task] allow interval=0 for looping tasks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 11:58:49 +0200] rev 8911
[task] allow interval=0 for looping tasks There is valid usecase for perpetual running task.
Wed, 24 Apr 2013 14:45:13 +0200 [portable dump] skip virtual relations, they have no table associated. Closes #2841199 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:45:13 +0200] rev 8910
[portable dump] skip virtual relations, they have no table associated. Closes #2841199
Wed, 24 Apr 2013 14:37:48 +0200 [test] fix skipIf import, currently failing if unittest2 is not there stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:37:48 +0200] rev 8909
[test] fix skipIf import, currently failing if unittest2 is not there
Wed, 24 Apr 2013 14:36:41 +0200 [test] fix bad merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:36:41 +0200] rev 8908
[test] fix bad merge
Tue, 23 Apr 2013 18:15:10 +0200 merge with other default head
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 18:15:10 +0200] rev 8907
merge with other default head
Tue, 23 Apr 2013 16:07:02 +0200 [ldap] an empty 'user-base-dn' disable the user importation process,
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:07:02 +0200] rev 8906
[ldap] an empty 'user-base-dn' disable the user importation process, The same semantic will be used for group. We start by using it for user for the sake of consistency.
Tue, 23 Apr 2013 15:46:09 +0200 drop commented print
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:46:09 +0200] rev 8905
drop commented print
Tue, 23 Apr 2013 16:50:18 +0200 [ldap] Major test refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:50:18 +0200] rev 8904
[ldap] Major test refactoring Mostly fix tests (previous refactoring), but also refactor a bit the base class to have better/simpler interaction with the slapd server.
Tue, 23 Apr 2013 17:58:20 +0200 [test/ldap] have RQL2LDAPFilterTC use its own database
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 17:58:20 +0200] rev 8903
[test/ldap] have RQL2LDAPFilterTC use its own database I do not know what RQL2LDAPFilterTC is about and why it does this strange reuse of LDAPUserSourceTC pre_setup_database but it is certainly a good idea to have it use a dedicated database-cache.
Tue, 23 Apr 2013 16:25:56 +0200 [ldap] quieter tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:25:56 +0200] rev 8902
[ldap] quieter tests Capture slapadd and slapd output if everything goes well.
Wed, 10 Apr 2013 17:50:11 +0200 [test/ldap source] better source naming, some cleanups (prepares #2528116)
Jérôme Roy [Wed, 10 Apr 2013 17:50:11 +0200] rev 8901
[test/ldap source] better source naming, some cleanups (prepares #2528116) ldap uri becomes "ldap" in all cases prepare separation of CONFIGs by source type
Tue, 23 Apr 2013 15:33:50 +0200 use cw_etype instead of __regid__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:33:50 +0200] rev 8900
use cw_etype instead of __regid__ We have a clean public API now.
Tue, 23 Apr 2013 15:16:36 +0200 [entity] add an official ``cw_etype`` property for entity
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:16:36 +0200] rev 8899
[entity] add an official ``cw_etype`` property for entity This property holds the CWEtype id of the entity. This information was previously available through __regid__ but this is an ugly public API. So we have a new clean public API. The ``dc_type()`` method could not be used as it is translated. (closes #2793792)
Tue, 23 Apr 2013 12:38:27 +0200 [notification] use new style operation for notification
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:38:27 +0200] rev 8898
[notification] use new style operation for notification This results in far less operations created. Operation creation is expensive. We keep some compatibility with the previous API because some cubes have been reported to use it.
Mon, 22 Apr 2013 17:16:02 +0200 [cleanup] drop code deprecated since 3.6
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:16:02 +0200] rev 8897
[cleanup] drop code deprecated since 3.6 The 3.6 API have been dropped some time ago. Those three lines survived the purge. One of them is even deprecated since 3.5.
Mon, 22 Apr 2013 15:25:04 +0200 [notification] fix documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 15:25:04 +0200] rev 8896
[notification] fix documentation The doc say precommit, the code says postcommit. The code is right. We also clarify the documentation of another related operation looking suspiciously wrong but actually correct.
Tue, 23 Apr 2013 12:01:14 +0200 [ldapuser] Deprecated the source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:01:14 +0200] rev 8895
[ldapuser] Deprecated the source We have ldapfeed for some time. maintaining both is cumbersome. This old style source will be dropped in 3.18. closes #2567712
Fri, 19 Apr 2013 15:44:42 +0200 [rql2sql] Remove an XXX by explaining why Int non-substitution is desired
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:44:42 +0200] rev 8894
[rql2sql] Remove an XXX by explaining why Int non-substitution is desired (in the current state of the API)
Fri, 19 Apr 2013 15:41:56 +0200 [rql2sql] Boolean values should be substitued like others. Closes #2829481
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:41:56 +0200] rev 8893
[rql2sql] Boolean values should be substitued like others. Closes #2829481 Furthermore lgdb 1.10 deprecate boolean_value method and this simplify testing.
Mon, 22 Apr 2013 14:54:22 +0200 [toward-py3k] rewrite __cmp__ (closes #2715115)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Apr 2013 14:54:22 +0200] rev 8892
[toward-py3k] rewrite __cmp__ (closes #2715115) In Python 3k `__cmp__` special method is no longer supported. So we split it in `__lt__` and `__eq__`. details on Python3k behavior here: http://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons
Mon, 08 Apr 2013 17:33:49 +0200 skeleton: add RPM spec template (closes #2800884)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:33:49 +0200] rev 8891
skeleton: add RPM spec template (closes #2800884)
Tue, 16 Apr 2013 13:44:01 +0200 [clean_session] revert itervalues usage from 0bb18407c053 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Apr 2013 13:44:01 +0200] rev 8890
[clean_session] revert itervalues usage from 0bb18407c053 self.close(session) changes the self._sessions content. We need to create a full list of value before starting closing them.
Mon, 15 Apr 2013 13:18:01 +0200 merge 3.16.x fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 15 Apr 2013 13:18:01 +0200] rev 8889
merge 3.16.x fix
Wed, 10 Apr 2013 16:46:18 +0200 [ldap] Use correct API for logging message
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:46:18 +0200] rev 8888
[ldap] Use correct API for logging message The good practice cat prefer logging to do the substitution himself.
Fri, 12 Apr 2013 11:39:10 +0200 Fix obsolete docstring for add_looping_task stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 12 Apr 2013 11:39:10 +0200] rev 8887
Fix obsolete docstring for add_looping_task The docstring was telling lies since changeset cae198371548 "add_looping_task can be used any time"
Thu, 11 Apr 2013 10:32:00 +0200 [devtools] prevent Xvfb resets stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Apr 2013 10:32:00 +0200] rev 8886
[devtools] prevent Xvfb resets Seems like firefox opens more than one connection to the X server in some cases, and things get utterly confused.
Wed, 10 Apr 2013 16:22:48 +0200 [LDAP] rename unittest ldapuser to ldapsource (prepares #2528116)
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:22:48 +0200] rev 8885
[LDAP] rename unittest ldapuser to ldapsource (prepares #2528116) the tests involved are not only for ldapuser module but also for the more general ldapfeed Necessary to prepare LDAP patch for CWgroup
Wed, 10 Apr 2013 15:34:18 +0200 [devtools] protect xvfb-run.sh against clean_up being called twice stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Apr 2013 15:34:18 +0200] rev 8884
[devtools] protect xvfb-run.sh against clean_up being called twice
Wed, 10 Apr 2013 10:44:55 +0200 Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b stable
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:44:55 +0200] rev 8883
Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b
Wed, 10 Apr 2013 10:39:15 +0200 3.16.3 stable cubicweb-centos-version-3.16.3-1 cubicweb-debian-version-3.16.3-1 cubicweb-version-3.16.3
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:39:15 +0200] rev 8882
3.16.3
Tue, 09 Apr 2013 14:23:24 +0200 [service] make sure synchronous call_service has a cnxset stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 14:23:24 +0200] rev 8881
[service] make sure synchronous call_service has a cnxset Fixes regression in 3.16.2 (closes #2807720)
Tue, 09 Apr 2013 11:56:27 +0200 Merge testfunc testfunc resurrection Closes #2535377 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:56:27 +0200] rev 8880
Merge testfunc testfunc resurrection Closes #2535377
Tue, 09 Apr 2013 11:40:45 +0200 [web] move qunit test back into web and fix the hanging oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:40:45 +0200] rev 8879
[web] move qunit test back into web and fix the hanging qunit test can not work outside web. a lot of try/finally clause have been added to prevent qunit to hang on error. A not a test a indeed broken. But we at least put in them a running state again..
Mon, 08 Apr 2013 17:34:25 +0200 [test] drop forsaken windmill test (Closes 2535376) oldstable
William Wordsworth [Mon, 08 Apr 2013 17:34:25 +0200] rev 8878
[test] drop forsaken windmill test (Closes 2535376) * not run since multiple years * windmill itself is in poor shape not even packaged in Debian. The peace which other seek they find; The heaviest storms not longet last; Heaven grants even to the guiltiest mind An amnesty for what is past; When will my sentence be reversed? I only pray to know the worst; And wish as if my heart would burst.
Tue, 09 Apr 2013 09:03:12 +0200 Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00 stable
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:12 +0200] rev 8877
Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00
Tue, 09 Apr 2013 09:03:11 +0200 Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57 stable cubicweb-debian-version-3.16.2-1
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:11 +0200] rev 8876
Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57
Mon, 08 Apr 2013 19:30:42 +0200 3.16.2 stable cubicweb-version-3.16.2
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 19:30:42 +0200] rev 8875
3.16.2
Mon, 08 Apr 2013 18:38:20 +0200 [server/test] remove dependency on a pyro name server (closes #2801737) stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 18:38:20 +0200] rev 8874
[server/test] remove dependency on a pyro name server (closes #2801737) Use a direct pyroloc:// url instead of going through a NS.
Mon, 08 Apr 2013 17:30:53 +0200 [packaging] add spec file to build RPMs (closes #2800850) stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:30:53 +0200] rev 8873
[packaging] add spec file to build RPMs (closes #2800850)
Mon, 08 Apr 2013 17:12:53 +0200 [predicates] keep making `yes` predicate importable from cubicweb (closes #2790319) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 08 Apr 2013 17:12:53 +0200] rev 8872
[predicates] keep making `yes` predicate importable from cubicweb (closes #2790319) The `yes` predicate was moved out in CubicWeb 3.15 but it should have remained importable from the cubicweb.predicates module, for bw compat reasons and also because logilab.common.registry is an implementation detail.
Mon, 08 Apr 2013 16:53:03 +0200 [views/tables|css] backout rev 895e34d9ae0d stable
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 16:53:03 +0200] rev 8871
[views/tables|css] backout rev 895e34d9ae0d This changeset introduced a GUI behaviour change that has usability side-effects (eg. shows a non-undoable massive action as a first-class action). The idea is good, but it requires a better implementation; tabs are not the proper GUI solution to the original usability issue.
Mon, 08 Apr 2013 16:43:26 +0200 [webconfig] cleanly handles ``fckeditor_installed`` when no uiprops stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:43:26 +0200] rev 8870
[webconfig] cleanly handles ``fckeditor_installed`` when no uiprops The previous version of the code relied on a default value with a dummy ``FCKEDITOR_PATH`` entry. The new code check if uiprops is initialized or not.
Mon, 08 Apr 2013 16:19:29 +0200 [webconfig] fallback to default configs if https ones are not defined stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:19:29 +0200] rev 8869
[webconfig] fallback to default configs if https ones are not defined When cubicweb serves a request with an https scheme, it tries to access ``https_uiprops`` and ``https_datadir_urls``. However if those are not defined we should fallback to unsecure url instead of crashing with a traceback. There are very valid usecases for undefined https url. For example if your ``base_url``, ``datadir_url`` and uiprops content are already https urls. Closes #2786643
Mon, 08 Apr 2013 16:13:03 +0200 [webconfig] explicit some webconfig attribute stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:13:03 +0200] rev 8868
[webconfig] explicit some webconfig attribute Explicit declaration of attribute are much clearer. Just do it.
Mon, 08 Apr 2013 14:45:10 +0200 merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:45:10 +0200] rev 8867
merge 3.16.x fix in 3.17.x branch
Mon, 08 Apr 2013 14:18:32 +0200 merge with 3.15.x fix stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:18:32 +0200] rev 8866
merge with 3.15.x fix
Mon, 08 Apr 2013 14:16:56 +0200 Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025 oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:56 +0200] rev 8865
Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025
Mon, 08 Apr 2013 14:16:46 +0200 Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252 oldstable cubicweb-debian-version-3.15.11-1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:46 +0200] rev 8864
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252
Wed, 03 Apr 2013 10:55:56 +0200 [querier] improve 'Password selection not allowed' error message stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:55:56 +0200] rev 8863
[querier] improve 'Password selection not allowed' error message to report the involved variable name whose type is Password, it usually help understanding the problem.
Wed, 03 Apr 2013 11:09:50 +0200 [predicates] use select_or_none rather than select+try/except, expected to be more efficient stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 11:09:50 +0200] rev 8862
[predicates] use select_or_none rather than select+try/except, expected to be more efficient
Mon, 08 Apr 2013 12:43:57 +0200 [pkg] prepare version 3.15.11 ? oldstable cubicweb-version-3.15.11
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:43:57 +0200] rev 8861
[pkg] prepare version 3.15.11 ?
Mon, 08 Apr 2013 12:42:36 +0200 merge 3.14.x fix into 3.15.x oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:42:36 +0200] rev 8860
merge 3.14.x fix into 3.15.x
Wed, 03 Apr 2013 10:51:15 +0200 [facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089 oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:51:15 +0200] rev 8859
[facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089
Mon, 04 Feb 2013 14:39:55 +0100 [predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663 oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Feb 2013 14:39:55 +0100] rev 8858
[predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663
Wed, 03 Apr 2013 14:33:20 +0200 [cmd] fix exlog documentation (closes #2715913) oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Apr 2013 14:33:20 +0200] rev 8857
[cmd] fix exlog documentation (closes #2715913) The table documentation was out of sync since 8a075bc94563.
Mon, 08 Apr 2013 12:26:39 +0200 Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87 oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:39 +0200] rev 8856
Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87
Mon, 08 Apr 2013 12:26:28 +0200 Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138 oldstable cubicweb-debian-version-3.14.10-1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:28 +0200] rev 8855
Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138
Mon, 08 Apr 2013 12:19:24 +0200 [pkg] prepare 3.14.10 release oldstable cubicweb-version-3.14.10
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:19:24 +0200] rev 8854
[pkg] prepare 3.14.10 release
Mon, 08 Apr 2013 11:09:50 +0200 [querier] fix eid relations handling in SET queries (closes #2797052) oldstable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Apr 2013 11:09:50 +0200] rev 8853
[querier] fix eid relations handling in SET queries (closes #2797052) _extract_eid_consts() implementation must consider arithmetic operators when trying to associate rql variables to specific eids.
Thu, 04 Apr 2013 17:45:09 +0200 [ext/rest] add directive bookmark to rest (closes #2545595)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Apr 2013 17:45:09 +0200] rev 8852
[ext/rest] add directive bookmark to rest (closes #2545595)
Wed, 03 Apr 2013 12:17:24 +0200 [c-c create] make post-create step optional (closes #2712041)
David Douard <david.douard@logilab.fr> [Wed, 03 Apr 2013 12:17:24 +0200] rev 8851
[c-c create] make post-create step optional (closes #2712041) In this context the "post-create" step refers to the database's creation and initialization. We want to be able to create a new instance but skip the database creation (`db-create` and `db-init` commands) in automatic setup.
Fri, 15 Mar 2013 12:11:29 +0100 [cwconfig] Add optional configuration param to load a UI cube before other cubes
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 15 Mar 2013 12:11:29 +0100] rev 8850
[cwconfig] Add optional configuration param to load a UI cube before other cubes Needed later on to load UI cubes such as legacyui, and one day squareui.
Tue, 02 Apr 2013 12:13:06 +0200 [web/views] Move massmailing to its own cube (closes #2788086)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 02 Apr 2013 12:13:06 +0200] rev 8849
[web/views] Move massmailing to its own cube (closes #2788086)
Tue, 02 Apr 2013 18:15:24 +0200 merge with stable fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 18:15:24 +0200] rev 8848
merge with stable fix
Tue, 02 Apr 2013 16:06:22 +0200 [req] explicit `user` attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:06:22 +0200] rev 8847
[req] explicit `user` attribute The `RequestSessionBase` object needs a `user` attribute. It is initialized by sub class, but having it explicitly declared is much cleaner.
Tue, 02 Apr 2013 16:02:52 +0200 [test] use the right order in some assertEqual
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:02:52 +0200] rev 8846
[test] use the right order in some assertEqual The unittest2 function use ``(expected, got)`` order.
Fri, 29 Mar 2013 18:00:37 +0100 [session/transaction] move resource accessors on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:00:37 +0100] rev 8845
[session/transaction] move resource accessors on Transaction
Fri, 29 Mar 2013 17:39:14 +0100 [session/transaction] move multiple utility on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:39:14 +0100] rev 8844
[session/transaction] move multiple utility on Transaction
Fri, 29 Mar 2013 17:25:56 +0100 [session/transaction] handle cnxset repository logic in transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:25:56 +0100] rev 8843
[session/transaction] handle cnxset repository logic in transaction Interacting with the repo is now handled by the Transaction code directly.
Fri, 29 Mar 2013 12:34:53 +0100 [transaction] keep a reference to the repo object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:34:53 +0100] rev 8842
[transaction] keep a reference to the repo object
Fri, 29 Mar 2013 18:57:13 +0100 [session] make security_enabled API private
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:57:13 +0100] rev 8841
[session] make security_enabled API private The doc already says "internal API". The old entry point is now officially deprecated and the context manager have been made private.
Fri, 29 Mar 2013 12:47:04 +0100 [session] make hook_control API private
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:47:04 +0100] rev 8840
[session] make hook_control API private The doc already says "internal API". The old entry point is now officially deprecated and the context manager have been made private.
Tue, 02 Apr 2013 15:11:41 +0200 [service] split session retrieval and service execution stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution Internal session are not tracker by the repository and can not be retrieved using _getsession. Moreover their session id is not unique… Closes #2735700
Tue, 02 Apr 2013 15:11:21 +0200 [service] handle cnxset in the async case only stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only The service may be called by a session, we really do not want the call to service to mess with the transaction state. This does not apply to async were thread magic ensure a dedicated transaction.
Tue, 02 Apr 2013 14:46:13 +0200 [service] extract session retrieval from "task" closure stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure The session was retrieved there because `set_cnxset` must be called in the same thread as the code using it. We now retrieve the session beforehand and explicitly call `set_cnxset`.
Tue, 12 Mar 2013 18:31:15 +0100 [cubicweb/doc] Add tutorial on data import in CubicWeb.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 12 Mar 2013 18:31:15 +0100] rev 8836
[cubicweb/doc] Add tutorial on data import in CubicWeb. This involves creating the "tutorials/dataimport" directory structure under "cubicweb/doc" and, inside the "dataimport" directory, putting several files: - a ResT file containing the tutorial *per se*; this tutorial addresses the following issues: * creating a CubicWeb schema for representing a given data set (here, the Diseasome RDF data, for illustration purposes); * parsing the data; * importing the data, by using several stores: + the ``RQLObjectStore``, ``NoHookRQLObjectStore`` and ``SQLGenObjectStore`` from the ``dataimport`` module in CubicWeb; + the ``MassiveObjectStore`` from the ``dataimport`` module in the ``dataio`` cube. The tutorial also provides timing benchmarks of the various stores. - a set of Python files illustrating the data import, in the context of Diseasome RDF data parsing: * a Diseasome RDF data parse module, * a Diseasome data import module, * a CubicWeb schema for representing Diseasome data.
Tue, 02 Apr 2013 12:05:51 +0200 [dataimport] Slight message modification in exception handling code.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
Tue, 02 Apr 2013 12:04:22 +0200 [dataimport] Handle various data formats when creating buffers from data.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:04:22 +0200] rev 8834
[dataimport] Handle various data formats when creating buffers from data. :note: On the long run, this should be addressed before, when these data are created.
Tue, 02 Apr 2013 12:12:41 +0200 [dataimport] Add a ``flush`` method for all stores.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:12:41 +0200] rev 8833
[dataimport] Add a ``flush`` method for all stores. For ``ObjectStore``, ``RQLObjectStore`` and ``NoHookRQLObjectStore`` the method tries to call the ``commit`` method. For ``SQLGenObjectStore``, the ``flush`` method is basically unchanged with respect to previous changesets.
Tue, 02 Apr 2013 12:11:44 +0200 [dataimport] Uniformize the API across the different stores.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:11:44 +0200] rev 8832
[dataimport] Uniformize the API across the different stores. This is achieved by modifying the ``relate`` method so that it takes an extra ``**kwargs``. More specifically, ``SQLGenObjectStore``'s ``relate`` method needs the the type of the subject entity which is passed through ``**kwargs`` as the ``subjtype`` keyword argument. Actually, it is the ``add_relation`` method of the ``SQLGenObjectStore`` who needs this argument. However, as this method is not called directly (but via the ``relate`` method), the ``subjtype`` argument is passed to ``add_relation`` via ``relate``. The other stores' ``relate`` methods do not need this extra argument, hence for the other stores ``**kwargs`` is empty. In this manner, the API is unified across the different stores.
Thu, 28 Mar 2013 15:43:23 +0100 [data] Add a CSS for undo UI rendering stable
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 28 Mar 2013 15:43:23 +0100] rev 8831
[data] Add a CSS for undo UI rendering The nesting of ordered list and unordered list was badly handled. This has gone unoticed becaused it was not used. But the undo feature use this markup to render the changesets. That's why this minor change to ths CSS is introduced.
Mon, 17 Dec 2012 14:03:56 +0100 [web/views] extract cube geocoding (closes #353000)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
Mon, 11 Feb 2013 11:47:50 +0100 [c-c list] add an optional argument to the list command (closes #2709703)
David Douard <david.douard@logilab.fr> [Mon, 11 Feb 2013 11:47:50 +0100] rev 8829
[c-c list] add an optional argument to the list command (closes #2709703) This optional argument allows to restrict listing to only a given type of items (cubes, instances, configurations).
Wed, 13 Mar 2013 18:17:16 +0100 default base-url now uses fdqn instead of hostname only (closes #2542815)
Florent Cayre <florent.cayre@logilab.fr> [Wed, 13 Mar 2013 18:17:16 +0100] rev 8828
default base-url now uses fdqn instead of hostname only (closes #2542815)
Thu, 28 Mar 2013 15:01:02 +0100 [editcontroller] a small debugging help (closes #2518980) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Thu, 28 Mar 2013 13:48:48 +0100 [doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Thu, 28 Mar 2013 13:48:26 +0100 [doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Thu, 28 Mar 2013 13:47:54 +0100 [doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Thu, 28 Mar 2013 13:46:50 +0100 [tutorial] minor documentation fixes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes
Thu, 28 Mar 2013 12:41:14 +0100 merge 3.16.x fix in 3.17.x
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:41:14 +0100] rev 8822
merge 3.16.x fix in 3.17.x
Thu, 28 Mar 2013 12:32:26 +0100 merge 3.15.x into 3.16.x stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:32:26 +0100] rev 8821
merge 3.15.x into 3.16.x
Thu, 28 Mar 2013 12:31:39 +0100 server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641) oldstable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 12:31:39 +0100] rev 8820
server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641) Fixed an .rstrip(...) for the general case (untested). Fixed an .lstrip(...) for the sqlite path (tested).
Thu, 28 Mar 2013 11:40:19 +0100 [doc] update 3.17 release note
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:40:19 +0100] rev 8819
[doc] update 3.17 release note
Thu, 28 Mar 2013 11:45:17 +0100 [migration] fix bug in `CWAttributeAddOp.revertprecommit_event` oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:45:17 +0100] rev 8818
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event` The `rdefdef` attribute is set during the operation execution. In some the operation crash before this assignment. In such case `revertprecommit` raise an attribute error crashing the whole process and shadowing the original error. This changeset detect and Avoid this situation.
Wed, 27 Mar 2013 16:41:45 +0100 [session] security context directly use transaction object when applicable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:41:45 +0100] rev 8817
[session] security context directly use transaction object when applicable Most of the security logic have been moved on Transaction anyway.
Wed, 27 Mar 2013 16:43:34 +0100 [session] move context manager logic in the security context manager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:43:34 +0100] rev 8816
[session] move context manager logic in the security context manager The `init_security` and `reset_security` method have no other user that the context manager itself. Having dedicated public function is not useful.
Wed, 27 Mar 2013 16:42:18 +0100 [session] hook control context directly use transaction object when applicable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:42:18 +0100] rev 8815
[session] hook control context directly use transaction object when applicable Most of the hooks control logic have been moved on Transaction anyway.
Wed, 27 Mar 2013 16:17:21 +0100 [session] move context manager logic in the hook controls context manager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:17:21 +0100] rev 8814
[session] move context manager logic in the hook controls context manager The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other user that the context manager itself. Having dedicated public function is not useful.
Wed, 27 Mar 2013 14:05:14 +0100 [session] drop the useless set_hooks_mode method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:05:14 +0100] rev 8813
[session] drop the useless set_hooks_mode method It has not external user and trivial code
Wed, 27 Mar 2013 17:09:55 +0100 [session/transaction] move most undo support into transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:09:55 +0100] rev 8812
[session/transaction] move most undo support into transaction A small part that need repo access has not been moved into transaction yet.
Wed, 27 Mar 2013 11:42:13 +0100 [session] simplify mode property
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:42:13 +0100] rev 8811
[session] simplify mode property We can delegate very thing to transaction utility
Wed, 27 Mar 2013 11:01:40 +0100 [session/transaction] pass the session object to the Transaction __init__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:01:40 +0100] rev 8810
[session/transaction] pass the session object to the Transaction __init__ This simplify access to variables. As we are moving more and more logic and states in the Transaction it will greatly helps in future commit.
Wed, 27 Mar 2013 19:54:36 +0100 [session] use a dedicated class to track cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:54:36 +0100] rev 8809
[session] use a dedicated class to track cnxset We introduce a new CnxSetTracker to track `cnxset` used by Transaction and allows to wait for them. This new class does not use Thread ID not thread joining to work. This allows to use multiple transaction per thread and a transaction in multiple thread. The class itself is totally threadsafe by the Transaction is still not thread safe. The old _threads_in_transaction attribute is dropped in favor of a new logic based on this object. The registration of cnxset used is not done by the Transaction itself. tx.cnset is a property handling the Consistency of its value with the CnxSetTracker instance. Note: The CnxSetTracker instance only track transaction id, not transaction itself, So not reference cycle are created.
Tue, 26 Mar 2013 15:26:29 +0100 [session] cleanup Transaction.cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Mar 2013 15:26:29 +0100] rev 8808
[session] cleanup Transaction.cnxset The attribute should always be there. It is None when not cnxset exists.
Mon, 25 Mar 2013 17:50:11 +0100 [session] drop useless getter and setter for security
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 17:50:11 +0100] rev 8807
[session] drop useless getter and setter for security Those function have very few user and does not anything fancy. Internal user now access tx.read/write_security directly. External user have been blessed with a writable property. They are only interested in the write part of they did not used the return of the removed function. They access it through the session since I prefer the external world to not be aware of Transaction yet.
Wed, 27 Mar 2013 19:40:09 +0100 [session/transaction] move read_security subtlety in transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:40:09 +0100] rev 8806
[session/transaction] move read_security subtlety in transaction This is transaction data, itshould be handled by the transaction itself.
Mon, 25 Mar 2013 16:08:02 +0100 [transaction] initialize dbapi_request in __init__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:02 +0100] rev 8805
[transaction] initialize dbapi_request in __init__ There is not reason to have it implicitly declared. The attribute is renamed to match its public name.
Wed, 27 Mar 2013 17:00:25 +0100 [whatsnew] notify drop of deprecated code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:00:25 +0100] rev 8804
[whatsnew] notify drop of deprecated code
Wed, 27 Mar 2013 16:33:48 +0100 [web/views] extract cube embed (closes #1916015)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 27 Mar 2013 16:33:48 +0100] rev 8803
[web/views] extract cube embed (closes #1916015)
Tue, 26 Mar 2013 12:26:12 +0100 [skeleton] Update debian packaging to support only python 2.6 and up
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 26 Mar 2013 12:26:12 +0100] rev 8802
[skeleton] Update debian packaging to support only python 2.6 and up
Wed, 27 Mar 2013 16:58:13 +0100 Drop iprogress code (closes #2777628)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 16:58:13 +0100] rev 8801
Drop iprogress code (closes #2777628)
Wed, 27 Mar 2013 16:36:47 +0100 [web/views] extract cube sioc (closes #1916018)
Simon Chabot <simon.chabot@logilab.fr> [Wed, 27 Mar 2013 16:36:47 +0100] rev 8800
[web/views] extract cube sioc (closes #1916018)
(0) -3000 -1000 -240 +240 +1000 +3000 tip