Wed, 08 Jan 2014 12:09:44 +0100 [schema] fix unique together index handling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Jan 2014 12:09:44 +0100] rev 9375
[schema] fix unique together index handling We now provide a more compact indexname, using the schema constraint entity type and the position of the columns set in the entity type unique constraints list. This avoids a nasty name truncation issue. The UniqueTogetherError object is made smarter: it computes the rtypes, abstracting the underlying backend (pg/sqlserver vs sqlite). The `user friendly` adapter is much simplified since there is no longer any truncation issue. Uses a new logilab.database version (ticket #151507) and a new yams version (ticket #189299) Closes #2514939 [jcr: disable hooks when temporarily dropping CWUniqueTogetherConstraint entities]
Tue, 07 Jan 2014 17:45:48 +0100 [pyrorql] deprecate pyrorql source (closes #2919299)
David Douard <david.douard@logilab.fr> [Tue, 07 Jan 2014 17:45:48 +0100] rev 9374
[pyrorql] deprecate pyrorql source (closes #2919299)
Tue, 03 Dec 2013 15:46:19 +0100 [web/facet] do NOT drop offset/limit of the base rql (closes #3344579)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Dec 2013 15:46:19 +0100] rev 9373
[web/facet] do NOT drop offset/limit of the base rql (closes #3344579)
Thu, 12 Dec 2013 18:25:45 +0100 [webctl] Generate static data directory on upgrade (closes #2167873)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 18:25:45 +0100] rev 9372
[webctl] Generate static data directory on upgrade (closes #2167873) - if the folder already exists, ``upgrade`` asks for deletion, - add an option (``generate-staticdir``) to allow skipping this task. - add an option (``staticdir-path``) to specify the static data folder path. The ``gen-static-datadir`` command allows to specify the target folder but there is otherwise no way to retrieve this information during upgrade.
Thu, 12 Dec 2013 16:18:58 +0100 [cwctl] Don't check for old lgc versions
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 16:18:58 +0100] rev 9371
[cwctl] Don't check for old lgc versions Support for check_duplicated_command in CommandLine was added in 2011 for 0.55, and we already depend on 0.59.0.
Thu, 19 Dec 2013 17:21:35 +0100 [migration/3.18] add sanity checks before changing symmetric relations
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:21:35 +0100] rev 9370
[migration/3.18] add sanity checks before changing symmetric relations Delete supposedly impossible relations from the db. Related to #3259713.
Thu, 19 Dec 2013 17:09:16 +0100 [migration/3.18] disable all hooks when setting up symmetric relations
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:09:16 +0100] rev 9369
[migration/3.18] disable all hooks when setting up symmetric relations This operation is semantically a no-op, so it should be invisible for the application. Related to #3259713.
Thu, 12 Dec 2013 15:38:49 +0100 [devtools] bases for instrumenting / debugging standard propagation hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 15:38:49 +0100] rev 9368
[devtools] bases for instrumenting / debugging standard propagation hooks * a class that helps writing command to check propagation, detecting standard errors and picture the propagation as a graph * a class to instrument sets used to configure standard propagation hooks closes #3171980
Fri, 27 Sep 2013 14:15:24 +0200 instrument cwvreg, so we may know what's being loaded by asking the registry store
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Sep 2013 14:15:24 +0200] rev 9367
instrument cwvreg, so we may know what's being loaded by asking the registry store
Tue, 07 Jan 2014 16:19:18 +0100 set proper PACKAGE information for yams 0.39
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jan 2014 16:19:18 +0100] rev 9366
set proper PACKAGE information for yams 0.39 Yams 0.39 adds an unobstrusive API to get the package, or cube, defining a part of the schema (entity type, relation type/def). As CubicWeb overrides part of the schema reading process, we have to handle this information on our side so it will be properly set.
Tue, 17 Dec 2013 14:50:29 +0100 [yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Dec 2013 14:50:29 +0100] rev 9365
[yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
Thu, 14 Nov 2013 12:26:29 +0100 Make the GROUP_CONCAT aggregate function not repeat values (closes #3223975)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 14 Nov 2013 12:26:29 +0100] rev 9364
Make the GROUP_CONCAT aggregate function not repeat values (closes #3223975) Work on sets instead of arrays, so if the same value appears twice it's not repeated in the concatenated output. This patch handles the postgresql and sqlite backends, mysql is left alone at this point (seems doable, but I don't have time or motivation to fix and test it).
Tue, 07 Jan 2014 15:48:31 +0100 [mail] allow to specify SMTP's MAIL FROM address to config.sendmails(). Closes #3373620
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jan 2014 15:48:31 +0100] rev 9363
[mail] allow to specify SMTP's MAIL FROM address to config.sendmails(). Closes #3373620 Also modify testlib.Email so we don't loose this information and may test it.
Wed, 13 Nov 2013 15:58:42 +0100 [mail] format_mail copy/paste fix: we want to test sender-name, not sender-addr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Nov 2013 15:58:42 +0100] rev 9362
[mail] format_mail copy/paste fix: we want to test sender-name, not sender-addr
Thu, 14 Nov 2013 17:17:02 +0100 symmetric relations: replace bogus rql2sql translation by a hook
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 14 Nov 2013 17:17:02 +0100] rev 9361
symmetric relations: replace bogus rql2sql translation by a hook The hook ensures X r Y => Y r X iff r is symmetric. The rql-no-hook data importer receives a small amendment but note that: * there exist no test for it * its actual semantics are undefined Hence we cannot prove this hunk breaks nothing, because we cannot prove anything. Closes #3259713.
Thu, 12 Dec 2013 14:25:24 +0100 [migration] fix handling of default value for boolean attributes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 14:25:24 +0100] rev 9360
[migration] fix handling of default value for boolean attributes We can't assert that the old value is 'True' or 'False', because False used to be stored as an empty string in pre-3.18 versions.
Thu, 12 Dec 2013 12:34:38 +0100 [entity/url publishing] fetch_rqlst should use 'is_instance_of' instead of 'is'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 12:34:38 +0100] rev 9359
[entity/url publishing] fetch_rqlst should use 'is_instance_of' instead of 'is' We usually want to get any subclasses as well (think Training subclass of Workcase). Closes #3210365.
Thu, 12 Dec 2013 12:28:43 +0100 [rewriter] fix latent bug: arbitrary etype may be substituted when using is_instance_of type restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 12:28:43 +0100] rev 9358
[rewriter] fix latent bug: arbitrary etype may be substituted when using is_instance_of type restriction Note: the test is not deterministic because the bug depends on the iteration order on a set.
Fri, 21 Jun 2013 14:22:39 +0200 [test] drop no more used test data file stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 14:22:39 +0200] rev 9357
[test] drop no more used test data file
Tue, 05 Nov 2013 09:51:32 +0100 [doc] Refer to RsetTableView in EntityTableView docstring instead of TableView stable
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 05 Nov 2013 09:51:32 +0100] rev 9356
[doc] Refer to RsetTableView in EntityTableView docstring instead of TableView
Tue, 12 Nov 2013 17:10:16 +0100 Fix use of vreg.config.anonymous_user() stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Nov 2013 17:10:16 +0100] rev 9355
Fix use of vreg.config.anonymous_user() If no anonymous user is declared, anonymous_user() returns 'None, None', not 'None'.
Wed, 04 Dec 2013 19:11:04 +0100 [server] avoid race-condition in timer events stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Dec 2013 19:11:04 +0100] rev 9354
[server] avoid race-condition in timer events With a granularity of one second, there's a good chance calling localtime twice will return the same value. We should consider the event ready immediately if that happens, not wait one second.
Wed, 04 Dec 2013 19:14:43 +0100 [server/pyro] try to shutdown the repository properly stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Dec 2013 19:14:43 +0100] rev 9353
[server/pyro] try to shutdown the repository properly If RepositoryServer.trigger_events is not called we might miss a QuitEvent and thus never shutdown the repository and its looping tasks.
Wed, 11 Dec 2013 16:56:18 +0100 [book] remove broken links to web.views.wdoc.ChangeLog{View,Action} stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:56:18 +0100] rev 9352
[book] remove broken links to web.views.wdoc.ChangeLog{View,Action} ChangeLogView and ChangeLogAction were removed in 3.16.0 (changeset fa044b9157d7, https://www.cubicweb.org/2423532) Closes #3369687
Wed, 11 Dec 2013 17:36:59 +0100 [book] fix Session.{set,free}_cnxset autodoc stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 17:36:59 +0100] rev 9351
[book] fix Session.{set,free}_cnxset autodoc They're Session methods, not bare functions. Without this building the docs says: reading sources... [ 39%] devrepo/repo/sessions Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 326, in import_object obj = self.get_attr(obj, part) File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 232, in get_attr return safe_getattr(obj, name, *defargs) File "/usr/lib/pymodules/python2.7/sphinx/util/inspect.py", line 70, in safe_getattr raise AttributeError(name) AttributeError: set_cnxset Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 326, in import_object obj = self.get_attr(obj, part) File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 232, in get_attr return safe_getattr(obj, name, *defargs) File "/usr/lib/pymodules/python2.7/sphinx/util/inspect.py", line 70, in safe_getattr raise AttributeError(name) AttributeError: free_cnxset
Wed, 27 Nov 2013 22:16:26 +0100 cwetype is a *class* property, rename its argument accordingly stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Nov 2013 22:16:26 +0100] rev 9350
cwetype is a *class* property, rename its argument accordingly
Wed, 27 Nov 2013 22:15:58 +0100 typo stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Nov 2013 22:15:58 +0100] rev 9349
typo
Wed, 11 Dec 2013 12:22:52 +0100 [req] New method: RequestSessionBase.find().
Christophe de Vienne <cdevienne@gmail.com> [Wed, 11 Dec 2013 12:22:52 +0100] rev 9348
[req] New method: RequestSessionBase.find(). This method does what find_entities and find_one_entity did, except it returns the resultset itself. In addition, it accepts 'reverse_' arguments and check that the relations actually exists on the entity before executing the query. Also, reimplement find_one_entity and find_entity based on the new function so they benefit from the more complete implementation, and deprecate them. Note: List of values in kwargs are NOT supported in this initial implementation. Closes #3361290
Wed, 11 Dec 2013 17:52:54 +0100 [rset] New method: ResultSet.one()
Christophe de Vienne <cdevienne@gmail.com> [Wed, 11 Dec 2013 17:52:54 +0100] rev 9347
[rset] New method: ResultSet.one() This method will return exactly one entity while enforcing its existence and unicity. The idea is shamelessly borowed from SQLAlchemy Query.one(). Closes #3352314 [jcr: use len(self) instead of len(self.rows)]
Wed, 11 Dec 2013 16:45:49 +0100 Added tag cubicweb-debian-version-3.17.11-2 for changeset b02e2912cad5 stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:45:49 +0100] rev 9346
Added tag cubicweb-debian-version-3.17.11-2 for changeset b02e2912cad5
Wed, 11 Dec 2013 16:01:15 +0100 [debian] add lintian override for a false positive stable cubicweb-debian-version-3.17.11-2
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:01:15 +0100] rev 9345
[debian] add lintian override for a false positive
Tue, 10 Dec 2013 12:36:50 +0100 [predicates] allow multiple transition names in on_fire_transition (closes #3013720)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Dec 2013 12:36:50 +0100] rev 9344
[predicates] allow multiple transition names in on_fire_transition (closes #3013720) Also add a warning about the unimplemented from_state_name argument.
Tue, 19 Nov 2013 09:42:48 +0100 [css] add the entypo font as available ressource (closes #2930356)
David Douard <david.douard@logilab.fr> [Tue, 19 Nov 2013 09:42:48 +0100] rev 9343
[css] add the entypo font as available ressource (closes #2930356) This provides a standard set of pictograms for use in CubicWeb and cubes. To use a pictogram, the "cubicweb.pictograms.css" must be explicitly loaded (using, e.g. view.add_css(...)).
Tue, 10 Dec 2013 11:36:04 +0100 [skeleton i18n] Add PO-Revision-Date header to make emacs po-mode happy
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 10 Dec 2013 11:36:04 +0100] rev 9342
[skeleton i18n] Add PO-Revision-Date header to make emacs po-mode happy Closes #3276389
Mon, 21 Oct 2013 09:58:26 +0200 [uicfg] give a set_fields_order method to the primary view display control
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Oct 2013 09:58:26 +0200] rev 9341
[uicfg] give a set_fields_order method to the primary view display control Hence it is nicely symmetrical with the fields kwargs. Closes #2741963.
Mon, 09 Dec 2013 16:13:10 +0100 merge 3.17.11
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Dec 2013 16:13:10 +0100] rev 9340
merge 3.17.11
Fri, 06 Dec 2013 17:20:59 +0100 Added tag cubicweb-centos-version-3.17.11-1, cubicweb-version-3.17.11, cubicweb-debian-version-3.17.11-1 for changeset 7f67db7c848e stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 17:20:59 +0100] rev 9339
Added tag cubicweb-centos-version-3.17.11-1, cubicweb-version-3.17.11, cubicweb-debian-version-3.17.11-1 for changeset 7f67db7c848e
Fri, 06 Dec 2013 15:56:54 +0100 prepare 3.17.11 stable cubicweb-centos-version-3.17.11-1 cubicweb-debian-version-3.17.11-1 cubicweb-version-3.17.11
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 15:56:54 +0100] rev 9338
prepare 3.17.11
Fri, 18 Oct 2013 17:53:11 +0200 [devtools] write db config through a temporary file stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Oct 2013 17:53:11 +0200] rev 9337
[devtools] write db config through a temporary file Avoids other test processes reading partially written config and exploding in pickle.loads. There are still concurrency issues, presumably with the database itself. Something for another friday.
Wed, 13 Nov 2013 12:39:30 +0100 [server] Add missing indices for undo support (closes #3259691) stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 13 Nov 2013 12:39:30 +0100] rev 9336
[server] Add missing indices for undo support (closes #3259691) The tables used by the 'undo' feature were missing some indices, which among other things triggered repeated sequential scans when deleting old transactions.
Fri, 06 Dec 2013 15:02:31 +0100 [sqlutils] fix sqlite group_concat harder (related to #3331906) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 15:02:31 +0100] rev 9335
[sqlutils] fix sqlite group_concat harder (related to #3331906)
Thu, 28 Nov 2013 18:55:24 +0100 [sqlutils] avoid a crash with sqlite when using group_concat (closes #3331906) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Nov 2013 18:55:24 +0100] rev 9334
[sqlutils] avoid a crash with sqlite when using group_concat (closes #3331906)
Thu, 24 Oct 2013 18:28:18 +0200 [server/initrepo] show failed sql statements and abort if necessary (closes #3308564) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 18:28:18 +0200] rev 9333
[server/initrepo] show failed sql statements and abort if necessary (closes #3308564)
Wed, 27 Nov 2013 16:18:54 +0100 [views/table] use cubicweb.ajax.js for pagination stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Nov 2013 16:18:54 +0100] rev 9332
[views/table] use cubicweb.ajax.js for pagination Else we fail in js-land on a "AJAX_PREFIX_URL is not defined". Closes #3329072.
Tue, 03 Dec 2013 13:23:59 +0100 [rset] Fix regression with rset copying (closes #3344410) stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Dec 2013 13:23:59 +0100] rev 9331
[rset] Fix regression with rset copying (closes #3344410) Don't override passed-in descriptions in ResultSet.__init__, even if they're empty.
Wed, 04 Dec 2013 14:26:35 +0100 [doc] Fix a sample request stable
Christophe de Vienne <cdevienne@gmail.com> [Wed, 04 Dec 2013 14:26:35 +0100] rev 9330
[doc] Fix a sample request
Fri, 06 Dec 2013 11:26:57 +0100 [tableview] Don't share column renderers between all instances of a table (closes #3351872) stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Dec 2013 11:26:57 +0100] rev 9329
[tableview] Don't share column renderers between all instances of a table (closes #3351872)
Fri, 06 Dec 2013 11:26:20 +0100 [tableview] Add some unique element to AbstractColumnRenderer.__str__ (related to #3351872) stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Dec 2013 11:26:20 +0100] rev 9328
[tableview] Add some unique element to AbstractColumnRenderer.__str__ (related to #3351872) Otherwise different instances look the same which is confusing.
(0) -3000 -1000 -300 -100 -48 +48 +100 +300 +1000 +3000 tip