Wed, 11 Jun 2014 18:18:37 +0200 [server/test] delete commented-out test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 18:18:37 +0200] rev 10367
[server/test] delete commented-out test Related to #3933480.
Wed, 11 Jun 2014 17:58:19 +0200 [connection] remove the `mode` attribute
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 17:58:19 +0200] rev 10366
[connection] remove the `mode` attribute It is now unused. While removing mode, we also drop some sqlserver-specific reconnection logic snippets. These had several downsides: * untested * partial coverage * done at the wrong level Related to #2919309.
Wed, 11 Jun 2014 17:14:32 +0200 [connection] remove ensure_cnx_set context manager uses
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 17:14:32 +0200] rev 10365
[connection] remove ensure_cnx_set context manager uses It has been deprecated in a previous changeset and is now a no-op. Related to #2919309.
Wed, 11 Jun 2014 15:32:07 +0200 [server] remove cnxset tracking, it is now unneeded
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 15:32:07 +0200] rev 10364
[server] remove cnxset tracking, it is now unneeded Indeed, all cnxsets will now be acquired using the following API:: with session.new_cnx() as cnx: cnx.execute(...) # do stuff cnx.commit() These well-scoped blocks are the only place a cnxset can be acquired. The old use-case for un-delimited cnxsets (pyro/zmqpickle protocols) have been removed. The "mode" of connection objects becomes "write" forever (it will be removed in a couple of changesets). Related to #2919309.
Wed, 11 Jun 2014 15:58:01 +0200 [devtools] remove the remaining bw compat for old-style tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 15:58:01 +0200] rev 10363
[devtools] remove the remaining bw compat for old-style tests It is just: * dangerously untested right now * on the path of further bw compat removal (cnxset handling) webtest drops an apparently pointless .login call Related to #3933480.
Wed, 11 Jun 2014 14:52:27 +0200 [session] remove session-related bw compat code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 14:52:27 +0200] rev 10362
[session] remove session-related bw compat code Related to #3933480.
Wed, 11 Jun 2014 14:47:50 +0200 [session/transaction] removed unused transaction class
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 14:47:50 +0200] rev 10361
[session/transaction] removed unused transaction class Related to #3933480.
Wed, 11 Jun 2014 13:39:56 +0200 [transactions] cleanup after the dbapi removal
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 13:39:56 +0200] rev 10360
[transactions] cleanup after the dbapi removal * end req vs cnx dichotomy * Transaction takes a cnx at __init__ time * a couple of super calls are fixed Related to #3933480.
Tue, 10 Jun 2014 15:06:44 +0200 [session/cnx] remove `session_handled` logic
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 15:06:44 +0200] rev 10359
[session/cnx] remove `session_handled` logic Related to #3837233 .
Tue, 10 Jun 2014 14:44:36 +0200 [web/sessions] reduce repoapi usage where possible
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 14:44:36 +0200] rev 10358
[web/sessions] reduce repoapi usage where possible Using session.new_cnx() should be the new preferred way. Related to #3837233.
Tue, 10 Jun 2014 18:17:07 +0200 [entity,storage] remove hackish code from the bfss path
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 18:17:07 +0200] rev 10357
[entity,storage] remove hackish code from the bfss path The ClientConnection/Connection duality brought some painful hacks that are no longer needed. Hence we can send entity._cw_update_attr_cache and ._cw_dont_cache_attribute to the grave. Related to #3837233
Fri, 13 Jun 2014 15:56:08 +0200 [connection] eliminate ClientConnection leftovers
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 15:56:08 +0200] rev 10356
[connection] eliminate ClientConnection leftovers * in the documentation * in the docstrings * in code notations (e.g. clt_cnx -> cnx) Related to #3837233. From now, there should be just one ClientConnection left in repoapi.py.
Fri, 13 Jun 2014 15:42:04 +0200 [session] all cnx._session become cnx.session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 15:42:04 +0200] rev 10355
[session] all cnx._session become cnx.session The _session belonged to ClientConnection, which is just gone. Related to #3837233.
Tue, 10 Jun 2014 16:01:49 +0200 [repoapi] fold ClientConnection into Connection
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 16:01:49 +0200] rev 10354
[repoapi] fold ClientConnection into Connection Connection replaces ClientConnection everywhere. Some notes: * testlib: .client_cnx and .repo_cnx become aliases of .cnx (we might not want to tell people to update their tests again for just no real benefit, so we'll live with these aliases for a while) * entity.as_rset must not be cached because we risk caching result sets having a Connection object as .req (helps unittest_breadcrumbs) * entity._cw_dont_cache_attributes loses its repo/request special paths and only keeps its storage/bfss user (this helps unittest_wfobjs) * moreover, entity.cw_instantiate and .cw_set stop overriding the attributes cache *after* the before_*_entity hooks have run, because there is no need to (it is now actually harmful to do it and unittest_hooks.test_html_tidy* tests remain green because of this) * rset._build_entity sticks its .req onto the entity just fetched from the cache, because otherwise it might carry a _cw that is a Connection object where a Request is expected (helps unittest_views_actions) * we get overall better cache usages (entity caches were split over Request + ClientConnection and Connection), hence the changes unittest_entity and unittest_wfobjs * void the ecache when providing the cnx to a request object Having the entity cache pre-filled when we bind it to the request object hurts because these entities are bound to Connection objects, that lack e.g. `.form` or `.add_js` and crash the views subsystem. Thus, the unittest_testlib.test_error_raised test will are kept green. Closes #3837233
Fri, 13 Jun 2014 13:54:28 +0200 [migractions] remove any session related leftovers
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 13:54:28 +0200] rev 10353
[migractions] remove any session related leftovers Also, the migration handler really wants a "repo" session anyway. This highlights a bug in unittest_wfobjs.test_duplicated_transition where an old connection is reused. It probably used to work because it was made of session + set_cnxset magic dust. Related to #3933480.
Fri, 13 Jun 2014 12:07:51 +0200 [session] provide missing apis to Connection
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 12:07:51 +0200] rev 10352
[session] provide missing apis to Connection From this point, Connection provides a superset of ClientConnection. Related to #3837233.
Tue, 01 Jul 2014 16:55:49 +0200 [connection] replace .running_dbapi_query with .hooks_in_progress
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 16:55:49 +0200] rev 10351
[connection] replace .running_dbapi_query with .hooks_in_progress The thing was badly named. It tries to help distinguish between queries issued directly by the programmer (e.g in the views: cnx.execute(...)) from queries issued from the hooks, operations ... or even the repository or the native source objects. It worked heuristically being associated with the security being disabled. We provide a better name and an implementation distinct from the security management methods. Related to #3933480.
Tue, 05 May 2015 08:41:19 +0200 [dataimport] Turn the module into a package
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 05 May 2015 08:41:19 +0200] rev 10350
[dataimport] Turn the module into a package Just `hg mv` dataimport.py and test/unittest_dataimport.py.
Fri, 07 Nov 2014 15:33:30 +0100 [dataimport] Properly escape strings sent to COPY FROM (closes #5278743)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 07 Nov 2014 15:33:30 +0100] rev 10349
[dataimport] Properly escape strings sent to COPY FROM (closes #5278743) See http://www.postgresql.org/docs/9.1/static/sql-copy.html#AEN64296 for escaping codes.
Tue, 28 Apr 2015 17:00:35 +0200 [http] fix cache-control syntax in EtagHTTPCacheManager
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 28 Apr 2015 17:00:35 +0200] rev 10348
[http] fix cache-control syntax in EtagHTTPCacheManager use , to separate cache response directive closes #5307539
Tue, 01 Jul 2014 13:19:35 +0200 [connection] provide some missing documentation bits
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 13:19:35 +0200] rev 10347
[connection] provide some missing documentation bits The previous changesets remove information about session data and transaction data. We provide the necessary entries in the docstring of the Connection class. Related to #3933480.
Fri, 06 Jun 2014 17:08:08 +0200 [repoapi,session] remove all session-as-cnx backward compat
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Jun 2014 17:08:08 +0200] rev 10346
[repoapi,session] remove all session-as-cnx backward compat The `dbapi` being gone, we now can drop the session object bw-compatibility layer. This will allow further simplifications, such as folding ClientConnection and Connection (without too much pain), and then having persistent sessions. Related to #3933480.
Wed, 22 Apr 2015 18:28:58 +0200 [server] drop repo.internal_session and InternalSession
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Apr 2015 18:28:58 +0200] rev 10345
[server] drop repo.internal_session and InternalSession
Wed, 22 Apr 2015 17:48:32 +0200 Added tag cubicweb-version-3.20.7, cubicweb-debian-version-3.20.7-1, cubicweb-centos-version-3.20.7-1 for changeset 359d68bc1260
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Apr 2015 17:48:32 +0200] rev 10344
Added tag cubicweb-version-3.20.7, cubicweb-debian-version-3.20.7-1, cubicweb-centos-version-3.20.7-1 for changeset 359d68bc1260
Wed, 22 Apr 2015 17:48:00 +0200 [pkg] 3.20.7 3.20.7 centos/3.20.7-1 cubicweb-centos-version-3.20.7-1 cubicweb-debian-version-3.20.7-1 cubicweb-version-3.20.7 debian/3.20.7-1
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Apr 2015 17:48:00 +0200] rev 10343
[pkg] 3.20.7
Wed, 22 Apr 2015 17:45:27 +0200 [dbapi] retire repo.[gs]et_shared_data which were used by the dbapi
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Apr 2015 17:45:27 +0200] rev 10342
[dbapi] retire repo.[gs]et_shared_data which were used by the dbapi Related to #3933480
Tue, 17 Mar 2015 16:00:30 +0100 [dbapi] retire repository transaction methods which were used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Mar 2015 16:00:30 +0100] rev 10341
[dbapi] retire repository transaction methods which were used by the dbapi Related to #3933480.
Tue, 17 Mar 2015 15:57:22 +0100 [dbapi] retire repo.call_service which was used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Mar 2015 15:57:22 +0100] rev 10340
[dbapi] retire repo.call_service which was used by the dbapi Related to #3933480.
Tue, 17 Mar 2015 15:55:52 +0100 [dbapi] retire repo.commit/rollback which was used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Mar 2015 15:55:52 +0100] rev 10339
[dbapi] retire repo.commit/rollback which was used by the dbapi Related to #3933480.
Tue, 17 Mar 2015 15:46:40 +0100 [dbapi] retire repo.user_info which was used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Mar 2015 15:46:40 +0100] rev 10338
[dbapi] retire repo.user_info which was used by the dbapi Related to #3933480.
Tue, 17 Mar 2015 15:41:54 +0100 [dbapi] retire repo.entity_metas which was used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Mar 2015 15:41:54 +0100] rev 10337
[dbapi] retire repo.entity_metas which was used by the dbapi Related to #3933480.
Wed, 04 Jun 2014 18:21:24 +0200 [dbapi] retire repo.execute, which was used by the dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 18:21:24 +0200] rev 10336
[dbapi] retire repo.execute, which was used by the dbapi We will retire or reform pieces, mostly of the Repository class, that were related to the old dbapi way of life. Related to #3933480.
Thu, 05 Jun 2014 09:51:57 +0200 [devtools/testlib] remove dbapi backward-compat
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 09:51:57 +0200] rev 10335
[devtools/testlib] remove dbapi backward-compat Related to #3933480.
Fri, 13 Mar 2015 16:11:35 +0100 [test] fix copy-pasta in doc string
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 16:11:35 +0100] rev 10334
[test] fix copy-pasta in doc string
Fri, 13 Mar 2015 16:10:29 +0100 [book] remove dbapi documentation
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 16:10:29 +0100] rev 10333
[book] remove dbapi documentation Move some still-relevant doc related to the RQL connection API to the 'sessions' section. It might make sense to move this back outside of the "Repository development" chapter at some point since this is relevant in other contexts.
Fri, 27 Mar 2015 15:29:34 +0100 [uilib] `uilib.js` helper now honors explicit JSString (closes #4959538)
Alain Leufroy <alain@leufroy.fr> [Fri, 27 Mar 2015 15:29:34 +0100] rev 10332
[uilib] `uilib.js` helper now honors explicit JSString (closes #4959538) Previously, if a JSString was inside a nested container (i.e. list or dict), it was handled as a string, not a verbatim js chunk (see docstring and test). So the following code:: >>> str(js.cw.pouet(1, {'callback': JSString('cw.mycallback')}) resulted in:: "cw.pouet(1, {'callback': 'cw.mycallback')})" while we expect (note the removed quotes):: "cw.pouet(1, {'callback': cw.mycallback)})" We use ``cubiweb.utils.js_dumps`` instead of ``cubicweb.utils.json_dumps`` which is aware of JSString.
Tue, 03 Jun 2014 16:57:14 +0200 [dbapi] remove the dbapi module and its immediate remaining users
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 16:57:14 +0200] rev 10331
[dbapi] remove the dbapi module and its immediate remaining users We suppress toolsutils.config_connect, which has currently only one known user (the email cube), which is being patched. It can be replaced with utils.admincnx function for a local access. Next will come a series to: * remove the session backward compatibility * fold ClientConnection into Connection Closes #3933480.
Fri, 13 Mar 2015 16:57:32 +0100 [web/views] remove dbapi usage from 'gc' view
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 16:57:32 +0100] rev 10330
[web/views] remove dbapi usage from 'gc' view
Tue, 07 Apr 2015 17:08:53 +0200 [sqlite] Fix integrity error parsing
Christophe de Vienne <christophe@unlish.com> [Tue, 07 Apr 2015 17:08:53 +0200] rev 10329
[sqlite] Fix integrity error parsing Up to sqlite 3.7, integrity error message may be in the singular form if only one column is in the unique index. Closes #5224632
Mon, 06 Apr 2015 21:46:52 +0200 [postgres] fix limit_size regexp to properly remove one char tags like <p>.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Apr 2015 21:46:52 +0200] rev 10328
[postgres] fix limit_size regexp to properly remove one char tags like <p>. Closes #5221847
Wed, 15 Apr 2015 22:08:08 +0200 [postgres] _regproc.postgres.sql should be reloadable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Apr 2015 22:08:08 +0200] rev 10327
[postgres] _regproc.postgres.sql should be reloadable
Tue, 21 Apr 2015 17:12:36 +0200 [mail] include Date header in generated mails (closes #5271058)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Apr 2015 17:12:36 +0200] rev 10326
[mail] include Date header in generated mails (closes #5271058) Mails without Date gets flagged as spam. Plus it's wrong anyway.
Thu, 02 Apr 2015 10:41:53 +0200 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 Apr 2015 10:41:53 +0200] rev 10325
[doc] mention datadir-url configuration option in release notes Related to #5204550
Wed, 22 Apr 2015 12:26:44 +0200 [web] add test for datadir-url option (related to #5204550)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Apr 2015 12:26:44 +0200] rev 10324
[web] add test for datadir-url option (related to #5204550)
Wed, 01 Apr 2015 15:50:59 +0200 [web] Add datadir-url configuration option (closes #5204550)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 01 Apr 2015 15:50:59 +0200] rev 10323
[web] Add datadir-url configuration option (closes #5204550) Makes it possible to use a different host for static data instead of ${base_url}/data
Tue, 31 Mar 2015 10:22:05 +0200 [web] kill https-deny-anonymous option (closes #5193687)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 31 Mar 2015 10:22:05 +0200] rev 10322
[web] kill https-deny-anonymous option (closes #5193687) It doesn't make much sense to prevent people from using https.
Thu, 29 Jan 2015 10:54:41 +0100 [cwctl] don't filter DeprecationWarnings
Julien Cristau <julien.cristau@logilab.fr> [Thu, 29 Jan 2015 10:54:41 +0100] rev 10321
[cwctl] don't filter DeprecationWarnings
Wed, 28 Jan 2015 15:53:41 +0100 [exceptions] avoid calling UniqueExceptionError.rtypes after closing the session
Julien Cristau <julien.cristau@logilab.fr> [Wed, 28 Jan 2015 15:53:41 +0100] rev 10320
[exceptions] avoid calling UniqueExceptionError.rtypes after closing the session
Wed, 22 Apr 2015 12:05:09 +0200 [web/test] Fix broken tests after commit b81adb5e32f9
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Apr 2015 12:05:09 +0200] rev 10319
[web/test] Fix broken tests after commit b81adb5e32f9 Add missing n3rdf view to RDF view list.
Wed, 11 Jun 2014 15:33:09 +0200 [web/test] don't delete uicache directory
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 15:33:09 +0200] rev 10318
[web/test] don't delete uicache directory Other tests use it, so the rmtree was a bit too much. Set CACHEDIR to a temporary subdirectory, and only delete that.
Fri, 20 Feb 2015 16:17:51 +0100 [web/views] add text/n3 rdf view
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Feb 2015 16:17:51 +0100] rev 10317
[web/views] add text/n3 rdf view Less shit than xml.
Fri, 31 Oct 2014 17:17:26 +0100 [schemas] make CWEType.final default to False (closes #5049201)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 31 Oct 2014 17:17:26 +0100] rev 10316
[schemas] make CWEType.final default to False (closes #5049201)
Fri, 04 Apr 2014 14:49:18 +0200 [repository] replace session with cnx in a few places
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 14:49:18 +0200] rev 10315
[repository] replace session with cnx in a few places
Mon, 01 Dec 2014 16:50:41 +0100 Don't pass an encoding to rqlst.as_string()
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 16:50:41 +0100] rev 10314
Don't pass an encoding to rqlst.as_string()
Sun, 27 Jul 2014 14:57:51 +0200 [rset] Deprecate the 'encoded' argument to ResultSet.printable_rql()
Rémi Cardona <remi.cardona@free.fr> [Sun, 27 Jul 2014 14:57:51 +0200] rev 10313
[rset] Deprecate the 'encoded' argument to ResultSet.printable_rql() It's hardly used at all, and when used inside CubicWeb, it's only set as false. Better make sure that this function always returns a proper unicode string and let the caller handle conversion on its own.
Wed, 22 Apr 2015 09:52:28 +0200 [gcdebug] ignore _NeedAuthAccessMock instances
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Apr 2015 09:52:28 +0200] rev 10312
[gcdebug] ignore _NeedAuthAccessMock instances When looping over gc.get_objects(), we'd crash in _NeedAuthAccessMock.__getattribute__.
Tue, 10 Feb 2015 14:38:25 +0100 [views] Fix 'gc' view to use 'repo_gc_stats' service
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 10 Feb 2015 14:38:25 +0100] rev 10311
[views] Fix 'gc' view to use 'repo_gc_stats' service
Tue, 10 Feb 2015 14:37:51 +0100 [services] Fix 'repo_gc_stats' to return a list of unreachable objects' repr
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 10 Feb 2015 14:37:51 +0100] rev 10310
[services] Fix 'repo_gc_stats' to return a list of unreachable objects' repr
Tue, 10 Feb 2015 12:18:38 +0100 [services] Prevent 'repo_stats' service from aggregating information
David Douard <david.douard@logilab.fr> [Tue, 10 Feb 2015 12:18:38 +0100] rev 10309
[services] Prevent 'repo_stats' service from aggregating information It's up to the consumer of the service to decide whether it wants aggregated data or not... Ensure the /siteinfo page rendering is not modified.
Wed, 22 Apr 2015 11:00:50 +0200 [hooks] add a looping task that dumps the stats regularly in a file
David Douard <david.douard@logilab.fr> [Wed, 22 Apr 2015 11:00:50 +0200] rev 10308
[hooks] add a looping task that dumps the stats regularly in a file
Mon, 23 Feb 2015 09:02:41 +0100 [web/facet] Use an Exists node in HasRelationFacet
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 23 Feb 2015 09:02:41 +0100] rev 10307
[web/facet] Use an Exists node in HasRelationFacet The generated RQL now includes an EXISTS clause. For instance, one gets: :: DISTINCT Any WHERE X is CWUser, EXISTS(X in_group A) instead of: :: DISTINCT Any WHERE X is CWUser, X in_group A for a HasRelationFacet with ``rtype = 'in_group'``, which is more appropriate for testing the existence of the relation. Add a test for this facet along the way.
Wed, 01 Apr 2015 13:39:30 +0200 [debian] Add a Breaks for cubicweb-folder which stills use GMTOFFSET
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 01 Apr 2015 13:39:30 +0200] rev 10306
[debian] Add a Breaks for cubicweb-folder which stills use GMTOFFSET Related to #2154655.
Mon, 16 Mar 2015 16:46:34 +0100 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Mar 2015 16:46:34 +0100] rev 10305
[web] kill GMTOFFSET (closes #2154655) Its last user, set_cookie(expires=...), can just as well interpret its argument as UTC. Naïve datetime objects with an implicit non-UTC timezone are just awful.
Thu, 26 Mar 2015 08:34:47 +0100 [web/request] don't play tricks with utc offset
Julien Cristau <julien.cristau@logilab.fr> [Thu, 26 Mar 2015 08:34:47 +0100] rev 10304
[web/request] don't play tricks with utc offset We need an UTC datetime from a time.time()-type value. It turns out datetime provides a method to do just that. Related to #2154655.
Wed, 25 Mar 2015 08:43:00 +0100 [server/test] Drop dependency on folder cube
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 25 Mar 2015 08:43:00 +0100] rev 10303
[server/test] Drop dependency on folder cube Just copy schema bits when needed and drop a view (not possible anymore) in unittest_repository. Closes #5168939.
Wed, 25 Mar 2015 08:21:00 +0100 [web/test] Drop folder cube dependency
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 25 Mar 2015 08:21:00 +0100] rev 10302
[web/test] Drop folder cube dependency Copy useful schema bits, define IBreadCrumbs adapter for Folder/fild_under (previously relying on ITree adapter) and adjust unittest_viewselector tests to drop a view that does not exist anymore. Related to #5168939.
Wed, 22 Apr 2015 10:08:14 +0200 merge 3.20.6 into 3.21
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Apr 2015 10:08:14 +0200] rev 10301
merge 3.20.6 into 3.21
Wed, 01 Apr 2015 15:06:45 +0200 [web/views] Allow changing CSVView's separator (closes #5227442)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 01 Apr 2015 15:06:45 +0200] rev 10300
[web/views] Allow changing CSVView's separator (closes #5227442)
Thu, 16 Apr 2015 18:59:12 +0200 [web/view/treeview] add a 'selected' class on <li> if the entity's url is the currently displayed url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Apr 2015 18:59:12 +0200] rev 10299
[web/view/treeview] add a 'selected' class on <li> if the entity's url is the currently displayed url An alternative would be to refactor the corresponding view so that controlling css classes wouldn't require overriding a 5O-lines method. Notice by default there is no associated class in the CSS so there is no rendering difference unless one explicitly add rule in his CSS file.
Thu, 02 Apr 2015 13:54:00 +0200 Added tag cubicweb-version-3.20.6, cubicweb-debian-version-3.20.6-1, cubicweb-centos-version-3.20.6-1 for changeset 7f64859dcbcd
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 Apr 2015 13:54:00 +0200] rev 10298
Added tag cubicweb-version-3.20.6, cubicweb-debian-version-3.20.6-1, cubicweb-centos-version-3.20.6-1 for changeset 7f64859dcbcd
Thu, 02 Apr 2015 10:58:38 +0200 [pkg] 3.20.6 3.20.6 centos/3.20.6-1 cubicweb-centos-version-3.20.6-1 cubicweb-debian-version-3.20.6-1 cubicweb-version-3.20.6 debian/3.20.6-1
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 Apr 2015 10:58:38 +0200] rev 10297
[pkg] 3.20.6
Mon, 30 Mar 2015 11:47:43 +0200 [notification] don't block while sending mails
Julien Cristau <julien.cristau@logilab.fr> [Mon, 30 Mar 2015 11:47:43 +0200] rev 10296
[notification] don't block while sending mails Regression from #7c17659c9eae, closes #5190001.
Sun, 01 Feb 2015 22:17:25 +0100 [dataimport] make MetaDataGenerator / NoHookObjectStore usable from a datafeed parser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 01 Feb 2015 22:17:25 +0100] rev 10295
[dataimport] make MetaDataGenerator / NoHookObjectStore usable from a datafeed parser ie make it possible to create entities with external source as cw_source and proper external id. Closes #4891552
Sun, 01 Feb 2015 22:14:44 +0100 [dataimport] don't generate metadata which are explicitly specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 01 Feb 2015 22:14:44 +0100] rev 10294
[dataimport] don't generate metadata which are explicitly specified Related to #4891552
Fri, 27 Mar 2015 17:23:06 +0100 [debian] prepare 3.20.5-2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 17:23:06 +0100] rev 10293
[debian] prepare 3.20.5-2
Fri, 27 Mar 2015 17:22:39 +0100 merge 3.19.11-2 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 17:22:39 +0100] rev 10292
merge 3.19.11-2 into 3.20
Fri, 27 Mar 2015 17:21:08 +0100 Added tag cubicweb-debian-version-3.19.11-2 for changeset 6d265ea7d56f
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 17:21:08 +0100] rev 10291
Added tag cubicweb-debian-version-3.19.11-2 for changeset 6d265ea7d56f
Fri, 27 Mar 2015 16:59:47 +0100 [debian] Update watch file cubicweb-debian-version-3.19.11-2 debian/3.19.11-2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 16:59:47 +0100] rev 10290
[debian] Update watch file
Fri, 27 Mar 2015 16:52:44 +0100 [debian] Fix cubicweb-dev dependency
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 16:52:44 +0100] rev 10289
[debian] Fix cubicweb-dev dependency
Fri, 27 Mar 2015 16:37:26 +0100 Added tag cubicweb-version-3.20.5, cubicweb-debian-version-3.20.5-1, cubicweb-centos-version-3.20.5-1 for changeset 51aa56e7d507
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 16:37:26 +0100] rev 10288
Added tag cubicweb-version-3.20.5, cubicweb-debian-version-3.20.5-1, cubicweb-centos-version-3.20.5-1 for changeset 51aa56e7d507
Fri, 27 Mar 2015 14:56:33 +0100 [pkg] 3.20.5 3.20.5 centos/3.20.5-1 cubicweb-centos-version-3.20.5-1 cubicweb-debian-version-3.20.5-1 cubicweb-version-3.20.5 debian/3.20.5-1
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Mar 2015 14:56:33 +0100] rev 10287
[pkg] 3.20.5
Wed, 25 Mar 2015 08:09:56 +0100 [dataimport] don't insert created_by / owned_by relations when user is the internal manager (eid = -1).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Mar 2015 08:09:56 +0100] rev 10286
[dataimport] don't insert created_by / owned_by relations when user is the internal manager (eid = -1). Closes #5162943
Wed, 25 Mar 2015 07:57:38 +0100 [repository] don't attempt to delete computed relation, they have no table in the database. Closes #5162935
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Mar 2015 07:57:38 +0100] rev 10285
[repository] don't attempt to delete computed relation, they have no table in the database. Closes #5162935
Mon, 23 Mar 2015 14:28:48 +0100 [migration] sync_schema_props_perms should skip computed relations. Closes #5147796
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Mar 2015 14:28:48 +0100] rev 10284
[migration] sync_schema_props_perms should skip computed relations. Closes #5147796
Sun, 22 Mar 2015 19:05:19 +0100 [schema] typo
Julien Cristau <julien.cristau@logilab.fr> [Sun, 22 Mar 2015 19:05:19 +0100] rev 10283
[schema] typo
Fri, 20 Feb 2015 16:18:25 +0100 [web/test] fix test_views
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Feb 2015 16:18:25 +0100] rev 10282
[web/test] fix test_views reusing a request for two different view calls leads to badness
Mon, 23 Mar 2015 11:08:04 +0100 [documentation] add note concerning Attribute, TODAY and NOW in yams documentation
Erica Marco <erica.marco@logilab.fr> [Mon, 23 Mar 2015 11:08:04 +0100] rev 10281
[documentation] add note concerning Attribute, TODAY and NOW in yams documentation
Wed, 18 Mar 2015 22:43:51 +0100 [i18n] properly translate error messages related to violated unicity constraint.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Mar 2015 22:43:51 +0100] rev 10280
[i18n] properly translate error messages related to violated unicity constraint. Closes #5100373
Wed, 04 Feb 2015 15:13:36 +0100 [web/data] Add missing mode='swap' in loadxhtml calls (closes #5087432)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 04 Feb 2015 15:13:36 +0100] rev 10279
[web/data] Add missing mode='swap' in loadxhtml calls (closes #5087432) Let's avoid putting divs inside divs, dawg.
Tue, 17 Mar 2015 12:34:07 +0100 [web/views] Fix PropertyKeyField widget (closes #5087413)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 17 Mar 2015 12:34:07 +0100] rev 10278
[web/views] Fix PropertyKeyField widget (closes #5087413) CWProperties don't have unittests, this will likely break again.
Tue, 17 Mar 2015 12:35:45 +0100 [web/views] Fix exception in CWProperty edit form (closes #5087412)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 17 Mar 2015 12:35:45 +0100] rev 10277
[web/views] Fix exception in CWProperty edit form (closes #5087412) Also add missing help message. The overall display is ugly, but at least the message is shown.
Wed, 25 Mar 2015 10:10:24 +0100 [web/request] Restore attribute setting for search_state
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 25 Mar 2015 10:10:24 +0100] rev 10276
[web/request] Restore attribute setting for search_state This was dropped in 1f84295bfe95 when `search_state` attribute was turned into a property, but without a setter. So adding a setter here restoring previous behaviour, as some tests and cubes use it. Related to #4875761.
Mon, 09 Feb 2015 12:52:15 +0100 [web/request] simplify search_state loading, fix comment
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Feb 2015 12:52:15 +0100] rev 10275
[web/request] simplify search_state loading, fix comment
Wed, 28 Jan 2015 09:46:55 +0100 [webrequest] Lazy-load search_state
Christophe de Vienne <christophe@unlish.com> [Wed, 28 Jan 2015 09:46:55 +0100] rev 10274
[webrequest] Lazy-load search_state - The update_search_state function will hit the session data only if __mode is present in the form. - set_search_state keep the same semantics - Direct access to search_state in the session data is changed by an access to the new property. Closes #4875761
Thu, 12 Mar 2015 12:29:25 +0100 [config] disable fckeditor by default (closes #1368900)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Mar 2015 12:29:25 +0100] rev 10273
[config] disable fckeditor by default (closes #1368900) FCKEditor is no longer maintained, and has a history of XSS issues. Let's use plain text as default text format.
Wed, 18 Mar 2015 14:41:47 +0100 merge 3.19.11 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 14:41:47 +0100] rev 10272
merge 3.19.11 into 3.20
Wed, 18 Mar 2015 13:45:45 +0100 Added tag cubicweb-version-3.19.11, cubicweb-debian-version-3.19.11-1, cubicweb-centos-version-3.19.11-1 for changeset 1ae64186af94
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 13:45:45 +0100] rev 10271
Added tag cubicweb-version-3.19.11, cubicweb-debian-version-3.19.11-1, cubicweb-centos-version-3.19.11-1 for changeset 1ae64186af94
Tue, 17 Mar 2015 15:50:40 +0100 [migration] reorder system tables / meta-schema migration into bootstrap_migration 3.19.11 centos/3.19.11-1 cubicweb-centos-version-3.19.11-1 cubicweb-debian-version-3.19.11-1 cubicweb-version-3.19.11 debian/3.19.11-1
Erica Marco <erica.marco@logilab.fr> [Tue, 17 Mar 2015 15:50:40 +0100] rev 10270
[migration] reorder system tables / meta-schema migration into bootstrap_migration Also fix a bug in the backwards-compat eid_type_source method where it returned an extid (possibly null) instead of a source name. With these changes, migrating a database from cw 3.12 is now possible. Closes #4962681
Wed, 18 Mar 2015 12:02:09 +0100 [dataimport] add missing import (closes #4985916)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 12:02:09 +0100] rev 10269
[dataimport] add missing import (closes #4985916)
Wed, 18 Mar 2015 12:01:03 +0100 [debian] cubicweb-dev needs cubicweb-etwist
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 12:01:03 +0100] rev 10268
[debian] cubicweb-dev needs cubicweb-etwist Closes #4965410
Wed, 18 Mar 2015 11:56:11 +0100 [pkg] 3.19.11
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 11:56:11 +0100] rev 10267
[pkg] 3.19.11
Tue, 17 Mar 2015 09:19:06 +0100 Binary initializer should accept bytearrays (closes #5084075)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Mar 2015 09:19:06 +0100] rev 10266
Binary initializer should accept bytearrays (closes #5084075) Recent versions of pyodbc return bytearray objects for binary data.
Thu, 05 Mar 2015 11:44:29 +0100 [native source] log the used connection in doexecmany as in doexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Mar 2015 11:44:29 +0100] rev 10265
[native source] log the used connection in doexecmany as in doexec
Tue, 17 Feb 2015 12:43:42 +0100 [server] use unicode wherever appropriate in transaction/undo related methods
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:43:42 +0100] rev 10264
[server] use unicode wherever appropriate in transaction/undo related methods Silences lgdb/sqlite warnings about using str instead of unicode.
Mon, 09 Mar 2015 18:02:49 +0100 [web] typo
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Mar 2015 18:02:49 +0100] rev 10263
[web] typo
Tue, 17 Feb 2015 12:42:42 +0100 [entities] return the entity itself from notification_references if the view uses a random message-id
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:42:42 +0100] rev 10262
[entities] return the entity itself from notification_references if the view uses a random message-id Useful for entity update notifications to reference the entity creation message.
Tue, 17 Feb 2015 12:35:58 +0100 [notifications] use non-fixed message-id for EntityUpdatedNotificationView
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:35:58 +0100] rev 10261
[notifications] use non-fixed message-id for EntityUpdatedNotificationView More than one of those can be sent for a given entity, so they shouldn't all have the same message-id. Closes #4962712.
Tue, 17 Feb 2015 12:32:39 +0100 [server/test] kill remaining 3.19 deprecation warnings in undo tests
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:32:39 +0100] rev 10260
[server/test] kill remaining 3.19 deprecation warnings in undo tests
Mon, 16 Feb 2015 14:30:19 +0100 [devtools] accept str objects in CubicWebTC.new_access and .create_user
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 14:30:19 +0100] rev 10259
[devtools] accept str objects in CubicWebTC.new_access and .create_user
Mon, 16 Feb 2015 10:38:50 +0100 [utils] use the "predictable" argument to js_dumps
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:38:50 +0100] rev 10258
[utils] use the "predictable" argument to js_dumps Fixes doctest under python -R. Related to #4959402.
Mon, 16 Feb 2015 10:54:48 +0100 [server/test] don't rely on a sorted output from .object_relations()
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:54:48 +0100] rev 10257
[server/test] don't rely on a sorted output from .object_relations() Fixes test under python -R. Related to #4959402.
Mon, 16 Feb 2015 10:21:29 +0100 [req] make rebuild_url predictable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:21:29 +0100] rev 10256
[req] make rebuild_url predictable Fixes test with python -R. Related to #4959402.
Fri, 13 Feb 2015 15:12:31 +0100 [web/test] don't depend on iteration order on a set
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:12:31 +0100] rev 10255
[web/test] don't depend on iteration order on a set Fixes test under python -R ('pending_insert' in session data is a set, so we can't rely on any particular ordering). Related to #4959402.
Fri, 13 Feb 2015 15:10:43 +0100 [web/test] fix cubicweb 3.19 deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:10:43 +0100] rev 10254
[web/test] fix cubicweb 3.19 deprecation warning
Fri, 13 Feb 2015 15:09:36 +0100 [web/test] use unicode instead of str for user logins
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:09:36 +0100] rev 10253
[web/test] use unicode instead of str for user logins makes lgdb/sqlite quieter.
Fri, 13 Feb 2015 14:34:35 +0100 [test] Don't depend on dict iteration ordering
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 14:34:35 +0100] rev 10252
[test] Don't depend on dict iteration ordering Fixes test with python -R. Related to #4959402.
Fri, 13 Feb 2015 14:32:15 +0100 [entities] make cw_fti_index_rql_queries predictable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 14:32:15 +0100] rev 10251
[entities] make cw_fti_index_rql_queries predictable Don't depend on the hash function, fixing test with python -R. Related to #4959402.
Fri, 13 Feb 2015 13:39:33 +0100 [hooks/syncschema] use a list instead of a set for UpdateFTIndexOp
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 13:39:33 +0100] rev 10250
[hooks/syncschema] use a list instead of a set for UpdateFTIndexOp The order in which etypes get indexed matters. Related to #4959402.
Fri, 13 Feb 2015 11:48:13 +0100 [rqlrewrite] sort possible types when turning is_instance_of into is
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 11:48:13 +0100] rev 10249
[rqlrewrite] sort possible types when turning is_instance_of into is Helps get predictable output even with python -R. Related to #4959402.
Fri, 13 Feb 2015 11:47:34 +0100 [server/test] use unicode strings for user logins
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 11:47:34 +0100] rev 10248
[server/test] use unicode strings for user logins
Fri, 13 Feb 2015 10:00:32 +0100 [web/test] use unicode object as user login
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 10:00:32 +0100] rev 10247
[web/test] use unicode object as user login (py.warnings) WARNING: /home/jcr/src/cw/cubicweb/devtools/testlib.py:206: DeprecationWarning: Sanitizing an input dictionary with str values, please check your data (key = 'login')
Fri, 13 Feb 2015 09:59:34 +0100 [server/querier] stop passing a rqlst to empty_rset
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 09:59:34 +0100] rev 10246
[server/querier] stop passing a rqlst to empty_rset (py.warnings) WARNING: /home/jcr/src/cw/cubicweb/server/querier.py:46: DeprecationWarning: [3.20] rqlst parameter is deprecated return ResultSet([], rql, args, rqlst=rqlst)
Thu, 12 Feb 2015 18:52:04 +0100 [web/views] Use predictable ordering for attributes in entity XML view
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:52:04 +0100] rev 10245
[web/views] Use predictable ordering for attributes in entity XML view Fixes test under python -R. Related to #4959402.
Fri, 13 Feb 2015 09:46:19 +0100 [web/views] set explicit order for ManageSourcesAction
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 09:46:19 +0100] rev 10244
[web/views] set explicit order for ManageSourcesAction Gives predictable ordering wrt ManageUsersAction under python -R. Related to #4959402.
Thu, 12 Feb 2015 18:40:49 +0100 [web/test] don't depend on dict iteration ordering
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:40:49 +0100] rev 10243
[web/test] don't depend on dict iteration ordering Fixes tests under python -R. Related to #4959402.
Thu, 12 Feb 2015 18:40:24 +0100 [web/test] pass login as unicode string
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:40:24 +0100] rev 10242
[web/test] pass login as unicode string silences lgdb/sqlite warning.
Thu, 12 Feb 2015 18:39:04 +0100 [web/test] fix 3.19 deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:39:04 +0100] rev 10241
[web/test] fix 3.19 deprecation warning
Thu, 12 Feb 2015 18:25:07 +0100 [sobjects/test] Fix dependency on predictable hashing
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:25:07 +0100] rev 10240
[sobjects/test] Fix dependency on predictable hashing Fix test under python -R by ignoring url query parameter ordering. Related to #4959402.
Thu, 12 Feb 2015 18:13:00 +0100 [test] don't rely on a stable ordering for appobject_path
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:13:00 +0100] rev 10239
[test] don't rely on a stable ordering for appobject_path Fixes test under python -R. Related to #4959402.
Fri, 13 Mar 2015 15:30:01 +0100 [server] remove "standalone RQL server" from possible configuration choices
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 15:30:01 +0100] rev 10238
[server] remove "standalone RQL server" from possible configuration choices Related to #2919297.
Fri, 13 Mar 2015 14:12:03 +0100 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 14:12:03 +0100] rev 10237
Remove leftover bits from start-repository command, and document its demise Related to #2919297
Fri, 13 Mar 2015 14:10:40 +0100 Remove the remote repository-access-through-zmq support
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Mar 2015 14:10:40 +0100] rev 10236
Remove the remote repository-access-through-zmq support Modern methods such as the rqlcontroller cube + the cwclientlib library are the way forward. Closes #2919297.
Tue, 03 Mar 2015 14:57:34 +0100 Remove remote repository-access-through-pyro support
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Mar 2015 14:57:34 +0100] rev 10235
Remove remote repository-access-through-pyro support Modern methods such as the rqlcontroller cube + the cwclientlib library are the way forward. Closes #2919309.
Fri, 13 Mar 2015 14:47:35 +0100 [web/views/rdf] Take the second element of XY equivalent for non final relation
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 13 Mar 2015 14:47:35 +0100] rev 10234
[web/views/rdf] Take the second element of XY equivalent for non final relation When given a Yams snippet of the form `<etype> <rtype>` ``xy.xeq()`` will return the XML snippet equivalent to this relation in the form of a tuple `(subject, rtype, object)` so ``item`` will always be a tuple here. In fact, the correct code appears just a few lines above (around line 88) for final relations so I guess this is a copy-paste mistake. Closes #4745929.
Wed, 11 Feb 2015 12:42:19 +0100 [server] Make sure 'zmq-address-sub' config is always iterable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 11 Feb 2015 12:42:19 +0100] rev 10233
[server] Make sure 'zmq-address-sub' config is always iterable
Mon, 01 Dec 2014 11:52:58 +0100 [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 11:52:58 +0100] rev 10232
[web] split timeline in an individual cube Closes #1279544
Thu, 12 Feb 2015 13:52:58 +0100 [devtools] don't hide warnings and errors during tests
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 13:52:58 +0100] rev 10231
[devtools] don't hide warnings and errors during tests The markdown module in jessie turns all warnings into logging calls, so this allows me to still see deprecation warnings when running tests.
Fri, 05 Dec 2014 11:25:35 +0100 [test/i18n] remove unneeded hack
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 05 Dec 2014 11:25:35 +0100] rev 10230
[test/i18n] remove unneeded hack
Thu, 12 Mar 2015 14:21:36 +0100 merge 3.19.10 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Mar 2015 14:21:36 +0100] rev 10229
merge 3.19.10 into 3.20
Mon, 09 Mar 2015 09:32:11 +0100 [server/session] Fix typo "meta vs. metas" in describe()
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 09 Mar 2015 09:32:11 +0100] rev 10228
[server/session] Fix typo "meta vs. metas" in describe()
Thu, 12 Mar 2015 12:26:46 +0100 Added tag cubicweb-version-3.19.10, cubicweb-debian-version-3.19.10-1, cubicweb-centos-version-3.19.10-1 for changeset 3bab0b9b0ee7
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 12:26:46 +0100] rev 10227
Added tag cubicweb-version-3.19.10, cubicweb-debian-version-3.19.10-1, cubicweb-centos-version-3.19.10-1 for changeset 3bab0b9b0ee7
Thu, 12 Mar 2015 11:52:18 +0100 [pkg] 3.19.10 3.19.10 centos/3.19.10-1 cubicweb-centos-version-3.19.10-1 cubicweb-debian-version-3.19.10-1 cubicweb-version-3.19.10 debian/3.19.10-1
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 11:52:18 +0100] rev 10226
[pkg] 3.19.10
Thu, 12 Mar 2015 11:00:57 +0100 [i18n] Update translations
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 11:00:57 +0100] rev 10225
[i18n] Update translations Related to #5012581.
Wed, 11 Mar 2015 15:17:25 +0100 [config] Lowercase the FQDN we get from the OS (closes #5040345)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 11 Mar 2015 15:17:25 +0100] rev 10224
[config] Lowercase the FQDN we get from the OS (closes #5040345) Browsers convert the host name part of URLs to lowercase. This has the unfortunate effect of triggering various CORS error messages in CubicWeb (because the Origin: header will contain lowercase letters). As per RFC 4343, host name comparison should be case-insensitive. So let's put it in lowercase when we grab it from the host system. If admins put uppercase letters in "host" or "base-url" in their all-in-one.conf, then it's their fault.
Tue, 10 Mar 2015 11:52:04 +0100 [web/views] Honor 'action' attribute on AutomaticEntityForm, closes #4943392
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 10 Mar 2015 11:52:04 +0100] rev 10223
[web/views] Honor 'action' attribute on AutomaticEntityForm, closes #4943392 On AutomaticEntityForms, get_action used to bypass the logic from FieldsForm.form_action() which handles the 'action' attribute itself, preventing callers from overriding it at selection time. This capability is used by the inlinedit cube. In a nutshell, we let the deprecated AutomaticEntityForm.get_action() raise an AttributeError, which allows FieldsForm.form_action() to handle it properly.
Tue, 22 Apr 2014 16:39:19 +0200 [docstrings] fix project-wide English language mistake
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 22 Apr 2014 16:39:19 +0200] rev 10222
[docstrings] fix project-wide English language mistake Even though 'u' is a wovel, it may be pronounced 'yu' which is a consonant sound. In such cases precede it with 'a' instead of 'an'.
Wed, 26 Mar 2014 12:30:52 +0100 [doc] Don't pretend we know cubicweb runs on mysql
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Mar 2014 12:30:52 +0100] rev 10221
[doc] Don't pretend we know cubicweb runs on mysql As far as I know it hasn't been tested in years.
Fri, 06 Mar 2015 16:17:11 +0100 [test/i18n] Update reference po file following 75cd7df5c32e
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 06 Mar 2015 16:17:11 +0100] rev 10220
[test/i18n] Update reference po file following 75cd7df5c32e This changeset added a (missing) message "add a <etype>", so reference po file needed an update.
Wed, 25 Feb 2015 17:13:46 +0100 [devtools] add a method on CubicWebTC to fake data posted by standard cw forms. Closes #4985805
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Feb 2015 17:13:46 +0100] rev 10219
[devtools] add a method on CubicWebTC to fake data posted by standard cw forms. Closes #4985805
Thu, 18 Dec 2014 10:55:17 +0100 [web/wdoc] fix links
Julien Cristau <julien.cristau@logilab.fr> [Thu, 18 Dec 2014 10:55:17 +0100] rev 10218
[web/wdoc] fix links They're relative to ${base-url}/doc/, not ${base-url}. Closes #3161099.
Thu, 05 Mar 2015 11:40:56 +0100 [i18n generation] add missing 'add a EntityType' message to generated catalogs. Closes #5012581
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Mar 2015 11:40:56 +0100] rev 10217
[i18n generation] add missing 'add a EntityType' message to generated catalogs. Closes #5012581
Tue, 03 Mar 2015 14:58:16 +0100 [server/test] fix test_zmq
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Mar 2015 14:58:16 +0100] rev 10216
[server/test] fix test_zmq We were only asserting in a thread, thus ignoring the results.
Thu, 12 Jun 2014 15:22:01 +0200 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 15:22:01 +0200] rev 10215
[views,js] remove user_callback feature Related to #3975260.
Fri, 06 Feb 2015 14:43:40 +0100 [newcube] Make the generated code PEP-8 compliant
Christophe de Vienne <christophe@unlish.com> [Fri, 06 Feb 2015 14:43:40 +0100] rev 10214
[newcube] Make the generated code PEP-8 compliant Closes #4925396
Sun, 31 Aug 2014 18:04:46 +0200 Remove unused imports
Rémi Cardona <remi.cardona@free.fr> [Sun, 31 Aug 2014 18:04:46 +0200] rev 10213
Remove unused imports
Wed, 20 Aug 2014 20:46:17 +0200 [ext] Remove use of cStringIO
Rémi Cardona <remi.cardona@free.fr> [Wed, 20 Aug 2014 20:46:17 +0200] rev 10212
[ext] Remove use of cStringIO We create a StringIO never to read anything from it. Docutils seems to support setting the 'warning_stream' to False to ignore warnings. So let's just do that.
Wed, 30 Jul 2014 22:34:55 +0200 [view] Use io.BytesIO as stream for binary views
Rémi Cardona <remi.cardona@free.fr> [Wed, 30 Jul 2014 22:34:55 +0200] rev 10211
[view] Use io.BytesIO as stream for binary views
Fri, 16 Jan 2015 14:12:49 +0100 [undo/test] check that the entity was restored even though the fiche relation wasn't
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 14:12:49 +0100] rev 10210
[undo/test] check that the entity was restored even though the fiche relation wasn't
Fri, 16 Jan 2015 12:35:46 +0100 Use a moved_entities table to record external entities moved to the system source
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 12:35:46 +0100] rev 10209
Use a moved_entities table to record external entities moved to the system source Instead of using a negative eid in the entities table, move the record to a new table so we don't have an interval with a missing eid in entities. Related to #4846892
Fri, 16 Jan 2015 12:43:32 +0100 Add unique index on entities.extid
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 12:43:32 +0100] rev 10208
Add unique index on entities.extid
Fri, 16 Jan 2015 11:17:53 +0100 [undo/test] if we try to delete an entity referenced by an inline relation, we fail
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 11:17:53 +0100] rev 10207
[undo/test] if we try to delete an entity referenced by an inline relation, we fail
Fri, 16 Jan 2015 10:56:30 +0100 [undo] when we can't undo an inlined relation change, point at None, not a broken eid
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 10:56:30 +0100] rev 10206
[undo] when we can't undo an inlined relation change, point at None, not a broken eid This whole thing is "a bit" weird.
Thu, 15 Jan 2015 19:17:32 +0100 Ask sqlite to check foreign keys
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 19:17:32 +0100] rev 10205
Ask sqlite to check foreign keys Related to #4846892
Thu, 15 Jan 2015 18:53:45 +0100 Add reference from etype table's eid column to the entities table
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 18:53:45 +0100] rev 10204
Add reference from etype table's eid column to the entities table Related to #4846892.
Fri, 16 Jan 2015 14:30:55 +0100 [server] change order of entities table modification vs entity creation/deletion
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 14:30:55 +0100] rev 10203
[server] change order of entities table modification vs entity creation/deletion In order to have a foreign key referencing the entities table, the insertion into entities must happen first, and the deletion must happen last. For the deletion case, this means we need to: 1. delete all relations (cascade) 2. delete the entities themselves 3. delete the corresponding lines from the entities table This means the _delete_info{,_multi} methods can't keep doing 1 and 3. Thankfully the "public" delete_info method appears to be unused, so drop it. Related to #4846892.
Thu, 15 Jan 2015 17:06:16 +0100 Use foreign keys for relations tables
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 17:06:16 +0100] rev 10202
Use foreign keys for relations tables Closes #4846892
Thu, 15 Jan 2015 16:49:32 +0100 Add foreign key for inline relations
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:49:32 +0100] rev 10201
Add foreign key for inline relations Related to #4846892
Thu, 15 Jan 2015 16:44:36 +0100 Use our version of schema2sql
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:44:36 +0100] rev 10200
Use our version of schema2sql Related to #4846892
Thu, 15 Jan 2015 16:39:35 +0100 Steal schema2sql module from yams
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:39:35 +0100] rev 10199
Steal schema2sql module from yams It has no user inside yams, and we need it here if we want to be able to reference the (cubicweb-only) entities table from other tables. Related to #4846892
Thu, 05 Feb 2015 19:36:49 +0100 [dataimport] fix pylint detected error in SQLGenObjectStore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Feb 2015 19:36:49 +0100] rev 10198
[dataimport] fix pylint detected error in SQLGenObjectStore
Tue, 27 Jan 2015 10:20:15 +0100 [restore/portable] properly restore the numrange generator
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 Jan 2015 10:20:15 +0100] rev 10197
[restore/portable] properly restore the numrange generator If the dump format version is 1.1, read and restore numranges. Closes #4870338
Mon, 26 Jan 2015 18:05:24 +0100 [backup/portable] properly write the eid numrange generator (the eid is no more a sequence)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Jan 2015 18:05:24 +0100] rev 10196
[backup/portable] properly write the eid numrange generator (the eid is no more a sequence) Bump format version to 1.1. Related to #4870338
Fri, 06 Feb 2015 14:46:38 +0100 Added tag cubicweb-version-3.20.4, cubicweb-debian-version-3.20.4-1, cubicweb-centos-version-3.20.4-1 for changeset 49831fdc84dc
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Feb 2015 14:46:38 +0100] rev 10195
Added tag cubicweb-version-3.20.4, cubicweb-debian-version-3.20.4-1, cubicweb-centos-version-3.20.4-1 for changeset 49831fdc84dc
Fri, 06 Feb 2015 09:41:40 +0100 [pkg] 3.20.4 3.20.4 centos/3.20.4-1 cubicweb-centos-version-3.20.4-1 cubicweb-debian-version-3.20.4-1 cubicweb-version-3.20.4 debian/3.20.4-1
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Feb 2015 09:41:40 +0100] rev 10194
[pkg] 3.20.4
Wed, 04 Feb 2015 21:55:37 +0100 [schema] set permissions that do not allow edition on computed relation. Closes #4903918
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Feb 2015 21:55:37 +0100] rev 10193
[schema] set permissions that do not allow edition on computed relation. Closes #4903918 Also, drop 'del schema' from test which clutters the code for no benefit.
Mon, 02 Feb 2015 23:17:15 +0100 [computed attribute] ensure attribute's formula apply only to the correct type. Closes #4901163
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Feb 2015 23:17:15 +0100] rev 10192
[computed attribute] ensure attribute's formula apply only to the correct type. Closes #4901163
Mon, 02 Feb 2015 22:05:00 +0100 [schemaserial] fix detection of CWComputedRType table, closes #4901150
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Feb 2015 22:05:00 +0100] rev 10191
[schemaserial] fix detection of CWComputedRType table, closes #4901150
Fri, 30 Jan 2015 15:43:28 +0100 [dataimport] source.add_info doesn't take anymore a 'complete' argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jan 2015 15:43:28 +0100] rev 10190
[dataimport] source.add_info doesn't take anymore a 'complete' argument Closes #4891550
Fri, 30 Jan 2015 15:28:24 +0100 [dataimport] massive renaming of session to cnx
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jan 2015 15:28:24 +0100] rev 10189
[dataimport] massive renaming of session to cnx and make NoHookObjectStore working with the new connection handling. Closes #4891547
Tue, 03 Feb 2015 14:59:54 +0100 [web/data] use the right selector for hiding jquery treeview placeholders
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Feb 2015 14:59:54 +0100] rev 10188
[web/data] use the right selector for hiding jquery treeview placeholders Closes #4903927
Thu, 05 Feb 2015 15:49:02 +0100 merge 3.19.9 into 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:49:02 +0100] rev 10187
merge 3.19.9 into 3.20 branch
Thu, 05 Feb 2015 15:40:07 +0100 Added tag cubicweb-version-3.19.9, cubicweb-debian-version-3.19.9-1, cubicweb-centos-version-3.19.9-1 for changeset b7c373d74754
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:40:07 +0100] rev 10186
Added tag cubicweb-version-3.19.9, cubicweb-debian-version-3.19.9-1, cubicweb-centos-version-3.19.9-1 for changeset b7c373d74754
Thu, 05 Feb 2015 15:35:34 +0100 [pkg] 3.19.9 3.19.9 centos/3.19.9-1 cubicweb-centos-version-3.19.9-1 cubicweb-debian-version-3.19.9-1 cubicweb-version-3.19.9 debian/3.19.9-1
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:35:34 +0100] rev 10185
[pkg] 3.19.9
Fri, 16 Jan 2015 17:48:16 +0100 [hooks] don't insert use_email relation if the entity on either side is going away
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 17:48:16 +0100] rev 10184
[hooks] don't insert use_email relation if the entity on either side is going away Closes #4912946
Fri, 16 Jan 2015 10:57:02 +0100 [undo] fix deletion of cw_source relation
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 10:57:02 +0100] rev 10183
[undo] fix deletion of cw_source relation Closes #4912882
Thu, 15 Jan 2015 15:45:09 +0100 [hooks] don't insert an owned_by relation for deleted entities
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 15:45:09 +0100] rev 10182
[hooks] don't insert an owned_by relation for deleted entities If, in the same transaction, a composed entity is created and deleted, we'll have scheduled a SyncOwnersOp which would end up creating an owned_by relation for the deleted entity. Closes #4846883
Thu, 29 Jan 2015 16:18:23 +0100 [etwist/service] adjust for a signature change
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 29 Jan 2015 16:18:23 +0100] rev 10181
[etwist/service] adjust for a signature change Closes #4878570.
Wed, 10 Dec 2014 10:49:07 +0100 [rset] fix crash on displaying rset where some symmetric relation is used. Closes #4739253
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Dec 2014 10:49:07 +0100] rev 10180
[rset] fix crash on displaying rset where some symmetric relation is used. Closes #4739253 Avoid a KeyError.
Thu, 04 Dec 2014 11:37:10 +0100 Fix handling of limit within the primary view for related elements. Closes #4723579
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Dec 2014 11:37:10 +0100] rev 10179
Fix handling of limit within the primary view for related elements. Closes #4723579 * respect limit set by uicfg (like the 'autolimited' view itself does) * set limit in rql query to one more than the specified one so the view knows there are more things to display
Mon, 29 Dec 2014 12:35:34 +0100 [native] Change SQL errors log level.
Christophe de Vienne <christophe@unlish.com> [Mon, 29 Dec 2014 12:35:34 +0100] rev 10178
[native] Change SQL errors log level. - The SQL error itself is logged as 'info'. - The 'transaction has been rolled back' message is logged as 'debug'. These log entries should not be critical: - If an error occur at the sql level, it will be transmitted as a CW error. The exception is raised and handled in a higher level function, which will decide if it is critical or not. - Admitting that rolling-back automatically on errors is wanted in some cases, it cannot be considered 'critical'. The caller will receive the original exception anyway, it is its job to decide if it is critical or not. Closes #4801120
Mon, 02 Feb 2015 12:32:07 +0100 Added tag cubicweb-version-3.20.3, cubicweb-debian-version-3.20.3-1, cubicweb-centos-version-3.20.3-1 for changeset 7d3a583ed539
Julien Cristau <julien.cristau@logilab.fr> [Mon, 02 Feb 2015 12:32:07 +0100] rev 10177
Added tag cubicweb-version-3.20.3, cubicweb-debian-version-3.20.3-1, cubicweb-centos-version-3.20.3-1 for changeset 7d3a583ed539
Mon, 02 Feb 2015 12:17:29 +0100 [debian] build-depend on markdown for documentation build 3.20.3 centos/3.20.3-1 cubicweb-centos-version-3.20.3-1 cubicweb-debian-version-3.20.3-1 cubicweb-version-3.20.3 debian/3.20.3-1
Julien Cristau <julien.cristau@logilab.fr> [Mon, 02 Feb 2015 12:17:29 +0100] rev 10176
[debian] build-depend on markdown for documentation build
(0) -10000 -3000 -1000 -192 +192 +1000 tip