Wed, 15 Jan 2014 18:20:25 +0100 [migration/3.18] Explicitly delete constraint on defaultval
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jan 2014 18:20:25 +0100] rev 9410
[migration/3.18] Explicitly delete constraint on defaultval Make sure the SizeConstraint on defaultval is removed, and avoid more unnecessary commits.
Wed, 15 Jan 2014 18:19:52 +0100 [migration/3.18] Idempotency fixes
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jan 2014 18:19:52 +0100] rev 9409
[migration/3.18] Idempotency fixes Try to make partially-upgraded instances migrate properly.
Tue, 14 Jan 2014 15:05:11 +0100 [migration/3.18] Fix NameError
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 15:05:11 +0100] rev 9408
[migration/3.18] Fix NameError
Tue, 14 Jan 2014 14:42:00 +0100 [migration/3.18] Add add_permission relation definitions earlier
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 14:42:00 +0100] rev 9407
[migration/3.18] Add add_permission relation definitions earlier Otherwise sync_schema_props_perms('defaultval') does not work because the later relation is not in schema.
Tue, 14 Jan 2014 14:02:51 +0100 [migration/3.18] Only commit when we did something
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 14:02:51 +0100] rev 9406
[migration/3.18] Only commit when we did something Avoids countless confirmation prompts. Closes #3438804.
Mon, 13 Jan 2014 16:08:38 +0100 [doc/3.19] fix (mostly) grammar
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 16:08:38 +0100] rev 9405
[doc/3.19] fix (mostly) grammar
Mon, 13 Jan 2014 15:56:52 +0100 fix version number: we still target cw 3.19
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 15:56:52 +0100] rev 9404
fix version number: we still target cw 3.19
Mon, 13 Jan 2014 13:56:16 +0100 Fix a couple merge errors
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:56:16 +0100] rev 9403
Fix a couple merge errors
Mon, 13 Jan 2014 13:47:47 +0100 merge 3.18.0 in 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:47:47 +0100] rev 9402
merge 3.18.0 in 3.19 branch
Fri, 10 Jan 2014 18:31:07 +0100 Added tag cubicweb-version-3.18.0, cubicweb-debian-version-3.18.0-1, cubicweb-centos-version-3.18.0-1 for changeset db37bf35a147
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 18:31:07 +0100] rev 9401
Added tag cubicweb-version-3.18.0, cubicweb-debian-version-3.18.0-1, cubicweb-centos-version-3.18.0-1 for changeset db37bf35a147
Fri, 10 Jan 2014 18:01:36 +0100 [book] drop reference to removed cubicweb.predicates.implements cubicweb-centos-version-3.18.0-1 cubicweb-debian-version-3.18.0-1 cubicweb-version-3.18.0
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 18:01:36 +0100] rev 9400
[book] drop reference to removed cubicweb.predicates.implements
Fri, 10 Jan 2014 17:18:07 +0100 3.18.0
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:18:07 +0100] rev 9399
3.18.0
Fri, 10 Jan 2014 17:10:51 +0100 [i18n] update French and English translations
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:10:51 +0100] rev 9398
[i18n] update French and English translations
Fri, 10 Jan 2014 17:05:04 +0100 i18n update
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:05:04 +0100] rev 9397
i18n update
Fri, 10 Jan 2014 17:12:20 +0100 merge stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:12:20 +0100] rev 9396
merge stable
Thu, 24 Oct 2013 13:15:53 +0200 [hooks/security] provide attribute "add" permission
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 13:15:53 +0200] rev 9395
[hooks/security] provide attribute "add" permission As of today, the update permission on attributes is checked at entity *creation* time. This forbids using update permissions the proper way. We set it to be checked at entity update time only. We introduce a specific 'add' permission rule for attributes. For backward compatibility, its default value will be the same as the current 'update' permission. Notes: * needs a new yams version (ticket #149216) * introduces two new 'add_permissions' rdefs (attribute - group|rqlexpr) * if the update permission was () and the bw compat kicks in, the rule is not enforced, to avoid un-creatable entity types -- this restriction will be lifted when the bw compat is gone * small internal refactoring on check_entity_attributes * one small pre 3.6.1 bw compat snippet must be removed from schemaserial Closes #2965518.
Fri, 10 Jan 2014 16:37:12 +0100 [server/test] reorganize data/migratedapp/schema.py to allow comparison with data/schema.py
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 16:37:12 +0100] rev 9394
[server/test] reorganize data/migratedapp/schema.py to allow comparison with data/schema.py Pure reorganization to make it possible to visually compare both schemas.
Fri, 10 Jan 2014 16:25:45 +0100 [schema] move definition of RQLExpression classes before default permission dicts
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 16:25:45 +0100] rev 9393
[schema] move definition of RQLExpression classes before default permission dicts
Fri, 10 Jan 2014 15:02:07 +0100 [server] remove old backwards compat for PropagateSubjectRelation*Hook
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 15:02:07 +0100] rev 9392
[server] remove old backwards compat for PropagateSubjectRelation*Hook Those classes were removed from server/hook.py.
Fri, 10 Jan 2014 15:02:19 +0100 [book] replace PropagateSubjectRelation*Hook references
Samuel Trégouët <samuel.tregouet@logilab.fr> [Fri, 10 Jan 2014 15:02:19 +0100] rev 9391
[book] replace PropagateSubjectRelation*Hook references PropagateSubjectRelationHook, PropagateSubjectRelationAddHook and PropagateSubjectRelationDelHook were deprecated by PropagateRelationHook, PropagateRelationAddHook, PropagateRelationDelHook respectively in v3.9, and removed in 3.18. Closes #3420672
Thu, 09 Jan 2014 16:16:34 +0100 [doc] update 3.18 release notes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 09 Jan 2014 16:16:34 +0100] rev 9390
[doc] update 3.18 release notes
Thu, 09 Jan 2014 15:08:54 +0100 [pkg] bump logilab-common requirement
Julien Cristau <julien.cristau@logilab.fr> [Thu, 09 Jan 2014 15:08:54 +0100] rev 9389
[pkg] bump logilab-common requirement Necessary since 4b3e657d17ab "[source configuration] silent lgc 0.60 deprecation warning"
Thu, 09 Jan 2014 13:49:32 +0100 update jquery to 1.10 (closes #2786674)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 09 Jan 2014 13:49:32 +0100] rev 9388
update jquery to 1.10 (closes #2786674) Includes: * base jquery * jquery.migrate to help for the transition * jquery.ui The jquery.ui.tabs api has slightly changed hance the change in web/views/tabs. The autocompletion widget is slightly adapted to follow an API change and now extends the base functionality in a simpler way.
Mon, 16 Dec 2013 08:45:06 +0100 [notification] Use https url when available in notification view context
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 16 Dec 2013 08:45:06 +0100] rev 9387
[notification] Use https url when available in notification view context Closes #3376252.
Fri, 13 Dec 2013 10:24:10 +0100 [req] Return base-url in case https-url is None in base_url()
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 13 Dec 2013 10:24:10 +0100] rev 9386
[req] Return base-url in case https-url is None in base_url() Closes #3376322.
Thu, 19 Dec 2013 17:09:08 +0100 [server/session] fix typo in keep_cnxset_mode docstring
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:09:08 +0100] rev 9385
[server/session] fix typo in keep_cnxset_mode docstring
Thu, 09 Jan 2014 10:53:45 +0100 [breadcrumbs] Small breadcrumb components refactoring
Florent Cayre <florent.cayre@logilab.fr> [Thu, 09 Jan 2014 10:53:45 +0100] rev 9384
[breadcrumbs] Small breadcrumb components refactoring * use `open_breadcrumbs` and `close_breadcrumbs` methods where applicable in the BreadCrumbEntityVComponent hierarchy * include the first separator related code in `open_breadcrumbs` to avoid code duplication Closes #3223911.
Mon, 06 Jan 2014 12:01:35 +0100 [views/dot] use an inlined svg for schema and workflow graphs
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 06 Jan 2014 12:01:35 +0100] rev 9383
[views/dot] use an inlined svg for schema and workflow graphs These are currently served as "temporary" pngs which are actually consummed immediately. Which means they cannot be requested twice and any further attempt will yield an error in the logs and some end-user surprise. There is no known acceptable workaround for IE-8 (and previous versions). SVGWEB could be workable but it's not trivial to integrate it properly. Closes #3400448.
Thu, 12 Dec 2013 16:17:25 +0100 [release notes] Documents one() and find() addition
Christophe de Vienne <cdevienne@gmail.com> [Thu, 12 Dec 2013 16:17:25 +0100] rev 9382
[release notes] Documents one() and find() addition
Tue, 07 Jan 2014 16:39:32 +0100 [js] noop is undefined in plain javascript (related to #2786674)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Jan 2014 16:39:32 +0100] rev 9381
[js] noop is undefined in plain javascript (related to #2786674)
Tue, 17 Dec 2013 11:13:45 +0100 [css] drop shadow.gif & use a couple of rules (closes #3381435)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Dec 2013 11:13:45 +0100] rev 9380
[css] drop shadow.gif & use a couple of rules (closes #3381435)
Tue, 17 Dec 2013 10:49:17 +0100 [css] replace old rounded corners hack by css rules
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Dec 2013 10:49:17 +0100] rev 9379
[css] replace old rounded corners hack by css rules Closes #3381426.
Mon, 04 Nov 2013 16:06:06 +0100 [views/templates] provide a modal main template (closes #3274672)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Nov 2013 16:06:06 +0100] rev 9378
[views/templates] provide a modal main template (closes #3274672) The current NonTemplatableViewTemplate may seem to provide the desired feature if a '__notemplate' is provided in the form, unfortunately, it: * wraps the view in a spurious div * calls view.set_stream(), which has the effect of wiping any js/css resource recorded until then by the view, leading to hard-to-track missing resources symptoms
Wed, 08 Jan 2014 14:00:31 +0100 [js/widgets] fix the InOut widget with modern jQuery versions
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Jan 2014 14:00:31 +0100] rev 9377
[js/widgets] fix the InOut widget with modern jQuery versions Several things are done there: * reduction in size and complexity of the code * the unused defaultsettings are removed * the initial `unlinked` list is now correctly populated from python-side * the unit test is adjusted because it tested an irrelevant implementation detail which is no longer true (but the widget of course still handles correctly the linkto information) Tested with ie7, ie9, chromium, firefox. Tested with jQuery 1.6 (cw 3.17.x) and 1.10. Closes #3154531.
Thu, 01 Aug 2013 09:39:43 +0200 [autoform] Allow overridding of permissions checks
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 01 Aug 2013 09:39:43 +0200] rev 9376
[autoform] Allow overridding of permissions checks Closes #3063930
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
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip