Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 13:50:26 +0100] rev 9412
[security] Add comment to check_entity_attributes shortcut
Make it clear that it is only an optimization.
Related to #3444095.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 12:21:05 +0100] rev 9411
Disable security hooks for internal sessions
Fixes semantic change introduced in 96dba2efd16d where internal sessions
started to check attribute permissions.
Closes #3444095
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.
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.
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 15:05:11 +0100] rev 9408
[migration/3.18] Fix NameError
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.
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.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 16:08:38 +0100] rev 9405
[doc/3.19] fix (mostly) grammar
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
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:56:16 +0100] rev 9403
Fix a couple merge errors
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:47:47 +0100] rev 9402
merge 3.18.0 in 3.19 branch
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
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 18:01:36 +0100] rev 9400
[book] drop reference to removed cubicweb.predicates.implements
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:18:07 +0100] rev 9399
3.18.0
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:10:51 +0100] rev 9398
[i18n] update French and English translations
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:05:04 +0100] rev 9397
i18n update
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:12:20 +0100] rev 9396
merge stable
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.
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.
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
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.
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
Julien Cristau <julien.cristau@logilab.fr> [Thu, 09 Jan 2014 16:16:34 +0100] rev 9390
[doc] update 3.18 release notes
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"
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.
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.
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.
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
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.
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.
Christophe de Vienne <cdevienne@gmail.com> [Thu, 12 Dec 2013 16:17:25 +0100] rev 9382
[release notes] Documents one() and find() addition
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)
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)
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.
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
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.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 01 Aug 2013 09:39:43 +0200] rev 9376
[autoform] Allow overridding of permissions checks
Closes #3063930
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]
David Douard <david.douard@logilab.fr> [Tue, 07 Jan 2014 17:45:48 +0100] rev 9374
[pyrorql] deprecate pyrorql source (closes #2919299)
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)
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.
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.
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.
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.
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
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
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.
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)
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).
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.
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
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.
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.
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.
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.
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
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
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'.
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.
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.
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Nov 2013 22:15:58 +0100] rev 9349
typo
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
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)]
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
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:01:15 +0100] rev 9345
[debian] add lintian override for a false positive
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.
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(...)).
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
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.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Dec 2013 16:13:10 +0100] rev 9340
merge 3.17.11
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
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 15:56:54 +0100] rev 9338
prepare 3.17.11
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.
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.
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)
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)
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)
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.
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.
Christophe de Vienne <cdevienne@gmail.com> [Wed, 04 Dec 2013 14:26:35 +0100] rev 9330
[doc] Fix a sample request
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)
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.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 10:22:18 +0200] rev 9327
add failing test case related to #3013554
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Nov 2013 15:24:57 +0100] rev 9326
[web] make sign_text unicode aware, avoid crash with non-ascii chars. Closes #3289774
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 07 Nov 2013 11:20:59 +0100] rev 9325
[doc] Use string debug mode in debugged docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Oct 2013 12:23:06 +0200] rev 9324
[rql2sql] fix relation table scope when some variable from subquery is used. Closes #3252270
While it feels weird to drop this explicit ColumnAlias handling, hg history has
no clue on its introduction (prior to rev 0) and no older test case fails
without it, so let's drop it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 30 Oct 2013 13:05:00 +0100] rev 9323
[cwctl] backout 5d5b3a865eb1, which breaks interactive shell usage
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 09 Sep 2013 12:43:25 +0200] rev 9322
[ReST] Implement a rql-table reST directive. Closes #3252856
allowing to call table or derivated view specify headers / cellvids. Also, rql
may be split accross several lines which greatly improve readability.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Oct 2013 11:57:47 +0200] rev 9321
[server] drop support for antediluvian lgdb versions
That API was changed in 2010, before logilab-database was moved out of
logilab-common.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 16:56:45 +0200] rev 9320
[doc/book/security] update description of entity update (Related to #2932033)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 15:29:20 +0200] rev 9319
[test] test can_use_rest_path directly
No need to go through the Entity.rest_path if what we want is to
unittest that one function.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 26 Sep 2013 10:46:37 +0200] rev 9318
[ctl] set proper encoding for sys.stdout/sys.stderr. Closes #1669144
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 19 Sep 2013 22:33:52 +0200] rev 9317
[web] typo in config file comment
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 17 Oct 2013 10:10:25 +0200] rev 9316
[book] Typo and formatting fixes in devrepo/entityclasses/application-logic
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 10 Oct 2013 16:56:16 +0200] rev 9315
[cwctl] Only start the instance after upgrade if it was running before
Closes #3207676.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 24 Oct 2013 09:20:45 +0200] rev 9314
[book] Improve match_rtype selector docstring and "Relation modification related events" section
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 24 Oct 2013 11:48:13 +0200] rev 9313
[book] properly escape backslash
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Oct 2013 12:56:20 +0200] rev 9312
[test] use assertIn / assertIsInstance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Oct 2013 11:58:06 +0200] rev 9311
update pylint extension to astroid API
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 17 Oct 2013 15:09:48 +0200] rev 9310
Fix example in cw_set method
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 12:36:12 +0200] rev 9309
[merge] incorporate cw 3.17.10 fixes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Oct 2013 11:07:57 +0200] rev 9308
Added tag cubicweb-centos-version-3.17.10-1, cubicweb-version-3.17.10, cubicweb-debian-version-3.17.10-1 for changeset fe0e1863a137
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Oct 2013 17:24:19 +0200] rev 9307
[pkg] prepare 3.17.10
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 10:02:29 +0200] rev 9306
[web] don't rename resources in gen-static-datadir
We should use the result from WebConfiguration.locate_resource to know
which file to copy, not what name to copy it to. The destination file
should be the name of the resource, as the client will request it.
This matters in the case of cubicweb.css which locate_resource might
rewrite to cubicweb.old.css.
Closes #3206129
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Oct 2013 14:18:58 +0200] rev 9305
[notification] avoid leaking cnxsets (closes #3243810)
When sending notifications, we get each recipient as either an email
address or a CWUser. In the latter case, we create a temporary session
for that user and use it to send the mail. However, if we later decided
to not send the mail after all, we'd leak the session and its cnxset.
Add a try block inside the loop to make sure the temporary sessions are
closed properly.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 22 Oct 2013 11:59:39 +0200] rev 9304
[book] English fix
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 14:25:05 +0200] rev 9303
[serverctl] complete the schema-diff command with options that will fix & enhance it.
Notably:
- filter out eids (doesn't make sense for the filesystem schema)
- handle permissions, trying to detect the default ones
Needs yams #174042.
Closes #2996547.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Oct 2013 16:58:48 +0200] rev 9302
[server] deprecate the old multi-source system
It is removed in 3.19.
Closes #2919299
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Oct 2013 16:04:23 +0200] rev 9301
[doc] document changed attribute default value storage
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Sep 2013 11:58:40 +0200] rev 9300
defaultval migration for sqlite
Aurélien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Aug 2013 15:06:27 +0200] rev 9299
[schema] store default attribute values in a Bytes field, allowing python objects as default values
Notes:
* Binary objects grow two methods
* we depend on a newer yams version
* the code is quite simplified as a result of the whole change
* a very old and nasty bug where bool(default values) evaluating to
False not being properly migrated is killed
Closes #2414591.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Oct 2013 16:30:53 +0200] rev 9298
[source/native] fix sqlserver pattern matcher for unique constraints (closes #3227593)
The matcher is used to parse the low-level error message and extract
meaningful information for the end users.
If broken, the users see an alarming and bewildering message.
A full & definitive fix is scheduled for CubicWeb 3.18.
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 17 Oct 2013 10:30:35 +0200] rev 9297
[dbapi] Fix broken inmemory:// URLs parsing (closes #3225832)
ParseResult.path is what comes after the "domain name" in standard URLs.
So in the case of 'inmemory://<instance' URLs, it is always empty.
ParseResult.netloc contains the "domain name" part that we really want.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Oct 2013 11:34:03 +0200] rev 9296
[metadata hook] rename an operation for the sake of readability
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 16 Oct 2013 15:50:04 +0200] rev 9295
[book] Typo fix and rephrasing in devrepo/migration
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 16 Oct 2013 11:38:06 +0200] rev 9294
[cwshell] rename history file to .cwshell_history (erudi is dead, long live cw)
Aurelien Campeas [Thu, 11 Jul 2013 13:32:27 +0200] rev 9293
[entity] Entity.related(): add a targettypes argument (closes #2957313)
This allows to restrict the entity types returned by the method
(passed to cw_related_rql).
When such an argument is given, no caching happens.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 12:14:20 +0200] rev 9292
[source configuration] silent lgc 0.60 deprecation warning
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Oct 2013 14:02:22 +0200] rev 9291
[web] remove action "Got Rhythm" (closes #3093362)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Oct 2013 10:22:21 +0200] rev 9290
[debian] Break old geocoding
It wants cubicweb.interfaces.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Oct 2013 18:02:48 +0200] rev 9289
[wsgi] remove ages old hack to set base_url
Its meaning has been lost in the mist of time.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Oct 2013 18:00:34 +0200] rev 9288
[wsgi] also provide an example using werkzeug (if available)
Related to #3005509.
Aurelien Campeas [Tue, 01 Oct 2013 16:45:58 +0200] rev 9287
[wsgi] add the simplest possible wsgi (debug) server
This server is able to:
* serve on a given port using the stdlib SimpleHTTPServer
* run looping tasks
Closes #3005509.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:46:44 +0200] rev 9286
[querier/security] instrument a bit the querier read security checks
Related to #2920304
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 30 Sep 2013 14:48:59 +0200] rev 9285
[book] Improve PostgreSQL configuration section
* Do not advice for specific PostgreSQL version (point to meta-packages if
available in Linux distros);
* First mention packages from Linux distros, put the link to official postgres
documentation at the end;
Closes #2725302.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 14:02:28 +0200] rev 9284
[js] add a selector string escaping function
will help use id strings in jquery selector expressions, e.g:
"foo.[subject]:42" -> "foo\.\[subject\]\:42"
Related to #3154531.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:26:11 +0200] rev 9283
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:16:54 +0200] rev 9282
[test/ldapsource] backout 192a748550c7 which broke RQL2LDAPFilterTC
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 14:45:36 +0200] rev 9281
[rset] make sure rset.description is always a list
It's more consistent, and avoids pylint warning
"Instance of 'tuple' has no 'append' member"
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 16:30:27 +0200] rev 9280
[schema] edit syntax tree instead of playing with strings for RQLExpressions
Lets us support more complex expressions involving e.g. "HAVING" clauses.
Closes #3202855
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 12:40:23 +0200] rev 9279
[py3k] note about future warning on __eq__ vs __hash__
Closes #3179561.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Oct 2013 12:11:00 +0200] rev 9278
[formfields] py3k kill future compat warning
Related to #3179561.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 12:42:10 +0200] rev 9277
[entity] do not raise an AssertionError if the kwargs given to set_relations/attributes is empty
Regression was introduced in 3.16 with the new cw_set API.
Old set_relations and set_attributes methods did not crash on empty
kwargs.
Closes #3104019.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 12:30:35 +0200] rev 9276
[packaging] setup.py: don't exclude skeleton/debian/* from being installed
Closes #3192725.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Sep 2013 18:42:34 +0200] rev 9275
[tests/hooks/integrity] kill old and empty skipped test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Oct 2013 17:42:01 +0200] rev 9274
[server/session] demote log to debug
It can pollute the log very fast.
Closes #3203391.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 13:58:48 +0200] rev 9273
[test] use assertCountEqual instead of assertItemsEqual
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 12:30:02 +0200] rev 9272
[server] fix a number of typos, mostly in docstrings
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 07 Oct 2013 15:13:51 +0200] rev 9271
[skeleton] Install cubes README in Debian packages (Closes #3171971)
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 10 Oct 2013 11:23:01 +0200] rev 9270
[debian] Build-Depends on python-unittest2 | python (>= 2.7)
Closes #3175895.
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 29 Aug 2013 18:28:10 +0200] rev 9269
[doc] typos and reformulation
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 29 Aug 2013 18:26:06 +0200] rev 9268
[doc] additional documentation about pip install
under both Windows and Debian
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 30 Aug 2013 15:34:58 +0200] rev 9267
spelling: rollbacked -> rolled back
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 12:10:44 +0200] rev 9266
Added tag cubicweb-version-3.17.9, cubicweb-debian-version-3.17.9-1 for changeset 5668d210e49c
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 11:13:56 +0200] rev 9265
merge two default heads
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Oct 2013 18:10:20 +0200] rev 9264
[pkg] prepare 3.17.9
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 20 Sep 2013 15:42:04 +0200] rev 9263
Use the list of sources instead of an iterator in update-feeds looping task
This prevents RuntimeError due to dictionary size change that may occur (as a
result of a new source being added) during iteration.
Closes #3155843.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Oct 2013 16:10:42 +0200] rev 9262
[security] fix dumb attribute error when inserting read security. Closes #3196891
This has gone undetected because of erroneous tests...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 10:46:06 +0200] rev 9261
[entity] give a default reasonnable __eq__ and __hash__ to Entity
Using the eid.
Closes #3179560.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 18:16:45 +0200] rev 9260
[debian] add some Breaks for backwards compatibility removal
The person and comment cubes used to import the cubicweb.mixins module.
The inlinedit cube relied on String.startsWith in javascript.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:16:22 +0200] rev 9259
[js] remove 3.9 bw compat (where apparently unused)
- cubicweb.ajax.js
- loadxhtml: form.callback support removal
- removal of top-level functions: preprocessAjaxLoad, reloadBox,
replacePageChunk, loadxhtml
- cubicweb.compat.js:
- map is undeprecated (jquery.map being not an acceptable
replacement)
- removal of noop, contains, findValue, filter, addElementClass,
removeElementClass, hasElementClass, KEYS mapping
- htmlhelpers.js: use non-deprecated functions cw.urlEncode
- cubicweb.js:
- removal of startsWith and endsWith monkeypatches
- note deprecated but still used stuff (for action)
- test_utils.js: use cw.utils.sliceList instead of global function
Closes #2782004.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 26 Aug 2013 11:36:19 +0200] rev 9258
Rename cleanup_interface_sobjects into cleanup_unused_appobjects
Interfaces are gone in 3.18
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:15:29 +0200] rev 9257
remove cw 3.9 bw compat (bw compat other than the interface -> adapter changes)
- cwconfig, doc/admin/setup: docstring adjustment wrt 3.9 & virtualenv
- testing/rst: windmill (which is gone from the testing infrastructure)
- other docs: "stuff introduced in 3.9" cleanup, as we don't care
about the version old features were introduced
- server/hooky.py: bw compat for propagation hooks
- server/schemaserial.py: pre CWUniqueTogetherConstraint migration support
- web.__init__.py: dumps bw import
- autoform.py: .action ppty is gone, also deprecate set_action and get_action
- baseviews: CSVView.subvid gone long ago, secondary view removal
- primary.py: _render_attribute & _render_relation signature change
- reledit.py: rvid/default_value bw compat, should_edit_* dropped
- webconfig.py: resourcefile is gone
- formfields.py: old vocabulary handling
- request.py: build_ajax_replace_url, external_resource
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:14:09 +0200] rev 9256
remove 3.9 bw compat
In cw 3.9, interfaces are deprecated and replaced with adapters,
yielding a lot of bw compat in many places -- most if this patch is
concerned with the interface bw compat
- cwvreg: interface cleanup
- doc/adapters.rst: interface cleanup
- entities/adapters.py, wfobjs.py: interfaces bw compat
- entity.py: interfaces bw compat, also get_value, delete,
attr_metadata, has_perm, set_related_cache, clear_related_cache,
clear_related_cache, related_rql
- predicates.py: score_interfaces & implements
- interfaces.py & mixins.py: 100% gone
- view.py: implement_adapter_compat, unwrap_adapter_compat
- calendar.py, editcontroller.py, ibreadcrumbs.py, navigation.py, xmlrss.py:
interface bw compat
- treeview.py: salvage one function from mixins.py
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:12:30 +0200] rev 9255
remove 3.8 bw compat
- cwconfig: old keys such as depends_cubes and non-dict dependencies
- cwctl: fall back to docstring if no short descr, forget
'short_descr'
- dbapi: session_data, get_session_data, set_session_data,
del_session_data
- dbapi & testlib, session: eid_key is gone
- migractions: cachekey is gone
- doc/datamodel/definition, schemaserial: BoundConstraint ->
BoundaryConstraint
- formwidgets: separator
- primary view: render_entity_metadata
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 04 Oct 2013 17:05:49 +0200] rev 9254
[hooks/security] Defer entity permission checks to an Operation.
Some of these checks may currently happen twice within the same
transaction and be costly.
This should be semantically safe. If people rely on some internal
transaction ordering to be allowed early (thus pass) while the
condition wouldn't be met at precommit time, their application is
broken. It however seems unlikely to happen in the real life (tm).
Closes #2932033
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 04 Oct 2013 15:59:54 +0200] rev 9253
[schema] drop very old bw compat (pre 3.5.10)
Closes #2925085.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Jul 2013 10:50:56 +0200] rev 9252
[devtools,etwist] rename TwistedConfiguration to WebConfigurationBase (follows #2919310)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Jul 2013 10:51:35 +0200] rev 9251
remove "twisted" configuration (closes #2919310)
This was also known as "web only" instances. Not used in production anywhere today.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 14:28:50 +0200] rev 9250
merge 3.17.8 into default
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 15:37:45 +0200] rev 9249
Added tag cubicweb-centos-version-3.17.8-1, cubicweb-version-3.17.8, cubicweb-debian-version-3.17.8-1 for changeset 909eb8b584c4
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 15:13:08 +0200] rev 9248
[pkg] prepare 3.17.8
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 11:10:08 +0200] rev 9247
[date picker] revert #ec65ca70aac9 which breaks the date picker (closes #3182844)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 30 Sep 2013 18:07:51 +0200] rev 9246
[merge] backport 3.17 fixes into the future 3.18
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 19:04:45 +0200] rev 9245
Added tag cubicweb-centos-version-3.17.7-1, cubicweb-version-3.17.7, cubicweb-debian-version-3.17.7-1 for changeset 483181543899
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 15:15:09 +0200] rev 9244
[pkg] prepare 3.17.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 15:12:52 +0200] rev 9243
i18n update
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 15:18:59 +0200] rev 9242
fix typos in workflow constraint error messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Sep 2013 17:44:15 +0200] rev 9241
[migractions] rschema.final.inlined -> rschema.inlined
Closes #3153086.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 26 Sep 2013 11:53:13 +0200] rev 9240
[server] Make internal sessions not reset 'safe'-ness on first commit
Increment the ctx_count when disabling integrity hooks so the next
commit/rollback doesn't reset our transaction and magically turn us into
a safe session.
Closes #3168027
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 23 Sep 2013 11:13:28 +0200] rev 9239
[facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:03:03 +0200] rev 9238
[debian] replace find | xargs rm with find -delete in cube skeleton. Closes #3161797
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:02:45 +0200] rev 9237
[debian] don't require (fake)root to run the clean target. Closes #3161797
It works just fine as a normal user.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:01:59 +0200] rev 9236
[debian] Add ${misc:Depends} to cube packaging skeleton. Closes #3161797
Best current practice is to have that in Depends in all packages using
debhelper.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Sep 2013 11:01:20 +0200] rev 9235
[devtools] fix race when creating backupdir
If somebody else creates backupdir between our stat() and mkdir() (like,
say, another test running in parallel), we shouldn't crash.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Sep 2013 18:11:12 +0200] rev 9234
[staticcontrollers] Raise Forbidden, not Unauthorized
Unauthorized means "log in to get access", as it results in a HTTP 401.
Here, the error is pretty much permanent, and returning 401 instead of
403 confuses things terribly.
(This seems to be a pretty widespread confusion :/)
David Douard <david.douard@logilab.fr> [Thu, 19 Sep 2013 18:03:09 +0200] rev 9233
[web] allow /data/ url again (closes #2464798)
This feature was broken by 65fecbeb9c3a (which fixed another one itself).
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Sep 2013 10:59:59 +0200] rev 9232
[utils] fix typos in make_uid docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 17:15:12 +0200] rev 9231
[c-c i18ncubicweb] fix crash, closes #3096647
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Aug 2013 09:57:38 +0200] rev 9230
[rql2sql] fix bad sql generated when outer joining 'identity' relation and lhs var comes from a subquery. Closes #3099418
The generated SQL was attempting to access table.cw_eid which doesn't exist.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:21:52 +0200] rev 9229
[web] stop using deprecated StatusResponse. Closes #3098215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:20:33 +0200] rev 9228
[deprecation] add (approximate) version number to deprecation message and set proper stacklevel
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 12:55:27 +0200] rev 9227
[schema] fix spurious warning when rqlexpr/constraint mainvars specify a non predefined variable. Closes #3098165
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 12:47:12 +0200] rev 9226
[repository] properly use IUserFriendlyError when UniqueTogetherError is raised during entity update. Closes #3096638
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 12:08:31 +0200] rev 9225
[deprecation] add cw version number to the deprecation message and help user to understand the change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:56:07 +0200] rev 9224
[datafeed] fix crash due to bad http_timeout handling. Closes #3096585
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:36:44 +0200] rev 9223
[date picker widgets] properly distinguish DOM id and input name. Closes #3096575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:29:58 +0200] rev 9222
[date picker widgets] use bare jquery expression rather than jqNode
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:28:01 +0200] rev 9221
Use return in CnxSetTracker context manager methods
Just in case.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 15 Jul 2013 11:45:37 +0200] rev 9220
[web/views] make PrimaryView.entity_call accept kwargs
It's useful when using this view in a different context to have it not
crash on random arguments.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Sep 2013 12:47:12 +0200] rev 9219
[ldapparser] demote some logs from warning to debug (closes #2713671)
David Douard <david.douard@logilab.fr> [Fri, 09 Aug 2013 10:00:40 +0200] rev 9218
[doc] add a what's new file for 3.18
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 09:02:47 +0200] rev 9217
merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 16:53:53 +0200] rev 9216
Added tag cubicweb-centos-version-3.17.6-1, cubicweb-version-3.17.6, cubicweb-debian-version-3.17.6-1 for changeset 5b9fedf67a29
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 11:49:33 +0200] rev 9215
[pkg] prepare 3.17.6
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 06 Aug 2013 11:20:07 +0200] rev 9214
Do not use cubicweb-card in rest_path tests
Card overrides the rest_path method, so it does not make sense to use it in cw
tests.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 13:55:11 +0200] rev 9213
[inlined form field] fix regression introduced in 3.16.4/570208f74a84. Closes #3064653
In the above changeset, we changed ordered entities to be edited according to
mandatory inlined constraints, though this leads to unpredictable order in
cases where there are no constraint. This leads to case where inlined relation
field may think there is no value related to a mandatory relation, while this
is simply because there is a value specified but to an entity that will be
created later (together with the relation).
To fix this, we've to use the fact that the RelationField.process_form_value
return None in cases where there is some entity to be created, while an empty
set when there are no linked entity. The new no_value() method allows to
differentiate between those different notion of 'no-value'.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 10:59:52 +0200] rev 9212
[testlib] temporary_appobjects should call __registered__ if it exists. Closes #3064075
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 15:51:22 +0200] rev 9211
[entities] properly escape in EmailAddress.printable_value when format is html. Closes #3064025
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 21:59:13 +0200] rev 9210
Added tag cubicweb-version-3.17.5, cubicweb-debian-version-3.17.5-1, cubicweb-centos-version-3.17.5-1 for changeset 15dd5b37998b
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 16:58:44 +0200] rev 9209
[pkg] prepare 3.17.5
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 14:48:34 +0200] rev 9208
[pkg] fix debian packaging (closes #3058542)
- remove useless Python 2.4 reference,
- simplify dh_install configuration to install files consistently instead of
having half in /usr/lib/pythonXX and half in /usr/share/pyshared,
- incidentally, this makes the package work on squeeze.
Regression from eaa58d1c7d5f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 16:04:10 +0200] rev 9207
[testing] add missing generate_bigint method to ValueGenerator. Closes #3059327
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 13:56:00 +0200] rev 9206
[rql / querier] fix bad interpretation of some RQL SET query
when some neged relation is involved. Closes #3058527.
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:31:57 +0200] rev 9205
merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:12:20 +0200] rev 9204
Added tag cubicweb-version-3.17.4, cubicweb-debian-version-3.17.4-1, cubicweb-centos-version-3.17.4-1 for changeset c7ba8e5d2e45
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 17:09:02 +0200] rev 9203
[i18n] cleanup dead code
also fix small bug introduced in b0f6e8c14e7f
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 16:48:57 +0200] rev 9202
[i18n test] hack to make i18n tests run using a Python interpreter
they used to work fine when executed via pytest only.
This should be removed as soon as logilab.common.registry is fixed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:06:06 +0200] rev 9201
[i18ncube] fix crash due to duplicated messages in generated schema.pot
Add a test case and fix regression introduced in e713c47a993d.
Relates to #2811282
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:05:58 +0200] rev 9200
[i18n test] load_po: fix bug in case of multi-lines msgid and ensure there are no duplicated messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 08:23:17 +0200] rev 9199
[i18n test] simplify test cube a bit by only providing a views module, no package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:01:18 +0200] rev 9198
[web] consider inlined relations in has_editable_relation. Closes #3049970
In some cases where the user can only add/edit inlined relations (though
actually edit perms of the inlined relation doesn't seem checked), the "modify"
action doesn't appear while it should.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:00:40 +0200] rev 9197
[web test] silent 3.13 warning
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 26 Jul 2013 13:47:52 +0200] rev 9196
[editcontrollers] Account for role in the ordering of entities (Complements #3031719)
Only role='object' was correctly accounted for by 570208f74a84
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:14:56 +0200] rev 9195
[migration.sync_schema_props_perms] ensure all participants to a unique together constraint are there
before adding CWUniqueConstraint. Closes #3038345
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:12:28 +0200] rev 9194
[session commit] save back exception context to avoid potentiel cluttering if some revert operation raise an exception
David Douard <david.douard@logilab.fr> [Mon, 29 Jul 2013 14:22:40 +0200] rev 9193
[pkg] python-central has been removed from Debian
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:46:30 +0200] rev 9192
[pkg] prepare 3.17.4
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:49:53 +0200] rev 9191
[pkg] merge centos 3.17.1-2 in stable (prepare 3.17.4)
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:47:22 +0200] rev 9190
Added tag cubicweb-centos-version-3.17.1-2 for changeset 965f894b63cb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 09:07:25 +0200] rev 9189
[rqlrewrite] fix rqlrewrite unpredictability vs relation sharing. Closes #3036144
The relations index used to determine if relation may be shared only
considered a single relation node per relation type. So when the same
relation type occurs several time, dict order give unpredictable result.
We shall properly consider all relations instead.
Tentative test case included (but bug reproduction is by definition
unpredictable...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:55:24 +0200] rev 9188
[rqlrewrite] rewrite doesn't need a solutions argument, always use the Select'ones
Also, do a copy systematically else it may lead to empty solutions depending on
the rewrite path.
Test case tentative included in the following changeset.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:49:40 +0200] rev 9187
[rql rewrite] equivalent but much simpler flow
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:42:33 +0200] rev 9186
[pkg] Prepare a new RPM release
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:25:49 +0200] rev 9185
[pkg] Add log directory to rpm
David Douard <david.douard@logilab.fr> [Thu, 25 Jul 2013 08:52:15 +0200] rev 9184
[repo] normalize ValidationError on edited entity (closes #2509729)
In CubicWeb, ValidationError.entity MUST be the eid of the involved entity,
not the entity iteself (as done by yams).
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 13:59:08 +0200] rev 9183
[doc] one must now manipulate the req.session.data dict (closes #2842345)
instead of deprecated get/set/del_session_data methods.
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 08:20:22 +0200] rev 9182
[datafeed] add a timeout config option (closes #2745677)
So a HTTP GET do not hang forever in the datafeed looping task.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 11:54:35 +0200] rev 9181
[dataimport] ucsvreader should skip empty lines unless specified otherwise. Closes #3035944
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 22 Jul 2013 12:08:37 +0200] rev 9180
[querier] Add timings to debug prints (DBG_RQL)
this may ease to spot some problematic queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 08:43:16 +0200] rev 9179
[editcontrollers] Ensure entities are created in an order satisfying schema constraints. Closes #3031719
changes below are also necessary to make the whole thing works:
* stop considering InlinedFormFile as eidparam field since they don't
hold any value
* rework 'pendingfields' handling to have separate processing of inlined fields
whose subject entity is created during the edition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 12:07:46 +0200] rev 9178
[editcontroller] extract RQLQuery.set_attribute/set_inlined methods from handle_field/handle_inlined_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:38:48 +0200] rev 9177
[editcontroller] req=self._cw makes things easier to read
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 15:38:11 +0200] rev 9176
[facets,js] fix bogus checkbox icon appearing after the first interaction (closes #2790332)
This is because of the hardcoding of the data/ url.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 22 Jul 2013 14:57:37 +0200] rev 9175
fix typos in docstring, doc and comments
Julien Cristau <julien.cristau@logilab.fr> [Wed, 17 Jul 2013 15:02:28 +0200] rev 9174
[debian] remove workaround for broken sphinx/jquery combination
sphinx in squeeze was updated:
http://packages.qa.debian.org/s/sphinx/news/20130112T154737Z.html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 22:18:50 +0200] rev 9173
[schema] mark CWDataImport as an internal type. Closes #3025536
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 19 Jul 2013 15:52:06 +0200] rev 9172
[pkg] remove deprecated dependency on pysqlite2
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 18 Jul 2013 12:36:56 +0200] rev 9171
Fix two crashes in db-check (closes #3024964)
Also improves various debugging messages.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:09:28 +0200] rev 9170
[rql rewrite] may_be_shared_with should consider relation's scope (closes #3024730)
When a relation's scope is not the current statement, it must not be shared
(instead of comparing the statement).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 10:19:06 +0200] rev 9169
[rql rewrite] fix may_be_shared_with method so that it actually considers all variable infos and not only the first one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 14:26:33 +0200] rev 9168
[schema/security] add __hash__ to rql expression. Closes #3013535
This is required so that when some rql expression participate to a dictionary
key, only the expression is considered (consistent with comparison). This
behaviour is expected in security at least, see the related bug for instance.
This scramble msplanner unit tests a bit.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Jul 2013 10:59:34 +0200] rev 9167
[rql rewrite] move some code from querier to rqlrewrite where it makes more sense.
Also, make some minor cleanup/refactoring on the way and try to enhance
docstrings.
Relates to #3013535
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 10:39:01 +0200] rev 9166
Do not compute actions list in TableLayout view when display_actions attribute is unset
Closes #3007281
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 09:55:26 +0200] rev 9165
Use the list of cubes from the filesystem when reading the schema from the filesystem
Closes #3007259
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 10:55:45 +0200] rev 9164
[migration] when adding a cube, skip infered relations (closes #3005576)
Skipped infered relations are recalculated later.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 17:40:28 +0200] rev 9163
[3.17 migration] when some cube is missing, add_cube raise ConfigurationError, not ImportError. Closes #2981477
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:20:42 +0200] rev 9162
[migraction] rename_entity_type simply warn if old entity type isn't in the schema. Closes #3004069
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:15:25 +0200] rev 9161
[deprecation] fix uihelper deprecation warning, use the rtag name, not the class, so it may be copy/pasted
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 11 Jul 2013 18:43:29 +0200] rev 9160
[test] makes fti test order-agnostic (closes #3005633)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Jul 2013 17:16:49 +0200] rev 9159
[web/views/staticcontrollers] Make ConcatFilesHandler write to a tempfile
In order to be more resistant to errors such as ENOSPC, and against different
threads accessing the same static data, we:
- concatenate data files to a temporary file, and rename it once we're done
- delete the tempfile in case of errors
- protect the creation of the cache_concat file with a lock
Closes #3005547
David Douard <david.douard@logilab.fr> [Fri, 12 Jul 2013 18:03:11 +0200] rev 9158
[test] make unittest_schema.py compatible with cubicweb-file 0.14
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 09:47:56 +0200] rev 9157
merge 3.16.6 branch in 3.17
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 17:34:54 +0200] rev 9156
Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d
Florent Cayre <florent.cayre@logilab.fr> [Sat, 13 Jul 2013 05:10:55 +0200] rev 9155
Prepare 3.16.6
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:13 +0200] rev 9154
[devctl] properly generate i18n messsages for cubes that uses uicfg instances (closes #2811282)
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:03 +0200] rev 9153
[test/devctl] add a test case for i18ncube command
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 10:40:49 +0200] rev 9152
Protect against crash in the `relation_possible` predicate with ambiguous relations.
It was still possible to get a KeyError when using relations that are ambiguous
at both ends, like (Executable, version_of, Program) & (Version, version_of, Project).
Closes #3010148.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Jul 2013 15:03:50 +0200] rev 9151
[test] give a non-ambiguous order to sync_schema assertion (closes #3001959)
Sorting by ordernum alone is unstable since several values have the
same ordernum.
ordernum + name should be stable.
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 17:33:43 +0200] rev 9150
Added tag cubicweb-version-3.17.3, cubicweb-debian-version-3.17.3-1, cubicweb-centos-version-3.17.3-1 for changeset 32b4d5314fd9
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 04 Jul 2013 09:26:59 +0200] rev 9149
[test] typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Jun 2013 12:11:42 +0200] rev 9148
[schema,server] add a security debugging aid (closes #2920304)
- Add a DGB_SEC debugging flag (to be used with set_debug/debugged).
- Add a context manager (tunesecurity) to filter security assertions.
Note: this does not address all read-security mecanisms.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Jun 2013 19:00:40 +0200] rev 9147
[etwist] fix handling of multiple files per field
html5 permits multiple files uploads, which can be expressed as::
<input type='file' multiple='multiple' />
This changeset avoids previous crash. Nothing is changed when a single file is
uploaded (backward compat is thus preserved). When multiple files are uploaded
for a single html input tag, the corresponding web request form key receives a
list of tuples like [('filename-1', IStream1), ('filename-2', IStream2), ...].
closes #2847207.
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:58:26 +0200] rev 9146
[merge] start 3.18 development
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:11:23 +0200] rev 9145
[pkg] prepare 3.17.3
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 20:48:54 +0200] rev 9144
[pkg] Remove obsolete ubuntu hardy packaging
It's been EOL for a while.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 15:24:43 +0200] rev 9143
[book] fix sphinx documentation generation (closes #2991997)
changeset 17994bf95d6a ([doc] update Session documentation) added
cubicweb.server.session.Session autodoc to the book. This caused errors
from sphinx due to a section title not being allowed in the class's
docstring.
David Douard <david.douard@logilab.fr> [Mon, 08 Jul 2013 12:41:08 +0200] rev 9142
[test/ldap] fix ldap tests
- make sure the url is properly updated on database setup (when the test
database already exists and the ldap URI has changed)
- fix the ldapuser test setup process.
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:40:57 +0200] rev 9141
[test] fix unittest_schemaserial.py
A spurious add permission has been added in expected result by d988eec2d5d3
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:35:14 +0200] rev 9140
[test] make unittest_schemaserial.py runnable with python
used to run fine only when launched using pytest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Jul 2013 17:38:10 +0200] rev 9139
[facet] use facet name as input name for text widget (eg has_text)
we need to ba able to distinguish between text-inputs so we can write
a widget for a single facet that uses more than one text input.
This fix consists in the diff in cubicweb.facts.js; modifications in
facet.py result from this former.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:36:20 +0200] rev 9138
[web doctype] don't give through reset_xmldecl to avoid double deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:35:58 +0200] rev 9137
[web doctype test] don't give reset_xmldecl to avoid deprecation warning
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Jul 2013 14:52:10 +0200] rev 9136
[devtool] randomise available ports search in http test
This lowers the chance of parallel tests to race for the same port.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:48:34 +0200] rev 9135
[facet] don't crash if no title specified on a facet and filtered rset is empty. Closes #2587883
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:43:21 +0200] rev 9134
[css, html] add a css_class attribute on Button, allowing to change easily default CSS class for buttons
(think orbui integration)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 27 Jun 2012 11:53:46 +0200] rev 9133
[view] add 2 missing spaces before the previous link
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Jun 2013 09:35:54 +0200] rev 9132
[server/repository] Go through the repo to close pyro sessions
Turns out session.close() doesn't DTRT.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 May 2013 11:13:06 +0200] rev 9131
fix migration from pre-3.13.1 versions (closes #2846978)
Need to check the existence of the asource column before the first call
to eid_type_source.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:33:27 +0200] rev 9130
[constraint] more robust unicity constraint failures reporting for end-users
Postgres or Sqlserver have limits on the index names (around resp. 64
and 128 characters). Because `logilab.database` encodes the `unique
together` constraint rtypes in the index names, we sometimes get
truncated index names, from which it is impossible to retrieve all
rtypes.
In the long run, the way such index are named should be changed.
In the short term, we try to reduce the end-user confusion resulting
from this design flaw:
* in source/native, the regex filtering ``IntegrityError`` message does
not impose an `_idx` suffix, which indeed may be absent (the result being an
UI message that resembles a catastrophic failure),
* also we avoid including a trailing " (double quote) from the error
message
* in entities/adapters, the well-named ``IUserFriendly`` adapter is made a
bit smarter about how to handle missing rtypes.
* the adapter also always produces a global message explaining the
issue (and the fact that sometimes, the user is not shown all the
relevant info)
* i18n is updated
Closes #2793789
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:16:21 +0200] rev 9129
[hooks/security] Streamline attributes default permission check.
The current default permission on attributes delegates the check to
the entity permission update policy.
Since this is already checked it can be skipped.
The equality comparison will work, even with a deserialized schema,
because the default update perm is::
('managers', ERQLExpression(Any X WHERE U has_update_permission X, X eid %(x)s, U eid %(u)s))
which will always be deserialized in this order (groups first).
However this is a slight semantic change: entity type level 'update'
permissions can now be effectively used to encode update-time rules if
the default attribute permissions are used (before this change, the
'update' rules at entity type level were fired at creation time).
Closes #2930861.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Jun 2013 14:22:22 +0200] rev 9128
[test/schemaserial] swap got/expected to get nicer unittest2 diagnostics
Prepares #2965518.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Jul 2013 17:09:04 +0200] rev 9127
[repository] drop safe attribute on ``internal_cnx``
People that need to disable hook can do it explicitly anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:18:54 +0200] rev 9126
[dbapi] deprecated the dbapi
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:26:14 +0200] rev 9125
[repoapi] deprecate dbapi compat method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:14:22 +0200] rev 9124
[testlib] deprecated the older api to access the repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:09:23 +0200] rev 9123
[connection] deprecated free_cnset and set_cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:02:06 +0200] rev 9122
[session] deprecate all Connection related method on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:53:06 +0200] rev 9121
[session] drop dead _current_cnx_id
Not used anymore for a few commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:47:08 +0200] rev 9120
[session] privatise get_cnx and close_cnx
The only user, repoapi now use ``new_cnx``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:14:35 +0200] rev 9119
[doc] add documentation for the new API in test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:28:15 +0200] rev 9118
[testlib] add an default testcase.adminaccess (and use it for default session)
This adminaccess is the new offical way to get connection, and request on a
repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:15:57 +0200] rev 9117
[testlib] introduce a RepoAccess class to easily create connection and request
Each RepoAccess hold a session for a user and three helper function to help
create Connection, ClientConnection of WebRequest related to this session.
related to #2920299
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:13:47 +0200] rev 9116
[repoapi] make ClientConnection.__enter__ return self
This allow the standard idiom::
with repoapi.connect(repo, login='babar', passwork='elephant') as cnx:
cnx.execute(…)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:16:06 +0200] rev 9115
[documentation] describe repoapi and web side change.
Short version explaining what object replace what and that BC existes for a few
version.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:28:17 +0200] rev 9114
[testlib] use internal_cnx instead of internal_session
internal_session is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 14:12:00 +0200] rev 9113
[repository] add an ``internal_cnx`` method to replace ``internal_session``
Accessing the repo through a Session is deprecated. We need an easy replacement
for ``internal_session``.
This API change was a good occasion to stop disabling integrity hook by default.
This is huge source of bug in user-code.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:02:38 +0200] rev 9112
[connection] enforce that a connection must be open to be used
The same than for ClientConnection, we ensure the connection is used inside a
its context.
.. note:: We may rely on that for ClientConnection and remove de dedicated code
in Client Connection but I prefer the current explicite and duplicated
version for now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 15:11:22 +0200] rev 9111
use standalone Connection to Client Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:46:24 +0200] rev 9110
[session] add a new_cnx factory
Having user-code importing cubicweb.server.session.Connection is inconvenient.
We add a simple factory fonction on the session.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:26:06 +0200] rev 9109
[connection] allow simple instantiation of standalone Connection
Such connection will automatically pick a connection id. Note, They are not
automatically closed on session close. But they will fails to grab new cnxset
once the session is closed.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:35:55 +0200] rev 9108
[connection] handle and explicitly life cycle on Connection
Like ClientConnection, Connection object need to be explicitly started and stop.
They aims to be used as context manager.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:00:32 +0200] rev 9107
[sesion] distinction between Connection handled by the session and other.
Not mixing the new and backward compat approach seems a good idea. Let's enforce
it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:58:34 +0200] rev 9106
[session] replace _clear_thread_storage with close_cnx
There is not good reason to keep two distinct method.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:01:07 +0200] rev 9105
[session] explicitly take Connection object in close_cnx
Now that ClientConnection explicitly reference and use the Connection object we
do not need to use connectionid here.
We can safely change this signature, ClientConnection is the only use of
close_cnx for now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:41:53 +0200] rev 9104
[session] drop the Session._clear_cnx_storage method
It is just cnx.clear() now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:41 +0200] rev 9103
[session] wrap too long line
Too long line is too long.
(Confucius 503 BC)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:01 +0200] rev 9102
[session] gather close_cnx with get_cnx and set_cnx
They do the same kind of operation and deserve to be grouped together.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:13:18 +0200] rev 9101
[client-connection] remove the _srv_cnx usage
It does not do anything special now that we use explicite Connection object with
automatic cnx_set handling.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:04:31 +0200] rev 9100
[client-connection] explicitly check that the client-connection is open
The check is also perform by the _srv_cnx property. But we do not need those
property anymore.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:02:30 +0200] rev 9099
[client-connection] handle the lack of connection id while not open
the connection id is computed at opening and forgotten when closing. We can't
rely on it in various messages … like the "connection closed" exception.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:21:39 +0200] rev 9098
[connection] transparent cnx_set handling
Connection object while take cares of there cnxset themself (as dbapi connection
does).
The ``set_cnxset`` and ``free_cnxset`` operation are still available for
backward compatibility purpose. The ``_auto_free_cnx_set`` is introduced to
handle mixed usage.
A new context manager ``connection.ensure_cnx_set`` is added for code that
access ``cnx.cnxset`` directly and are not wrapped in any specific
``Connection`` method.
A ``_with_cnx_set`` decorator is used on all Connection method that need a
cnxset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 10:44:40 +0200] rev 9097
[client-connection] explicit the client part in __repr__
Now that we have real server side connection we need to remove ambiguity.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 19:50:16 +0200] rev 9096
[ClientConnection] directly use the Connection object to access the database
Now that Connection are a full featured standalone object we can directly
reference and use it in the ClientConnection instead of using the session.
The session object is kept around for a while to perform various utility role.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:15:45 +0200] rev 9095
[connection] invert __init__ parameter
Takes session first. At some point, the connection_id will become optional for Connection
created explicitly.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:43:22 +0200] rev 9094
[service] enforce that Service argument and return are json-serialisable
The call_service API need to be able to run through RPC. So we ensure front
start that it is possible serialise both input and output.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:04:08 +0200] rev 9093
[connection] move call_service on Connection
This is the last step toward standalone transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:14 +0200] rev 9092
[connection] move the commit method on Connection object
One step closer of standalone Connection!
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:09 +0200] rev 9091
[connection] move the rollback method on Connection object
One step closer of standalon Connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:46 +0200] rev 9090
[connection] pass a Connection object to RQLRewriter
RQLRewriter can now directly use a Connection object. No need for specific
handling session side.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:14 +0200] rev 9089
[connection] Connection.execute touch Session timestamp
This allow to keep Session alive while using Connection object only for database
access.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:42:12 +0200] rev 9088
[connection] Connection now call _set_user to CWUser object linked to itseld
Session.user is linked to the session.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:13:50 +0200] rev 9087
[server/session] better faking of user for InternalManager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:58 +0200] rev 9086
[connection] move execute
All necessary method are now available on the Connection object. So the
Connection can handle RQL execution itself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:10:52 +0200] rev 9085
[connection] mark Connection as "not a request"
The ORM use this information. Having a wrong value will lead to crash.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:04:46 +0200] rev 9084
[server/session] ensure appobject obtained from the session are linked to the session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 12:25:52 +0200] rev 9083
[connection] have rql_rewriter accession on Connection
Code expecting a session search the RQLRewriter on this attribute.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:42 +0200] rev 9082
[connection] move local_perm_cache management on Connection
It belongs here anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:37 +0200] rev 9081
[session] use a rich object for timestamp
This allows the Transaction to keep a reference to it
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:32 +0200] rev 9080
[migraction] do not access session.data directly
use set_shared_data and get_shared_data instead
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:28 +0200] rev 9079
[connection] move relation management method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:24 +0200] rev 9078
[connection] give access to shared data method
A reference to session data are kept
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:17 +0200] rev 9077
[connection] move relation cache method to Connection
needed for execute (and need execute themself...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 May 2013 16:09:31 +0200] rev 9076
[connection] give access to session execute from connection
This allows multiple function that both requires an execute method and are
required by the execute method.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 May 2013 14:17:46 +0200] rev 9075
[connection] move last part of undo logic in connection
Now that Connection have a reference to the repo it can handle all of it itself
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:28:41 +0200] rev 9074
[connection] initialize connection.user and connection.lang
A RequestSessionBase need a user and lang. For now we use the session ones.
Later the Connection will have it's own.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:43:18 +0100] rev 9073
[Connection] inherit from RequestSessionBase
This contains a lot method. We need them to move more code from Session
to connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:48:18 +0200] rev 9072
[multi-sources] drop multi-sources related test.
another branch is removing the multi-source itself. We do not want to bother
fixing those test.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:21:04 +0200] rev 9071
Use new repoapi for the web stack
The publisher now link repoapi.ClientConnection to request. and explicitly
control there scope.
Web side, appobject._cw.cnx is now a repoapi.ClientConnection.
This actually kill webonly possibility until the repoapi is able to use some
RPC.
The change in the authentication stack is very hasty and need cleanup
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:59:01 +0200] rev 9070
PARTIAL: Using the repoapi in test
Test now use the repoapi.ClientConnection to access the repo. This is very big
change. The current method to access the repo are kept for backward
compatibility. The new methods will be introduced much later.
The TestCase keep a ClientConnection To an admin session for the whole test.
This changeset does not makes all tests pass without the next one that change
set htt without the next one that change the http stack
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:45:16 +0200] rev 9069
[web/test] drop proff of concept Facebook login in test
The authentication stack will change. The change in API will requires rework of
user cube anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:46:35 +0200] rev 9068
[test/dbapi] do not rely on the Testcase provided cnx
We plan to use the repoapi in the test. So we need the DBAPI test to explicitly
create a DBAPI connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:45:44 +0200] rev 9067
[dbapi] explicitly use the DBAPI version of CubicwebRequestBase
As we plan to use a ConnectionCubicwebRequestBase by default we better have the
dbapi explicitly asking for a DBAPI implementation.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:33:41 +0200] rev 9066
[web/application] drop unused import
unused since 3c85e734ce00
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:35:22 +0200] rev 9065
[web/test] properly reset the request connection related attribute
A new request does not have those attribute to None. There have special value
that we now properly reinstall.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:23:48 +0200] rev 9064
[web/test] drop two undocumented suspicious regression test
Those two test are not documented and use the API in the wrong way. They do not
raise exception by chance.
the current request signature is::
def request(self, rollbackfirst=False, url=None, headers={}, **kwargs):
So the RQL have nothing to do here.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 19:27:31 +0200] rev 9063
[webrequest] introduce an alternative implementation using the repoapi
DBAPI specific parts of ``CubicWebRequestBase`` are extracted in a
``DBAPICubicWebRequestBase`` decicated class and a new
``ConnectionCubicWebRequestBase`` is introduced that provide the same services
but using a repoapi.ClientConnection as data source. For now the
``DBAPICubicWebRequestBase`` is still used by default.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:18:51 +0200] rev 9062
[repoapi] add an anonymous_cnx function
This function return an anonymous ClientConnection. It aims to replace
``dbapi.anonymous_session``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:40:12 +0200] rev 9061
[repoapi] add a connect function
This function takes a repo and authentication information to open a new Session
and return a ClientConnection associated to it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 17:26:13 +0200] rev 9060
[client-connection] add an auto-close property for ClientConnection
The next commit introduce a connect function that open a new Session and return
an associated ClientConnection. The Session should not be used by anything else
than the created ClientConnection, so we want to close it at the same time than
the ClientConnection. The implementation in this changeset is simplistic. We
probably want to move this notion in the session itself. This be improved once
we have server side Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:08:06 +0200] rev 9059
[cwuser] make CWUser callable, returning self for dbapi compatibility
In the dbapi, Connection and Session have a ``user`` method to
generated a user for a request In the repo api, Connection and Session
have a user attribute inherited from SessionRequestBase prototype. This
ugly hack allows to not break user of the user method.
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:26:03 +0200] rev 9058
[client-connect] drop rqlst on rset returned client side
The DBAPI used to drop the RQL syntax tree on rset to save bandwidth. We could
stop doing it for In-memory client connection. However keeping the syntax tree
leads to multiple tests failures. So we keep dropping it as the DBAPI always
did.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:25:47 +0200] rev 9057
[client-connection] add a repo property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:49:13 +0200] rev 9056
[client-connection] add a connection property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:42:19 +0200] rev 9055
[client-connection] add a sessionid property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:12:58 +0200] rev 9054
[client-connection] add a cursor() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 11:39:34 +0200] rev 9053
[client-connection] add a request() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 11:06:57 +0200] rev 9052
[repoapi] introduce a basic ClientConnection class
This is the new official way to access the repo from client side.
It still access Session object directly as the server side connection is not up
yet (and it's not up because it would have no user).
Multiple follow up commit will install compatibility with the DBAPI. This will
ease the migration from dbapi to repoapi.
ClientConnection has no user yet but later commit will use it in the whole Web
stack.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:25:47 +0200] rev 9051
[req] add a _set_user method
RequestSessionBase usally need to recreate a new CWuser appobject linked to
themself. We add it to the base class to avoid multiple redifinition.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:00:20 +0200] rev 9050
[server/session] add a login property
session.login is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:47:01 +0200] rev 9049
[server/session] allow access to session id using sessionid
session.sessionid is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 17:27:08 +0200] rev 9048
[server/session] Implement anonymous_session
Now we have a simple rule to compute if a session is anonymous we can implement
the property for server session too. Having it on server side session will helps
the rework of the API to access repository. The new schema drop the concept of
DBAPISession and use server side session for the same purpose.
Related to #2953943
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:07:45 +0200] rev 9047
[server/session] do not clear session.cnx if unrelated to cnx actually cleared
The cnx parameter may be different from the one actually loaded for the current
thread. This will be possible in future commit when you close a client connection
for example.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:55:26 +0200] rev 9046
[dbapi] move ProgrammingError into cubicweb module
A new ``repoapi`` will be introduced as a replacement for the dbapi. It will
need ProgrammingError too.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 15:00:41 +0200] rev 9045
[repoapi] move get_repository function into a new repoapi module
This new module aims to host the function of the new API replacing the old
DBAPI. `get_repository` is still needed hence moved to the new module.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:19:27 +0200] rev 9044
[testlib] gather all repository access logic in one place
Refactoring of the repository access API in test is imminent. We plan to move
from the "old" dbapi to the new repoapi.
Gathering all impacted method in one place help to understand how all those
method interact and help readability for both patch and resulting code.
No code change is done at all in this changeset. The refactoring will code
later.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:00:07 +0200] rev 9043
[testlib] move repo and related attribute back on Instance instead of Class
The repo and cnx was hold by the TestCase class to work as a cache and avoid
recreation of the repo from scratch of each test. However since bad26a22fe29 the
caching is done by the DatabaseHandler object and it is not necessary have a
second layer of cache on the TestCase itself.
We move the repo and cnx attribute back on the TestCase instance itself and make
several class methods instance methods again.
This will helps to change dbapi access in test from dbapi to repoapi.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:53:19 +0200] rev 9042
[dbapi] makes anonymous_connection a computed property
The current implementation is a boolean flag set manually by client code after
connection creation. This led to different way to decide a anonymous_connection
should be True (eg. different in the test than in the actual application code).
It should not be client responsibility to set this flag.
``cnx.anonymous_connection`` is now a purely computed property. Connection with user in the
"guests" group are anonymous, the other ain't.
``Session.anonymous_session`` is computed from ``cnx.anonymous_connection`` and get
the updated behavior transparently.
Closes #2953943
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:31:47 +0200] rev 9041
[webrequest] simplify set_session code
Thanks to the previous changeset we are assured that session handed to
set_session is full featured one. This allows a simpler code for this method.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:28:16 +0200] rev 9040
[webrequest] set DBAPISession without cnx at initialisation time
Such session are necessary for minimal use of a Request. Setting on by default
allow simplification later linking with a full featured DBAPISession or
equivalent. This was not possible before as all session was tracked by session
manager. They are not tracked anymore since aa709bc6b6c1 and we can safely
create them by default.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:41:27 +0200] rev 9039
[testlib] rework request building in init_authentication
The previous code was building a full authenticated request and tried to undo
the authentication afterward. The new code just create a bare Request with no
authenticated session linked yet.
This is much closer of what the actual authentication process does.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:39:25 +0200] rev 9038
[request] drop the user argument for set_session
I see no code nor test that use this optional argument. removing it help to
clean the session code. The set_session function will soon be deprecated anyway (at the
same time than the dbapi)
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 19 Jun 2013 12:00:54 +0200] rev 9037
[web-request] handle default language earlier
We now read language negotiation header at initialisation time (previously done
during ``set_session``). This simplify the set_session code for later reworking.
There is no change in behavior, the user selected language continue to overwrite
the one picked from the header/default when applicable.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Jun 2013 15:12:25 +0200] rev 9036
[etwist] pass the repository to the root resource
This is another step toward a cleaner instantiation scheme for the repo.
The http test now pass an already created object to the etwist server instead of
relying on the config cache.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:03:37 +0200] rev 9035
[repo] move repo.gc_stats to Service API (closes #2951068)
We currently have a method on the repo that anyone can call. `call_service`
gives a similar thing, modulo:
* can be restricted access to manager only (thanks to selection on services),
* less unrelated code on the repository class,
* no need to fetch a reference to a repo object from the client side
* (`req._cnx.repo` is not an API and config.repository() is on its way out).
The old way to access this information (repo.gc_stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:05:35 +0200] rev 9034
[repo] move repo stats to Service (closes #2951067)
We currently add a new method on repo that anyone can call. Call service allows
to reach the same result with:
* Restricted access to manager only (thanks to selection on services),
* Less unrelated code on the repo.
* No need to fetch a reference to a repo object from client side.
`req._cnx.repo` is not an API and config.repository() is on its way out.
The old way to access this information (repo.stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:59:45 +0200] rev 9033
[service] drop the asynchronous execution possibility
Call_service was able of both sync and sync execution making the API confusing.
There is not user of the async case. We drop the async argument in favor of
synchronous execution only.
This makes call_service the official API to call server side code from the
client side. This is a remplacement for the usual monkey patching of the repo
object.
The zmq notification bus is a solid alternative for codes that needs to start an
async execution.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:00:03 +0200] rev 9032
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager
Those object actually need a repo object to connect and create new session
object. They used to retrieve the repo object using
``vreg.config.repository()``. I'm trying to sanitise the initialisation stack
and get ride of ``config.repository()``, a function that mix factory and cache.
Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the
repo object instead of the vreg.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:12:19 +0100] rev 9031
web/application: instantiate the repository outside of CubicWebPublisher
This improves decoupling and allows ``CubicWebPublisher`` user to choose which
argument are used during ``Repository`` instantiation. In particular is allows
caller to provide a ``TaskManager``.
The `vreg` argument of publisher is made mandatory. See CubicWebPublisher
docstring for details.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 17:23:04 +0100] rev 9030
remove vreg argument to CWPublisher
The passing a vreg to CWPublisher was used by test to allow reused of an
existing vreg. We dropped this feature two commit ago and can safely removes it.
Removing this argument allows later cleanup and improvement on the CWPublisher
and Repository front.
closes #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 16:10:38 +0100] rev 9029
[devtools] vreg becomes a class ppty
After multiple devtools refactoring, the vreg used for test is now *always* got
from the repository. Making this explicit is a step toward simplification of the
vreg handling during various initialisation phases.
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:33:00 +0100] rev 9028
[devtools] drop unused `reset_schema` and `reset_vreg` class attribute
They have no effect and no user...
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 May 2013 17:50:55 +0200] rev 9027
[connection] move security control logic on Connection
The _security_enabled context manager now operate on connection. We have to keep
a specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:11:42 +0200] rev 9026
[connection] move hook control logic on Connection
The _hook_control context manager now operate on connection. We have to keep a
specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:10:45 +0200] rev 9025
[session] update _hook_control docstring
pierre-yves [Mon, 27 May 2013 16:43:02 +0200] rev 9024
[connection] reinstall cnx.data as cnx.transaction_data
Too much code expects self._cw.data to be session data.
backout 9b2f68916474
Related to #2503918
Related to #2912807
pierre-yves [Mon, 27 May 2013 16:42:39 +0200] rev 9023
[connection] give access to is_internal_session boolean
Needed if we are to use this object like we currently do with session.
Related to #2503918
pierre-yves [Fri, 14 Jun 2013 13:39:49 +0200] rev 9022
[req] drop from_controller on non WebRequest object (Closes #2901079)
The `controller` concept is purely a web things. It does not belong to generic
`req` object.
The `build_url` code is slightly changed to handle that. This probably requires
extended cleanup later.
This is a barely used and very internal API. No deprecation period
pierre-yves [Tue, 14 May 2013 00:36:43 +0200] rev 9021
[connection] add logging method on connection
If we are to use this object like we currently do with session, we need to have
the logging method as a lot of code use them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 15:12:06 +0200] rev 9020
rename server.session.transaction into server.session.connection
The ongoing rework of the API to access the database include the splitting of
Session in two objects:
The ``Session`` object will only hold credential (user) and global session data.
A new object will publicly emerge to handle a database access. This object is
named ``Connection`` since that the way database accessors with the same property
are named in other system. So we renamed the ``Transaction`` object into
``Connection``. The ``Transaction`` object have already grown in the direction
of something directly usable by generic code, but the name ``Transaction`` is
ill suited as such object can be used for multiple database transaction in a
row.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 13:43:29 +0200] rev 9019
[application] call req.set_session in application.main_handle_request
The Session handling chain is no more responsible for calling req.set_session.
It just returns a valid session and lets the caller link it to the Request.
This opens the way to explicitly creating and closing a connection/transaction
in ``application.main_handle_request``.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:46:39 +0200] rev 9018
[session-handler] use session directly to update last usage
We don't really need the WebRequest for that. Not using the WebRequest to access
the cubicweb repository here will allow a delayed set_session.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:50:19 +0200] rev 9017
[application/connect] simplify connection logic
``application.connect`` now either sets a full featured ``DBAPISession`` to the
``WebRequest`` object or raises ``AuthenticationError``. The creation and usage
of a fake DBAPISession is now handled by ``main_handle_request`` when needed.
This means that fake DBAPISession are no longer tracked by the session manager
and that user are not given anyway to retrieve them for a later request.
This fake DBAPISession is still passed to ``core_handle`` because multiple cubes
like registration or forgotten password need this behavior. We would like to get
ride of it in the future.
This clarification of the connection API greatly simplifies ``DBAPISession``
retrieval//creation process opening the
way to improvements in this area.
Related to #2503918
pierre-yves [Thu, 13 Jun 2013 15:36:10 +0200] rev 9016
Drop hijack user (closes #2901093)
Deprecated since 3.17.0. Dropping this function help the session cleanup
business.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 17:27:43 +0200] rev 9015
[sources] drop support for ldapuser source (closes #2936496)
The ldapfeed source is a replacement for ldapuser. Use it instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 17:13:17 +0200] rev 9014
merge stable back into default
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:26:25 +0200] rev 9013
3.17 is the new stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:13:24 +0200] rev 9012
Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:02:39 +0200] rev 9011
[pkg] prepare 3.16.5
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 14:41:50 +0200] rev 9010
Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
David Douard <david.douard@logilab.fr> [Thu, 13 Jun 2013 17:32:49 +0200] rev 9009
[pkg] prepare 3.17.2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Jun 2013 11:53:40 +0200] rev 9008
repository: make tests pass again
The tests use mono-threaded pyro, which breaks assumptions made in
e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict
when they're closed, and force the test pyro client to actually
disconnect when it's done.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 18:33:50 +0200] rev 9007
repository: monkey patch pyro connection handling to detect clients going away
When a pyro client goes away we need to close their session (to release their
cnxset). Add a dict to the repository mapping pyro client threads to session
object.
Closes #2932058
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:01:23 +0200] rev 9006
notification: use viewargs for notif_entity_updated instead of transaction_data
Now that notifications use separate sessions, they can't rely on the
original transaction_data being around, so pass the data through view
arguments instead, so the notification view knows what changed on
updated entities.
Closes #2936180
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:03:59 +0200] rev 9005
notification: properly handle cnx and lifetime of the hijacked session
When we create a session for the notification rendering, we need to
1) give it a cnxset
2) commit and close it after we're done
3) restore the original session for subsequent notifications
This changes the ordering of actual mail sending, since there are
several different commits involved, but I don't see a way to fix that
short of restoring hijack_user.
Related to #2934523
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:27:00 +0200] rev 9004
notification: fix session creation (closes #2934523)
Session() takes a user and repo, not repo and user.
David Douard <david.douard@logilab.fr> [Fri, 07 Jun 2013 16:48:20 +0200] rev 9003
Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 13:00:28 +0200] rev 9002
[cwctl] add configure command to cw-ctl (closes #2709702)
usage: cw-ctl configure <appid> --param key=value,key2=value2 --param key3=value3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:02:45 +0200] rev 9001
[cwctl] rename option no-post-create to no-db-create
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 16:02:46 +0200] rev 9000
[pkg] version 3.17.1 for rpm packages
pierre-yves [Mon, 27 May 2013 15:48:03 +0200] rev 8999
[session] upgrade session closed error from Exception to SessionClosedError
Exception is far too wide and we already have a SessionClosedError anyway.
Closes #2897696
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 12:29:44 +0200] rev 8998
[pkg] prepare 3.17.1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 May 2013 14:46:32 +0200] rev 8997
[web/application] add some minimal documentation
Some documentation to the Application main entry point.
pierre-yves [Thu, 23 May 2013 19:25:24 +0200] rev 8996
[session] raise proper exception with get_tx is called on a closed session
Prevent attribute error on _txs
Closes #2897836
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 09:44:37 +0200] rev 8995
[view] typo in a docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:07:46 +0200] rev 8994
[cwctl] pass missing inputlevel argument to postcreate() (closes #2901037)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 May 2013 11:41:39 +0200] rev 8993
[server] fix documentation of ZMQ options harder
The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 29 May 2013 16:44:16 +0200] rev 8992
merge with 3.16.x fixes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 27 May 2013 15:39:56 +0200] rev 8991
[server] fix documentation of ZMQ options
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 May 2013 11:16:09 +0200] rev 8990
[zmq] set order for ZMQStartHook so other hooks don't need to
If an application wants to subscribe to some messages on the zmq bus,
that needs to happen after ZMQStartHook.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 17:32:56 +0200] rev 8989
import merge_options directly from logilab.common
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 15:10:50 +0200] rev 8988
[server] fix error messages in write_sources_file()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 May 2013 12:22:14 +0200] rev 8987
[doc] a couple almost-typos
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 May 2013 17:26:23 +0200] rev 8986
[schemaserial] mitigate critical message during migration
We can't fetch extra_props because it is not yet there.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Wed, 22 May 2013 06:30:16 +0200] rev 8985
[doc] typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 18:57:25 +0200] rev 8984
[cw-ctl] fix help message for schemadiff In global help (closes #2888538)
The leading space make it appears on multiple line. The help content is a bit
improved in the process.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 May 2013 18:02:24 +0200] rev 8983
[dbapi] fix connect backwards compat harder
Passing None as group and host should result in
"pyro:///cubicweb.appid", not "pyro://None/None.appid". Followup for
2091d275fe5c. Closes #2882666.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 12:35:02 +0200] rev 8982
[zmq] make publish address optional
It should be possible to use the zmq communication bus in a read-only
manner. Allow setting zmq-address-sub without zmq-address-pub.
Closes #2897178.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 14:38:43 +0200] rev 8981
Fix documentation for zmq pub/sub hooks and configuration
Closes #2897177
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 17 May 2013 16:25:48 +0200] rev 8980
[entity] improve deprecation messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:42:50 +0200] rev 8979
[devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 16:21:23 +0200] rev 8978
[testlib] fix page validator selection. Closes #2869456
* use a validator that checks XML well-formness for the html5 doctype
(as a convenient side-effect, it does not choke on e.g. a canvas tag
like the HTMLParser does)
* use a DTD validator if there is an xml declaration
* else use the HTMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:22:51 +0200] rev 8977
[testlib] introduce a validator that check xml-well formness
This validator simply check XML is well formed and accept any entities
(think HTML defines much more entities than bare XML)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 15:37:22 +0200] rev 8976
[view] return HTML5 doctype. Closes #2869426
We dropped xhtml support in 3.17 but we kept providing documents using the
XHTML strict doctype, while our content wasn't conform to the DTD since we
dropped proper namespaces definition as well as declaration of cubicweb DTD
extensions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:16:45 +0200] rev 8975
[testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481
the context is calculated using position information relative to a preprocessed content,
not the original source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 15:58:52 +0200] rev 8974
[web request] drop no more necessary request.document_surrounding_div method
This is awful and no more necessary since we dropped xhtml support
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:13:43 +0200] rev 8973
[testlib] unspaghettify Validator / PageInfo api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 16:05:51 +0200] rev 8972
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:26:16 +0200] rev 8971
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 14 May 2013 15:26:24 +0200] rev 8970
[dataimport] minor typo in error handling
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 07 May 2013 00:29:42 +0200] rev 8969
[views] attempt to clarify the inline help system documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 May 2013 19:40:15 +0200] rev 8968
[sobject] fix notification operation
regression introduced in bf4003760e02 Operation use self. session. not self._cw.
I'm a bit surprised that its not tested.
closes ##2870077
David Douard <david.douard@logilab.fr> [Fri, 03 May 2013 16:36:42 +0200] rev 8967
Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:27:34 +0200] rev 8966
[pkg/debian] prepare release 3.17.0-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:24:42 +0200] rev 8965
[pkg/debian] update yams runtime depends
Only the built depends were updated to 0.37.0.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:23:08 +0200] rev 8964
[pkg/debian] expand all depends and co on multiple line
This is more readable and simplifies patching.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:22 +0200] rev 8963
Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:21 +0200] rev 8962
Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 02 May 2013 15:58:57 +0200] rev 8961
[test/view] exclude some Blog entity from automatic view testing
Some Blog view requires the sioc cubes that we extracted in 3.17
we do not really want to test cubes view here. So we exclude
CWEtype
that really requires the sioc cubes.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 14:30:36 +0200] rev 8960
[doc] fix: cubicweb.gmap.js has moved to the geocoding cube
David Douard <david.douard@logilab.fr> [Tue, 30 Apr 2013 08:17:10 +0200] rev 8959
[test/ldap] do not assume order
Do no assume a specific order is stable when testing group members
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 14:49:43 +0200] rev 8958
Added tags for version 3.16.4 on changeset 041804bc48e9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:34:23 +0200] rev 8957
[notification] ensure official API is test
By using the official API in the hook we ensure it is tested.
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 29 Apr 2013 09:47:23 +0200] rev 8956
fix typo in notification causing NameError
introduced by: f5b40b66d36e
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:29:59 +0200] rev 8955
[test/notification] merge related test classe
They have no reason to be distinct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:43:36 +0200] rev 8954
merge with stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 16 Apr 2013 16:51:18 +0200] rev 8953
[server] add a looping task to free unused cnxsets capture by dead pyro
When a pyro client disconnects, we're not necessarily notified so they
can hang on to their session/cnxset forever. Don't let them do that.
The hacky looping task is only installed when pyro is enabled. This optional
activation save this very hacky patch from being rejected.
closes #2825380
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:22:21 +0200] rev 8952
[pkg/debian] update changelog to 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:06:28 +0200] rev 8951
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator
The renaming was introduced in 198fdadafed6.o
This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:47:36 +0200] rev 8950
[pkg] update changelog
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:37:47 +0200] rev 8949
[pkg] prepare 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:21:18 +0200] rev 8948
[pkg] prepare 3.16.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Apr 2013 18:06:44 +0200] rev 8947
[repo] straightforward bootstrap sequence. Closes #2841188
* kill fill_schema method which was doing to much different things, in favor of
a deserialize_method which is simply reading schema from the db and returning
it
* set_schema doesn't bother with cubes
This allows to easilly follow what's going on and so to cleanup init_cnxset_pool
to get the following boostrap order:
1. load cubes (implies loading site_cubicweb)
2. load schema
3. init data sources
4. init cnx sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:49:49 +0200] rev 8946
[repo] minor cleanups to bootstrap sequence
* fix some docstring/comments
* move initialization of HooksManager to the __init__.py, this has nothing to
do with pool initialization / boostraping
Vincent Michel <vincent.michel@logilab.fr> [Fri, 26 Apr 2013 17:46:56 +0200] rev 8945
[schemaserial] serialize additional yams parameter for customs type
Yams have a new custom type feature. We add support for extra parameter on
CWAttribute in schema serialization handling.
Closes #2847151
Vincent Michel <vincent.michel@logilab.fr> [Tue, 23 Apr 2013 14:13:58 +0200] rev 8944
[sql] preprocess_entity uses lgdb helper's SQL converters.
The preprocess_entity does not yield anymore the conversion logic for different
base types, but relies on a new SQL_CONVERTERS dictionary of the db helper.
This will allow later inclusion of new base types.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:42:43 +0200] rev 8943
[repo] kill rebuildinfered feature from Repository.set_schema
This clutters thing and is useless in most cases: when schema just have been
readen from the database or from the file-system, infered relations have just
be calculated.
The only use-case where it should be rebuilt is on migration (ie schema
modification by editing the meta-model using rql), so move this feature there.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:51:06 +0200] rev 8942
[test] stop deepcopying for nothing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Apr 2013 12:10:37 +0200] rev 8941
drop xhtml content-type support (closes #2065651)
* HTMLStream does not care about xml any more
* reqquest.demote_to_html and .xhtml_browser are deprecated
* web config: drop force-html-content-type option
* adjust tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:53:47 +0200] rev 8940
[htmlparser] exclude <script> tag from html source
lxml are confused by them :-(
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:52:35 +0200] rev 8939
[htmlparser] store unaltered source in pageinfo.source
Do not store the parser to preserve the source aspect. Store the initial input
in the source argument instead.
This is very useful when parsing html. In such case we need to drop ``<script>``
tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 18:38:47 +0200] rev 8938
[htmlparser] rename SaxOnlyValidator to XMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 17:46:28 +0200] rev 8937
[htmlparser] add missing deprecation message
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 16:55:12 +0200] rev 8936
[form] remove hard coded id
html id should be unique. It is clearly not achieved here.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:08:06 +0200] rev 8935
[server/test] use server config in migration
This allows a lighter initialisation (no rtag needed).
Execution of those test move from 300 secondes to 220 seconds here. A 25%
speedup
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:57:46 +0200] rev 8934
[session] deprecate `hijack_user` method
The semantic of this method is wicked and lead to very hard violation of sanity.
(multiple transaction using the very same cursors). We deprecated the API to be
able to drop it as soon as possible.
The method was added long ago for some notification trick. It is not needed
since we sent notification on ``postcommit_event``.
(closes #2781782)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 12:24:26 +0200] rev 8933
[mail] drop hijack_user usage
The transaction is now commited before notification. We can create a new session
directly and drop `hijack_user` usage.
This prepare #2781782
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:35:02 +0200] rev 8932
[notification] merge BaseNotificationView and NotificationView
They are in the same module now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:34:48 +0200] rev 8931
[notification] move notification view in ``sobject.notification``
It has no user outside this module. This enforce serversideness of
notification and allow future cleanup.
No backward compat is set up to prevent circular import. The class has no other user
anyway.
(closes 2845144)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 14:10:55 +0200] rev 8930
remove unused import
pyflakes say they are unused. Tests suite confirms.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 17:30:09 +0200] rev 8929
one more merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 16:10:56 +0200] rev 8928
[notification] introduce an official `notify_on_commit` function
It provides a proper notification api instead of replacing it by yet another
clumsy one.
Closes #2837251
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 25 Apr 2013 10:57:01 +0200] rev 8927
[cubicweb/doc] Replace dc_type() by cw_etype
dc_type() is may be translated. Leading to terrible terrible damage.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 04 Apr 2013 11:58:41 +0200] rev 8926
[dataimport] backout 6947201033be (related to #2788402)
(and add a try: except to cache the intended error)
The problem actually comes from the ``MassiveObjectStore``
in the ``dataio`` cube, so it should be corrected there.
Here, we only protect it with a ``RuntimeWarning`` so that
the user can see the problem.
``value`` is set to ``None`` (whence to ``NULL`` from
a database standpoint), so that the data can be nevertheless
inserted in the database. However, only the keys present in
``row`` are actually non-'``NULL``'.
The real solution is to work out the issue in ``MassiveObjectStore``
directly.
The current try/except should only be a temporary hack.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 15:45:38 +0200] rev 8925
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Apr 2013 14:44:03 +0200] rev 8924
[c-c serverctl] import locally to speed up c-c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 12:12:15 +0200] rev 8923
[facet js] minor refactoring and cleanups
* extract facetCheckBoxSelect and facetCheckBoxUnselect
* use $ as prefix for jQuery variable (facet -> $facet)
* other minor rephrasing
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 18:11:37 +0200] rev 8922
[ldapfeed] Add support for LDAP groups (closes #2528116)
Groups from the LDAP server are imported as CWGourp entities, and in_group relationships are created between existing CWUsers and CWGroups
Unit tests have been refactored a bit, especially ti add helper methods to manage LDAP database.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:57:14 +0200] rev 8921
[test/ldap] small improvement to ldapfeed unit tests
better group testing and further testing of imported user life cycle.
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 17:48:08 +0200] rev 8920
[ldap] prepare import of CWGroup
All CWUser specific code is put in dedicated sections.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:40:49 +0200] rev 8919
[ldap] handle modification date
We are now able to import modification date from ldap.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:39:10 +0200] rev 8918
[ldap] refactor attributes mapping handling
* use explicit attributes lists when calling ldap search
* direct and reverse attributes maps contains now the same elements.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 14:00:52 +0200] rev 8917
[ldapfeed] add support for multiple email addresses from ldap
Multiple emails case was ignored before this change.
email test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:37:43 +0200] rev 8916
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:33:49 +0200] rev 8915
[session] fix hooks_control backward compat
Session object have no ``hooks_control`` control method. it has
``allow_all_hooks_but`` and ``deny_all_hooks_but`` ones.
Regression introduced in bd5b5759c9b3.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 16:25:45 +0200] rev 8914
[facet js] fix reordering of facet check boxes. Closes #2732947
Before this patch, when one select an element, it's moved to the top of
the select content. Fine. But when it's later deselected, it stays there
instead of moving back to its original location.
This patch fixes that by introducing a facetCheckBoxReorder function which
properly reorder the whole facet, instead of buggy attempt to locally reorder.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:40:09 +0200] rev 8913
[vreg] (re)build entity classes cache after registry initialization.
This fix potential memory fragmentation issue.
Closes #2719113
Julien Cristau <julien.cristau@logilab.fr> [Wed, 24 Apr 2013 12:10:12 +0200] rev 8912
[task] allow negative intervals for add_looping_task (closes #2818280)
Instead of rejecting values < 0 with a ValueError, we ignore tasks with
a negative interval. This introduce a simple way to disable task from
configuration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 11:58:49 +0200] rev 8911
[task] allow interval=0 for looping tasks
There is valid usecase for perpetual running task.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:45:13 +0200] rev 8910
[portable dump] skip virtual relations, they have no table associated. Closes #2841199
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:37:48 +0200] rev 8909
[test] fix skipIf import, currently failing if unittest2 is not there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:36:41 +0200] rev 8908
[test] fix bad merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 18:15:10 +0200] rev 8907
merge with other default head
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:07:02 +0200] rev 8906
[ldap] an empty 'user-base-dn' disable the user importation process,
The same semantic will be used for group. We start by using it for user for the
sake of consistency.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:46:09 +0200] rev 8905
drop commented print
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:50:18 +0200] rev 8904
[ldap] Major test refactoring
Mostly fix tests (previous refactoring), but also refactor a bit the base class
to have better/simpler interaction with the slapd server.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 17:58:20 +0200] rev 8903
[test/ldap] have RQL2LDAPFilterTC use its own database
I do not know what RQL2LDAPFilterTC is about and why it does this strange reuse
of LDAPUserSourceTC pre_setup_database but it is certainly a good idea to have it
use a dedicated database-cache.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:25:56 +0200] rev 8902
[ldap] quieter tests
Capture slapadd and slapd output if everything goes well.
Jérôme Roy [Wed, 10 Apr 2013 17:50:11 +0200] rev 8901
[test/ldap source] better source naming, some cleanups (prepares #2528116)
ldap uri becomes "ldap" in all cases
prepare separation of CONFIGs by source type
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:33:50 +0200] rev 8900
use cw_etype instead of __regid__
We have a clean public API now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:16:36 +0200] rev 8899
[entity] add an official ``cw_etype`` property for entity
This property holds the CWEtype id of the entity. This information was previously
available through __regid__ but this is an ugly public API. So we have a new
clean public API. The ``dc_type()`` method could not be used as it is
translated.
(closes #2793792)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:38:27 +0200] rev 8898
[notification] use new style operation for notification
This results in far less operations created. Operation creation is expensive.
We keep some compatibility with the previous API because some cubes have been
reported to use it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:16:02 +0200] rev 8897
[cleanup] drop code deprecated since 3.6
The 3.6 API have been dropped some time ago. Those three lines survived the
purge. One of them is even deprecated since 3.5.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 15:25:04 +0200] rev 8896
[notification] fix documentation
The doc say precommit, the code says postcommit. The code is right.
We also clarify the documentation of another related operation looking suspiciously
wrong but actually correct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:01:14 +0200] rev 8895
[ldapuser] Deprecated the source
We have ldapfeed for some time. maintaining both is cumbersome. This old style
source will be dropped in 3.18.
closes #2567712
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:44:42 +0200] rev 8894
[rql2sql] Remove an XXX by explaining why Int non-substitution is desired
(in the current state of the API)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:41:56 +0200] rev 8893
[rql2sql] Boolean values should be substitued like others. Closes #2829481
Furthermore lgdb 1.10 deprecate boolean_value method and this simplify
testing.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Apr 2013 14:54:22 +0200] rev 8892
[toward-py3k] rewrite __cmp__ (closes #2715115)
In Python 3k `__cmp__` special method is no longer supported. So we split
it in `__lt__` and `__eq__`.
details on Python3k behavior here:
http://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:33:49 +0200] rev 8891
skeleton: add RPM spec template (closes #2800884)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Apr 2013 13:44:01 +0200] rev 8890
[clean_session] revert itervalues usage from 0bb18407c053
self.close(session) changes the self._sessions content. We need to create a full
list of value before starting closing them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 15 Apr 2013 13:18:01 +0200] rev 8889
merge 3.16.x fix
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:46:18 +0200] rev 8888
[ldap] Use correct API for logging message
The good practice cat prefer logging to do the substitution himself.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 12 Apr 2013 11:39:10 +0200] rev 8887
Fix obsolete docstring for add_looping_task
The docstring was telling lies since changeset cae198371548
"add_looping_task can be used any time"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Apr 2013 10:32:00 +0200] rev 8886
[devtools] prevent Xvfb resets
Seems like firefox opens more than one connection to the X server in
some cases, and things get utterly confused.
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:22:48 +0200] rev 8885
[LDAP] rename unittest ldapuser to ldapsource (prepares #2528116)
the tests involved are not only for ldapuser module but also for the more
general ldapfeed
Necessary to prepare LDAP patch for CWgroup
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Apr 2013 15:34:18 +0200] rev 8884
[devtools] protect xvfb-run.sh against clean_up being called twice
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:44:55 +0200] rev 8883
Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:39:15 +0200] rev 8882
3.16.3
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 14:23:24 +0200] rev 8881
[service] make sure synchronous call_service has a cnxset
Fixes regression in 3.16.2 (closes #2807720)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:56:27 +0200] rev 8880
Merge testfunc testfunc resurrection Closes #2535377
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:40:45 +0200] rev 8879
[web] move qunit test back into web and fix the hanging
qunit test can not work outside web. a lot of try/finally clause have been added
to prevent qunit to hang on error.
A not a test a indeed broken. But we at least put in them a running state again..
William Wordsworth [Mon, 08 Apr 2013 17:34:25 +0200] rev 8878
[test] drop forsaken windmill test (Closes 2535376)
* not run since multiple years
* windmill itself is in poor shape not even packaged in Debian.
The peace which other seek they find;
The heaviest storms not longet last;
Heaven grants even to the guiltiest mind
An amnesty for what is past;
When will my sentence be reversed?
I only pray to know the worst;
And wish as if my heart would burst.
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:12 +0200] rev 8877
Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:11 +0200] rev 8876
Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 19:30:42 +0200] rev 8875
3.16.2
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 18:38:20 +0200] rev 8874
[server/test] remove dependency on a pyro name server (closes #2801737)
Use a direct pyroloc:// url instead of going through a NS.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:30:53 +0200] rev 8873
[packaging] add spec file to build RPMs (closes #2800850)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 08 Apr 2013 17:12:53 +0200] rev 8872
[predicates] keep making `yes` predicate importable from cubicweb (closes #2790319)
The `yes` predicate was moved out in CubicWeb 3.15 but it should have
remained importable from the cubicweb.predicates module, for bw compat
reasons and also because logilab.common.registry is an implementation
detail.
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 16:53:03 +0200] rev 8871
[views/tables|css] backout rev 895e34d9ae0d
This changeset introduced a GUI behaviour change that has usability side-effects
(eg. shows a non-undoable massive action as a first-class action).
The idea is good, but it requires a better implementation; tabs are not the proper
GUI solution to the original usability issue.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:43:26 +0200] rev 8870
[webconfig] cleanly handles ``fckeditor_installed`` when no uiprops
The previous version of the code relied on a default value with a dummy
``FCKEDITOR_PATH`` entry. The new code check if uiprops is initialized or not.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:19:29 +0200] rev 8869
[webconfig] fallback to default configs if https ones are not defined
When cubicweb serves a request with an https scheme, it tries to access
``https_uiprops`` and ``https_datadir_urls``. However if those are not defined we
should fallback to unsecure url instead of crashing with a traceback.
There are very valid usecases for undefined https url. For example if your
``base_url``, ``datadir_url`` and uiprops content are already https urls.
Closes #2786643
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:13:03 +0200] rev 8868
[webconfig] explicit some webconfig attribute
Explicit declaration of attribute are much clearer. Just do it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:45:10 +0200] rev 8867
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:18:32 +0200] rev 8866
merge with 3.15.x fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:56 +0200] rev 8865
Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:46 +0200] rev 8864
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:55:56 +0200] rev 8863
[querier] improve 'Password selection not allowed' error message
to report the involved variable name whose type is Password,
it usually help understanding the problem.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 11:09:50 +0200] rev 8862
[predicates] use select_or_none rather than select+try/except, expected to be more efficient
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:43:57 +0200] rev 8861
[pkg] prepare version 3.15.11 ?
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:42:36 +0200] rev 8860
merge 3.14.x fix into 3.15.x
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:51:15 +0200] rev 8859
[facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Feb 2013 14:39:55 +0100] rev 8858
[predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Apr 2013 14:33:20 +0200] rev 8857
[cmd] fix exlog documentation (closes #2715913)
The table documentation was out of sync since 8a075bc94563.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:39 +0200] rev 8856
Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:28 +0200] rev 8855
Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:19:24 +0200] rev 8854
[pkg] prepare 3.14.10 release
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Apr 2013 11:09:50 +0200] rev 8853
[querier] fix eid relations handling in SET queries (closes #2797052)
_extract_eid_consts() implementation must consider arithmetic operators
when trying to associate rql variables to specific eids.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Apr 2013 17:45:09 +0200] rev 8852
[ext/rest] add directive bookmark to rest (closes #2545595)
David Douard <david.douard@logilab.fr> [Wed, 03 Apr 2013 12:17:24 +0200] rev 8851
[c-c create] make post-create step optional (closes #2712041)
In this context the "post-create" step refers to the database's creation and
initialization. We want to be able to create a new instance but skip the
database creation (`db-create` and `db-init` commands) in automatic setup.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 15 Mar 2013 12:11:29 +0100] rev 8850
[cwconfig] Add optional configuration param to load a UI cube before other cubes
Needed later on to load UI cubes such as legacyui, and one day squareui.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 02 Apr 2013 12:13:06 +0200] rev 8849
[web/views] Move massmailing to its own cube (closes #2788086)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 18:15:24 +0200] rev 8848
merge with stable fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:06:22 +0200] rev 8847
[req] explicit `user` attribute
The `RequestSessionBase` object needs a `user` attribute. It is initialized by
sub class, but having it explicitly declared is much cleaner.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:02:52 +0200] rev 8846
[test] use the right order in some assertEqual
The unittest2 function use ``(expected, got)`` order.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:00:37 +0100] rev 8845
[session/transaction] move resource accessors on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:39:14 +0100] rev 8844
[session/transaction] move multiple utility on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:25:56 +0100] rev 8843
[session/transaction] handle cnxset repository logic in transaction
Interacting with the repo is now handled by the Transaction code directly.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:34:53 +0100] rev 8842
[transaction] keep a reference to the repo object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:57:13 +0100] rev 8841
[session] make security_enabled API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:47:04 +0100] rev 8840
[session] make hook_control API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution
Internal session are not tracker by the repository and can not be retrieved
using _getsession. Moreover their session id is not unique…
Closes #2735700
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only
The service may be called by a session, we really do not want the call to
service to mess with the transaction state.
This does not apply to async were thread magic ensure a dedicated transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure
The session was retrieved there because `set_cnxset` must be called in the same
thread as the code using it. We now retrieve the session beforehand and
explicitly call `set_cnxset`.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 12 Mar 2013 18:31:15 +0100] rev 8836
[cubicweb/doc] Add tutorial on data import in CubicWeb.
This involves creating the "tutorials/dataimport" directory
structure under "cubicweb/doc" and, inside the "dataimport" directory,
putting several files:
- a ResT file containing the tutorial *per se*; this tutorial addresses
the following issues:
* creating a CubicWeb schema for representing a given data set (here,
the Diseasome RDF data, for illustration purposes);
* parsing the data;
* importing the data, by using several stores:
+ the ``RQLObjectStore``, ``NoHookRQLObjectStore`` and
``SQLGenObjectStore`` from the ``dataimport`` module in CubicWeb;
+ the ``MassiveObjectStore`` from the ``dataimport`` module
in the ``dataio`` cube.
The tutorial also provides timing benchmarks of the various stores.
- a set of Python files illustrating the data import, in the context
of Diseasome RDF data parsing:
* a Diseasome RDF data parse module,
* a Diseasome data import module,
* a CubicWeb schema for representing Diseasome data.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:04:22 +0200] rev 8834
[dataimport] Handle various data formats when creating buffers from data.
:note: On the long run, this should be addressed before, when these data are
created.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:12:41 +0200] rev 8833
[dataimport] Add a ``flush`` method for all stores.
For ``ObjectStore``, ``RQLObjectStore`` and ``NoHookRQLObjectStore``
the method tries to call the ``commit`` method.
For ``SQLGenObjectStore``, the ``flush`` method is basically
unchanged with respect to previous changesets.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:11:44 +0200] rev 8832
[dataimport] Uniformize the API across the different stores.
This is achieved by modifying the ``relate`` method
so that it takes an extra ``**kwargs``.
More specifically, ``SQLGenObjectStore``'s ``relate`` method
needs the the type of the subject entity which is passed through
``**kwargs`` as the ``subjtype`` keyword argument.
Actually, it is the ``add_relation`` method of the
``SQLGenObjectStore`` who needs this argument. However, as
this method is not called directly (but via the ``relate``
method), the ``subjtype`` argument is passed to
``add_relation`` via ``relate``.
The other stores' ``relate`` methods do not need this
extra argument, hence for the other stores ``**kwargs``
is empty.
In this manner, the API is unified across the different stores.
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 28 Mar 2013 15:43:23 +0100] rev 8831
[data] Add a CSS for undo UI rendering
The nesting of ordered list and unordered list was badly handled. This has gone
unoticed becaused it was not used. But the undo feature use this markup to
render the changesets. That's why this minor change to ths CSS is introduced.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
David Douard <david.douard@logilab.fr> [Mon, 11 Feb 2013 11:47:50 +0100] rev 8829
[c-c list] add an optional argument to the list command (closes #2709703)
This optional argument allows to restrict listing to only
a given type of items (cubes, instances, configurations).
Florent Cayre <florent.cayre@logilab.fr> [Wed, 13 Mar 2013 18:17:16 +0100] rev 8828
default base-url now uses fdqn instead of hostname only (closes #2542815)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:41:14 +0100] rev 8822
merge 3.16.x fix in 3.17.x
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:32:26 +0100] rev 8821
merge 3.15.x into 3.16.x
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 12:31:39 +0100] rev 8820
server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641)
Fixed an .rstrip(...) for the general case (untested).
Fixed an .lstrip(...) for the sqlite path (tested).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:40:19 +0100] rev 8819
[doc] update 3.17 release note
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:45:17 +0100] rev 8818
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event`
The `rdefdef` attribute is set during the operation execution. In some the
operation crash before this assignment. In such case `revertprecommit` raise an
attribute error crashing the whole process and shadowing the original error.
This changeset detect and Avoid this situation.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:41:45 +0100] rev 8817
[session] security context directly use transaction object when applicable
Most of the security logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:43:34 +0100] rev 8816
[session] move context manager logic in the security context manager
The `init_security` and `reset_security` method have no other user that the context manager itself. Having dedicated public function is not useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:42:18 +0100] rev 8815
[session] hook control context directly use transaction object when applicable
Most of the hooks control logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:17:21 +0100] rev 8814
[session] move context manager logic in the hook controls context manager
The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other
user that the context manager itself. Having dedicated public function is not
useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:05:14 +0100] rev 8813
[session] drop the useless set_hooks_mode method
It has not external user and trivial code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:09:55 +0100] rev 8812
[session/transaction] move most undo support into transaction
A small part that need repo access has not been moved into transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:42:13 +0100] rev 8811
[session] simplify mode property
We can delegate very thing to transaction utility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:01:40 +0100] rev 8810
[session/transaction] pass the session object to the Transaction __init__
This simplify access to variables. As we are moving more and more logic and
states in the Transaction it will greatly helps in future commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:54:36 +0100] rev 8809
[session] use a dedicated class to track cnxset
We introduce a new CnxSetTracker to track `cnxset` used by Transaction and
allows to wait for them. This new class does not use Thread ID not thread
joining to work. This allows to use multiple transaction per thread and a
transaction in multiple thread.
The class itself is totally threadsafe by the Transaction is still not
thread safe.
The old _threads_in_transaction attribute is dropped in favor of a new logic
based on this object. The registration of cnxset used is not done by the
Transaction itself. tx.cnset is a property handling the Consistency of its value
with the CnxSetTracker instance.
Note: The CnxSetTracker instance only track transaction id, not transaction
itself, So not reference cycle are created.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Mar 2013 15:26:29 +0100] rev 8808
[session] cleanup Transaction.cnxset
The attribute should always be there. It is None when not cnxset exists.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 17:50:11 +0100] rev 8807
[session] drop useless getter and setter for security
Those function have very few user and does not anything fancy. Internal user now
access tx.read/write_security directly. External user have been blessed with a
writable property. They are only interested in the write part of they did not
used the return of the removed function. They access it through the session
since I prefer the external world to not be aware of Transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:40:09 +0100] rev 8806
[session/transaction] move read_security subtlety in transaction
This is transaction data, itshould be handled by the transaction itself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:02 +0100] rev 8805
[transaction] initialize dbapi_request in __init__
There is not reason to have it implicitly declared.
The attribute is renamed to match its public name.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:00:25 +0100] rev 8804
[whatsnew] notify drop of deprecated code
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 27 Mar 2013 16:33:48 +0100] rev 8803
[web/views] extract cube embed (closes #1916015)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 26 Mar 2013 12:26:12 +0100] rev 8802
[skeleton] Update debian packaging to support only python 2.6 and up
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 16:58:13 +0100] rev 8801
Drop iprogress code (closes #2777628)
Simon Chabot <simon.chabot@logilab.fr> [Wed, 27 Mar 2013 16:36:47 +0100] rev 8800
[web/views] extract cube sioc (closes #1916018)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 15:36:41 +0100] rev 8799
[doc] Add 3.17 release notes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:38:05 +0100] rev 8798
[migration] mark all version prior 3.7 as non-migrable
API possible used by such old migration script are not supported in recent
Cubiweb.
Closes #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:40 +0100] rev 8797
[dataimport] drop checkpoint backward compat API
Deprecated since 3.7. See #2772958 for details.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:06 +0100] rev 8796
[dataimport] drop index support deprecated since 3.7
Dropping of pre-3.7 API decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:51:42 +0100] rev 8795
[utils] drop pre-3.7 compat in util
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:58 +0100] rev 8794
[migration] drop pre-3.7 utility
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:10 +0100] rev 8793
[entity] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:49:12 +0100] rev 8792
drop dubious comment
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:03:14 +0100] rev 8791
[req] drop pre-3.7 api on request
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:46:55 +0100] rev 8790
[session] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:35:18 +0100] rev 8789
[transaction] use set operation in the hook control code
We use direct operator on set instead of looping by hand, This simplify the
codes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:48 +0100] rev 8788
[session/transaction] move hook management in transaction itself
This is transaction level code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 15:28:18 +0100] rev 8787
[session] allow writable tx_attr and use it for commit_state
This keep clarifying the code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:12:39 +0100] rev 8786
[session/transaction] move add operation in session code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:13:34 +0100] rev 8785
[session/transaction] move entity life utility on transaction
This access transaction related data and therefor should live in transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:20:25 +0100] rev 8784
[transaction] small simplification in ecache code
A single assignation is simpler.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:16:16 +0100] rev 8783
[session/transaction] move entity cache management on session
A new utility method is added for that. It is similar to the one used for
attribute access. code is copy pasted as his. Function documentation is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:17:31 +0100] rev 8782
[session] have a nice helper function to forward access to session
This allows a lighter and clearer code. This will also ease the addition of
deprecation warning in the future.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 12:41:13 +0100] rev 8781
[session] drop dead code
session._tx is never None. New transaction are created if necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:14:08 +0100] rev 8780
[session] use tx.data directly in session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:11:17 +0100] rev 8779
[transaction] rename transaction_data to data
Transaction.transaction_data is redundant. A transaction_data property is left
for backward compatibility. Deprecation mechanism will come in later changeset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:58:43 +0100] rev 8778
[session] document Session._tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:05:49 +0100] rev 8777
[session] split session creation from default session assignation
This is the first step for more independence for Transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:04:43 +0100] rev 8776
[session] make session lock reentrant
We are going to use it for other session related business. It is renamed from
_closed_lock to _lock in the same move.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:51:50 +0100] rev 8775
[session] document set_tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:49:57 +0100] rev 8774
[session] rename txstore variable to tx
This is a more accurate name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:10:19 +0100] rev 8773
[session] rename `_threaddata` to `_tx`
The returned object is a Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:37:51 +0100] rev 8772
[session] rename self.__threaddata.txdata to self.__threaddata.tx
This is Transaction object now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:42:33 +0100] rev 8771
[session] rename _tx_data into _txs
The object inside are now Transaction object. Not TransactionData object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:32:25 +0100] rev 8770
[transaction] relocate method building transaction context manager
It is in the middle of methods going to be refactored.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:49:48 +0100] rev 8769
[transaction] move RQLRewriter in Transaction
This remove the last ``AttributeError`` magic. The ``RQLRewriter`` needs a Session. Its
reset is handled in ``Session`` code to handle that
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:38:56 +0100] rev 8768
[transaction] initialize security control attribute in Transaction
There is no reason to not initialize them in __init__ time. This simplify the
Session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:33:53 +0100] rev 8767
[session] move security constant out of the class
There is no reason for it to not be global. This will ease it use by
``Transaction object``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:27:34 +0100] rev 8766
[transaction] initialize hook control attribute in Transaction
There is no reason to not initialize them in __init__ time. this simplify the
transaction code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:34:04 +0100] rev 8765
[session] Move hook control constants out of the class
There is no reason for them to not be global. This will ease they use by
Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:20:10 +0100] rev 8764
[transaction] initialize transaction data and state related attribute.
There is not reason to not explicitly declare and initialize attribute in
Transaction.__init__. This change requires the introduction of a
Transaction.clear() method to get ride of some wicked ``AttributeError`` based
logic.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:51:03 +0100] rev 8763
[transaction] handle ``mode`` default value in Transaction
The transaction mode is now explicitly passed at creation time and always read
from the Transaction object.
Note that there is a slight behavior change. The transaction mode is now set at
the creation of the transaction. Changes made to the default value have no
longer any effect on existing transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:47:45 +0100] rev 8762
[transaction] explicit Transaction cnxset attribute
The Transaction object have a lot more attribute that those previously declared
in __init__. They are just dynamically assigned in Session code.
This changeset explicit the ``cnxset`` and ``mode`` attribute declaration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:09:49 +0100] rev 8761
[server] rename TransactionData to Transaction
Transaction will become a full featured object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:31:21 +0100] rev 8760
[doc] update Session documentation
A major refactoring of Session/Transaction handling is commit. This is a good
occasion to improves the documention.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 19:08:07 +0100] rev 8759
merge 3.16 fix in default
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:52:13 +0100] rev 8758
[devtools] fix a couple issues with xvfb-run
xvfb-run didn't quite clean up correctly after itself, because:
- dash doesn't run EXIT traps on signals
- if we don't run the command in the background, a TERM handler doesn't run
until the command exits
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:37:06 +0100] rev 8757
[devtools/qunit] don't open-code subprocess.Popen.terminate
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:01:05 +0100] rev 8756
[devtools/qunit] get rid of unused variable
Alain Leufroy <alain.leufroy@logilab.fr> [Tue, 18 Oct 2011 16:55:16 +0200] rev 8755
[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743)
So, tables are dropped even if the schema was changed.
:note: if mssql, drop views before tables.
:note: because of table dependencies we try a second drop sequence
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 18 Oct 2012 15:52:05 +0200] rev 8754
[book] remove XXX to an old discussion about appengine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Feb 2013 12:20:59 +0100] rev 8753
[web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Mar 2013 12:34:07 +0100] rev 8752
Add CubicWebRequestBase.content (closes #2742453)
This is the body of the HTTP request (stream)
David Douard <david.douard@logilab.fr> [Thu, 17 Jan 2013 14:55:07 +0100] rev 8751
add the match_http_method predicate (closes #2559932)
This aim at creating views which are selected on other HTTP methods
(PUT, DELETE, ...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:35:19 +0100] rev 8750
[pkg] the previous commit requires new feature in yams.
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 30 Nov 2012 16:43:36 +0100] rev 8749
add a command to compare db schema and file system schema (closes #464991)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Mar 2013 12:50:05 +0100] rev 8748
drop typed_eid() in favour of int() (closes #2742462)
typed_eid was introduced to abstract the eid type when running on Google AppEngine.
It is not used anymore and can be removed. Let's use int() instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:58:14 +0100] rev 8747
merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:13:31 +0100] rev 8746
3.15 is the new old stable
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 17 Sep 2012 14:39:29 +0200] rev 8745
[web] don't link to None in author box (when author has been deleted) (closes #2409855)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 19 Mar 2013 18:20:57 +0100] rev 8744
dbapi: try to restore compatibility of the connect api with 3.15
A few issues here:
- urlparse('foo').scheme is '', not None
- cnxprops is an optional argument
Regression from 62213a34726e ("[db-api/configuration] simplify db-api
and configuration so that all the connection information is in the
repository url, closes #2521848")
Closes #2754322
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:40:25 +0100] rev 8743
3.16 is the new stable
After discussion with David Douard I'm merging 3.16.x branches in stable and
starting 3.17 feature on default.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:46 +0100] rev 8742
Added tag cubicweb-debian-version-3.15.10-1 for changeset feca12e4a618
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:45 +0100] rev 8741
Added tag cubicweb-version-3.15.10 for changeset 89bdb5444cd2
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:28 +0100] rev 8740
prepare 3.15.10
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:32 +0100] rev 8739
Added tag cubicweb-debian-version-3.16.1-1 for changeset 84fbcdc8021c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:31 +0100] rev 8738
Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:53:57 +0100] rev 8737
prepare 3.16.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:30:06 +0100] rev 8736
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110)
Today, it is possible to call .related and get a huge unlimited
database-dos-inducing resultset that will be nevertheless limited a
bit further in pure python in the `autolimited` view.
While we cannot completely avoid potential denial of services such as
these we mitigate the problem with the default ui settings: if the
inner vid is `autolimited`, then the relation result sets is computed
using the user-defined limit.
This change respects the semantics of the `autolimited` view and
shouldn't break anything.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:18:22 +0100] rev 8735
[entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994)
As of today, such a call will always fill the relation cache by
calling .entities() on every single related rset entry.
As a consequence, the `limit` parameter handling also had to be fixed.
It was bogus in the following ways:
* not used in the related_rql, hence potentially huge database
requests, but also actually
* foolishly used in the .entities()-calling cache routine we now
bypass (this changeset ticket's main topic)
Now:
* we set a limit on the rql expression, and
* forbid caching if given a non-None limit (as we don't want to make
the cache handling code more complicated than it is already)
With this, entity.unrelated gets a better limit implementation (so the
code in related/unrelated is nice and symmetric)
Risk:
* _cw_relation_cache disappears completely, which is good, but this is
Python, so you never know ...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:17:34 +0100] rev 8734
[test/web] fix invisibly bogus test (prepares #2755994)
The test was wrong but that was cancelled out by a cache effect and
fuzzy naming.
Wiping the entity caches restores sanity: the choices list are the
same before and after the SET.
Also field.choices uses entity.unrelated but always returns related +
unrelated elements.
Hence `choice` replaces `unrelated` where it makes sense.
AssertIn is used in place of AssertTrue.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 08 Mar 2013 11:03:28 +0100] rev 8733
[cwconfig] Fix exception handling when building the cube dependency graph
UnorderableGraph exceptions do not have a 'cycles' property. A simple
cast to str does the job.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 12:25:18 +0100] rev 8732
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Mar 2013 16:38:57 +0100] rev 8731
[test/sobject] fix test regression
Was complaining:
- * updated comment #EID (#EID)
? ^^^^
+ * updated comment #EID (duh?)
? ^^^^
in sobjects/test/unittest_supervising.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 18:36:49 +0100] rev 8730
[web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130)
If 'pageid' is given through extraparams, it is sent twice to the
browser. On the JS side, the final URL loadxhtml() will end up using
will have 'pageid' set twice which CubicWeb will readily accept as a
list.
Pruning this parameter makes sure it is exactly once.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 19:23:22 +0100] rev 8729
[web/component] Use global variable to point to ajax controller (part of #2758254)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 19 Mar 2013 12:24:40 +0100] rev 8728
[web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254)
5a81fa526b30 took care of all the JS code, this patch cleans up the
remaining python bits.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 10:08:20 +0100] rev 8727
[devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 12 Mar 2013 19:24:43 +0100] rev 8726
[component] Fix URL generation for navigation component (closes #2464832)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:08:22 +0100] rev 8725
merge with another default heads
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:04:51 +0100] rev 8724
Merge stable into default (NON-TRIVIAL)
- dropping __future__ statement added by d2472948da9c
- added migration from 407acc41beb5 to migration file for 3.16.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 08 Feb 2013 18:36:00 +0100] rev 8723
maintain python2.5 compatibility
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Jan 2013 11:36:21 +0100] rev 8722
[schema/workflow] one more typo fix
Also add proper migration.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 11:17:02 +0100] rev 8721
[devtools] add http_publish to CubicWebTC (closes #2565882)
Fakes a http request, without overriding the normal error handling.
Returns the request object so the caller can check for errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jan 2013 12:47:40 +0100] rev 8720
[testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468
Also, url_publish now accepts a `data` argument to simulate POST of values.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 22 Feb 2013 19:36:40 +0100] rev 8719
[towards py3k] import reduce() from functools (part of #2711624)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 11 Mar 2013 18:37:01 +0100] rev 8718
merge stable fix into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 18:37:48 +0100] rev 8717
[doc] document dbapi.Connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Mar 2013 09:15:09 +0100] rev 8716
[c-c shell] fix command description (-P option is gone long ago)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Mar 2013 14:46:09 +0100] rev 8715
[hooks/syncschema] do not crash when adding a new entity type (closes #2741643)
The previous version assumed META_RTYPES provide relation definitions
for all entity types.
pwatteyne [Tue, 29 Jan 2013 16:57:44 +0100] rev 8714
[views/debug] Do not show all web sessions without CNX, just count them (closes #2602161)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Mar 2013 15:37:37 +0100] rev 8713
[facets js] use $ instead of jQuery and other small cleanups
Julien Cristau <julien.cristau@logilab.fr> [Thu, 17 Jan 2013 15:42:09 +0100] rev 8712
[devtools/httptest] allow sending other types of requests besides GET
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 08 Mar 2013 18:43:42 +0100] rev 8711
merge with stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 04 Mar 2013 17:22:57 +0100] rev 8710
[ext/rest] fix docstring of rql_role()
Vincent Michel <vincent.michel@logilab.fr> [Fri, 08 Mar 2013 18:04:40 +0100] rev 8709
[web application] Fix missing self. in error_handler
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:42:56 +0100] rev 8708
[ldapfeed] all options of a source should be in the same group, else you get AssertionError on c-c add-source. Closes #2538398
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Feb 2013 16:13:21 +0100] rev 8707
[sources] fix classes that inherit from AbstractSource (closes #2718669)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jan 2013 10:28:49 +0100] rev 8706
[login] don't redirect to http url if we allow anonymous on https
Closes #2583913
Jérôme Roy <jerome.roy@logilab.fr> [Mon, 25 Feb 2013 11:34:58 +0100] rev 8705
Correct typo in example
Julien Cristau <julien.cristau@logilab.fr> [Mon, 25 Feb 2013 18:02:11 +0100] rev 8704
[testlib] make test_view load the json data
Closes #2721472
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 12:06:16 +0100] rev 8703
[etwist] Properly escape traceback output (closes #2712042)
Stop using StringIO in the process as well.
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 11:26:08 +0100] rev 8702
[dbapi] Stop shadowing exceptions in get_repository() (closes #2710515)
Exceptions are already handled higher up in the stack so there's no
reason to handle them here. Furthermore, non-ConnectionError exceptions
would get hidden, making debugging harder.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 25 Feb 2013 11:18:14 +0100] rev 8701
[cwvreg] complete cw.web.uicfg cleanup callback (closes #2718217)
1dd655788ece introduced insufficient backward compat support
When cubes directly import uicfg from cubicweb.web (or uihelper) this
also creates a reference in the parent cubicweb.web namespace. This
must be cleaned up as reloaded cubes will take back this reference and
the old versions of its appobjects.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Feb 2013 11:19:36 +0100] rev 8700
[book] fix typo.
remove spurious `i`
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 16 Feb 2013 21:46:24 +0100] rev 8699
[towards py3k] fix bug introduced by 0bb18407c053
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 21 Feb 2012 18:23:23 +0100] rev 8698
[doc] Book entry for the undo functionnality.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:45:07 +0100] rev 8697
[toward py3k] rewrite has_key() (part of #2711624)
The `has_key` method is not in Python3K but dict supports __contains__ check for
ages.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:01:24 +0100] rev 8696
[toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)
Python 3K will only expose iterators.
http://docs.python.org/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:38:25 +0100] rev 8695
[toward-py3k] rewrite to "except AnException as exc:" (part of #2711624)
The older form is not necessary since we dropped python 2.5 compability. This
will help Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:39:23 +0100] rev 8694
[toward-py3k] remove import with_statement (part of #2711624)
They are unneeded since we dropped python 2.5 compatibility. This will help
Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:29:20 +0100] rev 8693
pkg: drop python 2.5 compatibility (closes #2711624)
2.5 is not common anymore. Dropping compatibility will help moving to a code
base compatible with Python 3.3
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 15:21:23 +0100] rev 8692
devtools: improve qunit timeout message
Make the message clearer, shorter and properly wrapped.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 14:26:33 +0100] rev 8691
merge default into stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Feb 2013 11:35:15 +0100] rev 8690
[devtools] fix broken windmill test case
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:31 +0100] rev 8689
Added tag cubicweb-debian-version-3.15.9-1 for changeset 29fbc632a696
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:30 +0100] rev 8688
Added tag cubicweb-version-3.15.9 for changeset 8bfc0753f1da
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:15 +0100] rev 8687
Added tag cubicweb-debian-version-3.16.0-1 for changeset 853237d1daf6
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:14 +0100] rev 8686
Added tag cubicweb-version-3.16.0 for changeset 6c7c2a02c9a0
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:52:02 +0100] rev 8685
3.15.9
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 16:44:07 +0100] rev 8684
[ldap test] fix bad merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 14:33:40 +0100] rev 8683
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 13:28:23 +0100] rev 8682
[cwctl] fix cubicweb-ctl shell command (closes #2583919)
* add an uri parsing utility that documents a bit the uri cubicweb
supports out of the box
* cwctl: use this utility and refactor a bit for clarity (the novelty
here being real support for old style 'myapp', or:
* 'inmemory://myapp'
* 'pyro://pyro-ns-host:pyro-ns-port/myapp' (pyro access through a
pyro concentrator)
* 'pyroloc://host:port/pyro-instance-id' (direct access to a pyro
repository)
* 'zmqpickle-tcp://host:port'
* dbapi: refactor to sort out some of the complexity and restore
functionality lost in 62213a34726e
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:13:40 +0100] rev 8681
[ldap test] move the slapd database directory to a tempdir (closes #2583993)
This is required to be sure we are not hurt by NFS or such...
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:10:31 +0100] rev 8680
[ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994)
When a user is imported from an LDAP source (in ldapfeed or when converting a
user from an ldapsource to system one), we may import a clear-text password,
which we do not want to do in our system database.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:25:08 +0100] rev 8679
[ldapfeed] don't crash if one specify an unexisting group in the configuration. Closes #2538399
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:27:51 +0100] rev 8678
[doc/ldap] update the ldap chapter wrt the ldapfeed source type (closes #2551863)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 17:58:49 +0100] rev 8677
prepare 3.16
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 18:20:05 +0100] rev 8676
[doc/3.16] complete description of what changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:39:52 +0100] rev 8675
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
instead of extra configuration parameters. Follows modification of dbapi.connect api.
Closes #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:18:44 +0100] rev 8674
[repo sources] move handling of source's url into abstract source as this becomes shared by most sources
prepare #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:52:47 +0100] rev 8673
[db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:51:10 +0100] rev 8672
[repository sources] copy source configuration: source's __init__ modify it while config.sources() return a cached dictionary which shouldn't be modified
This causes pb since f8aa87a773b2 (though it's unclear why it hasn't been a problem before).
Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:50:34 +0100] rev 8671
cleanup repository connect doc: cnxtype is now deprecated / base_url has never been given that way. Follow #2521848
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Jan 2013 18:16:20 +0100] rev 8670
prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114)
* it turns "tcp://" into "zmqpickle-tcp://"
* will leave room for future non-pickling communications using zmq
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jan 2013 18:01:25 +0100] rev 8669
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
eg no more specific option of pyro ns host, group, etc. This also fixes broken ZMQ
sources.
Changes:
* dropped pyro-ns-host, pyro-instance-id, pyro-ns-group from client side config, in
favor of repository-uri. No migration done, supposing there is **no web-only config**
in the wild. Also stop discovering the connection method through the repo_method class
attribute of the configuration, varying according to the configuration class. This is
a first step on the way to a simpler configuration handling. Notice those pyro options
are still available for repository only / all-in-one configurations as they are needed
to configure the pyro server.
* stop telling connection method using ConnectionProperties, this is so boring. Also,
drop _cnxtype from Connection and cnxtype from Session. The former is replaced by a
is_repo_in_memory property and the later is totaly useless.
* deprecate in_memory_cnx which becomes useless, use _repo_connect instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 23:05:45 +0100] rev 8668
[ldap test] ensure slapdd launch went fine and move ldapfeed setUp to parent class, as all ldap sources deal with url
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:11:33 +0100] rev 8667
[web/uihelper,uicfg] transform uihelper functions into uicfg objects methods (closes #2543949)
Florent Cayré <florent.cayre@logilab.fr> [Mon, 21 Jan 2013 16:34:09 +0100] rev 8666
make ui configurations selectable (closes #2406609)
* introduce a new 'uicfg' registry (storing instances)
* use the relevant new APIs from lgc.registry to manage the new
registrable uicfg objects
* cw event manager useage is gone; instead thze standard registry
reloading mechanism is used
* ensure i18n commands still work (devctl)
* introduce dynamic uicfgs use whenever possible (various views), even
though sometimes the classic 'static' usage remains
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:34:10 +0100] rev 8665
[uicfg] uicfg.py moves from web/ to web/views/ (prepares #2406609)
We are about to make uicfg selectable. Registrable / selectable views
and helpers live in web/views. Hence the move.
Backward compat is put in place. However CubicWeb imports of uicfg are
updated to the new location.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 13:03:38 +0100] rev 8664
[appobject] introduce RegistrableObject base class (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Jan 2013 13:55:25 +0100] rev 8663
[cwvreg] introduce lgc version 0.59 and remove unneeded method redefinition (prepares #2406609)
The new logilab.common.registry makes this moot.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 18:27:35 +0100] rev 8662
[BFSS] mark fs_imported value as uncachable
This will finally fix the `test_bfss_fs_importing_transparency` pass again.
Regression was introduced by 4ba11607d84a
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jan 2013 18:48:15 +0100] rev 8661
[entity] add a "repo_side" parameter to `_cw_dont_cache_attribute`
This parameter (defaulting to `False`) is used to inform cubicweb that we really
really do not want to cache a value during creation or update. This will be used
by a storage that may do very specific processing on attribute values that result
in a stored value different than the provided one (e.g. BFSS `fs_importing`
mode).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:51 +0100] rev 8660
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:25 +0100] rev 8659
[entities] fix test failures introduced by fixes in workflow related message strings (completes 9bb93efa1952)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 18 Jan 2013 16:40:11 +0100] rev 8658
[doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 17:37:35 +0100] rev 8657
[entity,views/json] backout 353bbd17a8b6 (reopens #2559931)
Calling .complete() unconditionnally from the json encoder is unsafe
since on entity creation validation:
* an eid may have been drawn (hence even .has_eid() would not help)
while processing form data in the edit controller
* a ValidationError may have been raised and the entity-creating
transaction rollbacked
This leads to a crash on the return path from the validation to the
browser, where the json_dumps((status, args, entity)) call will
stumble upon the .complete() call which will fail because the entity
does not (any more) exist in the database.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jan 2013 20:17:09 +0100] rev 8656
[schemas] fix typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 18:30:08 +0100] rev 8655
merge with stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:31:43 +0100] rev 8654
[appobject] cleanup module (prepares #2406609)
* remove unused imports
* break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jan 2013 14:29:12 +0100] rev 8653
[uicfg] remove pre 3.6 bw compat structure (prepares #2406609)
This should have been done in a673d1d9a738.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 17:12:06 +0100] rev 8652
[testlib] test_view now parse json data, closes #2557467
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:39:51 +0100] rev 8651
Improve entity json export (closes #2559931)
Make output from __json_encode__ predictable; use it in the ejsonexport
view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:40:57 +0100] rev 8650
[web/application/test] drop useless code
This is already done in CubicWebTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 15:11:37 +0100] rev 8649
[test] precheck initial condition
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:42:16 +0100] rev 8648
[packaging] Fix search in squeeze cubicweb-documentation package (closes #2558496)
Work around broken combination of jquery 1.4 and sphinx 0.6 in squeeze by
patching up doctools.js.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:41:45 +0100] rev 8647
[packaging] don't compress txt files (closes #2558496)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 21:48:59 +0100] rev 8646
[wf/test] fix tests broken by changes from another patch which have slipped there
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:06:20 +0100] rev 8645
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:46:05 +0100] rev 8644
[web/test] fix stale reference to the changelog view (closes #2423532)
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8643
Added tag cubicweb-debian-version-3.15.8-1 for changeset 4ef457479337
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8642
Added tag cubicweb-version-3.15.8 for changeset 459d0c48dfaf
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:04:26 +0100] rev 8641
[test] fix possible views test (closes #2544358)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:40:41 +0100] rev 8640
prepare 3.15.8
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:29:29 +0100] rev 8639
[ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776)
* cwusers that see their ldap source counterpart disappear are
deactivated
* until now they were not activated again on reappearance
* note this behaviour in the doc
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Jan 2013 15:53:22 +0100] rev 8638
[ldaputils,ldapparser] correctly compute "deleted" users (closes #2542083)
* in ldaputils.py, removal of an unneeded method (checking existence
of an object in the ldap, but not using the configuration filters)
* in the ldapparser, memoize the (filtered) search so as to serve both
.process and .is_deleted
* add a non regression test for the 'user-filter' source config entry
+ deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jan 2013 23:27:56 +0100] rev 8637
[dataimport] new ignore_errors argument to ucsvreader, default to False. Closes #2547200
David Douard <david.douard@logilab.fr> [Tue, 18 Dec 2012 11:40:51 +0100] rev 8636
[ldapsource] keep python 2.5 compatibility (closes #2541602)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 18 Dec 2012 10:42:11 +0100] rev 8635
[ldapuser2ldapfeed] .values -> .iteritems (closes #2542872)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:40:03 +0100] rev 8634
[ldap tests] cleanup in preparation of #2542083
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:26:41 +0100] rev 8633
[ldapparser] demote warning level (actually important user info can leak there) (prepares #2542083)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 03 Jan 2013 23:10:50 +0100] rev 8632
Remove changelog view (closes #2423532)
Vincent Michel <vincent.michel@logilab.fr> [Wed, 02 Jan 2013 18:17:02 +0100] rev 8631
[dataimport] Allow to replace escape char in the create_copyfrom_buffer
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 Dec 2012 22:31:10 +0100] rev 8630
[doc] fix function name FTIRANK
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:15:57 +0100] rev 8629
[json] enable jsonexport selection on empty rsets (closes #2544358)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:14:14 +0100] rev 8628
[test] fix req default value handling in CubicWebTC.view (closes #2544376)
It's no more than the standard ``if rset`` vs. ``if rset is None`` error.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Sep 2012 17:16:04 +0200] rev 8627
[ajax] fix attribute lookup (closes #2491038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 11 Dec 2012 18:20:00 +0100] rev 8626
[server] add debugging for Hooks & Operations (closes #2470048)
Vincent Michel <vincent.michel@logilab.fr> [Fri, 14 Dec 2012 14:08:14 +0100] rev 8625
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
This store will use:
- copy from for massive insertions.
- execute from for update.
The API of this store is similar to the other stores.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 12:52:33 +0100] rev 8624
[test] swap order in assert of `test_users_and_groups_non_readable_by_guests`
unittest2 order is (expected, got), not the opposite. This help test report
readbility.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 19:47:12 +0100] rev 8623
[test] fix server/querier/build_descr1 test.
There is no self.transaction of TestCase. I assumed the test writer meant a
session. This seems to make the test pass.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 12:36:33 +0100] rev 8622
[server] make `test_bfss_fs_importing_transparency` less verbose on failure
Dumping the whole content of a file on failure is a bit annoying. We only print
the bad version here (it's usually the file path).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 17:12:58 +0100] rev 8621
[entity] drop redundant cache update
This ``cw_attr_cache`` update is redundant, ``_cw_update_attr_cache`` already do this step.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 13:22:10 +0100] rev 8620
[cw-ctl] silence msgcat and msgfmt (closes #2527594)
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:38 +0100] rev 8619
Added tag cubicweb-debian-version-3.15.7-1 for changeset c5400558f370
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:37 +0100] rev 8618
Added tag cubicweb-version-3.15.7 for changeset d8916cee7b70
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:11:52 +0100] rev 8617
prepare 3.15.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Dec 2012 13:41:20 +0100] rev 8616
[migration] fix crash when adding a new meta relation type. Closes #2532483
David Douard <david.douard@logilab.fr> [Mon, 10 Dec 2012 11:50:42 +0100] rev 8615
[ldapfeed] fix connection leak (closes #2532528)
David Douard <david.douard@logilab.fr> [Tue, 04 Dec 2012 16:16:08 +0100] rev 8614
[zmq] add an introductive docstring on ZMQComm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Dec 2012 16:14:57 +0100] rev 8613
[server config] on quick start, system source is still activated. Closes #2535714
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:07:57 +0100] rev 8612
[web] use `inline` `Content-Disposition` by default (closes #2535734)
since known time we have been serving static file with a `filename` parameter on
the `Content-Disposition` header. But since d74addac92bb we explicitly serve
file as attachment if a filename is provided. However this is valid to have
`inline` disposition and `filename` parameter. This changeset revert this part
of d74addac92bb, going back to `inlined` by default.
`IDownloadable` code explicitly request `attachment` content to preserve
expected behavior.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 16:57:18 +0100] rev 8611
[web] allow configuration of the Content-disposition value
The `set_content_type` function now takes and optional `disposition` parameter
to control the value of this HTTP header.
Use of `Content-disposition: inline` with a filename parameter are valid, so
the presence of filename does not allows to choose between `attachment` and
`inline`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:17:40 +0100] rev 8610
[downloadable] fix filename HTTP header for simple name with space (closes #2535715)
Since d74addac92bb, we export simple ascii filename without any encoding in the
`filename` parameter of the `Content-Disposition` header. If this name contains
space this will fails, the parameter value will be truncated at the space
position. (eg. `filename=jungle babar.txt` read as `jungle`)
We need to quote the filename to prevent this (eg. `filename="jungle babar.txt"`).
Then literal quote and backslash needs to be escaped too.
The new escaping is correct according this extensive test case data base:
http://greenbytes.de/tech/tc2231/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 00:03:03 +0100] rev 8609
merge fixes from stable
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:36 +0100] rev 8608
Added tag cubicweb-debian-version-3.15.6-1 for changeset b05e156b8fe7
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:35 +0100] rev 8607
Added tag cubicweb-version-3.15.6 for changeset 0163bd9f4880
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:18:05 +0100] rev 8606
prepare 3.15.6
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 14:48:03 +0100] rev 8605
[web] add a digital signature to error form (closes #2522526)
Simple (and quite weak) implementation of a digital signature of the content
to be submited by email in the error report view generated by ErrorView.
The signature is a simple hmac hash computed using a secret key (generated at
repository startup) and the "secret" form content to be included in the
notification email. The controller can then check this content has not been
modified or forged by a malicious user.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Nov 2012 11:44:15 +0100] rev 8604
[web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345)
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 27 Nov 2012 17:16:23 +0100] rev 8603
[doc] fix of personnal etc directory in book
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 12:24:56 +0100] rev 8602
[web] add a Forbidden exception
This is similar to the Unauthorized exception, but generates a 403 error
instead of a 401 (Unauthorized)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 27 Nov 2012 11:38:03 +0100] rev 8601
[web] add a ``anonymize-jsonp-queries`` option in file configuration (closes #2465388)
This option controls connection anonymizing before executing any query
for CSRF / safety reason.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 11:27:49 +0100] rev 8600
[downloadable] fix filename in HTTP header (closes #2522325, #2522324)
Before this changeset we use the `filename` header with utf8 encoded filename
all the time.
However RFC6266 says:
The parameters "filename" and "filename*" differ only in that "filename*"
uses the encoding defined in [RFC5987], allowing the use of characters not
present in the ISO-8859-1 character set ([ISO-8859-1]).
Therefore, we alter the code to:
1. Use `filename` and `ascii` encoding whenever possible,
2. use `filename*` with `utf8` encoding otherwise (with a filename fallback for
old browser)
We also switch the `content-disposition` value to attachement if filename is
specified, this will result as a mandatory download according to RFC6266. This
mandatory download is the expected behavior.
We changes the filename encoding to RFC5987 which is simpler, supported by all
and modern browser (including IE from version 6) and does not suffer from the
continuation issue. (see ticket #2522324 for details)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Nov 2012 11:18:42 +0100] rev 8599
docstring typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Nov 2012 16:13:43 +0100] rev 8598
[facet] make BitFieldFacet allow special 0 value. Closes #2522697
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Nov 2012 12:28:30 +0100] rev 8597
[doc] ubuntu LTS is now Precise Pangolin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:53:17 +0100] rev 8596
backport stable
Arthur Lutz <arthur.lutz@logilab.fr> [Fri, 16 Nov 2012 11:52:06 +0100] rev 8595
[server] implement base_url with secure=True (closes #2508638)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:41:38 +0100] rev 8594
[validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59
the creation of the `translate` method in the 23a10f049447 yams commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 15:27:40 +0100] rev 8593
[wsgi] saner use of `self.config` instead of `config`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 17:14:18 +0100] rev 8592
[server] fix repository initialisation
Changeset d753d6a6798f was breaking database creation. Dropping the
`config.creating` clause lead to trying to load the schema from database even in
creation mode. Conditional are a bit altered and reordered to prevent this to
happen.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Oct 2012 09:56:52 +0200] rev 8591
[web test] make unittest_viewselectors work if rdflib isn't available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:43 +0200] rev 8590
[js/ajax] documentation of 'reload' is missing an argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:22 +0200] rev 8589
[ldapfeed] move docstring to the class instead of the module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Nov 2012 11:12:13 +0100] rev 8588
[hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:43:11 +0100] rev 8587
[startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:40:24 +0100] rev 8586
[ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Nov 2012 11:06:24 +0100] rev 8585
[dbapi] provide get_option_value over DBAPIRequest (closes #2515522)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:05 +0200] rev 8584
Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:04 +0200] rev 8583
Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:42:26 +0200] rev 8581
[entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes.
Also rewrite a storage test currently failing because cache of the entity created by the
test transaction, distinct from the entity created internally and given to hooks and all,
has its attributes cache not updated. As this doesn't seems a proper usage, rewrite it
as expected.
Much probably closes #2423719 definitly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Oct 2012 16:54:22 +0200] rev 8580
[repository] move modification of appobject_path to repository initialization code so we can restore it later to avoid side effect on the config. Fix regression introduced in d32ab8570e5d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Oct 2012 18:42:13 +0200] rev 8579
[req / session] drop is_internal_session (buggy) compat on base request by implementing necessary methods on internal manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:18:13 +0200] rev 8577
[test] use session commit/rollback to be consistent with the test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Oct 2012 15:47:12 +0200] rev 8575
[ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515)
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport stable
Florent Cayré <florent.cayre@logilab.fr> [Tue, 02 Oct 2012 16:44:55 +0200] rev 8572
fix no more running zmq repository test (closes #2500153)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Sep 2012 17:49:54 +0200] rev 8571
[dbapi] load_appobjects must attempt to load available cubicweb configurations to avoid error when some object use a persistent propery (CWProperty) defined there. Closes #2497697
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 12:47:45 +0200] rev 8569
[ajax] reload function should set 'processing' cursor. Closes #2503899
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:49:34 +0200] rev 8568
[misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Sep 2012 16:45:26 +0200] rev 8567
[views/boxes] re-establish the proper selector (closes #2496294)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:40:35 +0200] rev 8566
[ldapparser] raise specific error if the configuration is wrong (closes #2498164)
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 08 Oct 2012 17:50:12 +0200] rev 8565
[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 17:04:44 +0200] rev 8564
[c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 21 Sep 2012 15:03:59 +0200] rev 8563
mock ``CWUser.prefered_language()`` on InternalManager objects.
The recent split of patches for session refactoring broke this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 14:15:39 +0200] rev 8562
[session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820
One should use session method rather than direct usage of the context manager
of the same name.
Fix default argument values for consistency with the context manager: when one
omit an argument, meaning is "keep the current value", not "disable security".
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 14:50:06 +0200] rev 8561
[session] promote usage of [deny|all]_all_hooks_but session methods rather than hooks_control context manager directly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:25:48 +0200] rev 8560
[web app] move set of status_out into validation_error_handler to ease readability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:24:32 +0200] rev 8559
[workflow test] don't use session.user, subject to internal changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:07:13 +0200] rev 8558
[db creation test] more testing of db initialization: call build_db_cache and ensure admin user exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:52:17 +0200] rev 8557
[source synchronization hooks] Fix/enhance system source hooks
They are broken if launched during repository initialization (this was not the
case yet, but will be soon...). Add additional checks to ensure one doesn't try
to store system source config in the database, as it will be ignored in favor of
the "sources" file.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:48:55 +0200] rev 8556
[validation error] refactor validation error handling so translation is done on the web side
Users should now use cubicweb.validation_error helper function that will activate the feature
with other handy behaviours. Also test testing for message in errors should call
exception.tr(unicode) before comparing.
Using bare ValidationError keep backward compat.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8555
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8554
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:24 +0200] rev 8553
Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:23 +0200] rev 8552
Added tag cubicweb-version-3.15.4 for changeset 63260486de89
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 17 Sep 2012 17:48:02 +0200] rev 8551
[facets] add link 'focus on selection' (closes #525277)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:08:55 +0200] rev 8550
[server/utils] catch ValueError from password verification
passlib can raise ValueError when it can't recognized a hash. Treat
that as a wrong password.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:59:25 +0200] rev 8549
[test] reindent and use request() rather than bare session
this avoid error due to implementation details of session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Sep 2012 15:03:52 +0200] rev 8548
[repo] fix debug code in DBG_REPO mode (closes #2469942)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Sep 2012 17:26:15 +0200] rev 8547
[datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:17:10 +0200] rev 8546
[sources/native] automatically update passwords using deprecated hashes on login
Closes #2465904
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 17:42:24 +0200] rev 8545
[repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 21:51:54 +0200] rev 8544
massive copyright update to avoid clutering later patches
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:50:28 +0200] rev 8543
minor cleanups/typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:36:22 +0200] rev 8542
[session / querier] reorganize code to building result set descriptions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:44:33 +0200] rev 8541
[web] search state doesn't need cnx, remove useless test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:31:07 +0200] rev 8540
[schema] rename schema permissions function: session may also be a request, use _cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:02:06 +0200] rev 8539
[repo initialisation] during repo creation, load all hooks and entities code
this simplify code and make it more consistent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:53:59 +0200] rev 8538
[request/session] refactor language handling: don't attempt to sync web/repo languages
This decouple thing and make code easier to understand. Previous behaviour was fine
w/ validation error that were translated on the server side, but isn't satisfying for
notification and all. Now:
* translations should be done on the ui side (see previous validation error
refactoring)
* consistent behaviour: each side (web/repo) is responsible to deal with its
request/session of language, no weird interaction between them on this topic
* drop on the way the 'session properties' api, used only for that matter.
-> much simpler/cleaner/saner api
The thing missing being a way for user to tell "My favorite language is xxx but I also
want cw to consider my http language header)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:00:09 +0200] rev 8537
[config] turn internal configuration methods building appobjects search path into normal method rather than class method
as this is useless and make path filters difficult to override (we had to
override the class attribute, as instance attributes were not seen).
Also rename related methods for consistency with current vocabulary
David Douard <david.douard@logilab.fr> [Mon, 03 Sep 2012 12:26:20 +0200] rev 8536
fix missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Sep 2012 14:01:59 +0200] rev 8535
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 07 Sep 2012 13:48:55 +0200] rev 8534
[hooks/syncshema] fix logging level and nicer message (wrong changeset published previously)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 13:19:39 +0200] rev 8533
[hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Aug 2012 11:43:43 +0200] rev 8532
[cwctl] show a better diagnostic message on version violation (closes #2464800)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:07:59 +0200] rev 8531
[tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657
also do a small cleanup on the way, and properly implements render_entity rather than cell_call,
as one would expect regarding default PrimaryView code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:52:41 +0200] rev 8530
[migration] fix backward compat for rename_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:09:17 +0200] rev 8529
[datafeed] make cnxset handling of datafeed source more robust
currently we may run in some cases where the session has no more cnxset
depending on errors and parser's handling of the cnxset.
Also, free the cnxset and reacquire it later, letting a chance to other
threads to run.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:38:43 +0200] rev 8528
don't use rset.rowcount in predicates, this makes them usable with other types such as lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:11:05 +0200] rev 8527
[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Aug 2012 11:19:44 +0200] rev 8526
[ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Aug 2012 13:29:37 +0200] rev 8525
[entity edition] don't remove values from attribute cache on the repository side
This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a.
closes #2423719 ?
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 18:11:24 +0200] rev 8524
fix ldapuser test
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 16:50:28 +0200] rev 8523
Prepare 3.15.4
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 13:55:59 +0200] rev 8522
migration: replace empty passwords with random ones on upgrade
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 12:52:45 +0200] rev 8521
ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 16:58:08 +0200] rev 8520
[source/native] only system source users should be authenticated by the native source (closes #2465883)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 17:20:06 +0200] rev 8519
[web test] fix test broken by 199fefe396ab
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Aug 2012 14:19:30 +0200] rev 8518
[fti] add some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 14:17:22 +0200] rev 8517
[form] add assertion to ensure field has a name when `role_name` is called
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:29 +0200] rev 8516
Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:28 +0200] rev 8515
Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Aug 2012 14:20:08 +0200] rev 8514
[pkg] prepare 3.15.3 release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 19:00:22 +0200] rev 8513
[entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)
Rely on a changes in yams instead where we have guarantee to have only comparable objects.
This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly
closes #2423719
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Aug 2012 09:42:36 +0200] rev 8512
[tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038
This is useful for tabs holding a self-posted form for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 18:52:27 +0200] rev 8511
[web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040
(eg if you want to use them in .session_key)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 10:09:11 +0200] rev 8510
[test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout
This repairs test introduced by dcd9bc1d1bca which closes #2439846
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Aug 2012 10:47:27 +0200] rev 8509
[entity] fix deprecation warnings (closes #2423719)
David Douard <david.douard@logilab.fr> [Thu, 02 Aug 2012 12:48:31 +0200] rev 8508
merge oldstable in stable
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:48 +0200] rev 8507
Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:47 +0200] rev 8506
Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 18:30:36 +0200] rev 8505
[ui] provide an autocomplete RQL bar (closes #2439846)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 01 Aug 2012 09:20:47 +0200] rev 8504
[ajax] improve backward compatibility for redefined ajax functions (closes #2447189)
If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube,
the cube version should still takes the precedence<
=> check for existing ajax function on deprecated controller _before_ checking
ajax function availability on the new one.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 16:16:50 +0200] rev 8503
prepare version 3.14.9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:32:54 +0200] rev 8502
[composite] apply composite on new enty too (closes #2450679)
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:25:28 +0200] rev 8501
[storage] relies on event=='deleted' to detect "delete" event (closes #2450680)
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 11:04:45 +0200] rev 8500
[composite] apply composite on new enty too
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 10:57:03 +0200] rev 8499
[storage] relies on event=='deleted' to detect "delete" event
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jul 2012 11:19:11 +0200] rev 8498
[web navigation] previous / next icons are missing mandatory alt attribute
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 31 Jul 2012 10:12:06 +0200] rev 8497
[testlib] consider rset for template / view selection (closes #2447183)
The original code did something like:
kwargs['rset'] = rset
viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs)
kwargs.pop('rset')
return self._test_view(viewfunc, view, template, kwargs)
meaning that by the time ``viewfunc`` (i.e. the lambda function) is called,
``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 17:51:00 +0200] rev 8496
[documentation] fix some ReST compilation problems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 15:06:55 +0200] rev 8495
[test] remove no more necessary attribute cache manipulation to repair test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 11:19:16 +0200] rev 8494
[entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression
* when an attribute is listed in dont-cache-attrs, purge any previous value
* test value is actually modified in EditedEntity.__setitem__ before adding
attribute to dont-cache-attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 10:16:25 +0200] rev 8493
[entity/hooks] fix regression introduced by 4ba11607d84a
on create_entity, attributes weren't cached, but they are since 4ba11607d84a
and this triggered a bug: used values may be transformed by hooks (e.g.
TidyHtmlFields), ending in invalid value in the cache. This is the regression.
Now, set_attributes used to update the attributes cache while suffering from
the very same pb. This is the now fixed old bug.
Transformed attributes are now recorded in a transaction shared variable, and
those are omitted from the client cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:11 +0200] rev 8492
[doc] use :meth: and remove doc to deprecated methods
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 Jul 2012 22:45:32 +0200] rev 8491
[doc] add passlib to list of dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:09 +0200] rev 8490
Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:08 +0200] rev 8489
Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 14:50:44 +0200] rev 8488
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 12:45:43 +0200] rev 8487
[web test] fix tests broken by 8de41063d629
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 15:17:32 +0200] rev 8486
3.15.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 11:31:34 +0200] rev 8485
[web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:57:48 +0200] rev 8484
[config] load_configuration should not crash because of fs errors. Closes #2286215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:46 +0200] rev 8483
[entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719
Allowing similar usage as create_entity/cw_instantiate.
Update cw code base to remove deprecated calls.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 09:01:54 +0200] rev 8482
[workflow ui] fix state/transition edition form on existing entity. Closes #2423531
It should not return unrelated entities only in case where the entity
exists.
Also fix a deprecation warning, vocabulary values should be an
unicode string.
Florent Cayré <florent.cayre@logilab.fr> [Fri, 20 Jul 2012 11:42:59 +0200] rev 8481
[predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:25:55 +0200] rev 8480
[book] fix build warnings/errors. Closes #2430042
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:46:27 +0200] rev 8479
[ldap feed] add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 16:41:10 +0200] rev 8478
[ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:22:51 +0200] rev 8477
[config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:31:15 +0200] rev 8476
[book] Some tweaks to fix cubicweb-documentation package generation
- Fix up PYTHONPATH setting to make sure sphinx can find cubicweb modules
- Add a few missing build-dependencies
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 Jul 2012 10:27:04 +0200] rev 8475
[webconfig] debug mode should not be special wrt data_url handling (closes #2405487)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 10:25:22 +0200] rev 8474
[test] missing future import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Jun 2012 12:30:57 +0200] rev 8473
[ldap] allow working connection to some ADs (closes #2408829)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Jul 2012 17:26:59 +0200] rev 8472
[entity] fix unrelated_rql for creation form vocabulary for relation with specific permissions (closes #2423854)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:06:52 +0200] rev 8471
[form widgets] fix JQueryDatePicker and JQueryTimePicker so they consider widget custom attributes. Closes #2423720
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jul 2012 15:58:20 +0200] rev 8470
[web app] handle Redirect raised during session establishment, as this may be used by eg openid authentication. Closes #2430018
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 17:16:28 +0200] rev 8469
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jul 2012 15:32:40 +0200] rev 8468
[ldapuser2ldapfeed] fix confusing script structure and decode the extid to avoid an UnicodeDecodeError (closes #2413437)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 11:08:36 +0200] rev 8467
[migraction] rename rename_relation method to rename_relation_type for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Jul 2012 14:29:52 +0200] rev 8466
[web app] only log tb when explicitly asked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jul 2012 13:42:27 +0200] rev 8465
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 12:38:06 +0200] rev 8464
[views/tables|css] show actions in small tabs instead of menu indirection (closes #2004109)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:52 +0200] rev 8463
stable is now 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:23 +0200] rev 8462
oldstable is now 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 10:33:19 +0200] rev 8461
[test] update server security test using login and new temporary_permissions context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 11:11:15 +0200] rev 8460
[testlib] introduce temporary_permissions context manager
Fix a test failure due to cached method on the way as usage of the context manager
enforce proper interaction with schema objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 13:57:23 +0200] rev 8459
[rql2sql] remove debug print and fix bug introduced in 8469:69ad9a509bc3
Florent Cayré <florent.cayre@logilab.fr> [Mon, 09 Jul 2012 12:24:05 +0200] rev 8458
[html form] use __linkto url parameter value as a default value of the corresponding field in a creation form (closes #2407770)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 12:22:43 +0200] rev 8457
[rql2sql] fix generated SQL when an attribute relation with a variable is ored with another attribute relation. Closes #2410405
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:01:09 +0200] rev 8456
[repository] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 09:47:28 +0200] rev 8455
[ui] actions box should be displayed if there are some actions, not if context is an entity. Closes #2419040
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:31:13 +0200] rev 8454
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Jun 2012 15:57:05 +0200] rev 8453
[packaging] bump rql dependency to 0.29 (closes #2410042)
Needed for add_eid_restriction with 4 args, usage of which was
introduced in changeset aed065b97f12 (refactor entity fetch_rql method
to use a RQL syntax tree instead of RQL strings)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 04 Jul 2012 17:56:46 +0200] rev 8452
[rql security] fix rql bug when using yams inheritance and read permissions (closes #2410156)
problems occurings when querying using is_instance_of while a subtype has some permissions
not shared by the parent type
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Jul 2012 09:01:42 +0200] rev 8451
[c-c schema] devtools: the output file for cw-ctl schema is not supposed to exist
When using the 'file' type, logilab-common errors out if the file
doesn't exist. Which, if the option refers to an output file, is not so
useful. Use 'string' instead.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:33 +0200] rev 8450
[fti] allow usage of custom RQL to fetch entities to index (closes #2410509)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:32 +0200] rev 8449
[fti] make db-rebuild-fti accept etypes on command line (closes #2410508)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 09:00:30 +0200] rev 8448
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 08:59:28 +0200] rev 8447
[fti] drop entity cache once an etype is indexed (closes #2410507)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jul 2012 11:01:51 +0200] rev 8446
[server/utils] add_looping_task can be used any time (closes #2408814)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Jun 2012 18:10:59 +0200] rev 8445
[formrenderers] if a tag object gets there, it blows (closes #2410462)
- cwtags monkeypatches cubicweb's UStringIO's .write and .getvalue methods
- but it cannot monkeypatch list.append ...
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:21:12 +0200] rev 8444
[login] redirect to real instance root if no postlogin_path is provided
When not postlogin_path is provided, the login form issue a redirect to "/".
The instance root may not be at "/" on the server. Then issuing a redirect to
"/" send the user to the wrong location.
We now redirect to "." which works fine because the "login" controller a direct
children of instance root (http://babar.com/instance/login).
All other redirection of the login controller use relative path too and then
rely on this relative path from the login controleur to the instance root. This
mechanism may be considered fragile and may deserve a proper fix. but this is to
be discussed and implemented in another changeset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:55:03 +0200] rev 8443
[web/application] declare default 'content' value sooner (closes #2406560)
It may be used while processing AuthenticationError. Such error may be raised
before the former declaration.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 10:06:11 +0200] rev 8442
[views/tabs] fix rql/eid param conflict when either one is already in the request form (closes #2405249)
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:23 +0200] rev 8441
Added tag cubicweb-debian-version-3.15.1-1 for changeset fe5e60862b64
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:22 +0200] rev 8440
Added tag cubicweb-version-3.15.1 for changeset 783a5df54dc7
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 10:00:02 +0200] rev 8439
[debian] prepare 3.15.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Jun 2012 09:22:11 +0200] rev 8438
[server/tests] fix tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Jun 2012 16:47:07 +0200] rev 8437
[registry|ajaxcontroller] the @ajaxcontroller decorator ought to return a compatible object (closes #2385155)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:33:53 +0200] rev 8436
[cwconfig] shutup on absent i18n/ mo files when in operating in tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:24:37 +0200] rev 8435
[datafeed] correctly distinguish checked/updated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:30:54 +0200] rev 8434
[ldapfeed] do not crash on ldap user deletion + pull + already deactivated users, cleanups (closes #2392933)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:26:34 +0200] rev 8433
[server/session,repo] turn InternalSession, hence repo.internal_session, into a context manager (closes #2393651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 18:07:46 +0200] rev 8432
[ldapparser] missing return
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 17:05:32 +0200] rev 8431
[ldapparser] remove spurious print
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 15:56:21 +0200] rev 8430
fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 17:18:00 +0200] rev 8429
[ldapfeed] fix crash on sql cursor usage (closes #2380246)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:51:24 +0200] rev 8428
[sources/ldapfeed] do not user cwuri as url (closes #2380324)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:19:21 +0200] rev 8427
[web/views/staticcontroller] safety belt for unguessed mimetypes (closes #2380304)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 May 2012 14:01:05 +0200] rev 8426
[server/hook] fix identation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:17:46 +0200] rev 8425
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:26 +0200] rev 8424
Added tag cubicweb-debian-version-3.14.8-1 for changeset 81394043ad22
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:25 +0200] rev 8423
Added tag cubicweb-version-3.14.8 for changeset 15fe07ff6872
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 12:27:43 +0200] rev 8422
[css] do not use display:block for all images, but only for rest generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 11:43:11 +0200] rev 8421
3.14.8
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 11:41:27 +0200] rev 8420
[css] make ReST align statement works for images (closes #1280176)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2011 14:33:26 +0100] rev 8419
[doc] cubicweb.view documentation (closes: #2099962)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:05:03 +0200] rev 8418
[docstrings] typos corrected
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:04:00 +0200] rev 8417
[views] enable paginate toggle on RsetTableView (closes #2200675)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:00:29 +0200] rev 8416
[ui] display author name in box instead of login (closes #1529147)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 10:52:42 +0200] rev 8415
[doc] remove deprecated doc (wrong link) (closes #2329206)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 17:37:49 +0200] rev 8414
Fixes for compatibility with passlib 1.6 (closes #2356393)
Somebody missed the memo about API backwards compatibility:
- calc_checksum is renamed _calc_checksum
- passlib.utils.handlers.GenericHandler strict keyword removed
- bytes vs str vs unicode issues
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 22 May 2012 18:51:09 +0200] rev 8413
[formrenderers] Factor-out render_title to ease customisation in derived classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 May 2012 12:41:18 +0200] rev 8412
[IE] use document.createStyleSheet to add CSS dynamically (closes #2356261)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 May 2012 14:17:09 +0200] rev 8411
[pkginfo] the before_shutdown event was not in 3.15.0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 16 May 2012 09:57:57 +0200] rev 8410
[migration] do not crash if the conf file is already migrated (closes #2361061)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:44:45 +0200] rev 8409
[datafeed] fix/finish cleanup started by auc in 8393:c25b96ae4f8a: parser.process prototytpe is (url, raise_on_error=False). Drop partialcommit argument which were never specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:30 +0200] rev 8408
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:25:41 +0200] rev 8407
[logs table view] properly translate level buy using the correct msgid. Closes #2356329
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:24:07 +0200] rev 8406
[data import] don't crash if value isn't in the file, simply no key/value in the output dict. Closes #2356328
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:08 +0200] rev 8405
[logs table view] only put values starting with http in <a> tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:57:14 +0200] rev 8404
[db-api] fix typo leading to crash on client connection (config has no translations). Closes #2357044
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:36:02 +0200] rev 8403
[data import] allow a request to be given as argument, ease use from web ui
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 10:34:34 +0200] rev 8402
[datafeed] allow the xml datafeed parser to work with client-side connections
Florent Cayré <florent.cayre@logilab.fr> [Tue, 17 Apr 2012 12:28:51 +0200] rev 8401
small doc updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:32:53 +0200] rev 8400
[ldapfeed] properly mark email address as encountered during import to avoid deleting them
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:14:51 +0200] rev 8399
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:08:58 +0200] rev 8398
[server/utils] passlib 1.6 is now less tolerant wrt handler names (closes #2349330)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:37:28 +0200] rev 8397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:31:53 +0200] rev 8396
[web] remove some unused imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:33:42 +0200] rev 8395
[selectors] make multi_columns_rset work with a simple list of lists
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 17:15:44 +0200] rev 8394
[server/hook] a tiny bit of doc about before_server_shutdown
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:43:48 +0200] rev 8393
[events] add a new before_shutdown event (closes #2345728)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:35:46 +0200] rev 8392
[ldapparser] cleanup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:31:03 +0200] rev 8391
[ldapparser] reapply dropped fix
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:23:21 +0200] rev 8390
[app] turn these info into debug logs (this being too chatty for .info)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Apr 2012 12:01:31 +0200] rev 8389
fix static file serving when url has parameters (like cache busters do)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 May 2012 15:06:43 +0200] rev 8388
[repo test] Avoid hangs in zmq repo unit test
- interaction through the zmq event loop from a different thread is only
allowed through add_callback
- notify the background thread when the client dies with an exception so it
doesn't spin forever
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:52:01 +0200] rev 8387
[ldap] we may actually get back password from ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:23 +0200] rev 8386
[ldapfeed, test] use default source config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:03 +0200] rev 8385
[ldapfeed, test] use a safe internal session, as in real life
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:48:54 +0200] rev 8384
[datafeed] give a dictionary as sourceparams to avoid crash if attempt to import the user is done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:47:29 +0200] rev 8383
[yams] Binary instance passwords should not be given to str()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:45:58 +0200] rev 8382
[ldapfeed] don't crash if entity is None. Closes (superficialy) #2341266
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:13:39 +0200] rev 8381
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:12:02 +0200] rev 8380
[bin/clonedeps] fix NameError (closes #2334080)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 15:09:27 +0200] rev 8379
[sources/native] do not let a log message crash on us
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:22:38 +0200] rev 8378
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:10:04 +0200] rev 8377
[cwconfig] impose an order on appobject paths processing: entities first (closes #2330799)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 Apr 2012 11:39:14 +0200] rev 8376
[serverctl] avoid a crash if zmq-address is not defined/empty (config.get is a false friend wrt dict behaviour)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 Apr 2012 10:31:46 +0200] rev 8375
fix an horrible typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 23 Apr 2012 18:01:30 +0200] rev 8374
[migration/3.14.4] prevent migration crash when there are NULLs in asource
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:30 +0200] rev 8373
Added tag cubicweb-debian-version-3.15.0-1 for changeset 925db25a3250
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:29 +0200] rev 8372
Added tag cubicweb-version-3.15.0 for changeset 0642b2d03aca
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:58:55 +0200] rev 8371
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:52:23 +0200] rev 8370
3.15.0
Florent Cayré <florent.cayre@logilab.fr> [Thu, 12 Apr 2012 13:55:18 +0200] rev 8369
[static web] fix fckeditor static files delivery: remove leading subpath and url parameters from computed file path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 16:47:30 +0200] rev 8368
[doc] 3.15 services api description
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 14:36:19 +0200] rev 8367
[service-api] Add unified service API on `_cw` attribute
This will allow writting generic entity code that could run on both client and
repo side.
This addition have been discussed with Sylvain Sylvain Thenault.
Florent Cayré <florent.cayre@logilab.fr> [Wed, 11 Apr 2012 14:43:51 +0200] rev 8366
fix ``call_service`` API and add test service API
``call_service`` was taking a session argument. But Service is an AppoObject and
already has the same session accessible as ``self._cw``.
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 14:16:27 +0200] rev 8365
[skel] update newcube skeleton (closes #2312509)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 15:48:12 +0200] rev 8364
[doc] improved 3.15 blog using developpers'contributions
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 13:28:10 +0200] rev 8363
[devtool-testlib] add deprecated entry point for publish method
6c2119509fac renamed ``publish`` to ``handle_request``. And removed the older testlib
function (because the semantic of handle_request is quite different from the
publish one). However it seems to do more harm that good and I'm adding proxy with
deprecation warning for those.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 13:22:47 +0200] rev 8362
[doc] improve 3.15 release blog
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Apr 2012 12:18:33 +0200] rev 8361
[web/views/staticcontrollers] restore windows compat
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8360
Added tag cubicweb-debian-version-3.14.7-1 for changeset 20ee573bd237
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8359
Added tag cubicweb-version-3.14.7 for changeset 3ba3ee5b3a89
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:37:41 +0200] rev 8358
3.14.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 21:52:23 +0200] rev 8357
[3.15 migration] repo-uri is a c-c command option and does not need migration since it doesn't exist in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 18:14:16 +0200] rev 8356
[remote rql source] fix super call
Vincent Michel <vincent.michel@logilab.fr> [Wed, 04 Apr 2012 17:46:34 +0200] rev 8355
[zmq] Add a new ZMQ-based RQL source (closes #2290203)
Vincent Michel and Alain Leufroy [Wed, 04 Apr 2012 17:47:58 +0200] rev 8354
[pyro] Refactor the pyrorql source
Extract most of the code that is not related to Pyro from PyroRQLSource
in a new RemoteSource abstract class.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 10:57:03 +0200] rev 8353
[zmq] add unit tests for ZMQ-based repository (server and dbapi)
Vincent Michel <vincent.michel@logilab.fr> [Tue, 10 Apr 2012 17:09:04 +0200] rev 8352
[dbapi] add possibility to connect to a remote ZMQRepository (closes #2290126)
David Douard <david.douard@logilab.fr> [Tue, 10 Apr 2012 17:07:03 +0200] rev 8351
[repository] fire 'server_shutdown' hooks before waiting for theads
This is required for threaded tasks that use the 'server_shutdown' hook to die properly,
as for example the ZMQ server in an all-in-one configuration
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 16:51:09 +0200] rev 8350
[zmq] Implement a ZMQ-based Repository (closes #2290125)
This Repository server behave mainly like the Pyro-based repository.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 17:03:19 +0200] rev 8349
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:50 +0200] rev 8348
[test] update create_user call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:27 +0200] rev 8347
[test] use setUpClass rather than setUpModule to avoid inter-dependency pb with CubicWebTC sub-classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 14:29:42 +0200] rev 8346
[test] with yams#stable, ordernum is different than with yams#default
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 10 Apr 2012 10:45:40 +0200] rev 8345
[bin] Force clone_deps.py to use mercurial command-line interface - closes #2296057
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 10:42:23 +0200] rev 8344
[table view] EntityTableView should accept **kwargs as RsetTableView
David Douard <david.douard@logilab.fr> [Thu, 05 Apr 2012 22:42:40 +0200] rev 8343
Fix a Python 2.5 regression introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:11:48 +0200] rev 8342
[rql annotation] fix has_text_query detection (if coming from sub-query and if has_text on a column aliases. Closes #2275322
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 Apr 2012 14:44:00 +0200] rev 8341
[etwist] fix static directory serving; closes #2174797
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 14:20:41 +0200] rev 8340
[form renderer] refactor inline form renderer to ease overriding. Closes #2282662
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Apr 2012 18:44:07 +0200] rev 8339
[devtools] fix bashism in xvfb-run.sh
bash's trap builtin accepts SIGUSR1, whereas dash complains. So use USR1 instead.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 15:04:16 +0200] rev 8338
[devtools] fix xvfb-run.sh permissions (exec bit)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 11:01:24 +0100] rev 8337
[form] add a new property telling if the form is being generated or posted. Closes #2262340
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:25:51 +0200] rev 8336
[workflow] set default test/plain option for workflow default comment (closes #993083)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:24:49 +0200] rev 8335
[js] get rid of `partial` function (closes #1972794)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 15:23:47 +0100] rev 8334
[css] change `h3` and `h4` styles(closes #893244)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 21 Mar 2012 18:33:12 +0100] rev 8333
querier: Improve error message when ERQLExpression fails on some entity (closes #2267081)
When an RQL variable is indeed "constant" (we know it's eid) ERQL expression are
not inserted but checked prior query execution. If the session have no read
access to the entity an `Unauthorized` exception is raised.
This changeset add a meaningfull message to this exception::
No read acces on "X" with eid 42.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:13:40 +0200] rev 8332
[js] fix error in loadRemote docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 23:30:19 +0200] rev 8331
[doc] add missing section titles
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 22:24:55 +0200] rev 8330
[doc] fix bad indentation
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Mar 2012 13:29:27 +0200] rev 8329
[server/ldaputils] do not allow ldap.server_down to crash on us
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:34 +0100] rev 8328
Add missing with_statement import for python2.5 compat
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:43 +0100] rev 8327
[devtools] make xvfb-run not wait 3s each time (closes #2265710)
Ask Xvfb to tell us when it's ready instead of unconditionally waiting 3
seconds.
Sync from
http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=blob_plain;f=debian/local/xvfb-run;hb=HEAD
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 11:08:31 +0100] rev 8326
[view] breadcrumbs layout broken with long elements (closes #1347486)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:29:13 +0100] rev 8325
[static-file] return Unauthorized on blocked directory listing
This is more appropriate than 404 NOT FOUND
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:28:24 +0100] rev 8324
[login redirect] only add postlogin_path argument when meaningful
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 19 Mar 2012 14:37:43 +0100] rev 8323
static-file: properly set/use cache header for static file (closes #2255013)
This changesets enables the standard http cache mechanism where the static
controller may reply "304 Not modified" based on `last-modified` in HTTP
response and `if-modified-since` in HTTP query. The last modified time is
computed using the file-system information.
The pre-existing logic using an `Expires` header to prevent client from sending
request stay in place. The new logic just prevents sending the file again if not
necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:25:06 +0100] rev 8322
[repository] move task manager instantiation outside repository.
Repository callers are in charge of providing a task manager.
The task manager is optional when the repository is not a server. This
part is not really expected to work well yet. But we aim to remove all task
management responsibilities from the Repository object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:46 +0100] rev 8321
[repository] split repo initialization from starting looping task (closes #2204047)
This separation highlights that two distinct operations are done. This is a step
towards a full distinction between repo, server and looping tasks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:35 +0100] rev 8320
[repo looping task] move looping task logic in a dedicated object (progress #2204047)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 18:20:20 +0100] rev 8319
[manage / default index views] discard login/logout templates
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 16 Mar 2012 14:23:58 +0100] rev 8318
devtools-request: transmit the headers keyword argument to the request class
Otherwise the headers kwargs end up in the form.
This is very useful for testing publish logic related to http header (as cache).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 17:59:48 +0100] rev 8317
[security] use a stronger encryption algorythm for password, keeping bw compat
Administrator should ask their users to reenter new password so they
benefit from the new encryption.
Also, new encryption is cross-platform compatible, eg you may now move an instance
from windows to linux painlessly
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 15 Mar 2012 17:59:27 +0100] rev 8316
[cache] factorize _validate_cache() logic implemented in wsgi and twisted handlers
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:57:40 +0100] rev 8315
[fake-request] support `http_method()`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 18:34:59 +0100] rev 8314
[Web-Request] Use rich header (closes #2204164)
Unify header management. All web request use the Headers class now (imported
from twisted). Code dedicated to header management have been merged into the
base WebRequest class.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:54:40 +0100] rev 8313
http-header: support __contains__ in Headers
You can now use::
>>> 'expires" in headers
True
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:48:20 +0100] rev 8312
[web] Move request handling logic into cubicweb application. (closes #2200684)
We improve http status handling in the process:
``application.publish`` have been renamed to ``application.handle`` to better
reflect it's roles.
The request object gain a status_out attribute to convey the HTTP status of the
response.
WSGI and etwist code have been updated.
Exception gain status attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:42:31 +0100] rev 8311
[login] split authentication logic from post authentication logic (closes #2200755)
* The Session manager is now only in charge of providing a valid session.
* LoginControllers are now used in all case but wrong credential.
* The LoginControllers are in charge of redirecting the user to the page wanted
to see in the first place, expected to see.
* The login form is now always submitted to the login controller with an extra
argument pointing to the url we should redirect too after successful
authentication.
The ``"log out first logic"`` logic on login controller is removed because:
1. Other web actor do not do that.
2. Removed code do not need to be reimplemented.
3. We can only get it to work again in a single case: use do a GET request on
http://www.my-cw-stuff.io/login
4. I do not see it's purpose.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 12:08:35 +0100] rev 8310
[LoginForm] refactor to ease other implementation
An Abstract BaseLoginForm is created. It is intended to be used by cubes who
want to implement new login form. It gather common login form elements in
particular the form action.
This will ease redefinition of this form action in later commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 15:24:14 +0100] rev 8309
[request] gather all base_url logic in a single place (closes #2200756)
* Handle ``https base-url`` in the core code: ``./req.py`` and ``web/request.py``
* Remove custom ``base_url`` handling if web request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:30:28 +0100] rev 8308
[http] drop use-request-subdomain feature (closes #2251986)
This feature do not have any user nowaday and lays in the path to WSGI.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 10:29:15 +0100] rev 8307
backport stable
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 15 Mar 2012 14:26:12 +0100] rev 8306
[config, undo] Fix undo-support option migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8305
Added tag cubicweb-debian-version-3.14.6-1 for changeset 75364c099490
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8304
Added tag cubicweb-version-3.14.6 for changeset db021578232b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:21:11 +0100] rev 8303
3.14.6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:28 +0100] rev 8302
[debian] add a watch file
Allows tools like uscan to find the tarball for new debian revisions.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:16 +0100] rev 8301
[uilib] don't print timedeltas between 0 and 23h as negative (closes #2236352)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:16:44 +0100] rev 8300
[storage/bfss] ensure bfss never remove a cw_edited item (closes #2236287)
When the <old value> == <new value> (not really and update but can happen), the
value was popped but never restored. The cw_edited attribut had wrong content
for a small time lapse.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:11:40 +0100] rev 8299
[datafeed xml parser] fix typo
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 27 Feb 2012 17:02:31 +0100] rev 8298
[twisted] move out url logic from twisted (closes #2200593)
Data, fck and static file are now served by cubicweb controller by default.
Some hackish url rewriting is necessary to have them selected. This is necessary
because cubicweb does not selection controller on multi level path.
- 'Expires' header seems to conflict with Cache-Control set by HTTPCacheManger
(don't know yet why HTTPCacheManager is involved here)
mod_wsgi is now usable in simple cases (e.g. still requires persisten sessions).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 17:22:56 +0100] rev 8297
[cwconfig] improve assert error message.
Single tuple element are processed in a non trivial way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:09:55 +0100] rev 8296
rqlrewrite: remove element in rewritten when we remove them from the select (closes #2236985)
update _cleanup_inserted to avoid leaving rewritten variable behind when
removing a snipset.
insert_varmap_snippets was impacted too for unclear reason
---
Before
A KeyError was raised when:
* multiple snipset is to be inserted on a statement
* some *supported* snipset adds ambiguity (increase the number of solution)
* some *unsupported* snipset adds new variable
* The new variable require rewritting
::
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 185, in rewrite
newsolutions = self.remove_ambiguities(snippets, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 436, in
remove_ambiguities
variantes = self.build_variantes(newsolutions)
File "/home/pyves/src/fcw/cubicweb/devtools/repotest.py", line 340, in
_build_variantes
variantes = _orig_build_variantes(self, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 470, in
build_variantes
variante.append( (key, sol[newvar]) )
KeyError: u'D'
This happen because the mechanism removing unsupported snipset does not remove
entry in ``self.rewritten`` when it removes entry from
``self.select.defined_vars``.
Iteration on ``self.rewritten`` then crash because values of ``rewritten`` are
expected to
be found in solution.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 02 Mar 2012 15:15:20 +0100] rev 8295
[js] fix $.fullCalendar.regional call (closes #2232028)
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:47 +0100] rev 8294
Added tag cubicweb-debian-version-3.14.5-1 for changeset 55fc796ed5d5
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:46 +0100] rev 8293
Added tag cubicweb-version-3.14.5 for changeset f559ab9602e7
Florent Cayré <florent.cayre@logilab.fr> [Fri, 02 Mar 2012 09:44:58 +0100] rev 8292
[undo, test] fix undohistory selector et related tests
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 15:31:21 +0100] rev 8291
prepare version 3.14.5
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 01 Mar 2012 15:00:58 +0100] rev 8290
fix events display in calendar (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 14:32:42 +0100] rev 8289
[repo test] fix test regression introduced by 8286:8b0146e31baa
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 01 Mar 2012 13:42:30 +0100] rev 8288
[css] in old css, more space around the text, and try to make it centered
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 28 Feb 2012 10:46:38 +0100] rev 8287
[js] translate calendar in french (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:44:44 +0100] rev 8286
[entity url] rest path fallback should be the url used as cwuri. Closes #2186039
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 13:39:43 +0100] rev 8285
[migration] fix add_relation_type in case it already exists, broken by 67660d5f1916
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:55:14 +0100] rev 8284
backport 3.14.4-2
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:51:32 +0100] rev 8283
Added tag cubicweb-debian-version-3.14.4-2 for changeset 4c8cb2e9d0ee
David Douard <david.douard@logilab.fr> [Wed, 29 Feb 2012 17:10:31 +0100] rev 8282
[debian] prepare 3.14.4-2
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Feb 2012 17:10:27 +0100] rev 8281
[debian] add missing build-deps to generate the documentation (closes #2223062)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 18:15:23 +0100] rev 8280
[repo services] set cnxset before calling the service then ensure it's freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:43:04 +0100] rev 8279
[migration] fix migration jumping from pre 3.12 to post 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:40:56 +0100] rev 8278
[migration] add schema obj into assertion failure message so we get a chance to understand the pb
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 13:00:36 +0100] rev 8277
{repository] add documentation explaining ``fix_user_classes`` hook
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 12:47:24 +0100] rev 8276
[devtools/fake] add some https related properties to FakeRequest
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 15:39:19 +0100] rev 8275
[typo] "lod" --> "load"
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:54:14 +0100] rev 8274
[dbapi] some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 11:53:24 +0100] rev 8273
[undo view] fix wrong set operator
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:51:09 +0100] rev 8272
[web application] move default path logic inside url publisher
Previously, this logic was handle by:
* etwist server
* wsgi handler
* web application
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:50:04 +0100] rev 8271
[req, doc] add some documentation of CubicWebRequestBase attributes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:53:34 +0100] rev 8270
[test] more standalone test
add a __main__ section to `etwist/test/unittest_server.py`
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:12:25 +0100] rev 8269
[web templates] fix invalid html in main-no-top template; closes #2174806
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:11:04 +0100] rev 8268
[repository] implement a generic way to call repo-side services; closes #2203418
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 10:03:31 +0100] rev 8267
[web] Exposes the undo feature to user through a undo-history view (closes #893940)
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:45:48 +0100] rev 8266
[undo, transactions] Adds a property in the transaction API. (closes #2202953)
Required by forthcoming changes in undo_web.diff
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:43:15 +0100] rev 8265
[repo, undo] Finish repository-side implementation of the undo feature (closes #893940)
1) Changes API for undo_transaction in order to raise an exception:
the previous API returned a sequence of error, the user of the API
needed to be careful to check explicitly. We change this for it to
raise an UndoException with the list of errors as an attribute.
2) The server-side support for undoing update actions is finished
3) The configuration for `undo-support` is now a simple boolean
Beware of the costs, both in DB space and in number of requests
on the RDBMS backend, once this feture is activated.
4) Adds a txuuid param/attribute to the existing NoSuchTransaction
exception.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Feb 2012 12:35:24 +0100] rev 8264
[rql rewrite] when a subquery has to be introduced, properly return the snippet expression so that further expressions are properly ored. Closes #2207180
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Feb 2012 12:44:28 +0100] rev 8263
[migration/3.14.4] use the right API else we break sqlserver instances (closes #2211248)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 19:06:14 +0100] rev 8262
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Feb 2012 19:05:36 +0100] rev 8261
[devtools] make a copy of the xvfb-run script so we can kill it properly
Since changeset a3d3bdd46463 we don't run firefox directly but through a
wrapper script. This meant that on stopping the test, we would kill
that wrapper script but leave the Xvfb server and firefox processes
running. So make a local copy of xvfb-run, and make it kill Xvfb when
it goes down, not just when its client exits.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 23 Feb 2012 12:15:52 +0100] rev 8260
[ajax] use AJAX_BASE_URL instead of JSON_BASE_URL
JSON_BASE_URL / 'json' should be replaced by AJAX_BASE_URL / 'ajax'
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:58:43 +0100] rev 8259
[web/config] refactor initialization of the data url
Common logic have been moved in a dedicated `data_relpath` function.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 11:58:16 +0100] rev 8258
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 11:57:35 +0100] rev 8257
[test] create temporary directory with meaningfull prefix
It will help cleanup temporary directory when cubicweb test failed to cleanup
themself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 20 Feb 2012 15:16:55 +0100] rev 8256
[schema] make cubicweb 3.14 compatible with yams 0.35
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2012 18:22:02 +0100] rev 8255
[test] fix ReST extensions tests
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 09:33:43 +0100] rev 8254
[web/controller] fix some cases where _cwmsgid may appears twice
the Way the URL was build led to double _cwmsgid parameter in the
URL query, which led in turn to a crash.
We use _cw.rebuild_url to update new params instead of
append_url_params which merely does a textual concatenation.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Feb 2012 09:31:54 +0100] rev 8253
[reledit, autoform] move reledit_form definition in reledit.py
No deprecation handling needed, reledit_form is new in CW 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:14:19 +0100] rev 8252
[hg] ignore ldap database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:13:36 +0100] rev 8251
[ldap migration] use unicode strings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:33:59 +0100] rev 8250
[ldapfeed] fix synchronisation crash: ldap attributes are given while we want cw attributes
and name errors in method checking if a dn still exists in ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 11:46:28 +0100] rev 8249
backport stable
Damien Garaud <damien.garaud@logilab.fr> [Mon, 20 Feb 2012 11:45:16 +0100] rev 8248
Fix bug about missing Interval field (closes #1463996).
Implement Field and Widget dedicated to the yams entity 'Interval':
- TimeIntervalField
- IntervalTimeWidget
Allow to set an integer with a character as a period of time '20s', '48h' or
'3d' for instance (turn into seconds).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 Feb 2012 18:12:38 +0100] rev 8247
[cubicweb-ctl] i18ncube return 2 (failed command) on failure (closes #2192336)
i18ncube command previously returned 0 even on failure. Bisect i18n breakage was
hard.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:55 +0100] rev 8246
[book] document the WEEKDAY rql function
Added in 3.14.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:06 +0100] rev 8245
[rql2sql] correctly handle modulo operator (closes #2192457)
rql has % as a modulo operator. The string we output gets passed to a
substitution function so the % needs to be escaped.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:17:53 +0100] rev 8244
[web-repo] use transaction data, not session data to inform ui about sources error. Closes #2192577
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8243
Added tag cubicweb-debian-version-3.14.4-1 for changeset bc40991b7f13
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8242
Added tag cubicweb-version-3.14.4 for changeset 508645a54287
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 13:08:49 +0100] rev 8241
prepare version 3.14.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:23:24 +0100] rev 8240
[vreg] restore bw compat, eg container expect to find Selector in appobject module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:15:37 +0100] rev 8239
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:14:52 +0100] rev 8238
[spelling] fix dictionnary -> dictionary typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:39:44 +0100] rev 8237
[tabs] use eid parameter instead of rql when an eid is given. Closes #2186288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:16:42 +0100] rev 8236
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:57:07 +0100] rev 8235
[system source] fix authentication: don't allow login whatever the given password if user password is NULL in database. Closes #2186099
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 14 Feb 2012 15:15:59 +0100] rev 8234
[binary] use seek(0) in `from_file` Binary creation method (closes #2189183)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:15:09 +0100] rev 8233
[c-c] use subprocess instead of os.system to start repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:14:40 +0100] rev 8232
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:14:22 +0100] rev 8231
[bfss, migration] fix storage migration (closes #2189206)
The storage migration intend to clean the attributes cache but in practice it
was trying to discard attribut edition. As no attribut were edited this lead to
a crash.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:34:53 +0100] rev 8230
[datafeed] fix dumb name error introduced by recent deletion handling refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:49:13 +0100] rev 8229
[ldapfeed] make authentication actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 15:15:24 +0100] rev 8228
[sources] include source's class in its repr
Alexandre Richardson <alexandre.richardson@logilab.fr> [Mon, 13 Feb 2012 12:49:49 +0100] rev 8227
[email notifications] send notification at post-commit time (closes #2119248)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Feb 2012 12:47:59 +0100] rev 8226
[devtools] Use Xvfb to run firefox in js tests on posix platforms
This way we don't require running tests under X.
Florent Cayré <florent.cayre@gmail.com> [Mon, 13 Feb 2012 12:45:21 +0100] rev 8225
[i18n] fix pb with non-ascii chars in cwd. closes #2149063
David Douard <david.douard@logilab.fr> [Mon, 13 Feb 2012 12:41:04 +0100] rev 8224
[repository] add a ``gc_stats`` method and 2 more cache size for ``stats`` (closes #2179735)
This method returns memory informations in a dictionnary (same informations
as the content displayed by the GCView).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:37 +0100] rev 8223
[test] fix test broken by RichString handling changes in yams #default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:21 +0100] rev 8222
[test] fix test broken by EmailAddress read permissions change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:50:44 +0100] rev 8221
[test] fix test broken by renaming of module containing the cwxml parser and handling of vid in urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:47:07 +0100] rev 8220
[test] fix test broken by selectors/predicates changes coming with the move of registry to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:31:56 +0100] rev 8219
[repo test] fix test broken by recent changes on EmailAddress read permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:47 +0100] rev 8218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:38 +0100] rev 8217
[server test] fix test broken by recent changes in lgdb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:52 +0100] rev 8216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:17 +0100] rev 8215
[schema sync hooks] fix format string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:31:39 +0100] rev 8214
[event bus] event has been renamed to publish
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:23:26 +0100] rev 8213
[schema view] properly display inheritance (closes #870073).
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:22:38 +0100] rev 8212
[workflow view] Display a non-localized version of state/transition names (closes #1912537).
Julien Cristau <julien.cristau@logilab.fr>, Quentin Roquefort <quentin@kpsule.me> [Fri, 10 Feb 2012 16:20:35 +0100] rev 8211
[repo] Add a publish/subscribe mechanism for inter-instance communication using zmq
Each repo can have a publishing and any number of subscribing sockets
whose addresses are specified in the instance's configuration. An
application or cube can subscribe to some 'topics', and give a callback
that gets called when a message matching that topic is received.
As a proof of concept, this introduces a hook to clean up the caches
associated with the repository when an entity is deleted.
A subscription is added using Repository::zmq::add_subscription;
the callback receives a list representing the received multi-part
message as argument (the first element of the message is its topic).
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 10 Feb 2012 10:45:17 +0100] rev 8210
[migration] fire hooks in postcreate by default (closes #1417110)
also turn usage of hooks_control to relevent session's method
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 09:52:02 +0100] rev 8209
[migration] `add_relation_type` warns and add missing definitions on already existing rtypes (closes #2121979)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:36:40 +0100] rev 8208
[i18n] fix translations of login actions in french (closes #1546397)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 18:11:30 +0100] rev 8207
([config] add file encoding information to python files (closes #1942655)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:07:31 +0100] rev 8206
[primary view] delete PrimaryView.skip_none attribute (closes #2093250)
it was already broken anyway, since introduction of reledit (a while ago)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:06:19 +0100] rev 8205
[entities system table] change asource and source column size (closes #1951819)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 10 Feb 2012 10:01:04 +0100] rev 8204
[view] fix error messages of NotImplementedError
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Feb 2012 10:00:00 +0100] rev 8203
kill dead code in Workflow view
This looks like it's been missed in r5224:34e669b6fd95.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Feb 2012 13:22:49 +0100] rev 8202
[bw compat] add compatibility for import of former VRegistry
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Feb 2012 14:30:51 +0100] rev 8201
[views/attribute] role parameter must default to "subject" (closes #2175427)
patwat [Wed, 08 Feb 2012 14:32:35 +0100] rev 8200
[windows service] Copied the 3 lines from etwist/twctl into etwist/service in order to also clean the cache in Windows service mode.
Could be factorised with etwist/server.run
Florent Cayré <florent.cayre@gmail.com> [Wed, 08 Feb 2012 14:22:48 +0100] rev 8199
[entity] fix crash when using cw_instantiate with empty related entity list; closes #2094462
David Douard <david.douard@logilab.fr> [Wed, 08 Feb 2012 14:17:09 +0100] rev 8198
[pylint] correctly detect uiprops module when it's not in a package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 18:35:11 +0100] rev 8197
backport https-deny-anonymous option type fix done in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:53 +0100] rev 8196
Added tag cubicweb-debian-version-3.14.3-1 for changeset 4d0f5d18e8a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:52 +0100] rev 8195
Added tag cubicweb-version-3.14.3 for changeset 60efdbb45520
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 16:54:01 +0100] rev 8194
3.14.3
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 16:34:57 +0100] rev 8193
[web/formwidgets] make default_size a tunable, fix code layout (closes #2165936)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 14:32:11 +0100] rev 8192
[hooks/syncschema] do not crash if the schema did not learn (yet) some new META rtype (closes #2171313)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 02 Feb 2012 17:59:52 +0100] rev 8191
[js] better support for no js in tabs (closes #2162092)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 13:25:02 +0100] rev 8190
[vreg] move base registry implementation to logilab.common. Closes #1916014
A new logilab.common.registry module has been created with content from
* cw.vreg (the whole things that was in there)
* cw.appobject (base selectors and all).
In the process, we've done some renaming:
* former selector functions are now known as "predicate", though you still
use predicates to build an object'selector
* hence `objectify_selector` decorator is now `objectify_predicate`
* the top level registry is now `RegistryStore` (was `VRegistry`)
Also there is no more need for the @lltrace decorator.
On the CubicWeb side, the `selectors` module has been renamed to `predicates`.
There should be full backward compat with proper deprecation warnings.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:33:30 +0100] rev 8189
[datafeed] when checking for deletion using cwentity xml parser, use vid=xml to limit resources consumption
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 21:43:24 +0100] rev 8188
[repository] ldap-feed source. Closes #2086984
datafeed based source which copy a subtree of the ldap directory
into the system database. Authentication still go through ldap though.
Pros:
* don't need temporary tables and such for multi-sources RQL queries execution
* much more flexible to enhance / configure behaviour (you simply have to
replace the parser)
* run better when ldap isn't reachable
Cons:
* no more 'on the fly' discovery of users (though a user authenticating
itself will be automatically added if it doesn't exist in the db yet)
* synchronization may be heavy if there are a lot of users
A new cw.server.ldaputils containing code in common between former ldapuser
and new ldapfeed sources has been introduced. Also ldapuser source now
uses url instead of custom host/protocol option so it looks like a datafeed
source (could be improved).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:30:07 +0100] rev 8187
[datafeed] set delete-entities=yes is now safer, by checking each entity actually seems deleted. Closes #2165381
Parsers now have to implement the `is_deleted(extid, etype, eid)` method that
should return a boolean telling if the given entity exists in the external
source or not.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 11:49:15 +0100] rev 8186
[config, migration] fix https-deny-anonymous option type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 Jan 2012 20:56:00 +0100] rev 8185
[js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489
Julien Cristau <julien.cristau@logilab.fr> [Mon, 30 Jan 2012 20:57:05 +0100] rev 8184
[book] Fix typos in rql datetime functions documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 14:58:38 +0100] rev 8183
[search box] allow to specify domid in select arguments. Closes #2162166
needed when one want to display search box twice in a page (eg logilabfr)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Jan 2012 12:15:57 +0100] rev 8182
[config] fix rql-cache-size initial values (closes #2162160)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 15:55:27 +0100] rev 8181
[migractions] fix comment to avoid ambiguity. Closes #2015260
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 15:27:08 +0100] rev 8180
[storage] BFSS now create read only file (closes #2151672)
In the process binary.to_file now takes a file instead of a file-path. As
storage was currently the only user it should not impact anyone.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:39:21 +0100] rev 8179
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 18:44:41 +0100] rev 8178
[schema synchronization] don't use sql for TODAY/NOW in keyword arg. Closes #2154815
Also consider TZDatetime on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:36:33 +0100] rev 8177
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 12:57:02 +0100] rev 8176
[req cookie] fix remove_cookie expires which was leading to expires computed to 0 in set_cookie and the Cookie class interpret that has no expires. Closes #2154654
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:14:01 +0100] rev 8175
[testlib, postgres] take care, _repo is None when backuping postgres test db, crashing database generation
Florent Cayré <florent.cayre@gmail.com> [Wed, 18 Jan 2012 17:27:11 +0100] rev 8174
[base views] make it easier to override EntityStartupView behaviour when the rset is empty; closes #2126364
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jan 2012 16:14:34 +0100] rev 8173
[excanvas js] missing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 11:55:32 +0100] rev 8172
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8171
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8170
[facets] Make hiding facet body optional (closes #2105862)
Florent Cayré <florent.cayre@gmail.com> [Tue, 17 Jan 2012 14:26:18 +0100] rev 8169
[manage/index view] fix sources management view appearing in index view although it should not; closes #2126335
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:05:04 +0100] rev 8168
[book] add doc about request, session and connection management you need to know when writing tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:04:56 +0100] rev 8167
[test] test/demonstrate relation permissions overriding
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8166
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8165
[facets] Make hiding facet body optional (closes #2105862)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8164
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8163
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:19 +0100] rev 8162
[deprecation] add cw version number to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:07 +0100] rev 8161
[test] fix test broken by 8158:2ee254e74382 and add a test for that change
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 12 Jan 2012 13:04:59 +0100] rev 8160
[doc] Add a small docstring to RQLExpression constructor
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:33 +0100] rev 8159
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:21 +0100] rev 8158
[schema] restrictive email address read permission. Closes #2148141
You may have to update your application schema if you were based on previous settings!
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:28:17 +0100] rev 8157
[tableview] drop useless code: cellvid systematically given by RsetTableView, according to its .[non]finalview attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 Jan 2012 16:33:27 +0100] rev 8156
[tableviews] use ``select_or_none`` instead of ``try: select() except:``
select_or_none is here to avoid multiplying try: except: context in the code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:43 +0100] rev 8155
[bw compat] json_request setter is necessary for some cubes which has json_request (eg preview)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Jan 2012 16:20:49 +0100] rev 8154
gmap: set center and zoomlevel automatically (closes #2144255)
Instead of hardcoding the default zoomlevel and setting the center to
the average of all markers, let gmap compute them so all markers fit in
the map.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 04 Jan 2012 17:21:14 +0100] rev 8153
[views] calendar id in CalendarView must be unique (closes #2143864)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:23:57 +0100] rev 8152
[debian] cubicweb works with python 2.7 (which become the standard on some distros). Closes #2142050
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:07 +0100] rev 8151
[multi-sources] call doexec rather than sqlexec since we do not want to call process_result (as there aren't any and this breaks with lgdb default)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2012 18:44:52 +0100] rev 8150
[sources] hide some attributes from source edition form. Closes #2144160
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 03 Jan 2012 17:59:31 +0100] rev 8149
[https] Allow configuration of anonymous access on https (closes #1971992)
For now any anonymous access in denied on secured connection (https-url). This patch
introduce a configuration option to control this behaviour.
New instance will allow it.
Old instance should stay as is during migration.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 03 Jan 2012 17:00:43 +0100] rev 8148
[bfss] convert root BFSS directory to str in constructor (closes #2137793)
otherwise you can get crashed with AssertionError: Binary objects must use raw strings, not <type 'unicode'>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:21:44 +0100] rev 8147
[rql, security] fix buggy rqlstr cleanup when some introduced snippet create an unresolvable query. Closes #2142041
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 19:05:55 +0100] rev 8146
[ldap test] test actual ldap authentication instead of monkey-patching
also drop usage of not-anymore-necessary constants.
Alexandre Fayolle [Thu, 22 Dec 2011 17:56:04 +0100] rev 8145
[book] Add some details about usage of EXISTS
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:46:55 +0100] rev 8144
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8143
Added tag cubicweb-debian-version-3.14.2-1 for changeset 17ebd836cee3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8142
Added tag cubicweb-version-3.14.2 for changeset 049a3819f03d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:14:01 +0100] rev 8141
3.14.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:13:47 +0100] rev 8140
[i18n] fix french for 'action menu'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 21 Dec 2011 18:26:35 +0100] rev 8139
[server] use lgd.process_cursor to optimize processing of large resultsets
update lgdb dependency to ensure we've a fix necessary for proper behaviour of the previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:04:07 +0100] rev 8138
[css] fix typo in uiprops/css
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:01:48 +0100] rev 8137
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2011 12:13:28 +0100] rev 8136
[sources management] fix crash mapping tab because chain() is not indexable. Closes #2124077
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:01:15 +0100] rev 8135
[css] use listingHeaderBgColor in old css
this also fix inconsistency between background image / bg color
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 17:59:37 +0100] rev 8134
add instance to not implemented error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 09:32:27 +0100] rev 8133
[repo cache] fix cache clearing for an eid: keys are now always a tuple
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:15:49 +0100] rev 8132
missing import statement
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 19 Dec 2011 19:03:27 +0100] rev 8131
fix potential problems when BFSS uses a Windows SMB share (closes #2131435)
files on windows network share must be read / written by chunks of reasonable size
or you get some unusual os level errors.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:25 +0100] rev 8130
[views] (in/outof)context views now use directly dc_(long)_title() (closes #2110235)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:20 +0100] rev 8129
[table] use cell text content when cubicweb:sortvalue is not defined (closes #2093183)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 12:30:12 +0100] rev 8128
[controllers] deprecate JSonController and implement AjaxController / ajax-func registry (closes #2110265)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Dec 2011 12:09:49 +0100] rev 8127
[rql2sql] None for attributes in kwargs generate IS NULL, so should be considered in sql cache key. Closes #2116693
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:57:22 +0100] rev 8126
[tableview] cubicweb:sortvalue should not have 'json:' in its value anymore. This breaks old tables.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Dec 2011 12:14:11 +0100] rev 8125
[schema] React to yams improvement of metadata attribute handling.
* Change the way RichString is deprecated.
* Add documentation about metadata attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:44 +0100] rev 8124
stable is 3.14.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:27 +0100] rev 8123
oldstable is 3.13.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:48:00 +0100] rev 8122
Added tag cubicweb-debian-version-3.14.1-1 for changeset 6928210da4fc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:47:59 +0100] rev 8121
Added tag cubicweb-version-3.14.1 for changeset 793d2d327b3e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:33:38 +0100] rev 8120
3.14.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:32:57 +0100] rev 8119
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8118
Added tag cubicweb-debian-version-3.13.10-1 for changeset 2eab9a5a6bf8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8117
Added tag cubicweb-version-3.13.10 for changeset 2ad4e5173c73
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Dec 2011 14:30:00 +0100] rev 8116
[ajax] make navigation component appear both above and below the view (closes #2110266)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:22:23 +0100] rev 8115
3.13.10
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Dec 2011 13:17:25 +0100] rev 8114
Link to python docs about strftime instead of pointing at "man" (closes #2106415)
Not ideal, but better than pointing all users at Unix command-line tools.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:16:10 +0100] rev 8113
[test] reindent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Dec 2011 10:53:05 +0100] rev 8112
[rqlrewrite] fix comment
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 16:59:20 +0100] rev 8111
[server test] Fix tests regression from changeset 7980b36fb1aa
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 15:11:22 +0100] rev 8110
Tweak message to clarify it gets the pagination back
http://www.cubicweb.org/task/2106487
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Dec 2011 15:20:21 +0100] rev 8109
fix tests broken by lgdb update
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:43 +0100] rev 8108
[migration] Ignore IOError from readline.write_history_file (closes #2106621)
We already ignore them when reading the histfile, no reason writing it
back should be any different.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:41 +0100] rev 8107
[migration] make remove_cube('foo') not fail if foo is already removed. Closes #2106532
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Dec 2011 13:42:23 +0100] rev 8106
[cwconfig] absolute import (closes #2091068)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 13:37:40 +0100] rev 8105
[schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
When an entity type is renamed as part of a migration, it leaves stale
entries in repo._type_source_cache, which makes subsequent operations on
those entities fail (they look for the old entity name instead of the
new one).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 01 Dec 2011 12:48:46 +0100] rev 8104
[facets] forcing a fixed height to the group is a bad idea: the container will not properly overflow
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 29 Nov 2011 12:06:35 +0100] rev 8103
[views/tabs] tests absolutely want an alt attribute (even if meaningless)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 29 Nov 2011 11:18:46 +0100] rev 8102
[navigation] provide a link back from the full view to the paginated one
provide a better marker for navigation induced call detection
Closes #2103687
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 17:00:09 +0100] rev 8101
[sorted navigation] refactor code so that when an attribute is found, nb_chars may be recomputed anyway according to variable type
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:32 +0100] rev 8100
[reledit] implements entity_call instead of cell_call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:15 +0100] rev 8099
[merge] backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Nov 2011 16:57:31 +0100] rev 8098
[skel] default debian/rules use pysupport to compile python files
Drop the unused python-dev build-dependency (only necessary for binary extensions)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:58:18 +0100] rev 8097
use dbhelper functions to get default date / datetime (closes #2094544)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:26:06 +0100] rev 8096
actually a bad idea, sorry
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 23 Nov 2011 11:23:51 +0100] rev 8095
[web/views/tabs] improve non graphical experince with tabs (closes #2097405)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 14:45:13 +0100] rev 8094
[tableview] fix action menu layout (closes #2099011)
* on the left instead of the right of the table
* remove the arrow and the bullets
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 12:30:05 +0100] rev 8093
[facets] do no stretch to the right when there are many facets; instead use a floating layout (closes #2093160)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 11:46:30 +0100] rev 8092
[views/table] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:20:36 +0100] rev 8091
fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:53:14 +0100] rev 8090
added log when operation precommit fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:19:56 +0100] rev 8089
[EntityTableView] smarter header for MainEntityColRenderer: use plural form only when necessary. Closes #2093182
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:21:04 +0100] rev 8088
[tableview] enhance RelationColRenderer. Closes #2093184
* subvid should only be explicitly specified, or default when main view (vid)
is known to support it (eg 'list' / 'csv')
* new is_rtype_view boolean flag to ease usage of view based on original
entity with a relation name and role, as the 'reledit' view for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:51 +0100] rev 8087
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:32 +0100] rev 8086
[reledit] default label should be translated, I don't thing we've an opportunity to do it another way as uicfg objects are static
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:27 +0100] rev 8085
[rset] fix crash while building entity from rset w/ some subquery. Closes #2089055
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:23:14 +0100] rev 8084
[email bug report] _cw.config bw compat has been dropped, use _cw.vreg.config (+ small cleanup). Closes #2086985
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:22:18 +0100] rev 8083
[users management view] return None if no entity related, not an empty tuple. Closes #2089085
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Nov 2011 12:13:48 +0100] rev 8082
merge stable changes to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Nov 2011 23:18:56 +0100] rev 8081
[http, windows] fix remove_cookie trying to expire a cookie before the Epoch (closes: #2087998)
time.gmtime on windows will raise a ValueError if a negative argument is supplied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:13:40 +0100] rev 8080
[etype restriction component] rql 0.31 doesn't accept anymore a variable ref as add_type_restriction argument. Closes #2086983
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:12:37 +0100] rev 8079
[3.14 migration] strip constraint value to avoid extra new lines
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:19:24 +0100] rev 8078
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8077
Added tag cubicweb-debian-version-3.14.0-1 for changeset 0bfe22fceb38
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8076
Added tag cubicweb-version-3.14.0 for changeset 5c4390eb10c3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:43:01 +0100] rev 8075
[test] add some tests for rql's add_type_restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:41:12 +0100] rev 8074
add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:34:08 +0100] rev 8073
[packaging] common subpackage has been dropped
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:17:54 +0100] rev 8072
3.14
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 16:42:33 +0100] rev 8071
[js/tablesorter] work around tablesorter deficiencies (bool handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:55:25 +0100] rev 8070
[tableview] fix __init__ logic of sortfunc/sortable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 15:13:13 +0100] rev 8069
[datafeed log] properly log errors catched at the source level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:03 +0100] rev 8068
[data import log] log on the source so we properly have source name information
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 15:06:03 +0100] rev 8067
[facets] reenable facet hiding (was lost in the previous refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:41 +0100] rev 8066
[tableview] drop comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:16:53 +0100] rev 8065
[tableview] deepcopy of colrenderer was actually broken with py < 2.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:09:13 +0100] rev 8064
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:08:40 +0100] rev 8063
[html, ajax] demote_to_html don't crash anymore if force-html-content-type is activated. Closes #712309
Anthony Truchet <anthony.truchet@logilab.fr> [Fri, 04 Nov 2011 17:29:39 +0100] rev 8062
[doc] fix data hooks parent class in Hooks doc.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:56:39 +0100] rev 8061
[pylint] enhance plugin: define 'data' function in uiprops module
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 07 Nov 2011 10:55:15 +0100] rev 8060
[table] display navigation component both above and below the table
+ add the ``show_all_option`` class parameter on TableLayout
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:54:17 +0100] rev 8059
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 17:16:15 +0100] rev 8058
[table view] some new table view enhancements
* rewrite entiy table view column renderers to use default_* methods instead
of lambda so that column_renderers may be properly deep-copied
* new RelatedEntitiesColRenderer
* default addcount to false on RelatedEntityColRenderer
* more doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 14:57:41 +0100] rev 8057
[navigation] extract method from SortedNavigation.call to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:56 +0100] rev 8056
[cleanup] drop some appengine support junk
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:52 +0100] rev 8055
[table view] properly handle show/hide filter actions so we get proper action displayed even when recalled from pagination
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:35 +0100] rev 8054
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:33 +0100] rev 8053
[pagination] closes #2072029: add css class to div for "see them all" link for pagination.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:30 +0100] rev 8052
[prev/next] properly translate previous/next links' title, closes #2072158
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Nov 2011 16:01:41 +0100] rev 8051
[rql, integrity] let ValidationError and Unauthorized pass during composite deletion (closes #2070042)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 28 Oct 2011 17:54:24 +0200] rev 8050
[table view, workflow] fix the display of wf history table (closes: #2065652)
was relying on no more used 'cell' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:28:30 +0100] rev 8049
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:27:31 +0100] rev 8048
[rset] replace entity cw_rset on .limit(inplace=True) will avoid pb if the entity is still referenced by some other entity relations cache. Closes #2065643
Also, drop '_resultset' from some test names on the way (redundant information, we're
in ResultSetTC...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:44:02 +0100] rev 8047
[instance creation] properly search for sql extension in the schema directory. Closes #2068117
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:37 +0100] rev 8046
[entity table view] add count default to true on main entity column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:35 +0100] rev 8045
[table sort] should eval cubicweb:sortvalue to make it works properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:21 +0100] rev 8044
[rqlinput] cleanup (use req everywhere) and fix html validation issue (input outside fieldset)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:37:04 +0100] rev 8043
[js table sort] use lower cased tag names since HTML is case insensitive and XHTML is case sensitive and wants lower case tag names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:50 +0100] rev 8042
[old table view] drop duplicated method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:33 +0100] rev 8041
[edit controller] only display warning on specific adapters
also drop buggy @deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:31:18 +0100] rev 8040
[wysiwyg editor] disable server browsing by default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 12:07:37 +0200] rev 8039
[doc] add some documentation on url path evaulators
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:44:50 +0200] rev 8038
fix typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:26 +0200] rev 8037
[diet] move iprogress to its own cube. Closes #1916016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:25 +0200] rev 8036
[facetable views] allow extra hiddens to be specified when selecting the facets form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:24 +0200] rev 8035
[export views] uniformize titles, much nicer when listing possible views. Closes #2060944
Florent Cayré <florent.cayre@gmail.com> [Fri, 28 Oct 2011 11:31:11 +0200] rev 8034
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:34:12 +0200] rev 8033
[uihelper] fix bad variable renaming
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:32:48 +0200] rev 8032
[doc] fix most of ReST compilation errors and warnings
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 12 Oct 2011 15:56:40 +0200] rev 8031
Update documentation about resource mode.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 27 Oct 2011 18:19:00 +0200] rev 8030
[uicfg] add uihelper module with high-level helpers (closes #1809414)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:16 +0200] rev 8029
[ui lib] facet and form widget for Integer used to store binary mask. Closes #2054771
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:03 +0200] rev 8028
[tableview] .entity method is useful on EntityTableView as well, move it there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:02 +0200] rev 8027
[schema, old instance] restore some pre 3.5.10 bw compat as some old instances may still have this, and add migration so we can remove it at some point
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:59:06 +0200] rev 8026
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:58:21 +0200] rev 8025
[views/facets] backout 82d76492e21e - this was not actually needed and caused some problems ...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:12:35 +0200] rev 8024
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:11:30 +0200] rev 8023
[test, facets] fix prepare_rqlst arguments, it wasn't actually testing baserql due to name conflicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:59:15 +0200] rev 8022
[test] specify X type, as this is not infered from NOT identity with rql#default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:57:51 +0200] rev 8021
useless debugged breaks test with python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:22:19 +0200] rev 8020
[rql2sql] fix regression introduced in 8018:f01c80513274 leading to bad execution of DELETE queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:21:45 +0200] rev 8019
[test] unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 14:03:52 +0200] rev 8018
[rql] closes #2054468: support for HAVING in SET/DELETE queries
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 25 Oct 2011 14:03:32 +0200] rev 8017
[book] Some minor fixes to the CubicWeb doc (typos, invalid ReST, ...)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Oct 2011 13:51:27 +0200] rev 8016
[tableview,jsoncontroller] the json controller must check view.handle_pagination as well & the old table view also handles pagination internally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:52:24 +0200] rev 8015
[ui, pagination] when sorted in some date type, auto-set max characters (closes #2053038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 13:51:39 +0200] rev 8014
[tableview] extract two methods from render_table to ease subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:19:23 +0200] rev 8013
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Oct 2011 13:18:58 +0200] rev 8012
[deprecated] TableView: update some documentation
All parameters that can be passed through the req.form are now handled at the
beginning of the call method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:13:45 +0200] rev 8011
[column labels] full display_name prototype compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:09:05 +0200] rev 8010
[book] update copyright
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 08:55:07 +0200] rev 8009
[tableview,basetemplates,pagination] some views internally handle the pagination, in which case the base template should not try to paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:59:42 +0200] rev 8008
check entity's cwuri and remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:16:14 +0200] rev 8007
[tableview] fix bad attribute name
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 18:37:30 +0200] rev 8006
[tableview] sortvalue truncation should be somewhat configurable
Florent Cayré <florent.cayre@gmail.com> [Fri, 21 Oct 2011 18:10:50 +0200] rev 8005
fix broken tests (at least by #1800002)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 18:02:40 +0200] rev 8004
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:52:37 +0200] rev 8003
undo garbage shipped in 9a73d5e762b0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:50:56 +0200] rev 8002
[test] one more base etype...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:48:56 +0200] rev 8001
[test] limit size is now done by the layout
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:42:56 +0200] rev 8000
[facets] fix context passing + a note for later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:14:05 +0200] rev 7999
[table view] fix regression in old table view leading to malformed html
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:25:32 +0200] rev 7998
[utils] add a ``js_href`` function to generated proper javascript href
The main gain is the escaping of %
* * *
[pagination] use js_href for building javascript link (closes #2035033)
This prevent snicky error with url unquoting of javascript code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7997
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7996
[facets] view should be propagated up to facet selection, so we can get different facets according to the view. Closes #2036527
Julien Cristau <julien.cristau@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7995
Record a log of datafeed source imports (closes #2026097)
Formatting, css and js stolen from narval.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7994
[management table] upgrade sources groups management table to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7993
[management table] fix and upgrade users and groups management tables to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7992
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
See the tickets for a description of the why.
* one should now use RsetTableView instead of TableView and EntityTableView
instead of EntityAttributesTableView.
* a flexible layout object has been extracted, TableLayout
* PyVaTableView has been rewritten using the same base class / renderer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7991
[web component architecture] extract LayoutableMixIn from components
in the intend to use it in the table refactoring to come.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7990
[diet] drop pre 3.6 API compatibility (but attempt to keep data cmopatibility). Closes #2017916
notice drop of the .paginable property necessary for 'paginable' affectation as done in the
forthcoming table views refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:18 +0200] rev 7989
[test] restore support for python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:45 +0200] rev 7988
[forms] update code broken by linkto refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:26 +0200] rev 7987
[rdf] drop buggy (name error) try/except (done using related(safe=True))
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:36:30 +0200] rev 7986
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:04 +0200] rev 7985
Added tag cubicweb-debian-version-3.13.9-1 for changeset 0a3cb5e60d57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:03 +0200] rev 7984
Added tag cubicweb-version-3.13.9 for changeset 07afe32945aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:03:54 +0200] rev 7983
3.13.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 10:59:57 +0200] rev 7982
[selectors] EClassSelector (eg is_instance & all) should check for None value (possible w/ outer join) when a row is specified. Closes #2033165
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:51 +0200] rev 7981
[test] fix failure introduced by localperms cube introduction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:48 +0200] rev 7980
[test] fix failures introduced by 7951:b7c825b00f64
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:29 +0200] rev 7979
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7978
[test] fix datafeed test, we have to use an internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7977
[test] drop some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7976
[ibreadcrumbs] missing xml_escape on latest path part (usually view's title). Closes #2037506
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7975
[test] fix test failure caused by 7922:d307c3817782
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7974
[test] fix regression introduced in 7915:a7f3245e1728 leading to test's postcreate not being executed anymore
Florent Cayré <florent.cayre@gmail.com> [Thu, 20 Oct 2011 16:03:51 +0200] rev 7973
[entity] restrict creation form field vocabulary using __linkto information (closes #1799997)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:22:48 +0200] rev 7972
Add generated documentation to .hgignore.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Oct 2011 14:22:16 +0200] rev 7971
[uilib] add missing printer for integers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:20:46 +0200] rev 7970
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:17:52 +0200] rev 7969
[rset] don't only consider a sample select node / solution to compute rset description. Closes #2036499
those particular ones may miss information that we may found in another select or solution
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2011 17:08:05 +0200] rev 7968
[rset] use .iteritems() instead of items()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:50 +0200] rev 7967
merge back stable change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:12 +0200] rev 7966
remove stale debugging statement
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 29 Sep 2011 16:44:55 +0200] rev 7965
[server] fix integrity checks that destroy data (closes #1972842)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 19:27:54 +0200] rev 7964
[entity related rql] 'is' relation target constant should have 'etype' type, not String
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 15:08:25 +0200] rev 7963
[entity] fix dumb name error introduced by 3.14 entity refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 16:42:10 +0200] rev 7962
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 15:19:25 +0200] rev 7961
[js] missing trailing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:42:00 +0200] rev 7960
[test] map pgettext to unicode as _
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:41:44 +0200] rev 7959
[table view] fix bug introduced in 7938:80c6e2155c3d leading to not translated table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:51:54 +0200] rev 7958
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:50:46 +0200] rev 7957
[test] fix some failures recently introduced
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:36:39 +0200] rev 7956
add missing imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 10:34:08 +0200] rev 7955
[selectors] match_kwargs and match_form_params selectors both accept a new `once_is_enough` argument (closes #1990438)
also fix docstring of match_exception and references to selectors in the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Oct 2011 10:33:31 +0200] rev 7954
[cache] replace lgc.cache with something more appropriate (closes #1921713)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 09:21:45 +0200] rev 7953
merge and fix cubicwebSortValueExtraction pb which disappeared when tablesorter.js has been updated
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Oct 2011 09:04:39 +0200] rev 7952
[table] use explicit add_onload() to setup table sorting (closes #2013493)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:51:24 +0200] rev 7951
[schema display] display_name shouldn't call .lower(). Note the only proper way is to have different msgid for upper/lower cases. Closes #1105433
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:50:09 +0200] rev 7950
[ms repository] when an exception is raised during extid2eid and no rollback is done, some manual cleanups have to be done (closes #1993420)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:49:58 +0200] rev 7949
[facets] on the way to vidargs removal
our roving on the table view, which leads to introduction of this feature,
proved it was not the way to go.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 13 Oct 2011 11:49:19 +0200] rev 7948
[migraction] fix cmd_change_attribute_type command (closes #2015073)
use dbhelper to avoid issuing unsupported SQL
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2011 10:24:27 +0200] rev 7947
[action] has_editable_relation first argument is once_is_enough flag, not an action name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:52 +0200] rev 7946
[table] Only apply sorting event on the first row of a table header (closes #1988780)
We use the new selectorHeaders from table-sorter 2.0.5
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Oct 2011 18:30:29 +0200] rev 7945
[table js] Update jquery-tablesorter to 2.0.5 (closes #1989018)
The cubicweb specific code is moved to the table view.
This version add a new useful option for #1988780
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Oct 2011 09:44:14 +0200] rev 7944
init_facets: Add documentation
init_facets is not included in the default sphinx documentation but this
docstring should help people digging into cubicweb core. This could go in an
Advanced developer section of the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Oct 2011 09:25:26 +0200] rev 7943
[facets] try to get rid of arbitrary constants, be prettier and eat less space (closes #1988706)
Florent Cayré <florent.cayre@gmail.com> [Thu, 13 Oct 2011 09:15:16 +0200] rev 7942
[edit controller] add form to pre_web_edit signature to ease linkto usage (used by vcsfile cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:22 +0200] rev 7941
pylint extension
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:15 +0200] rev 7940
[printers] fix bug introduced by final view refactoring:   shouldn't be escaped.
Also remove some msgids which should have been removed during this refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 16:01:44 +0200] rev 7939
Add a hidden input:submit field in facets form (closes #1988784)
<Enter> is supposed to submit the form only if there is a single
input:text field. However most browsers will submit the form
on <Enter> anyway if there is an input:submit field.
see: http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2
Firefox 7.0.1 does not submit form on <Enter> if there is more than a
input:text field and not input:submit but does it if there is an
input:submit.
IE 6 or Firefox 2 behave the same way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:18:14 +0200] rev 7938
AnyRsetView: Refactor the columns_name method and update doc.
We drop the 'label_column_%s' % colidx pattern and add a clean column_label
method that might be overwritten by children class to alter the way default
columns headers are computed.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:06 +0200] rev 7937
[facets] FacetFilterMixIn: add documention for class and generate_form
There is also a small refactoring to make the code clearer. An intermediate
variable is introduced and the call is reindented to make it clearer. No logic
change.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 14:04:18 +0200] rev 7936
[facet] Add infered type restriction to Filtered result set (closes #1988776)
This does not alter the result while allowing more selection option on other
variable than the filtered one.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 14:28:48 +0200] rev 7935
[source] remove uicfg rule for dropped synchronizing attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:55:58 +0200] rev 7934
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:54:17 +0200] rev 7933
[datafeed] remove remaining uses of 'synchronizing' attribute replaced by 'in_synchronization' in 3.13.8. Closes #1989131
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:50:32 +0200] rev 7932
[datafeed parser] only update an entity attributes when needed. Closes #1989142
This may avoid error with some entities which have immutable attributes
and don't check something actually changed.
Also, avoid modifying the cached item representation, this may cause pb
when an item is seen several times during an import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 11:00:24 +0200] rev 7931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 10:59:35 +0200] rev 7930
[schema] drop erroneous default on CWSource.in_synchronization. Closes #1990585
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Oct 2011 16:15:55 +0200] rev 7929
[forms] fix bug in linkto refactoring (misordered arguments)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:29:14 +0200] rev 7928
[migration] update old yams api in change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:18:10 +0200] rev 7927
[schema] add missing import (trigger warning)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7926
Added tag cubicweb-debian-version-3.13.8-1 for changeset 43f83f5d0a4d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7925
Added tag cubicweb-version-3.13.8 for changeset 249bd4169339
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:21:04 +0200] rev 7924
3.13.8
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 07 Oct 2011 15:55:49 +0200] rev 7923
[facets] use encodeURIComponent instead of escape to encode url paremters (closes #1984727)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:15 +0200] rev 7922
[repository] use utcnow instead of now for some internal timetamps (closes #1988458)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:14 +0200] rev 7921
[datafeed] add max-lifetime for concurrent synchronization lock (closes #1908676)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:59:20 +0200] rev 7920
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:56:04 +0200] rev 7919
[view, plot] deprecate flot and encourage usage of the jqplot cube (closes #1625218)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 18:23:01 +0200] rev 7918
remove 3.14 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:42 +0200] rev 7917
sample script to turn a pyro source into a datafeed source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:09 +0200] rev 7916
[datafeed parser] properly recurse on nodes to follow all mapped relations (closes #1988432)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:15:16 +0200] rev 7915
[migration] expose migration methods to execute schema/*.sql and migration/<event>.py files (closes #1986498)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7914
[request, ui] printable_value is now a method of request, and may be given dict of formatters to use (closes #1984743)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7913
[web, formatting] move Interval data type display logic from final view to printable_value (closes #1984742)
also, fix implementation so that negative time delta are properly considered
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 06 Oct 2011 10:13:24 +0200] rev 7912
[js] Remove tab mixed with space in ``web/data/cubicweb.facets.js``
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 10:09:42 +0200] rev 7911
[xml/rdf views] handle case where the user hasn't read access to a relation (closes #1984598)
The view shouldn't crash in such case.
Also refactor xmlrelateditem view and its call on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 18:45:38 +0200] rev 7910
[datafeed] don't crash if url is not specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:59:12 +0200] rev 7909
[web session] ProgrammingError may be raised, we should catch it (closes #1980076)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:58:57 +0200] rev 7908
[web auth] closes #1981680: authentication info retriever should be given a chance to cleanup data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 12:23:52 +0200] rev 7907
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:10:28 +0200] rev 7906
repaire cctl db-init -d on sqlserver (closes #1979670)
requires an updated yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:29:56 +0200] rev 7905
[test, sqlserver] update test for fixed impl. of date extraction function for sqlserver (lgdb 1.7)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:18:35 +0200] rev 7904
[rql, sql] support for weekday function introduced in lgdp 1.7 (closes #1979717)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:46 +0200] rev 7903
[pyviews] new colheaders and cssclass arguments on pyvaltable (closes #1979718)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:45 +0200] rev 7902
[rql2sql] support for outer join on column alias (closes #1979645)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:21:05 +0200] rev 7901
[linkto] update documentation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:08:00 +0200] rev 7900
improve EntityAttributesTableView perfs by adding a call to complete()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:05:57 +0200] rev 7899
fix typo in comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:16:29 +0200] rev 7898
[ms, test] fix source deletion pb, detected by test since 7885:9454b7ef5ae4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:15:40 +0200] rev 7897
[book] startup views: add a note about *manage* view
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 09 Aug 2011 09:43:26 +0200] rev 7896
[lint] remove uses of "print >> sys.stderr" (closes #1908571)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 15:28:41 +0200] rev 7895
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:47:04 +0200] rev 7894
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:46:41 +0200] rev 7893
[js] add proper excanvas.js (patched version provided with jqplot, but with proper copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:39 +0200] rev 7892
Added tag cubicweb-debian-version-3.13.7-1 for changeset 2f93ce32febe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:38 +0200] rev 7891
Added tag cubicweb-version-3.13.7 for changeset 68e8c81fa96d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:09:34 +0200] rev 7890
3.13.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:07:37 +0200] rev 7889
[linkto] test for main form should be done in the link_to dictionary computation, else we may get erroneous values for sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:45 +0200] rev 7888
[req] .view should not catch [Object|Registry]NotFound (which is a bug), only NoSelectableObject (closes #1973681)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:42 +0200] rev 7887
[repository] when deleting relations of a deleted external entity, we should skip non-crossable relation (closes #1973680)
elses this may lead to things as described in the ticket...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 13:53:34 +0200] rev 7886
[ms planning] raise BadRQLQuery when two variables related by a non-crossable relation should come from two different sources (closes #1973767)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:28 +0200] rev 7885
[ms, test] propagate exception in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:20 +0200] rev 7884
[repo] cleanup [_]delete_info prototype: extid argument isn't used
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 27 Sep 2011 09:26:40 +0200] rev 7883
[views] fix docstring of tableview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 14:33:43 +0200] rev 7882
remove remaining junk from bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 11:17:49 +0200] rev 7881
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 10:36:41 +0200] rev 7880
[sync schema hooks] pylint fixes have broken hasattr test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 09:27:42 +0200] rev 7879
[pylint] fix pylint detected errors and tweak it so that pylint -E will be much less verbose next time (+ update some copyrights on the way)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 09:01:17 +0200] rev 7878
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 08:16:10 +0200] rev 7877
[json] restore 2.5 compat
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 27 Sep 2011 18:47:11 +0200] rev 7876
[views] implement json / jsonp export views (closes #1942658)
Json export views are based on the same model as CSV export views.
There are two distinct views :
- *jsonexport* : direct conversion of the result set into json
- *ejsonexport* : convert entities into json
The JSONP parameter is named ``callback`` (same as on geonames, dbepdia
and a lot of sites)
An optional `_indent` request parameter can be passed to pretty print
the results.
Florent Cayré <florent.cayre@gmail.com> [Tue, 27 Sep 2011 18:46:36 +0200] rev 7875
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 Sep 2011 16:04:30 +0200] rev 7874
[facet] add safety belt to rql path facet init (closes #1965481)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Sep 2011 14:57:41 +0200] rev 7873
[cleanup] kill broken livetest module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Sep 2011 08:17:56 +0200] rev 7872
[req cookie] fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:46:04 +0200] rev 7871
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:45:51 +0200] rev 7870
[test] unicode name/value in cookie makes tests failing (SimpleCookie then suppose it's a dict...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:35:44 +0200] rev 7869
fix bad merge (unsaved buffers...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:24:08 +0200] rev 7868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:09:12 +0200] rev 7867
fix merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:08:44 +0200] rev 7866
Added tag cubicweb-debian-version-3.13.6-1 for changeset 8a8949ca5351
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:08:43 +0200] rev 7865
Added tag cubicweb-version-3.13.6 for changeset 17c007ad845a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:38:38 +0200] rev 7864
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:37:23 +0200] rev 7863
Added tag cubicweb-debian-version-3.12.10-1 for changeset 9dfd21fa0a8b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:37:23 +0200] rev 7862
Added tag cubicweb-version-3.12.10 for changeset 074c848a3712
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:36:09 +0200] rev 7861
3.13.6
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Sep 2011 18:25:22 +0200] rev 7860
[web/facet] fix example selector in docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:03:38 +0200] rev 7859
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 17:48:48 +0200] rev 7858
[web request] fix stupid error that gone through the review
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 17:23:01 +0200] rev 7857
3.12.10
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 07 Jun 2011 11:42:08 +0200] rev 7856
[skeleton] fix new class configuration in realdbtest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:16:29 +0200] rev 7855
[web request] fix cookie 'expires' formating (closes #1953945)
This was because cookie.expires wasn't processed in cw.etwist.http,
though this code should had never existed, instead proper twisted
method should be called.
Also, move on the way to headers handling simplification and rewrite
cw request.set_cookie / remove_cookie to directly use the Cookie class
in cw.web.http_headers rather than going back and forth
simple cookie <-> raw string <-> http_headers.Cookie
IMO more on this should be done.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:17:12 +0200] rev 7854
[web] properly redirect when user login on loggedout view (closes #1954050)
This avoid getting a "you've no access to this view" message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:54 +0200] rev 7853
[i18n] update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:44 +0200] rev 7852
[schema, cleanup] one more case for add_etype_button
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:09 +0200] rev 7851
[i18n, facet] missing registration of <no relation> msgid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 15:41:21 +0200] rev 7850
[test] sort to avoid random failure due to dict order
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Sep 2011 15:05:09 +0200] rev 7849
[facets] fix height computation (incorporates and/or element if present, use css value to compute likely maximum height, kill wdg_stack_size) (closes #1954077)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:56:31 +0200] rev 7848
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:56:13 +0200] rev 7847
[primary view] add 'verbatim' attribute view (closes #1947475)
this patch has been applied to default accidentaly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:43:44 +0200] rev 7846
[primary view] add 'verbatim' attribute view (closes #1947475)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:18:13 +0200] rev 7845
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:40:50 +0200] rev 7844
[doc] split API/book part of stuff that has been moved in primary view module docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:23:09 +0200] rev 7843
[rqlrewrite] if inlined relation has to be moved to a subquery, take care of the object of the relation (closes #1945725)
As the object of the relation is moved to the subquery, all variables/relations representing
some of its attributes or inlined relations should be moved there as well.
This avoid error such as "BadRQLQuery: variable AF should be selected by the subquery"
on security insertion.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Sep 2011 10:42:16 +0200] rev 7842
[views/facets] simple horizontal layout when there are a few facets only (closes #1921709)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 09:17:37 +0200] rev 7841
[breadcrumbs] keep proper breadcrumbs when creating an entity linked to another by inspecting __linkto (closes #1947476)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 09:10:58 +0200] rev 7840
[web test] secondary view isn't listed anymore by possible view since it use the class_deprecated metaclass
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 22 Sep 2011 17:29:40 +0200] rev 7839
ensure the test for asource column won't crash on SQLServer (closes #1949621)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:13:58 +0200] rev 7838
[doc] backport primary view documentation into the code, also document [URL]AttributeView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:39 +0200] rev 7837
[primary sub views] use entity_call instead of cell_call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:36 +0200] rev 7836
[doc] get back baseviews documentation into the code, enhance it and reorganize the module accordingly
also properly deprecates SecondaryView as it should have been done a while ago.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:29 +0200] rev 7835
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:52 +0200] rev 7834
[reledit] honore 'rvid' for attribute relations (closes #1947471)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:41 +0200] rev 7833
[view] fix TypeError when calling req.view('vid', entity=entity) (closes #1947474)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:38 +0200] rev 7832
[sources management] nicer source management view and breadcrumbs (closes #1946329)
* nice 'add host config button'
* table displaying host configuration
* display a source's config using <pre> or something like that that respects EOL
* configure breadcrumbs for CWSourceSchemaConfig and CWSourceHostConfig
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 16:53:46 +0200] rev 7831
[cubicweb.js] log evalJSON errors (closes #1947473)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 16:53:43 +0200] rev 7830
[views/table] parametrize table view co-classes (closes #1947472)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:33 +0200] rev 7829
[cwproperties] refactor properties form to make it partly overrideable easily (closes #1936782)
also fix some pitfalls on the way:
* shouldn't capitalize labels, this has to be done in translation files as desired
* form_row in CWProperties form didn't return subform as its parent class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:28 +0200] rev 7828
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:23 +0200] rev 7827
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
of rql generation parts of the ORM now based on rql syntax tree. This allows more powerful and
flexible sort control by giving them the syntax tree instead of manipulating string.
Also:
* prefix new methods by 'cw_'
* fix cases that currently crash in 3.14 due to the refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 15:55:58 +0200] rev 7826
[schema] drop CWSourceSchemaConfig[cw_for_source,cw_schema] unique constraint (closes #1946277)
as they are not necessarily unique, eg when one want a configuration for both
subject and object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 15:54:57 +0200] rev 7825
[cleanup]
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 10:04:20 +0200] rev 7824
[jsoncontroller] deprecate the now unused js_set_cookie (closes #1944810)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 10:02:25 +0200] rev 7823
[repo] ensure we don't restart a task while the repo is shutting down (closes #1942736)
we need a safety belt in cw itself again looping task which use 'try / except'
or doesn't need to access the db (which will trigger ShuttingDown exception)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 10:02:17 +0200] rev 7822
[warnings] explicitly ask to show DeprecationWarning in debug mode (closes #1942760)
as python 2.7 don't show DeprecationWarning by default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 22 Sep 2011 09:56:20 +0200] rev 7821
[testlib] make self.view() return raw output if no validator is used
This will make it possible to parse and test view's output even if no
validator is associated to the view's content type.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 21 Sep 2011 19:04:33 +0200] rev 7820
[tabs] do not use an ajax call to set cookie value, use jquery.cookie helper instead (closes #1944522)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 21 Sep 2011 19:00:49 +0200] rev 7819
[tabs] fix clic on tab that does nothing (closes #1942750)
(there was an area around the text that would trigger the tab switch but not load the tab content)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 18:35:45 +0200] rev 7818
[idownloadable] dtw and up copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 18:35:39 +0200] rev 7817
[test] fix test broken by 7815:2a164a9cf81c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 17:38:44 +0200] rev 7816
[entity doc] fix typo (rest_var instead of rest_attr) and cleanup doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 17:38:00 +0200] rev 7815
[exceptions] stop catching any exception in various places (closes #1942716)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 15:14:04 +0200] rev 7814
[tableview] fix view selection when value is None (closes #1936781)
* in case of None on final view, use explicitly asked view anyway
* when etype is None, that means it's a non final entity type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 15:13:42 +0200] rev 7813
[book] merge pyro chapter with faq entry with connexion snippet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 09:20:41 +0200] rev 7812
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 09:20:17 +0200] rev 7811
[schema view] fix label/name inversion leading to wrong css class / group url depending on user's language
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 19:13:50 +0200] rev 7810
[i18n] tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 14:22:51 +0200] rev 7809
[i18n] cleanup messages moved to localperms cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 14:22:28 +0200] rev 7808
[security view] slight changes to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 17:30:26 +0200] rev 7807
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 16:42:42 +0200] rev 7806
[refactoring] introduce add_etype_button function to properly create button to add a new entity
also properly use cw_create_url to generate the URL to add the entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 17:10:33 +0200] rev 7805
[user prefs] use same title as the action for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 14:43:41 +0200] rev 7804
[sources management] properly set __linkto, closes #1922970
when clicking on 'add mapping part' on an external source view, one expect to have source properly selected in form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 14:01:17 +0200] rev 7803
some minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 13:56:00 +0200] rev 7802
[web test] fix test broken by new users/groups management views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:28 +0200] rev 7801
[table view] allow to set None in 'headers', meaning the label should be fetched from the result set as done by default (closes #1931533)
the point of this is to avoid having to define the whole headers list when only
some of them have to be defined.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:26 +0200] rev 7800
[user management] users and groups management now really lead to that (closes #1931478)
ie, one tab for users, another for groups. By default the groups tab
simply list existing groups (with the number of users they count), and
propose to create a new group.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:02 +0200] rev 7799
[css] use h* title properties from uiprops in cubicweb.old.css (closes #1931476)
+ minor cleanup of cubicweb.css
Florent Cayré <florent.cayre@gmail.com> [Fri, 16 Sep 2011 10:36:46 +0200] rev 7798
[entity fetchattrs] also fetch ambiguous rtypes even if we do not recurse on them (closes #1720823)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 18:39:55 +0200] rev 7797
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 17:36:58 +0200] rev 7796
[jquery] upgrade to jquery 1.6.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 17:03:37 +0200] rev 7795
[test] fix some tests broken since localperms cube extraction
Florent Cayré <florent.cayre@gmail.com> [Thu, 15 Sep 2011 16:40:52 +0200] rev 7794
refactor entity fetch_rql method to use a RQL syntax tree instead of RQL strings ; closes #1585650
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 15 Sep 2011 08:34:31 +0200] rev 7793
[doc] add some documentation in cubicweb.web.action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:55:51 +0200] rev 7792
[test] fix bad sed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:11:50 +0200] rev 7791
[deprecation] fix unittest pending deprecation warnings on failIf/failUnless methods family
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:10:58 +0200] rev 7790
[test] fix test subsquently to localperms introduction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 18:24:35 +0200] rev 7789
[deprecation] specify name/doc to deprecated else it's fetched from the object, which has then to be importable. Cleanup debian/control dependancy on the way (needs lgc 0.56.3 api)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Sep 2011 17:50:03 +0200] rev 7788
[debian] fix init script dependencies (closes #1921729)
Facility names starting with $ are reserved system facilities. Other
scripts can be referred to using the facility name listed in Provides
directly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 17:42:22 +0200] rev 7787
[server] portable dump format supports now ZIP64 extensions by default (closes #1912535)
ZIP files can use the ZIP64 extensions when the zipfile is larger than 2 GB.
zipfile will raise an exception when the ZIP file would require ZIP64 extensions.
Note: ZIP64 extensions are disabled by default in stdlib because the default
zip and unzip commands on Unix (the InfoZIP utilities) don’t support these
extensions.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 13 Sep 2011 17:35:14 +0200] rev 7786
[repo] use smarter query to check asource presence on startup (closes #1922099)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:41:36 +0200] rev 7785
[js] closes #1558870 : update to jquery 1.6 (1.6.3)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:41:11 +0200] rev 7784
[cubification] moved CWPermission handling into a localperms cube. closes #1914011
keeping bw compat provided the cube is available (else user should be warned
he has to install it).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:31 +0200] rev 7783
backout 7781:e95cfd5eca61
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:06 +0200] rev 7782
backout 7780:a1d5365fefc1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:54:00 +0200] rev 7781
[js] closes #1558870 : update to jquery 1.6 (1.6.3)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:48:24 +0200] rev 7780
[cubification] moved CWPermission handling into a localperms cube. closes #1914011
keeping bw compat provided the cube is available (else user should be warned
he has to install it).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:41:53 +0200] rev 7779
[debug] use repr() in some place where you'll have a chance to get an unicode error if output encoding isn't properly detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 17:24:14 +0200] rev 7778
[i18n fr] fix typo and enhance translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 12:00:31 +0200] rev 7777
[user management] disable http cache on user management view (not really a startup view)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:09:36 +0200] rev 7776
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:50 +0200] rev 7775
Added tag cubicweb-debian-version-3.13.5-1 for changeset 2e9dd7d94555
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:49 +0200] rev 7774
Added tag cubicweb-version-3.13.5 for changeset 20d9c550c57e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:53:21 +0200] rev 7773
3.13.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:52:55 +0200] rev 7772
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:35:45 +0200] rev 7771
[multi-sources] closes #1918120: drop behaviour leading to wrong result as demonstrated by the ticket
The formerly implemented behaviour doesn't seems to be useful,
nor to have a chance to be correct. At least no test case demonstrate
the opposite, so I've dropped it.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 08 Sep 2011 10:54:25 +0200] rev 7770
[session] enforce coherency of login/passwd couple values when no anonymous user (closes: #1910849)
None may be returned for both if anonymous connection is not
allowed or if an empty login is used in configuration
Raise ConfigurationError is anonymous login is non-ascii (convention)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 17:50:09 +0200] rev 7769
[session] take care of non-ascii characters in login and session id (closes: #1910849)
We ensure a valid <str> conversion of the session id by using unormalize() at initialization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Sep 2011 17:01:32 +0200] rev 7768
closes #1914824: fix retrieval of _andor input, test and fix generated rql
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 11:37:41 +0200] rev 7767
[debian] build the book with no auto-compression of book files (closes: #1906581)
Book content paths (html and rest) are now excluded from Debian compression step.
This will fix a documentation search issue on the website (doc.cubicweb.org)
Documentation build is now made optional since it can break for old distributions
and we don't want to block a new release of Cubicweb because of documentation issues.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 07 Sep 2011 16:56:27 +0200] rev 7766
[views/navigation] use the proper icons instead of ascii art (closes #1624943)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 06 Sep 2011 15:29:05 +0200] rev 7765
devtools: Fix cleanup of temporary database (closes #1908656)
The stored database path for clean up was not absolute.
We now make the ``db-name`` absolute at database manade initialization. before
storing the name for cleanup.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 Sep 2011 15:16:06 +0200] rev 7764
Drop privileges properly (closes #1910561)
Use new function from logilab.common.daemon to switch to non-privileged
uid and gid.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 15:11:35 +0200] rev 7763
drop unittest deprecation warning
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 06 Sep 2011 12:20:11 +0200] rev 7762
[web] add option to make resources-concat optional (implements #1910615)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:20:09 +0200] rev 7761
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:10:02 +0200] rev 7760
oops, forgotten to qref enhancements made to the reledit doc addition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:01:27 +0200] rev 7759
[book] section about how to disable reledit feature/view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:24 +0200] rev 7758
[skel] drop unused import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:21 +0200] rev 7757
[hooks control] test and fix session.reset_hooks_mode_categories, closes #1908680
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Sep 2011 16:48:37 +0200] rev 7756
[form fields doc] explain when field.role should be None
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:28:32 +0200] rev 7755
Added tag cubicweb-version-3.10.x for changeset a62f24e1497e
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:27:09 +0200] rev 7754
merged back oldstable fix to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:14:37 +0200] rev 7753
work around cursor.rowcount not returning anything useful before 1st fetch with mssql (closes #1910869)
use select count(*) from table to get the number of rows
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 14:25:06 +0200] rev 7752
[devctl] do not crash in the (rare, odd) case where mod.__file__ is None (closes #1908664)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 10:53:23 +0200] rev 7751
[doc/book] fix ref to trustedauth cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 15:06:02 +0200] rev 7750
site schema should be named data model schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:23:55 +0200] rev 7749
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:56 +0200] rev 7748
Added tag cubicweb-debian-version-3.13.4-1 for changeset 52f26475d764
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:54 +0200] rev 7747
Added tag cubicweb-version-3.13.4 for changeset 223ecf0620b6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:22:19 +0200] rev 7746
3.13.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:20:44 +0200] rev 7745
[.po generation] closes #1902315: c i18ncube doesn't consider relation definition description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 10:29:19 +0200] rev 7744
closes #1901436: view/modify action in table don't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:27:53 +0200] rev 7743
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:19:56 +0200] rev 7742
[web test] fix test needed after change of primary_email definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:35:56 +0200] rev 7741
[doc] fix ReST in README file (make pypi happier)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:22:26 +0200] rev 7740
[web] fix user management view selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 14:30:30 +0200] rev 7739
[base schema] do similar changes as use_email for primary_email
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:58 +0200] rev 7738
[book, rql] update rql langage chapter with new operators and outer join capabilities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:57 +0200] rev 7737
[web] closes #1892494: emailaddress and anonymity
notice though mangle-address is weak since address won't be
mangled when fetched through rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:55 +0200] rev 7736
[3.13 migration] closes #1896724: some db backend (eg sqlserver) doesn't support ADD COLUMN
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:49 +0200] rev 7735
[source] update system table and internal structures on source renaming. Closes #1896721
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:48 +0200] rev 7734
[rql2sql] closes #1892473: enhance handling of optional inlined relation
* some outer join aren't supported while they could
* consider newly available 'optcomparisons' st information on variables (rql 0.30)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 03 Aug 2011 13:28:06 +0200] rev 7733
[schema] use definition for `use_email` relation instead of type declaration (closes: #1894929)
This will be more adaptable for other existent `use_relastion` as the one in the cube Person.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Aug 2011 12:11:36 +0200] rev 7732
[web] rql directive breaks if explicit vid and empty rset (closes #1893433)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Aug 2011 18:16:02 +0200] rev 7731
[datafeed] properly encode/decode external uri
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:37:55 +0200] rev 7730
[querier] we should not insert None but skip the line when some unknown eid is detected (closes #1892491)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:06 +0200] rev 7729
[rql2sql] closes #1892471: support for unary expression introduced in rql 0.30
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:04 +0200] rev 7728
[deprecation] __message hidden generate deprecation warning
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 10:39:10 +0200] rev 7727
[server] host mapping is better named url mapping (closes #1892461)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 15:52:42 +0200] rev 7726
[packaging] should depend on yams 0.33
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 12:15:17 +0200] rev 7725
[packaging] should depend on yams 0.33
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 18:43:10 +0200] rev 7724
[rql2sql test] sqlserver use 0/1 for booleans, not FALSE/TRUE
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Aug 2011 17:59:48 +0200] rev 7723
[repo] Stop setting hashmode on schema
At best it was a no-op, at worst it created race conditions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 17:58:28 +0200] rev 7722
[devtool] Make the sqlite database used for test execution process specific (closes #1230401)
* Database cache are not impacted.
* This allow multiple process to run test with the same template at the same time
The db-name property return an unaltered value to for database cache mechanism.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:17:45 +0200] rev 7721
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:44 +0200] rev 7720
Added tag cubicweb-debian-version-3.13.3-1 for changeset fb48c55cb802
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:43 +0200] rev 7719
Added tag cubicweb-version-3.13.3 for changeset 0e82e7e5a34f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:42 +0200] rev 7718
[rql2sql] take care to boolean_value returning an int (eg sqlite/mysql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:23 +0200] rev 7717
[repo test] remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:09 +0200] rev 7716
[repo ms] commit/rollback session if it has been created in the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:06:25 +0200] rev 7715
3.13.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:05:58 +0200] rev 7714
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 18:08:39 +0200] rev 7713
[sql] more test and fix boolean handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 16:44:02 +0200] rev 7712
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Jul 2011 16:43:07 +0200] rev 7711
[repo test] Fix test broken by BFSSTestable
changeset bd56a29acaa8 broke several fragile test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 15:42:02 +0200] rev 7710
[sql] fix querying of boolean value w/ sqlite
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:26:13 +0200] rev 7709
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:24:40 +0200] rev 7708
[datafeed] for datafeed source, we don't want commit in extid2eid but explicitly handled by the source. Also, we should use 'safe' internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:22:32 +0200] rev 7707
[sql gen] handle optional on comparison node (eg HAVING expression) and on rhs of final relation. Closes #1859609
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:17:47 +0200] rev 7706
[session] safe internal sessions don't deactivate integrity hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:03:09 +0200] rev 7705
[sql test] lgdb > 1.6 use int for bool with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 12:26:57 +0200] rev 7704
[rql2sql] don't introduce substitution for Int and Boolean constants. This is needed for COUNT(DISTINCT) support
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 27 Jul 2011 12:25:48 +0200] rev 7703
[css] syntax fix in cubicweb.css
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 19:34:43 +0200] rev 7702
[entities] skip_copy_for should be considered for object relations too (closes #1857474)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:06 +0200] rev 7701
[datafeed] case insensitive etype. Closes #1877014
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:02 +0200] rev 7700
[datafeed] closes #1875322: empty tag means None value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:49:10 +0200] rev 7699
[datafeed] properly take care to cwsource=system in imported xml. Closes #1877017
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:35:10 +0200] rev 7698
[datafeed / fti] rather control a 'complete' parameter than setting empty attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:34:42 +0200] rev 7697
[repo api] deprecates source.extid2eid, only the system source should implement it,
and one should directly use the repo api instead of this confusing and
error-prone short-cut. Deprecates eid2ext as well for consistency.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:52 +0200] rev 7696
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:43 +0200] rev 7695
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Jul 2011 16:33:06 +0200] rev 7694
[bfss] Fix update of BFSS attribute to None (close #1875289)
The current code assume attr value is alway a valide Binary value. But when the
attr is optional, the value might be None. The change handle this case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 26 Jul 2011 16:05:36 +0200] rev 7693
[skeleton/pytestconf] provide an acceptable solution for windows, closes #1875488
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 13:11:37 +0200] rev 7692
[facets] make sure has_text facet data is posted correctly (closes #1857405)
Posted data was associated to facet id (e.g. has-text-123098dasdf898adssdd)
rather than facet name (i.e. has-text).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:25:10 +0200] rev 7691
[rql] fix min/max args definition of [TEXT_]LIMIT_SIZE registered procedures (long outstanding bug discovered after recent fix in lgdb)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:21:26 +0200] rev 7690
[schema] rephrase relation definition since constraint doesn't apply to CWRelation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:01:17 +0200] rev 7689
[datafeed] closes #1873616 (user's url corruption when etype is not recognized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 10:33:26 +0200] rev 7688
[schema] restrict source mapping 'cw_schema' relation to non final relation, we currently have no use for attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:58:05 +0200] rev 7687
[c-c db-check] add some sql queries to fix cw_source/is/is_instance relations according to data in the entities table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:41:17 +0200] rev 7686
[c-c db-check] missing comma ending print statement to get expected output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:38 +0200] rev 7685
[c-c db-check] disable write security as well so we can delete stuff when needed (e.g. orphan TrInfo)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:03 +0200] rev 7684
[c-c db-check] having no owner is allowed, don't try to fix that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:21:14 +0200] rev 7683
[metadata, ldap] make backport of ldap user actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:20:45 +0200] rev 7682
[c-c db-check] drop some deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:16:32 +0200] rev 7681
[index page] use 'New xxx' generated labels, 'add a xxx' labels are only generated according to inlined form configuration and with an associated context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:15:24 +0200] rev 7680
[doc packaging] prune _sources containing generated text file, include js else search doesn't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 08:41:12 +0200] rev 7679
[boxes] 3.13.2 regression: should specify dom id else we may generate bad xhtml
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jul 2011 07:54:04 +0200] rev 7678
[facets] fix missing 'warnings' import and missing self reference on 'filtered_variable'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:22:41 +0200] rev 7677
stable is now 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:21:47 +0200] rev 7676
oldstable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:37 +0200] rev 7675
Added tag cubicweb-debian-version-3.13.2-1 for changeset 9ad5411199e0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:35 +0200] rev 7674
Added tag cubicweb-version-3.13.2 for changeset f9227b9d6183
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:16:28 +0200] rev 7673
3.13.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:03 +0200] rev 7672
[rql2sql] closes #1832859: fake HAVING terms w/ EXISTS terms
there are cases where we want to use the HAVING trick on terms that should
belong to an EXISTS subquery. Currently , this causes bad sql. We should fix
that until we've a proper rql grammar avoiding the need for this trick.
Notice at some point, we may want **actuall** HAVING clauses and GROUPBY used
in EXISTS subquery, but that's another story.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:02 +0200] rev 7671
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:09:42 +0200] rev 7670
[boxes] closes #1832844: translate views category in possible views boxes
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Jul 2011 12:31:03 +0200] rev 7669
[cwctl] set min/max args for reset admin password command. Closes #1832986
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 18 Jul 2011 17:51:55 +0200] rev 7668
[web] Image optimisation using trimage (pngcrush inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 17:51:46 +0200] rev 7667
[preferences js] jquery 1.6 needs quote when querying attribute value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 16:37:11 +0200] rev 7666
fix test broken by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:34 +0200] rev 7665
[session] add session id to closed connection errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:09 +0200] rev 7664
unsaved change...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:13:46 +0200] rev 7663
[facets] closes #1827464: facet box always appear
by implementing proper selectors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 12:13:53 +0200] rev 7662
[uilib] fix bad argument order, introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 11:33:44 +0200] rev 7661
[uilib] reimplement printable_value function using a dictionary so one can easily change how to base type is displayed everywhere in the application. Closes #1827465
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 17:50:31 +0200] rev 7660
closes #1826543: error on some ajax_replace_url call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:42 +0200] rev 7659
Added tag cubicweb-debian-version-3.13.1-1 for changeset cc0578049cbe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:41 +0200] rev 7658
Added tag cubicweb-version-3.13.1 for changeset 7d84317ef185
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:52 +0200] rev 7657
3.13.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:47 +0200] rev 7656
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:23:43 +0200] rev 7655
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:03 +0200] rev 7654
Added tag cubicweb-debian-version-3.12.9-1 for changeset 92464e39134c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:02 +0200] rev 7653
Added tag cubicweb-version-3.12.9 for changeset cb2990aaa63c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:30:18 +0200] rev 7652
3.12.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:43 +0200] rev 7651
[repo, ms] fix planning of some queries where variable 'non-invarianess' should be considered, leading for instance to junk in entities table on source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:42 +0200] rev 7650
[repo] closes #1821172: fix source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 10:36:22 +0200] rev 7649
[ajax, IE] rewrite some code to avoid duplicated evaluation with IE
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 19:48:37 +0200] rev 7648
[repo, hooks] small task optimization: don't start cleanup_old_transactions when undo support is not activated, and retrieve a session to update a source only when some source to update is found
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 15:05:19 +0200] rev 7647
[http] closes #1816411, restore expires_header on static files in non-debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 13:45:04 +0200] rev 7646
[native source] fix bug introduced in 7645:cb2459aaa7d7: fetchone() may return None
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 13:23:37 +0200] rev 7645
[source] closes #1816412: try to reconnect to dbms if connection is reset in eid_type_source()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 12:39:05 +0200] rev 7644
[twisted] add an option to configure twisted's threadpool size
Twisted's threadpool size defaults to 10, which means we virtually try
to serve up to 10 simulateneous requests but connection-pool size
defaults to 4 on CW-server side. That means that under heavy load, chances
are high that some HTTP queries end up with a 500 error code / connection-pool
exhausted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 11:56:47 +0200] rev 7643
[book, form] include complete example of self-posted form with custom field/widget + minor other changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:21:44 +0200] rev 7642
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:25 +0200] rev 7641
[datafeed] don't raise bad config error on source initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:18 +0200] rev 7640
[schema] closes #1816439: RQLConstraint does not take variable U into account
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:15:54 +0200] rev 7639
[web form] avoid mis-formated warning for _cw_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:43:21 +0200] rev 7638
[doc, hook] more backport of syt mbox documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:21 +0200] rev 7637
[book, ldap] backport some doc from my mailbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:06 +0200] rev 7636
[book] fix some urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:14 +0200] rev 7635
[book, forms] talk about cnx.use_web_compatible_request instead of custom monkey-patching
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:07 +0200] rev 7634
[book] drop gae from the book
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:46 +0200] rev 7633
[book, admin] include some fixes done by auc in an email to me
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:23 +0200] rev 7632
[book] fix some rest/sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 17:06:50 +0200] rev 7631
[repo test] fix broken tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:47:34 +0200] rev 7630
closes #1784285: [rql2sql] crash when using a relation for inner and outer join
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:22:08 +0200] rev 7629
[range facet] closes #1806937: simply retrieve min/max values when computing vocabulary/possible_values, this is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 13:53:00 +0200] rev 7628
[facet] fix facet values update, broken by 7626:56300bec75f8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:15 +0200] rev 7627
[facet slider] quote attribute value, else may break with earlier jquery
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:05 +0200] rev 7626
[facets] use unique dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:55 +0200] rev 7625
[facet] with rql path facet rel may be None, handle it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:39 +0200] rev 7624
[facet] closes #1806932: test and fix facet bug w/ having query (need rql update)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:50 +0200] rev 7623
[ajax js loading] when everything is already loaded, don't do anything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:37 +0200] rev 7622
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:08:58 +0200] rev 7621
[IE, plot] ship with jqplot'excanvas version (include http://code.google.com/p/explorercanvas/issues/detail?id=82 for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 14:49:17 +0200] rev 7620
[etwist, modconcat] closes #1806935: directly write data, don't put the whole concatenated thing in memory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 12:09:53 +0200] rev 7619
[etwist] clear ui cache at server startup time. Closes #1806933
this avoid pb when cubicweb/cubes provide new version of some js/css and also accumulating junk in the cache directories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:54:52 +0200] rev 7618
[facet] closes #1806931: new facet type, based on arbitrary rql path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:52:34 +0200] rev 7617
[selectors, test] remove duplicated test and add some for relation_possible selector w/ rqlst
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:48:40 +0200] rev 7616
[repository] catch Exception instead of everything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Jul 2011 16:46:29 +0200] rev 7615
[facet] fix argument inversion in date range facet
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Jul 2011 12:37:44 +0200] rev 7614
[facetbox] put the facet box in a box
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 01 Jul 2011 20:14:20 +0200] rev 7613
[doc] fix broken links
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:44:03 +0200] rev 7612
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:43:16 +0200] rev 7611
[test] fix test, code from 3.13 gone in 3.12 accidentaly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:42:36 +0200] rev 7610
[selectors, facet] make is_instance and other EClassSelector subclass gather entity classes from 'select' and 'filtered_variable' context information. Closes #1796732
This allow for instance to use the filter form on rqlst where the filtered variable is not selected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:57 +0200] rev 7609
[facets] DontUpdateConstraint mecanism introduced a few commit ago isn't needed: we already have the 'needs_update' property controlling this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:45 +0200] rev 7608
[facet] more api cleanup: support_and should be a property, so it's easier to deactivate.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:45 +0200] rev 7607
[range facet] refactor to ease overriding, possible_values raise DontUpdateFacet (not handled by js actually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:44 +0200] rev 7606
[facets] allow to specify on which rqlst's variable facets should be applied. Closes #1795915
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:43 +0200] rev 7605
[facets] refactor / cleanup facet api: more consistent variable naming and easier to reuse function. Closes #1796804
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:33 +0200] rev 7604
backport stable
Florent Cayré <florent.cayre@gmail.com> [Fri, 01 Jul 2011 15:26:12 +0200] rev 7603
[schema / rql] fix mainvars of RRQLExpression with parens
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:23:25 +0200] rev 7602
[facets js] better cubicweb:facetargs handling and avoid initializing a same form twice (that may occurs)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:22:43 +0200] rev 7601
[facets] should remove groupby from base rqlst. Closes #1796196
as we search for values for a variable, there seems to be no case
where we would be interested in groups, though there are clearly
some were leaving groups cause errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 13:39:45 +0200] rev 7600
[facets] factorize table filter form / facets box generation, moving out filter form from the table view so it's usable from other views. Closes #1794009
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:48:39 +0200] rev 7599
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:20:24 +0200] rev 7598
[worklow forms] rewrite remaining pre 3.10 form code using uicfg
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 29 Jun 2011 13:03:04 +0200] rev 7597
[doc] SQL Server isolation level settings
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 30 Jun 2011 09:46:33 +0200] rev 7596
new rql2sql unit tests for ORDERBY and LIMIT checks in SQLServer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:51:04 +0200] rev 7595
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Jul 2011 11:27:20 +0200] rev 7594
[cwc shell] add ``--password`` option to ``reset-admin-pwd`` (close #1794866)
This will help batch. The help warn it's not very secure.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:19:12 +0200] rev 7593
[c-c instance commands] keyboard interrupt should stop the command, not jump to the next instance. Closes #1794850
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:18:16 +0200] rev 7592
[rset] syntax_tree impl. consistency: don't return an annotated syntax tree
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 16:29:15 +0200] rev 7591
[cw-ctl] add command versions to list versions of cubes used by an instance (closes #508052)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:37 +0200] rev 7590
closes #1793991: [datafeed] error handling: log unexpected exceptions / don't stop on first validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:25 +0200] rev 7589
[web session] fix bad cleanup of session without a connection set. Closes #1772125
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 13:38:30 +0200] rev 7588
[i18n] fix undetected conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 08:27:56 +0200] rev 7587
[rql2sql tests] fix erroneous case (tested with psql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 20:57:28 +0200] rev 7586
add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 19:03:21 +0200] rev 7585
drop unittest deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:57:23 +0200] rev 7584
[form, controller] closes #1787233: form should provide a method to process posted content
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:43:33 +0200] rev 7583
[forms] fix import, gone into the wrong patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:29:13 +0200] rev 7582
[form, renderer] closes #1787234: [form] onsubmit interpolated by the form renderer, it shouldn't
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:55 +0200] rev 7581
[form renderers] closes #1787232: new 'onerowtable' form renderer
so it's easy to retrieve a dictionary of {field name : typed value} for a custom,
no entity related, form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:36 +0200] rev 7580
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:23 +0200] rev 7579
[rql2sql] more cases fixed where something is wrongly added to GROUPBY, causing unexpected results for the query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:01 +0200] rev 7578
[book] rewrite / complete the RQL language chapter
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 18:26:29 +0200] rev 7577
[all] remove pattern "try: function() except AttributeError: pass" (closes #1787966)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 14:05:14 +0200] rev 7576
[cw-ctl] command list should not break when cube depends on version None (closes #1787209)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:13:09 +0200] rev 7575
[uilib] new js_dumps function allowing usage of bare js string (wrapped into JSString)
modify magic 'js' object to consider them as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:04:01 +0200] rev 7574
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:02:24 +0200] rev 7573
[repo, looping task] raise a custom exception when repository is shuting down, avoid looping task to be restarted in such case. Closes #1021276
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:50:26 +0200] rev 7572
[formfields] use support_args instead of catching type error avoid hiding other issues and making debugging difficult
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:49:47 +0200] rev 7571
[cw.ajax] fix loadxhtml documentation and warn when called on an empty elements list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 17:59:31 +0200] rev 7570
[etwist] log missing file even in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:33:53 +0200] rev 7569
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:32:38 +0200] rev 7568
[test] run and fix utils and uilib doctests
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 28 Jun 2011 13:16:09 +0200] rev 7567
Display proper date in plot/flot (closes #1725589)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Jun 2011 11:20:33 +0200] rev 7566
[doc] fix NameError in bfss tutorial
Florent Cayré <florent.cayre@gmail.com> [Mon, 27 Jun 2011 18:48:30 +0200] rev 7565
[js/css concat] do not return 404 when resources of a concatenated data URL does not exist, unless in debugmode; closes #1745644
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:46:08 +0200] rev 7564
[server] "overrule" case insensitivity of database name (closes: #611294)
The only instances where you are required to use quotes are either when a database
object's identifier is identical to a keyword, or when the identifier has at least
one capitalized letter in its name. In either of these circumstances, you must
remember to quote the identifier both when creating the object, as well as in any
subsequent references to that object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:38:08 +0200] rev 7563
[tests] update repository tests with new `use_cwuri_as_url` attribute
This attribute was intriduced by changeset 92fd4b777016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:30:52 +0200] rev 7562
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:52 +0200] rev 7561
Added tag cubicweb-debian-version-3.12.8-1 for changeset cf49ed55685a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:49 +0200] rev 7560
Added tag cubicweb-version-3.12.8 for changeset 50122a47ce4f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 13:59:07 +0200] rev 7559
3.12.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 16:59:45 +0200] rev 7558
[migration] litle enhancements and a fix to patch accidentally pushed two revisions ago
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Jun 2011 10:24:40 +0200] rev 7557
[controller] UndoController: fix output method (closes: #1776091)
Fix buggy direct output in `UndoController.publish()`.
Raise now a ValidationError instead of malformed string
Changes:
* raise ValidationError when an error occured in undo
* use the new message mechanism based on _cwmsgid
If errors are not fatal, you have to change publish() method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:10:37 +0200] rev 7556
[migration] closes #1777411: schema modification commands shouldn't crash if already exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:02:29 +0200] rev 7555
[rqlrewrite] closes #1772135: 1. don't try to reuse a relation from another statement (eg because a subquery has been introduced) 2. _use_orig_term should consider the current statement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jun 2011 07:41:25 +0200] rev 7554
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:38 +0200] rev 7553
[datafeed cw parser] refactor: split logic that was in the parser
into:
* an "item builder" component, turning an etree xml node into a specific
python dictionnary representing an entity
* "action" components, selected given an entity, a relation and its role
in the relation, and responsible to link the entity to given related
items (eg dictionnary)
This changes make it easy to add new action or to override existing
one's behaviour according to the entity, the relation, etc...
Also refactor the xml view so one can also override what's
included in the tag used to mark the entity as used by a relation,
hopefully allowing to reduce the number of http requests needed for
a full datafeed import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:36 +0200] rev 7552
[datafeed, entities] url for entities from a datafeed source should be on their origin site. Closes #1769391
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:24:56 +0200] rev 7551
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:23:44 +0200] rev 7550
[3.10] fix typo and error for pre 3.10 migration w/ postgres: we *must* call init_creating else the fti isn't correctly initialized, which may lead to silently rollbacked transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 16:34:27 +0200] rev 7549
[migration] don't add CWUniqueConstraint if already there (may occurs when running a migration in multiple times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 12:31:55 +0200] rev 7548
[datafeed] catch all exception, we should continue to process other urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 17:49:32 +0200] rev 7547
fix 3.13.1 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7546
Added tag cubicweb-debian-version-3.12.7-1 for changeset a07517985136
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7545
Added tag cubicweb-version-3.12.7 for changeset 628fe57ce746
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 14:47:24 +0200] rev 7544
3.12.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:57:25 +0200] rev 7543
[ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
this is needed since for entities from 'copy based sources' such as
datafeed, we want entity.cw_metainformation() to return as 'source'
the datafeed source, not the system source (ie the source where the
entity is actually stored).
For both performance and bootstraping reasons, we should store this
information in the `entities` table and in the _type_source cache.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:52:19 +0200] rev 7542
fix 3.13.0 migration script (closes #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:44:43 +0200] rev 7541
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:49:00 +0200] rev 7540
fix 3.12.0 migration script (closes: #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 19:13:38 +0200] rev 7539
[test] update to 3.13 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 12:55:40 +0200] rev 7538
[migration] when there are no data migration needed, we still want to rewrite the configuration and to restart the server. Closes #1760927
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 18 Jun 2011 23:27:23 +0200] rev 7537
[migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:53:33 +0200] rev 7536
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:51:01 +0200] rev 7535
[rqlrewrite] test and fix rql snippets insertion when several snippets match an optional variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:50:13 +0200] rev 7534
[datafeed, cw.xml] xml now carry entity's source information, interpreted at the other end so that for instance when an entity from elo is seen when importing cwo, it's properly marked as coming from elo source if one exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:49:55 +0200] rev 7533
[datafeed] actually raise on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:36:52 +0200] rev 7532
[python 2.5] compat fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:13:33 +0200] rev 7531
[datafeed, cwxml] parser now try to complete source's urls so one can add url such as <myinstance>/project. Closes #1759908
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 09 Jun 2011 16:41:41 +0200] rev 7530
[server] fix unicode conversion capability in UndoException
By overriding the __unicode__ method, we ensure unicode builtin will return
Unicode object even for python versions that don't have a __unicode__ method by
default (python < 2.6)
In previous versions, when this method is not defined, string conversion is
attempted, and the result of string conversion is converted to Unicode using
the system default encoding which is ascii the most of the time.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 16 Jun 2011 12:31:27 +0200] rev 7529
[book] add autoload section from code and fix sphinx warnings
* drop misleading faq entry since clear explanation can be found in internationalization chapter
* use autodata sphinx directive instead of raw text
* fill empty chapter with autodoc:
- devweb/httpcaching.rst
- devweb/resource.rst
- devweb/views/idownloadable.rst
- devweb/views/wdoc.rst
* use shebang in excerpt to denote shell code
* fix some bad indented docstrings in javascript files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 09:37:49 +0200] rev 7528
[controller] fix wrong view name when error occurs in UndoController
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:46:39 +0200] rev 7527
[datafeed] renaming parser attribute to parser_id makes things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:38:28 +0200] rev 7526
cleanup and assert we don't import unexpected stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:37:59 +0200] rev 7525
[source config] fix synchronization on configuration entity changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 17:02:50 +0200] rev 7524
[ui, sources] configure source form: hide synchronizing and mapping entities, use simple text input for parser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:52:05 +0200] rev 7523
[rql annotation] fix bad invariant variable w/ has_text relation: this is only true when has_text will be used as principal (though we don't know that yet)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:58 +0200] rev 7522
[test] update to new db handler api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:22 +0200] rev 7521
[querier] turn remove_clauses/restore_clauses into a context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:15:25 +0200] rev 7520
[devtools pg handler] some fixes so we get proper error when pg host is not reachable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 11:29:31 +0200] rev 7519
[rdf] add method so one can call entity.view('rdf')
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:22:05 +0200] rev 7518
[web test] fix unittest_web
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:19:36 +0200] rev 7517
[ajax edition] freeze form button when calling validateForm, so it freeze nicely for e.g. comment submitting form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:15:55 +0200] rev 7516
[web page tracking] fix bug introduced by parent revision
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:34:23 +0200] rev 7515
closes #1484510: ajax_replace_url should propagate page id (until an underlying api does it automatically
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:16:19 +0200] rev 7514
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:14:40 +0200] rev 7513
[repo integrity] test and fix glob add relation where several entities are added at once for a relation of 1? cardinality
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 17:13:26 +0200] rev 7512
[packaging] Build the cubicweb-documentation package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:09:44 +0200] rev 7511
[breadcrumbs] closes #1717489: Double escaping in breadcrumbs
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 12:48:04 +0200] rev 7510
[donc] Fix building the cubicweb js documentation
Avoids errors such as:
Exception: Bad file id cubicweb.lazy referenced in INDEX_IN_ORDER in ../../../doc/tools/pyjsrest.py, fix this please
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:22 +0200] rev 7509
add an XXX
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:06 +0200] rev 7508
fix 3.10 cwproperties migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:25 +0200] rev 7507
fix failures introduced by recent refactoring
* * *
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:20 +0200] rev 7506
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:40 +0200] rev 7505
[migration] this is needed to avoid pb with yams 0.33 / cw < 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:39 +0200] rev 7504
[sync schema hooks] consider etype name map before trying to update in-memory schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:10 +0200] rev 7503
[repository] refactor and optimize '?1' relation handling
* only skip auto remove if activeintegrity is explicitly disabled
* do it even for inlined relation, so hooks are properly called
* on entity creation, only cleanup what's needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7502
[session] deprecates schema_rproperty in favor of more optimized rtype_eids_rdef which return the rdef (so reusable to gather other data)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7501
[repository] refactor/cleanup entity deletion methods
* kill unused Repository.delete_info_multi (no leading _)
* kill unnecessary system_source.delete_info (almost no benefit over
delete_info_multi)
* stop giving entities list *and* extid list, gather them from
the entity when needed
* move pending eids handling into glob_delete_entities, so one can
call it directly without worrying about that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:46:36 +0200] rev 7500
[repository] new hook selector according to configuration's repairing flag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:43:36 +0200] rev 7499
[pyrorql] don't display traceback on connection error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 11:54:41 +0200] rev 7498
[data hook] new .union operation on DataOperationMixIn, only when container is a set, not a list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 11 Jun 2011 09:22:25 +0200] rev 7497
[rql2sql] add test case for 7493:3c46b9390871
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:41:41 +0200] rev 7496
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:17 +0200] rev 7495
[hooks] use local variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:11 +0200] rev 7494
[integrity hooks] remove dead code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 16:54:20 +0200] rev 7493
[rql2sql] fix for some queries where eid variable used and entities picked as variable's table
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 10 Jun 2011 15:35:59 +0200] rev 7492
[js] add missing jquery.qtip.min.js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:47 +0200] rev 7491
Added tag cubicweb-debian-version-3.13.0-1 for changeset a96137858f57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:46 +0200] rev 7490
Added tag cubicweb-version-3.13.0 for changeset b661ef475260
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 20:18:49 +0200] rev 7489
3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 18:13:14 +0200] rev 7488
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7487
Added tag cubicweb-debian-version-3.12.6-1 for changeset 105767487c70
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7486
Added tag cubicweb-version-3.12.6 for changeset a18dac758150
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:10:22 +0200] rev 7485
3.12.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:09:23 +0200] rev 7484
[repo test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 15:29:55 +0200] rev 7483
[doc, apache] add ProxyPreserveHost hint + note about https /w http configuration
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 09 Jun 2011 14:37:32 +0200] rev 7482
[doc] Small addition to apache configuration in book
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:31:28 +0200] rev 7481
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:27:35 +0200] rev 7480
[parsers] format read by web/views/xmlrss is relation=%s-%s not %s_%s
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 09 Jun 2011 12:16:10 +0200] rev 7479
[sql] implement #1631319: ask user before creating postgresql languages
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:32:34 +0200] rev 7478
[parsers] improve url construction by using stdlib's urllib instead of str concatenation
fix a s/_/-/ bug on the way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 09 Jun 2011 12:20:57 +0200] rev 7477
[bfss] Catch EnvironmentError instead of OSError when trying to read attributes bffstored
This will also catch IOError (as file not found) that might be encountered expectable too.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:37:01 +0200] rev 7476
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:36:28 +0200] rev 7475
[views/iprogress] rename to make things easier to read and understand
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:10:39 +0200] rev 7474
[datafeed cwxml parser] cache processed urls/entities to avoid unnecessary http requests and processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:08:00 +0200] rev 7473
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 15:11:45 +0200] rev 7472
[rql2sql] fix missing sql restriction w/ attribute restriction where value comes from a subquery
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 16:07:06 +0200] rev 7471
[dataimport] fix #1732685: cached entity and shared cw_edited data with NoHookRQLObjectStore
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 12:54:45 +0200] rev 7470
[parsers] fix python2.5 compat problem introduced by 7466:395c966a1cb3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 26 May 2011 14:38:49 +0200] rev 7469
[test] update cubicweb/test/unittest_schema.py (to follow yams#.....)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 10:17:36 +0200] rev 7468
[server] fix NameError (missing VIRTUAL_RTYPES import) in checkintegrity.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 10:07:58 +0200] rev 7467
[schema] fix computing of has_text relation: when a fulltext_container relation is added, we need to recompute has_text for the target entity type as well. Also, avoid computation when not needed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 10:03:31 +0200] rev 7466
[parsers] remove build_search_rql() that duplicates find_entities()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 08:02:11 +0200] rev 7465
[vreg] help understanding assertion error
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 19:54:37 +0200] rev 7464
[datetime] by default display 'UTC' string when displaying TZDatetime
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 17:44:43 +0200] rev 7463
[test] update test to avoid failure
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 16:33:21 +0200] rev 7462
[web] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:19:19 +0200] rev 7461
[datafeed] fix stupid error introduced by 'just before qfinish' refactoring...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:13:09 +0200] rev 7460
[schema] support for BigInt type. Closes #1720995
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:52:53 +0200] rev 7459
[test,i18n] update test and i18n catalog to follow addition of 'synchronizing' attribute on sources
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:44:48 +0200] rev 7458
[i18n] update yams error messages (requires yams#67668)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:21:24 +0200] rev 7457
[datafeed] provide a source-sync command to launch source synchronization through the command line. Closes #1725692
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:17:55 +0200] rev 7456
[datafeed] use a boolean flag on CWSource to ensure we don't have concurrent synchronizations. Closes #1725690
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:11:29 +0200] rev 7455
[views] add columns parser and latest_retrieval to cwsource admin view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:03:00 +0200] rev 7454
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:58 +0200] rev 7453
Fix name error introduced in c21d845836e4
c21d845836e4 use a ``vocab`` variable but doesn't define it. I assumed ``vocab`` is
``field.vocabulary(form)``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:05 +0200] rev 7452
Fix conditionnal logic broken in 195b24fe3a03
195b24fe3a03 replace:
if not req.cnx:
by
if getattr(req, 'cnx', True):
The "not" diseapeared in the process.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 14:41:00 +0200] rev 7451
[session] provide a simple transaction context manager for session. Closes #1725640
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Jun 2011 10:20:58 +0200] rev 7450
[formwidgets] make the select size a class attribute (more easily tuned)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 30 May 2011 16:16:19 +0200] rev 7449
[bfss] Make ``current_fs_path`` return None when an attribute has no value
current_fs_path was returning the future fspath when no value was defined.
* This does not make any sense
* This tricks the storage into believing that updating the attribute content is
not necessary. The file was written but the attributes was not updated. as a
result the assignement was not made.
(close #1725446)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 May 2011 17:43:29 +0200] rev 7448
[selectors] take care, Session has no cnx
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 13:57:25 +0200] rev 7447
don't crash if we can't fetch data or if xml is malformed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 11:17:02 +0200] rev 7446
[datafeed] extract some methods from pull_data to ease writing custom datafeed sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 09:56:26 +0200] rev 7445
drop useless code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:55 +0200] rev 7444
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:41 +0200] rev 7443
[datafeed] we should use utc timestamp to avoid pb with local times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:57:15 +0200] rev 7442
[test] fix failure introduced by yams'changeset 644:f9c79356b758
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:32:15 +0200] rev 7441
[testlib] add convenience assertion method to check __message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:12:42 +0200] rev 7440
[test] fix failure introduced by 1719eab69551: the regexp should be fixed, not the error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 18:46:09 +0200] rev 7439
[web test] fix test failures introduced by 7431:cab99ccdb774
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 14:14:08 +0200] rev 7438
backport stable changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 14:08:29 +0200] rev 7437
[ui message] fix regression introduced by 7429:ef5165fa99e0, leading to 'None' message displayed in the ui
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:39:08 +0200] rev 7436
backport stable changes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:36:25 +0200] rev 7435
[json controller] fix .exception call msg format string (missing one slot)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 12:35:33 +0200] rev 7434
[test] fix tests broken by 7427:5338d895b891
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:42:31 +0200] rev 7433
merge default heads
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 25 May 2011 11:41:16 +0200] rev 7432
[ui messages, xss] Start migration towards use of _msgid instead of __message (prone to XSS injection) closes #1698245
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:40:10 +0200] rev 7431
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:39:54 +0200] rev 7430
[ui messages] make application message component works when request has no cnx set and support for explicit message given through render argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:59:26 +0200] rev 7429
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:58:43 +0200] rev 7428
[web session] fix session handling so we get a chance to have for instance the 'forgotpwd' feature working on a site where anonymous are not allowed
fix several pbs:
* we need a session id and a session cookie anyway, else subsequent http queries are unrelated
* this imply some changes in the session attribution workflow for session without a cnx
* some views/selectors must be fixed for cases where session has no cnx
On the way, avoid unnecessary Redirect on successful login.
closes #750543
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 11:28:58 +0200] rev 7427
[ajax js/css] modconcat fix: load code exactly once (auc, fcayre)
* introduces cw.ajax namespace (currently hosts only recent modconcat functionality)
* handle load-one/load-many-at-once edge case
* properly handle already-loaded js resource
* avoid .appendTo to trigger script evaluation since from jquery 1.5 this results in uncached ajax calls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 08:51:45 +0200] rev 7426
[test] update test broken by previous commit
Florent Cayré <florent.cayre@gmail.com> [Wed, 25 May 2011 08:35:20 +0200] rev 7425
[entity fetch_attrs] remove ambiguous relations on different etypes from fetched attrs or it may produce wrong related results; closes #1700896
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 24 May 2011 10:33:43 +0200] rev 7424
typo : s/undoed/undone/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 May 2011 11:36:43 +0200] rev 7423
[cwvreg] inline function dump_class()
Grepping the entire code base (cubicweb+all the known cubes) shows that
inlining this function is harmless: no one is using it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 May 2011 08:56:55 +0200] rev 7422
[js/ajax] undeprecate (async)remoteExec. closes #1381205
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 May 2011 08:49:58 +0200] rev 7421
[rql2sql] closes #1697862: ORDERBY SUM(C) cancel GROUPBY by wrongly adding C to grouped variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:35:09 +0200] rev 7420
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7419
Added tag cubicweb-debian-version-3.12.5-1 for changeset 6dfe78a0797c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7418
Added tag cubicweb-version-3.12.5 for changeset ae33197db1f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:34:29 +0200] rev 7417
3.12.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:28:03 +0200] rev 7416
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:27:00 +0200] rev 7415
[views/table (facetform)] introduced in facetbox, was missing in tableview form filter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:22:30 +0200] rev 7414
[web.facet] self.w -> w
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:09:01 +0200] rev 7413
[web/facet|views/table] bump a bit some heights, split table view methods for easier subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:29:50 +0200] rev 7412
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:55 +0200] rev 7411
cleanup and update some copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:33 +0200] rev 7410
[migractions] fix change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:15 +0200] rev 7409
[migractions] dropped_constraints should accept only droprequired without cstrtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:20:51 +0200] rev 7408
[form rendering] some refactoring to ease FormRenderer overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:49:57 +0200] rev 7407
[deprecation] drop remaining warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:48:26 +0200] rev 7406
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:46 +0200] rev 7405
[session] new methods on session to ease access to security/hooks control context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:01 +0200] rev 7404
[workflow] new 'fire_transition_if_possible' method on IWorkflowable to fire a transition if it's possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:00 +0200] rev 7403
[workflow] new 'incontext-state' view for IWorkflowable entities
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 May 2011 16:39:24 +0200] rev 7402
[facets/table] vertically group facets by two when possible in order to have a more compact horizontal layout in table filter form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 15:56:49 +0200] rev 7401
[workflow] add method on IWorkflowable to set initial state of an entity (closes #1686357)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 11:50:54 +0200] rev 7400
[web test] fix test broken by making cw_source editable by managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:17 +0200] rev 7399
[multi-sources] support for moving an entity from an external source (closes #343818)
Original need is to move a user from a ldap source to the system source so
we can delete it from ldap without loosing information into the cubicweb
instance.
We can't wait for the user to be deleted from the ldap since it will be too
late then to get back user attributes, so it has to be a manual operation to
operate before actual deletion. This makes sense for other sources as well.
So the idea is to make the "Any cw_source CWSource" relation editable by
managers, and to watch changes of it. We then check the move is possible
(ie from an external source to the system source) and do necessary stuff
(essentially changing source information and copying data into the system
source).
Remaining pb is that we don't want the moved entity to be reimported later.
To distinguish this state, the trick is to change the associated record in
the 'entities' system table with eid=-eid while leaving other fields
unchanged, and to add a new record with eid=eid, source='system'. External
source will then have consider case where `extid2eid` return a negative eid
as 'this entity was known but has been moved, ignore it'.
Notice no ui is provided yet, it has currently to be done in a c-c shell.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:11 +0200] rev 7398
[repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Also document session's data storage and some other internals.
Hopefuly things will get clearer.
Closes #1684860: vocabulary confusion in repository code: notion of 'pool'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:36:26 +0200] rev 7397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:35:20 +0200] rev 7396
[rql2sql] fix in 7394:d11d88bd08e8 was actually not needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:43:23 +0200] rev 7395
[rset] close #1683703: rset.get_entity crash on rql query with subquery and aggregat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:40:44 +0200] rev 7394
[rql2sql] fix generated sql for eid comparison. closes #1638695
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:05:11 +0200] rev 7393
fix some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:04:47 +0200] rev 7392
[querier test] test groupby function call / column number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 May 2011 07:37:13 +0200] rev 7391
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 21:41:50 +0200] rev 7390
[plot views] don't paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:25:33 +0200] rev 7389
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:24:00 +0200] rev 7388
[url rewriting] fix nasty bug in build_rset inner function: the same dictionary is used by all queries, hence triggering potentially important bugs on concurrent requests (this dictionary goes back and forth the repository)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 17:05:22 +0200] rev 7387
[hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)
the idea is to make a first pass over all the hooks in the registry and to mark
put some of them in a disabled list. The disabled hooks are the one which:
* are disabled at the session level
* have a match_rtype or an is_instance selector which does not
match the rtype / etype of the relations / entities for
which we are calling the hooks. This works because the
repository calls the hooks grouped by rtype or by etype when
using the entities or eids_to_from keyword arguments
Only hooks with a simple selector or an AndSelector of simple
selectors (is_instance and match_rtype) are considered for disabling.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 11:36:42 +0200] rev 7386
[repo test] datafeed parser's process method should now take raise_on_error argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 10:17:48 +0200] rev 7385
[datafeed] propagate raise_on_error to parser's process method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 16 May 2011 10:19:22 +0200] rev 7384
[http] Make a better __repr__ for Status responce exception.
This help debug.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 May 2011 18:47:03 +0200] rev 7383
[schema] fix imprecise error message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 13 May 2011 14:58:16 +0200] rev 7382
fix name error introduced in previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:51 +0200] rev 7381
[server test] restore logging level after test end
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:48 +0200] rev 7380
[web data] fix datadir handling to avoid web test failure introduced somewhere in default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:42:04 +0200] rev 7379
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:41 +0200] rev 7378
[datafeed] extract a generic DataFeedXMLParser from CWEntityXMLParser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:19 +0200] rev 7377
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:54 +0200] rev 7376
[entity] fix cw_instantiate w/ reverse_ relation crash when either multiple entities are given or an eid instead of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:52 +0200] rev 7375
[cw source ui] fix mapping checking for datafeed source (avoid false positive error, but doesn't check that much things)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 May 2011 10:22:17 +0200] rev 7374
[web request] don't define pageid js variable when one is found in form parameters (eg, page ajax call)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:03:16 +0200] rev 7373
[repo cache] there are some relations we don't want to cache, they may cause memory leak
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:02:27 +0200] rev 7372
[c-c shell] we should commit the migration handler, cnx is not None unless connected through pyro
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:06:41 +0200] rev 7371
[cwpermission, cwgroup] convenience method on CWGroup to grant a local permission (ie CWPermission) on an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:05:59 +0200] rev 7370
[cleanup] kill some remaining traces of goa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:04:29 +0200] rev 7369
[c-c shell] closes #1669147: autocommit in maintenance scripts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:41:21 +0200] rev 7368
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:01 +0200] rev 7367
Added tag cubicweb-debian-version-3.12.4-1 for changeset 7c4d34a5ec57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:00 +0200] rev 7366
Added tag cubicweb-version-3.12.4 for changeset 5cd0dbc26882
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:29:12 +0200] rev 7365
3.12.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:11:51 +0200] rev 7364
missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:04:56 +0200] rev 7363
don't let windmill/qunit test break apycot warning for all web/test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:42:02 +0200] rev 7362
[selectors] enhance rql_condition to make it usable as a condition on request's user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:39:51 +0200] rev 7361
[repo test] fix test broken by c2452cd57026 by using proper fake session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:38:44 +0200] rev 7360
[testlib] fake session can be given a vreg
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:30 +0200] rev 7359
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:18 +0200] rev 7358
fix some test failures introduced by 7350:c2452cd57026
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:50:13 +0200] rev 7357
[rql2sql] fix bug avoiding outer join relation to be used as a variable principal. Closes #1659395
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:17:55 +0200] rev 7356
resurrect code lost by too much patch manipulation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:23:48 +0200] rev 7355
backport stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 02 May 2011 20:41:46 +0200] rev 7354
[parsers] various refactorings
- inline method process_one
- rename value to others in action methods
- turn _complete_url into _complete_item
- turn _related_link callbacks into a boolean parameter create_when_not_found
- fix spelling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:15:43 +0200] rev 7353
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:08:41 +0200] rev 7352
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:07:14 +0200] rev 7351
fix _set_relation when no target eids, update datafeed source pull_data arguments to raise on error during tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 12:07:54 +0200] rev 7350
[session] enhance session's transaction storage handling to fix cases where commit/rollback is done while in the context of hooks_control/security_enabled managers. Closes #1412648: commit or rollback during postcreate reset hooks control state
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 10:28:29 +0200] rev 7349
[session] nicer local variable names
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 May 2011 07:57:52 +0200] rev 7348
[web server] #1642893 issue a 403 instead of a 500 on Unauthorized exception
To do so, we allow an arbitrary code to be passed to ``error_handler``. Default
error code is still 500.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 09 May 2011 18:16:20 +0200] rev 7347
[css] repair selected slice distinctiveness (with a nice, discrete bg color)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 17:42:28 +0200] rev 7346
[view] ability to define a column header through custom label_column_<colindex> method, useful for table view to customize a specific column without specifying others
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:12:17 +0200] rev 7345
[selectors] test/fix rql_condition to make it works when entity is specified via 'entity' keyword argument instead of rset, row and col
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:11:00 +0200] rev 7344
[etwist] fix bug w/ new resources concantenation and https-url enabled sites
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:50:14 +0200] rev 7343
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Apr 2011 12:35:41 +0200] rev 7342
adds support for a portable db import/export format (closes: #1521112)
the db-dump and db-restore cwctl commands are enhanced with a --format option
(defaults to 'native'). If the format is 'portable', then the system database
dump / restore is performed using pure SQL queries and the storage uses picked
Python objects in a zip archive.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 16:33:55 +0200] rev 7341
add a new method iter_process_result which does the same as proces_result but is a generator (closes #1625374)
process_result is reimplemented using the new method, and the two helper
methods are turned into generators.
These generators use cursor.fetchmany instead of cursor.fetchall after setting
cursor.arraysize to 100. This means that the whole result set should never
loaded in memory when using the iter_process_result method. This is used in the
"portable" database dump implementation when we typically to 'SELECT * FROM
table', but could probably be used too in other parts of cubicweb.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:35:10 +0200] rev 7340
[session] lock self._closed and session.close to avoid race conditions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:34:23 +0200] rev 7339
[server test] use a lock instead of sleep to have higher green probability :/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:47:49 +0200] rev 7338
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:03:03 +0200] rev 7337
[testlib] create_user may now create user's email address
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:02:26 +0200] rev 7336
enhanced comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:14:09 +0200] rev 7335
[i18n] en translation fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:49 +0200] rev 7334
[users management] use an existing msgid...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:22 +0200] rev 7333
[cwgroup views] uicfg rules cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:47 +0200] rev 7332
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:36 +0200] rev 7331
[testlib] grant_permission now accept either an entity or en eid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 09:37:07 +0200] rev 7330
[session selector] missing not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:21:31 +0200] rev 7329
[session] new selectors according to session type (eg user or internal
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:58 +0200] rev 7328
[ajax] reload method should return underlying deferred
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:26 +0200] rev 7327
[user mgmt] should show user login in first column in any case (e.g. application specific override)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:44:40 +0200] rev 7326
[component|i18n] give imgs an alt attribute, refresh i18n po files
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:41:42 +0200] rev 7325
[i18n/es] repair es.po
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 11:28:42 +0200] rev 7324
[testlib] fix deprecation warning stack level
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:07:05 +0200] rev 7323
[nav component/cosmetics] have nice looking arrows insteads of << / >>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:52:09 +0200] rev 7322
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:26 +0200] rev 7321
Added tag cubicweb-debian-version-3.12.3-1 for changeset ba8fe4f2e408
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:25 +0200] rev 7320
Added tag cubicweb-version-3.12.3 for changeset e712bc6f1f71
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:30:43 +0200] rev 7319
3.12.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:21:21 +0200] rev 7318
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:21 +0200] rev 7317
Added tag cubicweb-debian-version-3.11.3-1 for changeset b3c6702761a1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:20 +0200] rev 7316
Added tag cubicweb-version-3.11.3 for changeset b7a124f9aed2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:01:18 +0200] rev 7315
3.11.3 hopefuly closing the 3.11 serie
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:28:24 +0200] rev 7314
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:26:28 +0200] rev 7313
[testlib] fix assertAuthFailure to consider both None and dbapi._NeedAuthAccessMock as meaning 'no connection has been set'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:36:03 +0200] rev 7312
[i18n] update spanish translation, thanks to Celso from CreaLibre
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:34:02 +0200] rev 7311
[i18n] fix french translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:33:53 +0200] rev 7310
[primary, metadata] reuse existing msgids
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 May 2011 12:50:21 +0200] rev 7309
fix ajax loading of concatenated js/ css + prefix concat cache files to ease cache clearing
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 05 May 2011 10:38:23 +0200] rev 7308
[entity] make set_relations() accept entities and eids (closes #1631391)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:54:41 +0200] rev 7307
[CubicWebTC] fix create_user bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:46:29 +0200] rev 7306
[msplanner] fix regression and test failure introduced in 7292:258c92805066
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 May 2011 14:55:27 +0200] rev 7305
[repository quick start] should modify class attribute to get this actually working (used by a classmethod)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 04 May 2011 12:25:50 +0200] rev 7304
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 May 2011 12:24:41 +0200] rev 7303
[js] use minified jquery
Florent Cayré <florent.cayre@gmail.com> [Wed, 04 May 2011 10:32:15 +0200] rev 7302
[entity] fix entity fetch_rql when fetch_attrs contains a rtype with multiple destination etypes which do not have the same fetched attributes themselves (closes #1631282)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 17:43:53 +0200] rev 7301
[configuration] exit with proper message when sources file is unreadable (you usually started cw while logged with a wrong user). Closes #1631238
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 03 May 2011 13:57:18 +0200] rev 7300
[js] remove facet-loading.png, use plain-text / i18n
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:03:27 +0200] rev 7299
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:02:32 +0200] rev 7298
[selectors] fix on_fire_transition for cases where change_state is called (eg no transition specified)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 17:24:51 +0200] rev 7297
[workflow selectors] introduced new on_fire_transition hook selector, deprecated on_transition
+ minor docstring cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:59:30 +0200] rev 7296
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:46:03 +0200] rev 7295
[migration] new command to get default workflow for an entity type
* * *
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:07:13 +0200] rev 7294
[workflow hooks] reuse metadata/integrity categories instead of a new 'workflow' category and drop useless hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:06:20 +0200] rev 7293
[entity 3.13 api] rename clear_all_caches into cw_clear_all_cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 20:16:54 +0200] rev 7292
[ms planner] ignore neged source relation when trying to restrict query sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:34:18 +0200] rev 7291
[users management] show email as text avoid specific primary email rendering (and we don't bother getting a clickable link)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:12:14 +0200] rev 7290
[primary view] display entity source in 'metadata' view if it's not the system source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:07:59 +0200] rev 7289
[users management] enhance users table: show state, primary email and data source; show filter form
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:31:25 +0200] rev 7288
merge changes from oldstable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:29:22 +0200] rev 7287
[entity] improve error message
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:28:20 +0200] rev 7286
[doc] fix doc and tutorials about hooks and operations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 16:34:31 +0200] rev 7285
[optim] cache rset column structures
When iterating over large resultsets (lot of colcumns, lot of lines)
to build entities, caching column structure (which attribute or relation
is stored in each column) can improve performance noticeably.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:34:53 +0200] rev 7284
[js] make _loadAjaxHtmlHead aware of mod_concat-like urls
_loadAjaxHtmlHead keeps track of already imported resources (js / css)
to make sure they're not included twice, but with mod_concat-like urls,
things get a bit more complicated :
if BASE_URL/data??foo.js,bar.js is already imported, then loading :
BASE_URL/data??bar.js,spam.js should only load spam.js
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:12:49 +0200] rev 7283
[etwist] in debug-mode, concat-file is rebuilt if one of the concatenated file is more recent
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:17 +0200] rev 7282
[facets] display splash image while facets are reloading content (closes #1624851)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:40 +0200] rev 7281
[facets] mark titles of active facets with red dot (closes #1624857)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 10:29:25 +0200] rev 7280
[facet] add missing selector to HasRelationFacet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 09:33:30 +0200] rev 7279
[facets] proper fix for #1625112: we should rather call unicode() as we always manipulate string as unicode internally
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 09:08:30 +0200] rev 7278
merge
Quentin Roquefort <roquefort.quentin@gmail.com> [Thu, 28 Apr 2011 20:41:44 +0200] rev 7277
[etwist] Generates apache's mod_concat-like urls for js and css
Uses the lists of js, css and ie_css included in order to generate
urls compatible with Apache mod_concat (ie: http://test.fr/??file1.js,file2.js).
Css files may use `media` option or may be for IE only ; this patch
does not concatenate css filenames for different media types or
different IE specs.
It concatenates only files served under cubicweb's `data` urls
and keeps original include order.
The generated urls are added to the HTML header as usual.
HOW-TO:
- calling HTMLHead(datadir_url) will enable the url concatenation
- calling HTMLHead() will not benefit of url concatenation
IMPORTANT NOTE:
- fckeditor can no more be served under `/data/` segment
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 20:24:27 +0200] rev 7276
handle js/ css file concatenation with twisted
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 19:42:19 +0200] rev 7275
put data version md5 into a new url segment to ease static serving
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 17:36:04 +0200] rev 7274
add cwctl command to generate a consolidated data directory with all cubes/ cubicweb data directories content to be delivered statically
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 17:33:56 +0200] rev 7273
[etwist] refactor child resources management
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:38:01 +0200] rev 7272
[vreg] vregistry._select_best was needlessly instanciating NoSelectableObject (closes #1626708)
in large selections, this incurred a non negligible cost (add_relations with
2000 inlined relations runs 7% faster with this patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:30:16 +0200] rev 7271
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:21 +0200] rev 7270
merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:12 +0200] rev 7269
merge oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:25:46 +0200] rev 7268
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:51 +0200] rev 7267
[page data] don't call unload_page_data too many time (closes #1518398)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:37 +0200] rev 7266
[request] don't init tabindex unnecessarily, since it's added to page data which will makes an ajax call to unload_page_data necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:11 +0200] rev 7265
[deprecation] kill a remaining 3.6 warning
Florent Cayré [Wed, 27 Apr 2011 15:42:07 +0200] rev 7264
[web config] fix md5 version to ensure cubes order and to include cubicweb version
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:36 +0200] rev 7263
merged stable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:14 +0200] rev 7262
merged oldstable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:10:10 +0200] rev 7261
place the disable hooks context manager at the right place (closes: #1626694)
hooks control is reset at each commit so we need to have a smaller scope for the CM in the 3.10.9 migration script
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:20:12 +0200] rev 7260
backport stable into default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:19:42 +0200] rev 7259
backport oldstable into stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:18:48 +0200] rev 7258
[js] fix inArray usage in reorderTabIndex() : inArray returns -1 if element is not found, not 'false'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 12:23:43 +0200] rev 7257
[rql] basic support for regexp-based pattern matching
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 11:37:42 +0200] rev 7256
[rql] support CAST() Function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:55:17 +0200] rev 7255
stable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:54:22 +0200] rev 7254
oldstable is now 3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:41:55 +0200] rev 7253
[js] delete empty js files (incluced in cw.ajax.js)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:32:05 +0200] rev 7252
[sql generation] fix crash on outer join + ambiguous inlined relation + attribute selection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Apr 2011 16:14:43 +0200] rev 7251
[rql rewrite] backout 7177:f2a976cf7dac : since EXISTS is the variable scope, we want to insert snippets here anyway (other solution would be to NOT insert snippets at all in such case). Closes #1625464
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 22 Apr 2011 16:23:34 +0200] rev 7250
[book] fix documentation + add chpasswd.py script
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:24:56 +0200] rev 7249
[facets] fix unicode encode error; closes #1625112
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:15:10 +0200] rev 7248
[facets] fix RangeFacet get_widget: do no return a widget unless there are at least 2 values; closes #1625203
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:20:48 +0200] rev 7247
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:17:51 +0200] rev 7246
Backed out changeset 7a58581d842c
This changeset breaks a number of CW tests, which depends on pre add hooks. I'm
backing it out, so that we can start the need-for-speed sprint with green tests
(and possibly rework this changeset)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:02:32 +0200] rev 7245
small reformatting (but test still fails)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 11:58:41 +0200] rev 7244
fix tests broken by fcb8932082a5 (continued)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:29:23 +0200] rev 7243
fix bad handling of inlined relations when entities of different etypes are passed as subject to add_relations
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:28:26 +0200] rev 7242
fix failing test_migration test caused by schema change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 09:48:37 +0200] rev 7241
fix tests broken by fcb8932082a5
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 18:10:49 +0200] rev 7240
merge back stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 17:25:32 +0200] rev 7239
fix server/test/unittest_checkintegrity (failing since 70538ea2532d)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 16:55:52 +0200] rev 7238
fix implementation of repository.glob_add_relations (closes ##1625257)
the internal data structure had changed during implementation and the code had
not been updated...
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 15:42:17 +0200] rev 7237
[server] improve the speed of setting relations between entities (closes #1625257)
The main idea is to add methods equivalent to session.add_relation and
repository.glob_add_relation which handle several relations in one call. Speed
gain results from:
* using cursor.executemany to run SQL statements
* factorizing some code which otherwise has to be performed for each relation,
such as context manager creation before calling hooks or to enable security,
creation of the EditedEntity instance (when several inlined relations are set
on a single entity, and consequently when refreshing the cached entity)
benchmark runs 1.1x faster for non inlined entities and 125x faster for inlined
entities :-)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 16:05:20 +0200] rev 7236
added test case to monitor speed improvements in the repository code.
To use it, add a test in a patch, then hack CW to speed it up in another patch,
updating the test if needed. By running the test with and without the second
patch applied you can easily see the speed improvements
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 08:28:52 +0200] rev 7235
backport stable changes to default
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Apr 2011 19:39:22 +0200] rev 7234
[js] update jquery.corner.js to the latest version (uses native css support for browser that provide it); closes #1625065
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 19:34:20 +0200] rev 7233
[js/css] remove old versions of ui.tabs/slider etc.; closes #1625085
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 08:03:46 +0200] rev 7232
[devtools] make return value of get_response_header(raw=True) consistent wrt get_header(raw=True)
i.e. get_response_header(raw=True) now returns the first element of the list rather
than the list itself.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 15 Apr 2011 12:58:31 +0200] rev 7231
[widgets] handle no value label for tristate radios, put default separator on class for easier redefinition - closes #1624839
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 15 Apr 2011 11:58:33 +0200] rev 7230
[doc] update of the update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:22:38 +0200] rev 7229
[tz postgres support] we've to commit the connection once time-zone is set, else we may loose the setting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:59 +0200] rev 7228
[tz support] more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:06 +0200] rev 7227
[dataimport] actually commit every desired number...
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 06 Apr 2011 12:33:39 +0200] rev 7226
[doc] major update of the install documentation
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 11:36:47 +0200] rev 7225
[facets] make rangefacet comply with start_unfolded (closes #1615869)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 14 Apr 2011 14:19:21 +0200] rev 7224
[testlib] make a clear distinction between input / output HTTP headers
The get_header() / set_header() API is the same as for CubicWebRequestBase :
- get_header() returns the **request** header
- set_header() / add_header() works on the **response** header
FakeRequest adds two additional methods :
- get_response_header() returns the **reponse** header
- set_request_header() adds a **request** header
FakeRequest now uses the `headers_out` ineherited from CubicWebRequestBase.
It also uses a `_headers_in` attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:46 +0200] rev 7223
[entity] create_entity/cw_instantiate should initialize entity's cache to avoid later queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:44 +0200] rev 7222
[testlib] refactor create_user and grant_permission to make them usable from pre_setup_database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 11:38:10 +0200] rev 7221
[3.12 regression] don't access to __class__ directly, it may raise AttributeError
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 14:02:04 +0200] rev 7220
[testlib] fix typos / NameErrors in devtools/__init__.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 12:50:31 +0200] rev 7219
[schema serialization] add warning on missing group
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:46:00 +0200] rev 7218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:34:53 +0200] rev 7217
[testlib] fix bug in backup file name generation: it may erroneously replace '-' by '_' in database **parent directories**. This should fix random error when test are run under apycot.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:03:42 +0200] rev 7216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 09:58:19 +0200] rev 7215
[schema diagram] proper url generation (closes #1621276)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 09:46:29 +0200] rev 7214
[testlib] fix readlb config handling, avoid systematic recreation of db with postgres (closes #1618089)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Apr 2011 08:38:24 +0200] rev 7213
[entities] fix cw_instantiate typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Apr 2011 17:32:06 +0200] rev 7212
[entities/test] add failing test for cw_instantiate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 14:09:39 +0200] rev 7211
[timezone] ensure tzinfo is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 13:05:16 +0200] rev 7210
[entity] use a list comprehension
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:57 +0200] rev 7209
Added tag cubicweb-debian-version-3.12.2-1 for changeset 6d418fb3ffed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:56 +0200] rev 7208
Added tag cubicweb-version-3.12.2 for changeset 5a9b6bc56538
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:19:24 +0200] rev 7207
[packaging] prepare the release of version 3.12.2
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 20:43:30 +0200] rev 7206
merge changes from stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 18:33:18 +0200] rev 7205
[facet] ignore range extremas to avoid filtering out rows where value is NULL (closes #1251192)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:51:49 +0200] rev 7204
Backed out changeset e0e802afa8e1, widgets are actually defined below
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:12:02 +0200] rev 7203
[facet] refactor: a simple class attribute is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:29:41 +0200] rev 7202
[native source] eid_creation_lock actually lock the eid connection creation and usage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:28:59 +0200] rev 7201
[dataimport] allow to specify columns on which result should be sorted in lazydbtable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Apr 2011 09:02:55 +0200] rev 7200
[entity creation] ensure this is a relation and not an attribute before moving things into pending_relations because value is a list
Using a list for attributes may be used for later type specific casting (e.g. timeseries)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Apr 2011 18:10:07 +0200] rev 7199
[fckeditor] fix fckeditor relative url: use baseuri()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:47 +0200] rev 7198
Added tag cubicweb-debian-version-3.12.1-1 for changeset 07e2c9c7df26
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:46 +0200] rev 7197
Added tag cubicweb-version-3.12.1 for changeset 59701627adba
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:06 +0200] rev 7196
3.12.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:00 +0200] rev 7195
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:24:19 +0200] rev 7194
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:23:48 +0200] rev 7193
[sql generation] fix missing join with outer joins w/ rhs invariant variable...
... where the principal where not the processed relation.
This led to major refactoring in outer join handling, which is now much
clearer and powerful.
Closes #1579228
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:01:58 +0200] rev 7192
[test, cw props] ensure we can't add user specific / system-wide properties
we had this pb on an historical instance in our intranet (eg. running
for about 8 years).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:52 +0200] rev 7191
[ms planner] fix buggy temp table name generation, may generate duplicated unique id with subqueries/union
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:51 +0200] rev 7190
[system source] drop now useless bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:50 +0200] rev 7189
[test] silent warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:39 +0200] rev 7188
[ms planner] use an index to avoid doing the same step twice
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 06 Apr 2011 16:01:19 +0200] rev 7187
[views] extend HTMLStream API to be able to change doctype / xmldecl
When generating RDFa (for instance), the doctype must be :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
This changeset adds a ``set_doctype()`` method on request objects to allow
such changes during page generation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 16:00:56 +0200] rev 7186
[test] drop some warnings introduced by new test dabase handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:17:48 +0200] rev 7185
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:10:21 +0200] rev 7184
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 04 Apr 2011 14:10:52 +0200] rev 7183
[web] fix CalendarView : both icalendarable.start and icalendarable.stop dates can be None
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 14:23:11 +0200] rev 7182
[edit controller] fix subform formid in EditController (would need further improvement)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 09:57:28 +0200] rev 7181
[schema synchronization] get back eid when adding a final entity type, else it may cause pb on later schema synchronization during the migration where the type is added
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:24:02 +0200] rev 7180
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:23:47 +0200] rev 7179
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 08:39:49 +0200] rev 7178
fileConfig is in logging.config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:48:53 +0200] rev 7177
[entity vocab] fix bug introduced in 3.12 vs/ entity vocabulary, leading to some unexpected empty vocabulary. Fix test accordingly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:47:18 +0200] rev 7176
[rql rewriter] take care not to introduce snippets into a neged scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:19:12 +0200] rev 7175
[old css] use aColor property
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:56 +0200] rev 7174
[uipros] drop unused properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:03 +0200] rev 7173
[selectors] abstract ExpectedValueSelector now accept a set as single argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:15:35 +0200] rev 7172
[igeocodable] import adapter description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:50:10 +0200] rev 7171
[dataimport] tell more and nicely about transaction status
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:49:39 +0200] rev 7170
[dataimport] propagate stack
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7169
Added tag cubicweb-debian-version-3.12.0-1 for changeset 92b56939b7c7
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7168
Added tag cubicweb-version-3.12.0 for changeset fd502219eb76
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:01:03 +0200] rev 7167
prepare 3.12.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 15:04:47 +0200] rev 7166
[time zone] support for TZDatetime and TZTime data type
Should be usable and cause no crash, though some stuff may still be
refined (test value generation, display in views/forms...)
Proprify some data structures dealing with yams base types along the
way and adding warning when some were missing (eg Interval usually).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:38:16 +0200] rev 7165
merged test fix from stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 01 Apr 2011 14:34:11 +0200] rev 7164
[http] implement 1587305: provide better implementation of Accept header parsing + tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 14:26:18 +0200] rev 7163
[web test] extract a set_auth_mode method from init_authentication and use it in test_fb_login_concept to avoid bad test interaction
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:25:55 +0200] rev 7162
merge stable to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 08:20:25 +0200] rev 7161
fix failing tests before 3.12 release
added a skip in unittest_reledit, I'd like acampeas to give it a look.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:41 +0200] rev 7160
[dataimport] new 'lazydbtable' generator function to feed data from a database table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:37 +0200] rev 7159
[dataimport] ObjectStore.create_entity should return something that looks like an entity (eg no more using dict protocol to access to attributes)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:29 +0200] rev 7158
[dataimport] cleanups, update docstring to up-to-date usage
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 21:24:39 +0200] rev 7157
[doc] improve dostring of server.hook
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 17:24:38 +0200] rev 7156
merge back stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 17:12:27 +0200] rev 7155
[cwctl] refactor ui messages aiming for consistency and simplicity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:52 +0200] rev 7154
[entity vocabulary] refactor unrelated rql to allow usage of RQLRewriter to insert schema constraints. Closes #1561806
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:50 +0200] rev 7153
[entity vocabulary] fix unrelated rql generation to skip rql constraints that don't make sense
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:46 +0200] rev 7152
[schema, refactoring] use RQLExpression as base class for RQL constraint classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:18:21 +0200] rev 7151
[reledit] fix crash due to wrong attributes usage
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 09:39:51 +0200] rev 7150
merge
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 09:17:43 +0200] rev 7149
make it easier to inherit from EditionFormView
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 16:40:55 +0200] rev 7148
more TZDatetime/TZTime test fixes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:51:10 +0200] rev 7147
fix test_knownValues_load_schema
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:44:26 +0200] rev 7146
backport stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 15:09:13 +0200] rev 7145
[doc] fix typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 14:55:14 +0200] rev 7144
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 14:03:10 +0200] rev 7143
[AnyEntity] rename __linkto attribute as cw_linkto to avoid name mangling which make overriding/monkey-patching unnecessarily harder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 13:59:23 +0200] rev 7142
[sql generation test] avoid lgdb warnings when a db module is faked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:58 +0200] rev 7141
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:21 +0200] rev 7140
[c-c create] unification of c-c create and its subcommands handling
* create/db-create/db-init uniformly accept --automatic and --config-level
options, properly passed along the way
* --automatic option fixed so it doesn't need yes or no argument
* closes ##1537265 on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:08:15 +0200] rev 7139
[rql rewriter] to properly handle 'relation' rql expressions, rql rewriter must support multiple variables (eg S and O) at once to be given as varmap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:16 +0200] rev 7138
[rql rewriter] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:07 +0200] rev 7137
[rql rewriter] don't add unnecessary (potentially buggy) exists
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:25:10 +0200] rev 7136
update lgc dependency also in pkginfo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:05:24 +0200] rev 7135
updated lgc dependency
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 08:47:09 +0200] rev 7134
allow CW to act as a Pyro Server without registering the server to a Pyro Nameserver (closes #1528533)
This is achieved by configuring the pyro-ns-host to __NO_PYRONS__ (which is an illegal value for a host name)
The Pyro URI for the server can be retrieved by reading the pyro_uri attribute of the Repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 29 Mar 2011 09:02:49 +0200] rev 7133
[date picker] apply Carlos patch fixing spanish date picker translation file. Closes #1558893
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:58 +0200] rev 7132
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:47 +0200] rev 7131
[c-c create] we should also skip option with no type, else we may generate title for section without any option to fill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:57:34 +0200] rev 7130
[config] do not set base-url during instance creation, we don't want generated value to ends up in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:56:55 +0200] rev 7129
[config] generalise config.creating, allowing to drop set_language class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:53:54 +0200] rev 7128
[web test] fix broken url in reledit. tests BROKEN ANYWAY (crash due to missing attribute)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:45 +0200] rev 7127
merge
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:26 +0200] rev 7126
Added tag cubicweb-debian-version-3.11.2-1 for changeset 954b5b51cd92
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:25 +0200] rev 7125
Added tag cubicweb-version-3.11.2 for changeset 56ae3cd5f855
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:20:22 +0200] rev 7124
[packaging] prepare 3.11.2
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 28 Mar 2011 17:58:46 +0200] rev 7123
try to reconstruct the file forgotten by syt in changeset e094b3d4eb95
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 17:39:21 +0200] rev 7122
[javascript] fix loadRemote test for JSON_BASE_URL / baseuri matching
put both url and baseuri() to lowercase since baseuri() might have
uppercase characters.
Thanks to Florent for spotting this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:54 +0200] rev 7121
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:46 +0200] rev 7120
[cwuser, persistent properties] fix recent set_property implementation on CWUser: for_user is automatically handled for non-managers users (this is seriously debatable though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:41:36 +0200] rev 7119
[repository] fix crash in optimized [add|remove]_relation w/ inlined relation (broken by cw 3.10 refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:39:49 +0200] rev 7118
[server] move EditedEntity class to its own module, to avoid cyclic dependency when needed from e.g. session.py
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 15:23:57 +0200] rev 7117
[facets] closes #1569459 (date-range facet with year < 1900)
use lgc.date.ustrftime() and lgc.date.ticks2datetime to convert js date ticks and
have a chance to handle dates with year < 1900.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:15:49 +0200] rev 7116
[session] add find_entities and find_one_entity to session/request API (closes #1550045)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:16:11 +0200] rev 7115
[web formwidgets] add missing tabindex to jquery date and time widgets (closes #1568475)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 14:49:22 +0200] rev 7114
[c-c create] db-create doesn't not take a verbose option any longer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 12:50:56 +0200] rev 7113
[css] we should use padding instead of margin here, else the element as size greater than <body>, forcing an horizontal scrollbar to appear
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 15:45:38 +0100] rev 7112
[db connection] fix db connections method: verbose should be named interactive, it's not a question of verbosity but wether question should be asked or not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:51:20 +0100] rev 7111
[cwprops, migration] fix [set_]property to ensure we don't retrieve a user specific value. Add some docstring along the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:43:57 +0100] rev 7110
[cwprops] add set_property method on CWUser instances, to ease setting of user specific properties
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Mar 2011 15:21:13 +0100] rev 7109
[merge] backport stable fixes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Mar 2011 15:11:38 +0100] rev 7108
Abstract the support for ORDER BY and LIMIT/OFFSET SQL generation
all DB engines do not support the same syntax for these features, MS SQLServer being the bad boy we try to support in CW.
* Use two new methods of dbhelper to add LIMIT/OFFSET clauses and ORDER BY clauses
* added unit tests for sqlserver backend
* changed unittest_rql2sql to lauch the backend tests even if the driver module is not installed on the machine, so
that we can run the sqlserver tests on linux (and the mysql tests too)
* adapt msstep.py to the new interface
closes #1154756
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:31:12 +0100] rev 7107
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:30:14 +0100] rev 7106
[migration] Lesser memory consumption of cwuri fix + actually commit every 100 processed entities
Don't use the ORM as added value is poor while all intentiated object are keept
by rset cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:25:57 +0100] rev 7105
[migration] improve fix cwuri progress bar
* Use the progress context manager,
* Adds a title
* Informs that operation have been partially committed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:24:26 +0100] rev 7104
[migration] explicit first step of 3.10.9 migration.
Previously there was on a "commit now" confirmation.
The reason of the request are now explained and both request must be confirmed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:20 +0100] rev 7103
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:10 +0100] rev 7102
[uiprops, css] make header background actually modifiable through uiprops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:20:33 +0100] rev 7101
[components] add **kwargs to render method of header components to make them usable as regular components (eg in other places than the header
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Mar 2011 18:20:34 +0100] rev 7100
[schema views] don't propose 'view all' action for final entity types (closes #1560549)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 23 Mar 2011 11:35:41 +0100] rev 7099
[doc] fix urls pointing to repositories and download sites
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:47:42 +0100] rev 7098
backported tag to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:44:57 +0100] rev 7097
Added tag cubicweb-version-3.9.x for changeset 48f468f33704
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:51 +0100] rev 7096
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:07 +0100] rev 7095
[devtools] missing py2.5 compat import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:21:36 +0100] rev 7094
merge oldstable into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:20:45 +0100] rev 7093
fix stupid typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:14:58 +0100] rev 7092
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:07:08 +0100] rev 7091
merge: [testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:03:50 +0100] rev 7090
[testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 11:38:52 +0100] rev 7089
remove conflict marker
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Mar 2011 18:12:57 +0100] rev 7088
merge old stable into stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7087
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7086
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:56 +0100] rev 7085
merged back pylint help changes to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:11 +0100] rev 7084
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:37:46 +0100] rev 7083
help pylint by explicitely defining some attributes
* the logging functions automatically set by set_log_methods
* the attributes of Hook classes (eidfrom, entity...):
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 21:36:06 +0100] rev 7082
[doc] fix indentation spelling and grammar of tutorials/advanced/part03_bfss
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 10:38:02 +0100] rev 7081
[doc] complete description of EXISTS in rql/language.rst
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7080
[doc] fix rql/debugging.rst and server.__init__ docstrings
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7079
[doc] fix rql/debugging.rst and server.__init__ docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 22:35:19 +0100] rev 7062
[http test] fix typo in super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:32:19 +0100] rev 7061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:21:40 +0100] rev 7060
[testlib] New assertion method assertSentEmail() to test presence of emails in system mailbox
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 18 Feb 2011 15:26:00 +0100] rev 7059
[tests] Fix web test for windmill and forms
- new component 'inout' needed to be clicked (windmill)
- renamed id will fail html tests (windmill and unittest_forms.py)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:16:44 +0100] rev 7058
[uilib] fix eid_param implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:32 +0100] rev 7057
[test] fix bad super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:12 +0100] rev 7056
[dbapi] split in_memory_cnx functions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:38 +0100] rev 7055
Remove trailing white space
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:15 +0100] rev 7054
Add a "closed" property on session
This will simplify check and allow nicer error thatn the current "no _tx_data"
attribute error.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:02 +0100] rev 7053
[test] Improve tagging and error message of TwistedCWIdentTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:52:35 +0100] rev 7052
[test/windmill] Gracefully skip windmill test if windmill can't be imported.
If windmill import fails the windmill module is set to None and a dummy
CubicWebWindmillUseCase test class is create. This class contains a test that
skip itself with a proper warning message.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:49:32 +0100] rev 7051
[devtools/qunit] had "qunit" test for tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 16:00:25 +0100] rev 7050
[3.10.9 migration] don't display progress bar if stdout is not a tty
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 23:16:22 +0100] rev 7049
[source host alias] match_host is the attribute, match is the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7048
Added tag cubicweb-debian-version-3.11.1-1 for changeset 77318f1ec4aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7047
Added tag cubicweb-version-3.11.1 for changeset d0410eb4d8bb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:22:00 +0100] rev 7046
3.11.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:21:54 +0100] rev 7045
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:29 +0100] rev 7044
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:00 +0100] rev 7043
some copyrigh updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:17:07 +0100] rev 7042
[sql generation] fix exists table scope pb: when iterating other solutions inner to an EXISTS subquery, we should reset variables which have this exists node as scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:15:06 +0100] rev 7041
[sql generation] fix table scope pb: when an inlined relation is used as principal for the rhs variable, we should adjust lhs variable'scope
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 07 Mar 2011 17:02:15 +0100] rev 7040
merge stable changes into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:41:04 +0100] rev 7039
[testlib] backport some useful testing utilities from tracker's testutils module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:40:07 +0100] rev 7038
[testlib] fix rql generation bug w/ groups given as unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 17:50:13 +0100] rev 7037
[multi-sources] add missing close method on ConnectionWrapper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:57 +0100] rev 7036
[c-c db-check] new checks for entities missing a mandatory relation/attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:34 +0100] rev 7035
[c-c db-check] factorize code by introducing notify_fixed dumb function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 15:44:07 +0100] rev 7034
[migration] cleanup corrupted database, pb noticed on several instances
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Mar 2011 12:55:29 +0100] rev 7033
[dataimport] remove eid_key deprecation warning and prints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:14:19 +0100] rev 7032
[config] fix option group clash causing anonymous user configuration to end in the MAIN section instead of the WEB section if cubicweb-dev is installed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:12:42 +0100] rev 7031
[config refactoring] rename eproperty_definition method to cwproperty_definition
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:33:10 +0100] rev 7030
allow configuring the level of the configuration settings for cw-ctl add-source and db-init (which may call add-source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:30:32 +0100] rev 7029
add some tips for users who want to bind to an AD server
adjust the level of the different configuration parameters so that the condfiguration becomes usable outside Logilab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:31:18 +0100] rev 7028
[c-c upgrade] rename force-componant-version option to force-cube-version and cleanup code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:28:59 +0100] rev 7027
[repo querier] fix rqlst cache no limit issue, comment the code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 18:18:42 +0100] rev 7026
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:45 +0100] rev 7025
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:07:40 +0100] rev 7024
[source hooks] filter out case where source configuration doesn't have to be reloaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:00 +0100] rev 7023
Added tag cubicweb-debian-version-3.11.0-1 for changeset 8daabda9f571
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:10:59 +0100] rev 7022
Added tag cubicweb-version-3.11.0 for changeset 37432cede4fe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 16:30:02 +0100] rev 7021
[schema sync] we don't want to react on after_update_entity, it may only causes bug. CWUniqueConstraint should be deleted then a fresh one readded on change (as we do in sync_schema_props_perms)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:21 +0100] rev 7020
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:17 +0100] rev 7019
[source ui] uicfg tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:27:34 +0100] rev 7018
3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:18:28 +0100] rev 7017
[web test] fix some tests broken by recent (and various) changesets
notice test_jscript and test_windmill are still broken, a pain to
maintain and so breaks apycot test since we can't see state change
from green to red (they are always red due to those two tests)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 18 Feb 2011 09:33:51 +0100] rev 7016
[web/views] add a generic rdf view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:49 +0100] rev 7015
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:32 +0100] rev 7014
[testlib pageinfo] extract matching_node method from has_tag to ease looking for a node with a given set of attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 08:04:10 +0100] rev 7013
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:43:45 +0100] rev 7012
[schema serialization] for relation type, ertidx contains the relation type as string, for relation def, the RelationDefinitionSchema instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:23:41 +0100] rev 7011
[schema deserialization] enhance fix done in 7010:fa707848a88a to properly deal with cw 3.9 database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 17:46:10 +0100] rev 7010
[schema deserialization] _unique_together should hold string, not schema instance (may lead to crash during sync_schema_props_perms for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:38 +0100] rev 7009
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:25 +0100] rev 7008
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:18 +0100] rev 7007
[web test] ensure we're using proper instance home
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:09:06 +0100] rev 7006
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:20 +0100] rev 7005
[config] we should load available configuration before search for an instance configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:19 +0100] rev 7004
[dbapi] fix for cases where one want to use 'connect' for an in-memory connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:09 +0100] rev 7003
[skel] avoid pylint warning for newly generated cube
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:26:50 +0100] rev 7002
[sobjects/parsers] compatibility with xml view of cw <= 3.10
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:24:45 +0100] rev 7001
[sobjects/parsers] on validationerror, skip entity and continue processing feed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 17:59:58 +0100] rev 7000
[web test] fix test name conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:30:09 +0100] rev 6999
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:29:47 +0100] rev 6998
merge default heads
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 16 Feb 2011 09:02:00 +0100] rev 6997
[tabs] use datadir_url to build image url instead of hardcoding data/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:54:09 +0100] rev 6996
[wdoc] fallback to english title when no translation found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:40:25 +0100] rev 6995
[datafeed] don't crash if python-kerberos isn't installed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Feb 2011 23:32:32 +0100] rev 6994
[sobjects/parsers] add gssapi auth handler to urllib2 opener
applied patch gssapiauth.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Feb 2011 23:30:01 +0100] rev 6993
[data operation] add new remove_data method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 23:18:20 +0100] rev 6992
[migtration] fix migration script for 'dont cross' relations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:47:15 +0100] rev 6991
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:46:08 +0100] rev 6990
[dataimport] implement create_entity() on ObjectStore to provide a consistent interface
(+fix typo s/attribute_edited/edited_attributed/)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 16:46:49 +0100] rev 6989
[dataimport] make it possible to insert 'empty' (i.e. no-attrs) entities
In such cases (e.g. ternary relations), generated RQL must be
'INSERT MyEntityType' instead of 'INSERT MyEntityType:'
nico [Mon, 14 Feb 2011 09:38:03 +0100] rev 6988
[hooks] do not break if no entity created or updated during feed update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 09:37:17 +0100] rev 6987
[ajax box] fix ajaxBoxShowSelector w/ mono-valued fields + minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6986
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6985
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6984
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6983
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:22 +0100] rev 6982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:09 +0100] rev 6981
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 12:17:47 +0100] rev 6980
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:37:10 +0100] rev 6979
[testlib] take care, validator may be None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:29:23 +0100] rev 6978
[testlib] extract get_validator method from _check_html, move assertDocTestFile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:28:46 +0100] rev 6977
[testlib] new method on page info object to ensure some tag with arbitrary attributes is found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 10:57:35 +0100] rev 6976
[packaging, test] include ldap test files in sdist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 17:17:54 +0100] rev 6975
[test] python 2.5 specifix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:35 +0100] rev 6974
add a note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:23 +0100] rev 6973
[manage view] get etypes first to avoid xhtml validation error if no one found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:20:49 +0100] rev 6972
[datafeed] return empty dict when source is fresh avoid crash in the looping task because None returned
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 10 Feb 2011 13:26:41 +0100] rev 6971
[manage view] fix skipping of startup views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 12:28:31 +0100] rev 6970
[parser host mapping] take care to cases where apphome is None (c-c i18ncube command for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:25 +0100] rev 6969
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:14 +0100] rev 6968
[test] update cwxml tests: computed cwuri have changed, and parser.parse isn't anymore a static method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:57:09 +0100] rev 6967
[testlib] by default skip new 'manage' action's category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:49:41 +0100] rev 6966
[manage view] filter before displaying anything avoid xhtml errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:47:29 +0100] rev 6965
[test] update cwuri test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:08:40 +0100] rev 6964
[test] test extracted from unittest_hooks + new test for unique constraint check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:29 +0100] rev 6963
[datafeed] introduce a host mapping so dev instance may transparently redirect request to another host than the actual's one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:27 +0100] rev 6962
[management ui] add views to manage sources similarly to users
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:25 +0100] rev 6961
[manage view] cleanup manage view and user menu
* drop code that shouldn't be there (e.g. folders handling)
* add a section displaying site management actions, some of them
were initially in the user's drop down menu, which now only have
a 'manage' link with regards to management actions
* stop displaying 'system' and 'schema' entities by default, only
'application' entities
* put 'gc', 'registry' and 'info' views as tabs of a generic
'server information' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:24 +0100] rev 6960
[datafeed] add parser to import cubicweb xml
this parser is configurable through a mapping, which basically
tells which entity's relation should be copied. Multiple actions
to control backport of data are available:
* 'copy': copy the external entities locally (though marked as
coming from the data feed source)
* 'link': find similar entity internaly (e.g. for states)
* 'link-or-create': try to find a similar entity internaly, and create
it if necessary (won't be marked as coming from the data feed source,
e.g. for tags)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:19 +0100] rev 6959
[xml] enhance default entity xml view
* format attributes according to their type in a predictable way
* move eid/cwuri as top level tag attributes
* control which relations should be in using 'relation' form param
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:18 +0100] rev 6958
[pyro source] benefit from addition of latest_retrieval on CWSource
to avoid using a CWProperty to store pyrorql source latest synchronization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:17 +0100] rev 6957
[repository] #1460066: backport datafeed cube as cubicweb source
* add some attributes to CWSource to handle this kind of source
(not natural to put everything in 'config' string). Adding a CWSource
subclass has been attempted then rollbacked because it adds pain
to handle multi-sources planning and it introduce an ambiguity on
a generic relation (cw_source), which may be a penalty in multiple
case
* data feed sources are a new kind of source, namely 'copy based',
which have no effect on the query planner
* a data feed source is associated to a list of url and a parser (appobjects
in the 'parsers' registry
* entities imported by a data feed have cwuri set to their url on the distant
site, their cw_source relation point to the data feed source, though their
source stored in the entities table (returned by cw_metainformation) is their
physical source, hence 'system'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:13 +0100] rev 6956
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:05:39 +0100] rev 6955
[entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:04:04 +0100] rev 6954
[doc] update some copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 16:16:20 +0100] rev 6953
[repo, ms] fix pb introduced in 6941:9ed02daa7dbb resulting in missing relation deletes when an entity is deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:42 +0100] rev 6952
[tabs js] merge tabs and lazy js files into cw.ajax.js and use camel case names to satisfy js coding standards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:23 +0100] rev 6951
[schema, ui] fix is_subobject to skip cw_source relation (else everything is considered as a subobject, since this relation is now composite)
Charles Hébert <charles.hebert@logilab.fr> [Tue, 08 Feb 2011 14:18:18 +0100] rev 6950
[admin ui] nicer views for users/groups management
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 14:16:41 +0100] rev 6949
[test, ui] mark CWSourceSchemaConfig as an internal type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 12:23:30 +0100] rev 6948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 19:17:14 +0100] rev 6947
[js] using the actual registry fixes spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:40 +0100] rev 6946
[pyrorql source] using 'time' option type is more convenient
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:39 +0100] rev 6945
[sources] refactor source creation and options handling
* options validation
* ease proper update of source's config on configuration change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:36 +0100] rev 6944
[sources] rewrite the way pyrorql mapping are stored in the database so it can be reused for other sources (eg datafeed+cwxml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6943
[sources] reorganize abstract source code, drop no more used cleanup_entities_info and _cleanup_system_relations methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6942
[source schema] fix permission pb on cw_host_config_of relation + add composite on cw_source, so entities from a source are properly removed when the source is removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:04 +0100] rev 6941
[repo, ms] optimise external source deletion by using source's eid instead of name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 06 Feb 2011 11:33:04 +0100] rev 6940
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Feb 2011 10:02:48 +0100] rev 6939
[c-c] fix crash on delete instance + potential others when user don't specify db user's password
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:56:59 +0100] rev 6938
add a rql directive to restructuredtext
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Feb 2011 18:18:31 +0100] rev 6937
[pkg] bump dependency on logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6936
Added tag cubicweb-debian-version-3.10.8-1 for changeset 132b525de25b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6935
Added tag cubicweb-version-3.10.8 for changeset e581a86a68f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:12:03 +0100] rev 6934
3.10.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:11:53 +0100] rev 6933
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 11:03:08 +0100] rev 6932
undo part of #6911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 11:52:10 +0100] rev 6931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:10:46 +0100] rev 6930
[test] add test for != operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:08:44 +0100] rev 6929
[rql2sql] fix bug with NOT in "fake" having terms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 10:29:56 +0100] rev 6928
[doc/book] simplify & fix the overview chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:48:57 +0100] rev 6927
ooops :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:31:09 +0100] rev 6926
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:30:48 +0100] rev 6925
[ctxcomponents vreg] allow to specify 'no cache' using __cache argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:28:51 +0100] rev 6924
[js utils] backport some generic code from comments cube
to handle inline ajax form as you get to add comment to entities.
Following stuff has been generalized and backported to ease such things:
* lazy_view_holder() method on EntityCtxComponent class, to build
place holder where the form will be inserted
* ajax_composite_form() function in cw.web.views.ajaxedit, to build
the form itself
* reload() and reloadCtxComponentsSection() javascript function in
cubicweb.ajax.js for the javascript processing side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:24:05 +0100] rev 6923
[doc] update photo web site tutorial: we're starting from cw 3.10/file 1.9+
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:13:47 +0100] rev 6922
[view] fix/enhance view.render
* give view init args when selecting row view
* optimize by avoiding re-selection on rset of size 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:11:28 +0100] rev 6921
[js lib] new string.rstrip method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 16:19:22 +0100] rev 6920
[ibreadcrumb] fix breadcrumb adapter backward compat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 16:08:40 +0100] rev 6919
[selectors] modify workflow selectors: is_in_state, on_transition
- factorize `is_on_state` selector
- add new `on_transition` selector
Especially useful to match pending transitions to enable notifications when
your workflow allows several transition to the same states.
Note that if workflow `change_state` adapter method is used, this selector
will not be triggered.
In debug mode:
These both selectors will check against the entity current workflow if expected
values given in selector argument are valid.
ValueError exception will be raised for unmatching state/transition
names against the current workflow (generic etype workflow).
(check against custom workflow is not implemented)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 15:23:47 +0100] rev 6918
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally
When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the
permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not
be able to run the db-dump command.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 11:21:45 +0100] rev 6917
[debian] fix lintian errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:24:19 +0100] rev 6916
[devtools] fix understanding of boundary constraint on db automatic population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:15:14 +0100] rev 6915
[rset] fix entity building for some result set with UNION and subqueries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:12:13 +0100] rev 6914
[c-c] lgc 0.54 check for duplicated commands, this may occurs with cw where plugins are automaticall (re)loaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:11:26 +0100] rev 6913
[utils] support_args now support classes, searching if __init__ supports the arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 11:08:31 +0100] rev 6912
[schema sync] fix crash when bad inlinment detected, inlined is not in the locals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 18:46:47 +0100] rev 6911
cleanup, docstring update
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 18:29:17 +0100] rev 6910
fix test broken by addition of new entity in test schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 16:28:00 +0100] rev 6909
[view] missing class on label span
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 14:10:44 +0100] rev 6908
fix #1452413 : is_in_state selector does not match initial state of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:43:49 +0100] rev 6907
[component] refactor layout retrieval to handle case where we've an entity without rset properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:42:51 +0100] rev 6906
[forms] EntityFieldsForm now take extra mainentity argument, for usage with composite form (the main form) where one of the subform edits the main entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:41:00 +0100] rev 6905
[selectors] one_line_rset selector should also work when rset is None but an entity is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:40:01 +0100] rev 6904
[workflow] fix warning: we want to see the adapted entity, not the adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:39:29 +0100] rev 6903
[js] fix deprecated call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:52 +0100] rev 6902
[uicfg] fix reledit rtag initialization for final relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:14 +0100] rev 6901
[uicfg] use INTERNAL_TYPES and WORKFLOW_TYPES to initialize indexview_etype_section dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:44:08 +0100] rev 6900
[rtags] fix NoTargetRelationTagsDict to ensure relation are tagged using '*' during initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:42:18 +0100] rev 6899
[rtags] speepup initialization by avoiding to get file entity types relations (useless)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 17:44:38 +0100] rev 6898
[skel] try to generate warning free stub...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 12:21:47 +0100] rev 6897
[deprecation] kill remaining 3.6 warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 11:39:21 +0100] rev 6896
[migration] cwunique constraint schema fix must be done in bootstrap migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 10:50:38 +0100] rev 6895
[i18n] missing some english translation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:49:05 +0100] rev 6894
we must check constraint for all concerned entities and not stop at the first deleted one
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:42:40 +0100] rev 6893
avoid creating a new instance of CleanupDeletedEidsCacheOp if nothing was deleted
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 15:16:05 +0100] rev 6892
[css] fix popup css (login box) for IE7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 09:32:34 +0100] rev 6891
[user form] use InOutWidget to edit CWUser in_group relation
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 12:50:56 +0100] rev 6890
[widgets, js] add a InOutWidget for multiple select
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 25 Jan 2011 12:09:59 +0100] rev 6889
improve massive deletion performance
change hooks.integrity._DelayedDeleteOp implementation to give it a chance of
processing the entities by chunks of reasonnable size (500 entities at a time)
adapt ssplanner.DeleteEntitiesStep to call a variant of glob_delete_entity with several entities.
That variant calls all the before_delete_entities hooks in one go, then
performs the deletion, and then calls all the after_delete_entities hooks. The
deletion is performed by grouping together entities by etype and by source.
adapt the HooksManager to call the hooks on a list of entities instead of on a single entity.
adapt the sources to be able to delete several entities of the same etype at once.
changed the source fti_(un)index_entity methods to fti_(un)index_entities taking a collection of entities.
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 10:01:19 +0100] rev 6888
[ldap] remove useless hack in unittest_ldapuser.py
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:52:49 +0100] rev 6887
[tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:51:47 +0100] rev 6886
[ldap] small code cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Jan 2011 09:20:38 +0100] rev 6885
[test] fix score_entity test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:42 +0100] rev 6884
[testlib] missing method on value generator to generate the Interval type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:14 +0100] rev 6883
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 17:02:38 +0100] rev 6882
backport stable
Charles Hébert <charles.hebert@logilab.fr> [Mon, 24 Jan 2011 16:59:26 +0100] rev 6881
[selector] update `match_transition` selector to match form & as well as form view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 11:39:53 +0100] rev 6880
[book] fixes some references and other doc construction pbs
* predefine order of js files in index generation, skip some files
* fix some references to the base tutorial (recently changed)
* other ReST fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:42:09 +0100] rev 6879
[book] advanced tutorial part 5 improvments: add some roles, talk about cube's layout, strip image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:40:54 +0100] rev 6878
update code sample to 3.10 api
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 24 Jan 2011 09:17:11 +0100] rev 6877
blog proofreading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 23 Jan 2011 14:59:04 +0100] rev 6876
[doc] backport part 3 & 4 of the sytweb's tutorial + to be published part 5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 16:38:13 +0100] rev 6875
[test] missing future imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 14:14:30 +0100] rev 6874
[test] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 13:07:10 +0100] rev 6873
[schema test] fix tests broken by 6861:9d4e11d6e783 (missing data files and not removed deprecated/broken test)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 21 Jan 2011 11:13:40 +0100] rev 6872
[vreg] check for identical app objects when replacing
Prevent from weird behaviour when you badly wrote vreg callback
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 14:38:53 +0100] rev 6871
[docstring] minor: add warning about entity cache for rql_condition selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:51:58 +0100] rev 6870
[selectors] minor: use similar __repr__ implementation for selector instances
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 13:16:30 +0100] rev 6869
[tests] new unit tests about score_entity selector (inscore machinery)
Julien Jehannet <julien@smaf.org> [Wed, 19 Jan 2011 21:49:29 +0100] rev 6868
[tests] use migration api to create workflow
Prefer high-level migration api thru admin session
instead of raw rql in helper method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:20:59 +0100] rev 6867
[c-c delete] closes #1433117 and other flavours where we don't want to crash on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:03:07 +0100] rev 6866
[after edition ui] closes #1381425: Wrong message : 'entity edited (click here to see created entity)'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:02:36 +0100] rev 6865
[i18n] cleanup catalogs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 11:48:19 +0100] rev 6864
[adapters] fix #1424467 caused by precedence of bw compat method while the adapter is concret for a given class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 17:14:28 +0100] rev 6863
[c-c delete] add quote on db drop statement to be more robust to exotic database names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 16:45:21 +0100] rev 6862
[ajax] apply Ronan Dunklau patch closing #1433305: loadRemote js function failure on Firefox 4 with upper cased base domain name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 16:36:09 +0100] rev 6861
[schema] ease understanding of schema naming error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 15:52:59 +0100] rev 6860
[db-create] we should always ask db user that should be used when special privileges are required
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 15:51:58 +0100] rev 6859
[entity] fix some docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 20 Jan 2011 19:18:11 +0100] rev 6858
[js] always lowercase baseuri #1433305
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:56 +0100] rev 6857
[rset] add utility method to get entities and attributes from any rset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 10:10:22 +0100] rev 6856
[url publishing] evaluate url rewrite rules before rest path so one may easily override schema based urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 10:08:01 +0100] rev 6855
[ui, index page] drop useless 'schema entities' table
cheb [Thu, 20 Jan 2011 10:06:34 +0100] rev 6854
[views] delete ``permission`` tab in ``SchemaView``
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 09:16:52 +0100] rev 6853
[schema] fix CWSource permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 08:23:27 +0100] rev 6852
[migration] fix migration of old cw instances which do not have yet the CWUniqueTogetherConstraint entity type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 19:15:04 +0100] rev 6851
[repo] kill no more needed 'recreate' feature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 18:01:28 +0100] rev 6850
[repo] move cursor creation into the try/except, it may raises an InterfaceError if the connection is closed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:08 +0100] rev 6849
[repository auth] cleanup email login by turning it into a proper repo-side authentication plugin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:06 +0100] rev 6848
[web session] cleanup session/authentication api: we don't have anymore to store authentication information on web session since the auto-reconnection feature has been dropped (eg in 3.10)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:04 +0100] rev 6847
[primary view] support for entity_call on primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:42:50 +0100] rev 6846
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 11:23:16 +0100] rev 6845
[c-c list] don't crash if there are no 'version' attribute in pkginfo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 11:22:39 +0100] rev 6844
[config] stop using a metaclass for registration of "public" configuration, simply do it explicitly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 10:13:31 +0100] rev 6843
[devtools] set configuration name to all-in-one so test/data/all-in-one.conf file will be loaded as one may expected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 09:31:15 +0100] rev 6842
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 08:39:09 +0100] rev 6841
[sparql] fix an url generation bug breaking sparqlxml results view + remove a deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 16:56:18 +0100] rev 6840
[skel] setup.py patched to get easy_install to work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 16:17:21 +0100] rev 6839
[tutorial] make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 15:57:26 +0100] rev 6838
[hook] drop now deprecated comment (pop handled by get_data)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 17 Jan 2011 15:45:26 +0100] rev 6837
tutorial proof reading
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 17 Jan 2011 13:36:18 +0100] rev 6836
[pkg] fix small bug appearing on Windows
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:43:07 +0100] rev 6835
[doc] major rework of the simple blog tutorial
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:42:27 +0100] rev 6834
[doc] fix match_rtype_sets docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:41:45 +0100] rev 6833
[doc] some ReST syntax fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:41:40 +0100] rev 6832
[doc] update cw api (XXX: similar changes have to be done in book probably)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 17 Jan 2011 10:25:18 +0100] rev 6831
added note about the effect of commit/rollback on the hooks_control context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:31:46 +0100] rev 6830
[doc] fix security bug in photo web site tutorial
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:42 +0100] rev 6829
[c-c create] don't ask for web server interface at level 0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:40 +0100] rev 6828
[skeleton] nicer pkginfo organization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:37 +0100] rev 6827
[ui tweaks] fix default ui
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:32 +0100] rev 6826
[i18n] missing english translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:23 +0100] rev 6825
[doc] update unittest api
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Jan 2011 08:10:41 +0100] rev 6824
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Jan 2011 08:10:01 +0100] rev 6823
[views] fix typo (invalid format character) in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:24:21 +0100] rev 6822
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:23:00 +0100] rev 6821
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:18:16 +0100] rev 6820
Added tag cubicweb-debian-version-3.10.7-1 for changeset bf5d9a1415e3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:18:16 +0100] rev 6819
Added tag cubicweb-version-3.10.7 for changeset 1959d97ebf2e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 14:03:50 +0100] rev 6818
[server test] can't use skipTest method as a class method, raise appropriate exception instead
david.douard@logilab.fr [Thu, 13 Jan 2011 13:38:49 +0100] rev 6817
[etwist] add an 'interface' config option (passed to reactor.listenTCP)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 12:49:44 +0100] rev 6816
[wf migration] allow to deactivate assertion on wfable entity to quick-fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 12:36:08 +0100] rev 6815
[schema] fix pb with ambiguous relation used within UniqueTogetherConstraint by having CWUniqueTogetherConstraint.relation targeting CWRType instead of CWAttribute/CWRelation. This fixes 3.10.7 migration.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 12:34:17 +0100] rev 6814
[idownloadable] deprecate download_box function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 15:19:29 +0100] rev 6813
[idownloadable] restore backward compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 15:19:10 +0100] rev 6812
typo in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 14:57:31 +0100] rev 6811
[doc] stop trying to compile useless files with logilab's internal tools
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 09:22:38 +0100] rev 6810
update version number of dependancy to rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 08:51:25 +0100] rev 6809
prepare 3.10.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Jan 2011 08:49:54 +0100] rev 6808
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 17:08:52 +0100] rev 6807
[cleanup] pylint detected error (among a ton of false positives due to the dynamic nature of cubicweb's code...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Nov 2010 17:19:39 +0100] rev 6806
[testlib] extract validation logic into a ``assertWellFormed`` method.
This allow validation of document generated without a view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 15:33:38 +0100] rev 6805
[migration] add_workflow now ensure the entity type is actually workflowable, and a new make_workflowable migration function is available to make an entity type workflowable (closes #1382720)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 15:23:29 +0100] rev 6804
unittest2 fix: can't skip test in setUp, but it's fine in setUpClass
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 12:45:30 +0100] rev 6803
[c-c] #1193302: Only show Deprecation warnings when using cubicweb-ctl (not /etc/init.d/cubicweb)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 12:24:49 +0100] rev 6802
[pyviews] document the fact that content is not xml-escaped (closes #1382038)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 12:20:39 +0100] rev 6801
[repository, pyro] ensure we're still properly registered into pyro name server in a looping task (closes #1336002)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 12:19:36 +0100] rev 6800
[web action] refactor box menu handling, fixing #1401943 on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Jan 2011 12:05:12 +0100] rev 6799
[config] use %r instead of %s for cube name makes things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Jan 2011 14:00:37 +0100] rev 6798
missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Jan 2011 12:28:10 +0100] rev 6797
[web test] fix authentication test: session cookie should now be computed by the session handler (changed in cw 3.10.6)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Jan 2011 12:28:09 +0100] rev 6796
[unittest2] update to unittest2 assertRaises api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 18:51:50 +0100] rev 6795
[server test] fix test inter-dependancy issue
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 18:51:47 +0100] rev 6794
[multi-sources] fix planning of crossed relation w/ some complex queries
see ticket #59168 on our extranet for an example symptom.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 15:21:56 +0100] rev 6793
[idownloadable] oneline view display entity's default title instead of file name, while download box display file name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 15:21:54 +0100] rev 6792
[deprecation] fix bad warning on entity.querier_pending_relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 13:14:40 +0100] rev 6791
[web session] refactor to finally closes #343036: allow _postlogin behaviour overloading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Jan 2011 08:13:43 +0100] rev 6790
[schema migration] add a test to ensure default value are considered
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Jan 2011 18:53:00 +0100] rev 6789
[schema hook] don't depends on lgc.testlib, hence unittest2 for a dumb mock
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 06 Jan 2011 17:49:19 +0100] rev 6788
[bfss storage] Improve fspath() error message.
This changeset improve the error message of fspath when the argument is not
managed by a BytesFileSystem storage.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Jan 2011 17:47:50 +0100] rev 6787
[json controler] extraargs in js_component contains unicode keys which may not be given as argument names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Jan 2011 11:56:06 +0100] rev 6786
[footer template] refactor to ease addition of some content into the footer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Jan 2011 11:55:31 +0100] rev 6785
[boxes] add id of the rset to generated dom id of RsetBox to lower chance of id conflict (object id may be reused later)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Jan 2011 11:54:37 +0100] rev 6784
[doc] fix bad class ref
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 05 Jan 2011 18:42:21 +0100] rev 6783
oops, forgotten to save buffer...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 05 Jan 2011 17:50:21 +0100] rev 6782
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 05 Jan 2011 15:32:56 +0100] rev 6781
[unittest2] use unittest2 module fixture api
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 05 Jan 2011 15:32:22 +0100] rev 6780
[server/test] raise SkipTest from setUpModule instead of setUp( unittest2 behaviour) + kill some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 05 Jan 2011 17:47:16 +0100] rev 6779
[daemon] make process umask configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 05 Jan 2011 15:32:37 +0100] rev 6778
properly tell we've started an instance (close #1391262)
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Dec 2010 15:49:29 +0100] rev 6777
[ctxcomponents] RQLCtxComponent: refactor init_rendering/render_body to ease overriding
init_rendering now simply execute the query to get result set to be displayed,
and store it in .cw_rset attribute.
Links to be displayed by default are now computed in render_body.
So you may now simply customise what to be displayed by overriding render_body.
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 05 Jan 2011 11:09:51 +0100] rev 6776
[tests] use TextTestRunner from unittest, no more need to use SkipAwareTextRunner from lgc.testlib (which doesn't exist anymore in recent releases
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 03 Jan 2011 14:47:47 +0100] rev 6775
[i18n/fr] minor change in etypenavigation component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 05 Jan 2011 10:30:52 +0100] rev 6774
d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 16:35:06 +0100] rev 6773
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 16:34:22 +0100] rev 6772
[test, html validation] make validator selection somewhat smarter (at least it works properly when content is demoted from xhtml to html, making the XMLDemotingValidator class useless
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 16:33:01 +0100] rev 6771
minor code cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 16:15:52 +0100] rev 6770
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 16:15:13 +0100] rev 6769
Backed out changeset 84b67ae41a0d: with this fix, some
extra ]> appears in the browser. We need to fix the validator instead.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 04 Jan 2011 16:33:13 +0100] rev 6768
fix unittest broken by TrInfo schema change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 04 Jan 2011 16:12:48 +0100] rev 6767
check the validity of kwargs passed to match_rtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 15:31:07 +0100] rev 6766
merge stable heads
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 04 Jan 2011 15:03:48 +0100] rev 6765
fix ticket #1382716 (problem was actually more subtle than I originally thought)
* log errors happening in looping tasks and repo threads
* do not swallow RegistryNotFound exceptions which occur during hook execution (only those happening during hook registry selection)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 04 Jan 2011 14:41:10 +0100] rev 6764
[web/views/basetemplates] nbsp breaks tests, use #160 instead
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 04 Jan 2011 14:26:38 +0100] rev 6763
[web/views/workflow] hide tr_count attribute in wf transition form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 14:11:54 +0100] rev 6762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 14:11:41 +0100] rev 6761
[html generation] even when doctype without extension are asked, we should define the xmlns:cubicweb attribute to avoid html validation error during tests (break tests with new calendar view in default branch since it demote to html)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 04 Jan 2011 13:42:01 +0100] rev 6760
handle the fact that there might be no views registered in some configurations (#1382716)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 11:59:11 +0100] rev 6759
[ms] fix ms planner crash on some ambiguous queries, as demonstrated in a comment on http://www.cubicweb.org/ticket/1382452
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Jan 2011 09:07:22 +0100] rev 6758
[ms] #1382452: incorrect results with multi-sources
when some relation is crossed among sources with non-invariant variables, we've to introduce an
intermediary steps to fetch all relations from all sources, then make the join with intermediary
tables containing possible variables values.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 21 Dec 2010 21:20:19 +0100] rev 6757
#1382705 forbid with sql level locking the simultaneous fireing of a transition on a given entity
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 03 Jan 2011 11:22:32 +0100] rev 6756
[doc/book] add missing mixin
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Dec 2010 18:42:31 +0100] rev 6755
[views/reledit] funky API made this fatal (it was previously only eating the second argument)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Dec 2010 18:28:52 +0100] rev 6754
[views/reledit] ajax.js not there by default #1382713
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Dec 2010 14:40:35 +0100] rev 6753
[doc/book] fix/update a bit the hooks chapter
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 21 Dec 2010 21:17:50 +0100] rev 6752
fix error message for unique together constraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 18 Dec 2010 23:12:14 +0100] rev 6751
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 18 Dec 2010 23:11:58 +0100] rev 6750
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 10 Dec 2010 12:17:18 +0100] rev 6749
[config, i18n] Create default translation mechanism for all supported languages.
Mostly usefull in test where language are never initialised from .po files.
This is a reapplication of changeset 1a423eaee782 backouted by b9ffecd0316a with
an additional fix not to break i18nxxx commands
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 10 Dec 2010 15:17:16 +0100] rev 6748
[config] Use newstyle call to parent classe method.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:46:24 +0100] rev 6747
[security] fix access control problem
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 14 Dec 2010 15:08:23 +0100] rev 6746
[js/edition] remove trailing coma
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 14 Dec 2010 11:01:08 +0100] rev 6745
[doc/book] move ctl tool in Admin chapter (from Appendages)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 14 Dec 2010 10:39:20 +0100] rev 6744
[doc/book] mention that the shell is a python shell
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 10 Dec 2010 11:37:37 +0100] rev 6743
[web/components] fix typo in warning
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 10 Dec 2010 15:47:09 +0100] rev 6742
[registry] backout 120c7ea6e1fa: errors should not pass silently
Catching ImportError silently while loading files has too many side effects.
(e.g. if system hooks / entities can't be registered).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 09 Dec 2010 18:06:48 +0100] rev 6741
[config] revert change that breaks i18nxxx commands
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Dec 2010 16:30:06 +0100] rev 6740
remove "metadata" class from MetaDataView as it is now set by SectionLayout (view.cssclass)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Dec 2010 16:37:08 +0100] rev 6739
[js] fix initial value for autocomplete
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 09 Dec 2010 15:38:12 +0100] rev 6738
[pkginfo|debian/control] adjust ldb version
Stephanie Marcu <stephanie.marcu@logilab.fr> [Thu, 09 Dec 2010 15:27:02 +0100] rev 6737
add localization files for jquery datepicker
Stephanie Marcu <stephanie.marcu@logilab.fr> [Thu, 09 Dec 2010 15:27:01 +0100] rev 6736
[#615712] replace calendar views with views using fullcalendar jquery plugin (remove old_calendar)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 09 Dec 2010 15:23:10 +0100] rev 6735
brown paperbag fix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 09 Dec 2010 14:55:51 +0100] rev 6734
make rename_table work with MS SQL (needs updated logilab.database)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 09 Dec 2010 14:35:20 +0000] rev 6733
[ldap] fix user-filter handling
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 29 Nov 2010 18:34:39 +0100] rev 6732
[migration] improve doctest report format
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 03 Dec 2010 13:09:14 +0100] rev 6731
[book] Notes about literate testing
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 06 Dec 2010 19:11:28 +0100] rev 6730
[hook] update DataOperationMixIn docstring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Nov 2010 17:17:45 +0100] rev 6729
[config, i18n] Create default translation mechanism for all supported languages.
Mostly usefull in test where language are never initialised from .po files.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 03 Dec 2010 11:24:48 +0000] rev 6728
allow additional filtering to be performed on the LDAP source (#1382380)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Dec 2010 10:09:35 +0100] rev 6727
[edition js] update docstring and remove a 3.9 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Dec 2010 10:09:12 +0100] rev 6726
[autoform] fix call to remove pending generic relation: reference bad function name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Dec 2010 10:08:28 +0100] rev 6725
[autoform] fix restoration of pending generic relation: inconsistent id was generated (eg different from the one generated by javascript
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Dec 2010 17:11:35 +0100] rev 6724
[pyro source] store pyro source mapping file into the database
also, remove former c-c command to check that file and do the job in
the source's view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Dec 2010 17:09:19 +0100] rev 6723
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Dec 2010 17:08:42 +0100] rev 6722
[repo source] rename attribute so it's much easier to grasp its role
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Dec 2010 17:08:24 +0100] rev 6721
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 01 Dec 2010 17:06:01 +0100] rev 6720
[testlib] Use logilab.common.shellutils.getlogin instead of local hack.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Dec 2010 16:59:57 +0100] rev 6719
[doc] minor fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 01 Dec 2010 16:52:55 +0100] rev 6718
[doc/book] Improve installation doc mostly about pip ans easy_install
the documentation now informs about compatibility and recommendation for pip and
easy_install.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 01 Dec 2010 16:52:30 +0100] rev 6717
[doc/book] Update cubicweb repository url
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 01 Dec 2010 16:52:02 +0100] rev 6716
[doc/book] Add a note about <database>-support virtual package.
Cubicweb setup documentation now mention cubicweb-postgresql-support and cubicweb-mysql-support
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 30 Nov 2010 23:25:55 +0100] rev 6715
Added tag cubicweb-debian-version-3.10.6-1 for changeset 1484257fe9ae
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 30 Nov 2010 23:25:53 +0100] rev 6714
Added tag cubicweb-version-3.10.6 for changeset 3c81dbb58ac4
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 30 Nov 2010 22:26:55 +0100] rev 6713
prepare 3.10.6
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 30 Nov 2010 15:05:07 +0100] rev 6712
[merge] backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 18:37:03 +0100] rev 6711
merge olstable back (3.9.9 packaging fix)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 18:34:54 +0100] rev 6710
Merge back fix to 3.9.9 packaging
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 18:33:32 +0100] rev 6709
Added tag cubicweb-debian-version-3.9.9-3 for changeset 09c98763ae9d
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 16:29:54 +0100] rev 6708
[pkg/debian] Add source format information
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 16:27:57 +0100] rev 6707
prepare 3.9.9-3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:49:06 +0200] rev 6706
[debian] i18n directory should actually be in cubicweb-common
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 18:31:35 +0100] rev 6705
Added tag cubicweb-debian-version-3.9.9-2 for changeset b7db1f593558
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Nov 2010 13:59:10 +0100] rev 6704
[pkg-debian] prepare 3.9.9-2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:47:33 +0200] rev 6703
[debian] cleanup -common package
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 15 Nov 2010 19:38:31 +0100] rev 6702
[migration] 3.10.4 migration should not ask confirmation when adding CWSource
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Nov 2010 07:46:19 +0100] rev 6701
backport oldstable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Nov 2010 07:44:59 +0100] rev 6700
fix typo
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 09 Nov 2010 17:12:21 +0100] rev 6699
[download box] refactor to ease when one want to propose multiple elements to download
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 09 Nov 2010 15:48:11 +0100] rev 6698
[basetemplates] breadcrumbs component context sticks to ApplicationName
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 09 Nov 2010 15:47:02 +0100] rev 6697
[basetemplates] define header ctx components categories as attribute to ease overriding
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 09 Nov 2010 10:18:56 +0100] rev 6696
[migration] put some migration context info in doctest environment: __file__ and __args__
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Nov 2010 16:55:13 +0100] rev 6695
[windmill tests] use extra timeouts, else we get failure simplu because we didn't wait enough
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Nov 2010 18:51:22 +0100] rev 6694
[devtools] make migration handler easily available from CubicWebTC through .shell() method
So we are able to use shell/migration helper methods directly from test cases.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Nov 2010 13:47:26 +0100] rev 6693
[ldap] make instance still usable if we can't contact ldap server
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 18:48:07 +0100] rev 6692
[change state form] set domid to avoid data conflict with other (eg edition) form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 18:48:06 +0100] rev 6691
[action] set mainform=False to ensure we don't consume previously posted form validation errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 18:48:05 +0100] rev 6690
[forms] remove some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 17:11:40 +0100] rev 6689
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 17:00:41 +0100] rev 6688
update note
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Nov 2010 15:08:24 +0100] rev 6687
[shell, testlib] return doc test results in process_script and new assertDocTestFile method on CubicWebTC
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 16:38:17 +0100] rev 6686
[migration] fix rqliter when some query arguments are given
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 22 Oct 2010 16:14:48 +0200] rev 6685
[uilib] soup2xhtml uses now lxml.html.Cleaner
The lxm cleaner class let you configure more easily the allowed tag elements in parsed content.
Caveats:
- attributes in elements are not dropped (and html layout can be broken if css classes are reused)
- root tag element in snippet is buggy
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 14:28:22 +0100] rev 6684
minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 14:28:07 +0100] rev 6683
fix #724689: exception's display during ajax call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 12:43:25 +0100] rev 6682
test and fix #1232202: [bookmarks] broken link for startupviews
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 12:22:42 +0100] rev 6681
fix #1376317: facet: no_relation feature crash when rql has no restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 11:58:16 +0100] rev 6680
[web session] fix '#1375582: sometime have to relogin since secure session cookie are used' by having different session cookie for http/https version. Also add application name to avoid potential pb when developping differents appls on the same port.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 10:49:58 +0100] rev 6679
[migration] use eschema.type for nicer display when confirmation is asked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 10:49:33 +0100] rev 6678
[base template header] changeset 6669:e4532c6acf34 introduce a visual regression on standard site, fix it by merging header-left/header-center context, it simplify things and have proper display. Cubes using 'firstcolumn' css class will have to be upgraded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 10:41:56 +0100] rev 6677
[timetable view] ensure we actually have a user in the rset cell
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:19:53 +0100] rev 6676
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:19:43 +0100] rev 6675
[c-c list] tell more about the pb when some cube information is missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:18:48 +0100] rev 6674
[repository] don't crash when cascading delete a relation, this may let the database in an inconsistent state anyway, so simply log the error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:17:43 +0100] rev 6673
[ms planning] test and fix bad plannification of a query used on cascading delete of a deleted (external) entity relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:14:10 +0100] rev 6672
[ms] fix error in synchronisation: local_eid return a 2-uple
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Nov 2010 09:12:57 +0100] rev 6671
[ms test] fix nasty cache effect break unittest_multisources.test_not_relation since introduction of local_eid method andfor full dereferencement of external eids
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Nov 2010 10:58:29 +0100] rev 6670
[c-c reset-admin-pwd] don't crash on unknown option, and silently ignore 'adapter' which may be present in pre 3.10 sources file
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 03 Nov 2010 10:12:16 +0100] rev 6669
[component] restore logo position in left column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Nov 2010 17:17:56 +0100] rev 6668
[boxes] PossibleViewsBox is contextual, StartupViewsBox isn't
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Nov 2010 16:40:10 +0100] rev 6667
stable is now 3.10
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Nov 2010 16:39:49 +0100] rev 6666
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Nov 2010 16:38:28 +0100] rev 6665
oldstable is now 3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Nov 2010 08:16:18 +0100] rev 6664
[repo] don't attempt to read sources from database on quick start. Fix crash after restoring a pre 3.10 database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Nov 2010 08:14:47 +0100] rev 6663
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Nov 2010 08:14:29 +0100] rev 6662
[facet] only String attributes have internationalizable property
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Oct 2010 11:58:45 +0200] rev 6661
fix grammar in docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Oct 2010 00:03:48 +0200] rev 6660
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Oct 2010 00:03:30 +0200] rev 6659
fix problem introduced with previous commit
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 28 Oct 2010 19:39:19 +0200] rev 6658
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 28 Oct 2010 19:37:59 +0200] rev 6657
[cwctl] command list now checks version of cw, not only versions of cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Oct 2010 20:29:28 +0200] rev 6656
[ms entity] proper error on external entity fetch error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Oct 2010 20:28:57 +0200] rev 6655
[ms pyro] skipping external entities is not enough else we may miss some relations with our configuration (eg X refinement_of Y WHERE X comes from cwo while Y comes from elo)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Oct 2010 08:53:14 +0200] rev 6654
[ms planner] fix changeset 6650:72f2fd93a622: we should sometime complete input map anyway
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Oct 2010 08:51:50 +0200] rev 6653
[ldap] don't refuse to start if ldap is unreachable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 20:22:30 +0200] rev 6652
[3.10] use cw_attr_cache, entity has no more iteritems method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 20:22:08 +0200] rev 6651
[ms planning] fix potential key error due to additional entries in input maps
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 20:21:48 +0200] rev 6650
[ms planning] fix bug in merge_input_map causing bad plans computed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 20:21:09 +0200] rev 6649
[ms planning] fix/enhance cw_source consideration in ms planning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 11:55:38 +0200] rev 6648
Added tag cubicweb-debian-version-3.10.5-1 for changeset e2e7410e9947
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Oct 2010 11:55:37 +0200] rev 6647
Added tag cubicweb-version-3.10.5 for changeset 159d0dbe07d9
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 25 Oct 2010 19:32:09 +0200] rev 6646
[book] move bit about rql logs to its own section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 18:25:18 +0200] rev 6645
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 18:24:08 +0200] rev 6644
3.10.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 18:08:42 +0200] rev 6643
i18n update german translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 18:00:23 +0200] rev 6642
[i18n] include german translation provided by Dr Leo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:59:25 +0200] rev 6641
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:54:00 +0200] rev 6640
[test] more cwd independant tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:53:42 +0200] rev 6639
[test] cleanup: don't need expensive auto_populate(), use a single test class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:42:56 +0200] rev 6638
[cwprops] validation error message now include key value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:55 +0200] rev 6637
[3.10] more form api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:54 +0200] rev 6636
[ms] script to drop external entities from an external source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:53 +0200] rev 6635
[test] repair test: we now have another unique constraint on CWSourceHostConfig
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:52 +0200] rev 6634
[primary view] properly deprecates render_entity_[summary|metadata]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:52 +0200] rev 6633
[ms] simplify cw_source handling : don't try evil optmization that may hurt in some cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:51 +0200] rev 6632
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 17:15:46 +0200] rev 6631
[test] make test independant from the working directory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 16:28:05 +0200] rev 6630
[inline form] ensure entity has an actual eid before using it to check perms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:52:10 +0200] rev 6629
[repo] fix crash introduced in 6625:5c20a005bddc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:46:49 +0200] rev 6628
[ms / integrity] skip properties whose pkey starts with 'sources.' avoid validation error when setting last update time for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:44:37 +0200] rev 6627
[sources] method to ease modification of a source config through c-c shell
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:42:42 +0200] rev 6626
[pyro source] when cleaning relations of an external entity being cleaned up, only delete local relationsd
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:41:13 +0200] rev 6625
[pyro source] new option to control wether external entities should be skipped or not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:36:52 +0200] rev 6624
[d-c check-mapping] small enhancements to avoid spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:32:00 +0200] rev 6623
[facet] return else we get name error later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:31:29 +0200] rev 6622
[core schema] CWSourceHostConfig.match_host only unique per source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:30:50 +0200] rev 6621
[migration] stupid typo, cw_source still not properly set
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 15:29:45 +0200] rev 6620
[facets] cleanup and use RelationAttributeFacet for InState
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 11:02:14 +0200] rev 6619
[cleanup] drop accidentally commited print
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 25 Oct 2010 15:47:01 +0200] rev 6618
[js/ajax] switch to POST by default, fixes an IE7 caching bug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:23:32 +0200] rev 6617
[registration] don't crash on import error while initializing the registry and not in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:20:24 +0200] rev 6616
[primary view bw compat] we should actually drop 3.2 compat and have proper pre 3.10 compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:19:03 +0200] rev 6615
[dbapi] 'before-registry-reset' not called for db-api connections, cache may not be initialized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:18:10 +0200] rev 6614
[web] proper error when no json module available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:15:47 +0200] rev 6613
[dbapi] web request compatibility fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Oct 2010 10:14:01 +0200] rev 6612
[3.10 bw compat] ensure context is specified, else crash on RsetBox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 20:01:22 +0200] rev 6611
Added tag cubicweb-debian-version-3.10.4-1 for changeset 7b41930e1d32
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 20:00:35 +0200] rev 6610
Added tag cubicweb-version-3.10.4 for changeset d73733479a3a
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Oct 2010 18:46:23 +0200] rev 6609
oops, use unicode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:26:49 +0200] rev 6608
[migration] skip final entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:22:57 +0200] rev 6607
[migration] dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:09:13 +0200] rev 6606
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:08:25 +0200] rev 6605
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:08:06 +0200] rev 6604
Added tag cubicweb-debian-version-3.9.9-1 for changeset 1ba51b00fc44
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:08:05 +0200] rev 6603
Added tag cubicweb-version-3.9.9 for changeset df0b2de62cec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:06:32 +0200] rev 6602
Added tag cubicweb-debian-version-3.10.4-1 for changeset 49f1226f2fab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 18:06:31 +0200] rev 6601
Added tag cubicweb-version-3.10.4 for changeset 3829498510a7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 17:41:11 +0200] rev 6600
3.10.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 17:40:23 +0200] rev 6599
[ms] catch exception on executing rql, work-around #1356884 until a proper fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 17:38:47 +0200] rev 6598
[ms] fix an infinite loop in ms planner and another crash
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Oct 2010 17:10:31 +0200] rev 6597
[test/renderer] fix html form/field generation & adapt a bit one test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 16:02:05 +0200] rev 6596
[3.10] drop deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 16:01:54 +0200] rev 6595
[test] fix test to follow recent changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 15:01:54 +0200] rev 6594
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 15:01:43 +0200] rev 6593
[testlib] self.appid not yet defined
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 22 Oct 2010 14:54:24 +0200] rev 6592
[book] FAQ: reorganize content, improve NoSelectableObject section, add database
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 22 Oct 2010 14:36:39 +0200] rev 6591
[book] complete datamodel definition section with default permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 14:32:59 +0200] rev 6590
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 14:30:59 +0200] rev 6589
[testlib] /me stupid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 14:28:09 +0200] rev 6588
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 14:27:53 +0200] rev 6587
[testlib] missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 13:10:37 +0200] rev 6586
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 13:10:27 +0200] rev 6585
[test] start to make tests independant from cwd (more to do for tests which don't inherit from CubicWebTC
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 13:09:09 +0200] rev 6584
[3.10] renderer.render prototype bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 11:06:57 +0200] rev 6583
[deprecation] add version info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Oct 2010 09:15:35 +0200] rev 6582
[pylint] fix a bug of pylint detected errors and i18n pb (calling builtins._ instead of req._)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 18:38:36 +0200] rev 6581
[dbapi] enhanced web compatible request when using dbapi
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 21 Oct 2010 18:07:44 +0200] rev 6580
some docstrings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 17:57:36 +0200] rev 6579
[migration] fix 3.10 migration: since cw_source is marked as meta relation, it has not been automatically added to all existant entity type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 17:56:55 +0200] rev 6578
[cwsource] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 17:56:35 +0200] rev 6577
[inline forms] check for permission to add relation/target type before to add the 'add new' link (else we get a NoSelectableObject exception)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 17:55:23 +0200] rev 6576
[3.10] remove a deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 17:54:51 +0200] rev 6575
[3.10] include field's info in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 09:49:27 +0200] rev 6574
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 09:48:38 +0200] rev 6573
[boxes] take care to duplicated 'title' argument if already specified in cw_extra_kwargs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 09:34:21 +0200] rev 6572
3.9.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 09:33:12 +0200] rev 6571
[dependancy] do not use testlib from outside test: recent lgc versions recommends unittest2 while lgc.testlib needs it, and we don't want it to be necessary to run cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Oct 2010 08:23:38 +0200] rev 6570
#1346310: Add `Secure` attribute to cookie when navigating on https
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 17:37:00 +0200] rev 6569
[boxes] add bw compat on BoxWidget, we mix string and box items until htmlwidgets are gone
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 16:40:03 +0200] rev 6568
Added tag cubicweb-debian-version-3.10.3-1 for changeset 303b150ebb7a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 16:40:02 +0200] rev 6567
Added tag cubicweb-version-3.10.3 for changeset 8eb58d00a0ce
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 16:00:50 +0200] rev 6566
3.10.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 15:58:27 +0200] rev 6565
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 15:57:35 +0200] rev 6564
[request] fix ajax_replace_url which breaks if the url contains some quotes (that will be properly quoted but unquoted by the browser, breaking the js expression) by using a separated js function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 15:40:03 +0200] rev 6563
[view] log error on view_func call
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Oct 2010 15:20:12 +0200] rev 6562
make stdout and stderr non buffered for cwctl commands (#1330647)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 14:50:58 +0200] rev 6561
[distribution] 3.10 depends on lgc 0.52
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Oct 2010 12:28:11 +0200] rev 6560
[js/ajax] fix deferred race condition (errback case)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 12:24:48 +0200] rev 6559
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 12:24:26 +0200] rev 6558
[css] don't transform text in form title
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Oct 2010 12:23:59 +0200] rev 6557
[css] fix regression introduced by 6548:fd36c1049eed: we actually need display:block on box <a> to get proper behaviour on mouse hover
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Oct 2010 10:35:52 +0200] rev 6556
[js/ajax] use proper operator
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Oct 2010 09:03:37 +0200] rev 6555
[javascript] fix loadRemote implementation for synchronous requests
In case of synhronous requests, loadRemote is supposed to return the
"interpreted" server result (e.g a json object, a DOM object, ...).
$.ajax() always return the XHR object, so we have to use the success
callback to capture the actual server result and return it later.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 17:57:56 +0200] rev 6554
[js preferences] fix various pb with js for preferences form: buggy clearPreviousError, bad prototype of callbacks given to validate form, dunno how error display was expecting to work...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 17:14:19 +0200] rev 6553
add note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 14:07:52 +0200] rev 6552
[js/ajax] fix deferred race condition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 14:06:26 +0200] rev 6551
breadcrumbs/edid_box are now contextual component (closes #1334196)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:21:47 +0200] rev 6550
[boxes] use a new separator instead of clumsy htmlwidget's one which close and reopen the <ul> (loosing any list class on the way)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:20:09 +0200] rev 6549
js cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:19:50 +0200] rev 6548
[css] cleanup and fix by removing display: block on <a> in boxes
also, add class a.action to ease action links like [+] in boxes
like bookmark box without having to refine css per box id.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:17:10 +0200] rev 6547
[new components] render_title must write title, not return it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:16:20 +0200] rev 6546
[3.10 migration] must skip None values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:14:48 +0200] rev 6545
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 13:13:13 +0200] rev 6544
[jquery] className doesn't exist anymore in 1.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 12:01:35 +0200] rev 6543
[js] remove deprecation warnings by using $.noop instead of noop
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 11:59:23 +0200] rev 6542
[ui controller] closes #1333236: configuring boxes crashes with traceback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Oct 2010 10:04:50 +0200] rev 6541
[selectors] close #1333238: appobject_selectable with multiple regids fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Oct 2010 14:29:39 +0200] rev 6540
Added tag cubicweb-debian-version-3.10.2-1 for changeset 4a87c8af6f3f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Oct 2010 14:29:39 +0200] rev 6539
Added tag cubicweb-version-3.10.2 for changeset 3fc6b4aaaff3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Oct 2010 11:47:46 +0200] rev 6538
3.10.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Oct 2010 11:47:06 +0200] rev 6537
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Oct 2010 11:05:45 +0200] rev 6536
[old boxes] fix dumb name error
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 18 Oct 2010 11:04:19 +0200] rev 6535
[devtools] Clean up import of f328ec853e18 and use lgc's getlogin.
os.getlogin use the unix getlogin which is notoriously bugged.
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 18 Oct 2010 11:02:22 +0200] rev 6534
[pkg] no zipped egg
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:49:06 +0200] rev 6533
[debian] i18n directory should actually be in cubicweb-common
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:47:33 +0200] rev 6532
[debian] cleanup -common package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:47:17 +0200] rev 6531
[doc] fix build dir
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:41:06 +0200] rev 6530
Added tag cubicweb-debian-version-3.10.1-1 for changeset 3abb41c47925
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:41:05 +0200] rev 6529
Added tag cubicweb-version-3.10.1 for changeset 6c6859a67673
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:10:44 +0200] rev 6528
[doc] generate doc in cw/doc/html and include html files in cubicweb-documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:10:01 +0200] rev 6527
[3.10] user changelog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:24:25 +0200] rev 6526
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:05:20 +0200] rev 6525
[css] need some pading in bookmark box
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:04:45 +0200] rev 6524
[test] take care to unicode __regid__ (usually when using _()), may lead to later unicode decode error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:04:03 +0200] rev 6523
[css] typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:52:18 +0200] rev 6522
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:52:06 +0200] rev 6521
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:51:52 +0200] rev 6520
Backed out changeset 1f8b902f3143: this block compilation under distrib with old sphinx package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:51:01 +0200] rev 6519
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:50:34 +0200] rev 6518
Backed out changeset 88b3172eb7c7: alain's patch 6517:c991ad161d8f does a better job at this
Alain Leufroy <alain.leufroy@logilab.fr> [Fri, 15 Oct 2010 19:49:00 +0200] rev 6517
[pkg] force copying data files in sys.path
* Hack setuptools to copy data files in sys.path instead of egg
directory
* Hack easy_install's SandboxViolation verification to allow writting
files in sys.path (allowed by disutils)
Alain Leufroy <alain.leufroy@logilab.fr> [Fri, 15 Oct 2010 19:48:58 +0200] rev 6516
[pkg] use argument *package_data*
Use the dedicaded setup's argument for files that are copied in the
package directory.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 17:57:27 +0200] rev 6515
[3.10] enhanced deprecation warning: add problematic class name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 17:00:09 +0200] rev 6514
[devtools] Firefox need write access to $HOME
Check that you have write acces to the user home before launching Firefox.
Firefox need to write stuff in the home directory of the user and will silency
crash when unable to do it. We add an assertion with an explicite message to
improve crash report in such situation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 16:20:48 +0200] rev 6513
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 16:20:27 +0200] rev 6512
[debian] include compiled documentation instead of source in cubicweb-documentation debian pkg
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 16:12:47 +0200] rev 6511
[book] don't rely on importable cubicweb to extract cubicweb version number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 12:09:11 +0200] rev 6510
3.10.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 12:07:32 +0200] rev 6509
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:48:43 +0200] rev 6508
[pkg] fix install_data import not present in setuptools
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:48:16 +0200] rev 6507
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:41:10 +0200] rev 6506
[packaging] add a __init__.py to cubes directory when installing data
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:40:36 +0200] rev 6505
[distribution] Handle missing instance directory when listing and running instance command.
no directory means no available instance.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:39:54 +0200] rev 6504
[setuptools] Automaticly move data content of a cubicweb's egg in the proper location.
This should be done once during the first import of the cubicweb module.
This is an ugly hack because setuptools lake proper post install hooks.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:39:10 +0200] rev 6503
[packaging] Egg are not valid cubicweb prefix.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 13 Oct 2010 18:58:56 +0200] rev 6502
[config] Put "Instance" and "Instance data" directory within cubiweb install prefix.
Instance directory (/etc/cubicweb.d) and Instance Data directory
(/var/lib/cubiweb/) are now put withing the install prefix of cubicweb.
When this prefix is /usr/ old behaviour are used (they are putted in the root
directory).
This change will make cubicweb much more virtual env friendly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:43 +0200] rev 6501
[debian] goa package gone for now
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:33:06 +0200] rev 6500
[component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:25:59 +0200] rev 6499
[deprecation] enhanced messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:25:51 +0200] rev 6498
[bw compat] fix compat for entity.attr assigment
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Oct 2010 17:32:36 +0200] rev 6497
fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 16:57:56 +0200] rev 6496
[iprogress] None resilience
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 13 Oct 2010 18:54:59 +0200] rev 6495
#1251878: Cubicweb no longer crash for missing instance and data dir at create.
Those directory should be created by cubicweb now.
We may want to issue a warning if they are missing.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 14:10:45 +0200] rev 6494
[config] make config.cubes() available on NoAppCubicWebConfiguration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 14:10:02 +0200] rev 6493
[rql2sql] properly compute has_text relation table scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:15:56 +0200] rev 6492
fix some pylint detected errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:15:38 +0200] rev 6491
pylint option update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:08:00 +0200] rev 6490
[components] add missing imports for code copied/pasted. Forgot to run pylint afterward...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 09:49:59 +0200] rev 6489
[component] avoid conflict on global/local identifier
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 09:01:58 +0200] rev 6488
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:43 +0200] rev 6487
[debian] goa package gone for now
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:07 +0200] rev 6486
[doc] kill deprecated french documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:01:04 +0200] rev 6485
Added tag cubicweb-debian-version-3.10.0-1 for changeset 9ef1347f8d99
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:01:03 +0200] rev 6484
Added tag cubicweb-version-3.10.0 for changeset 0793fe84651b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 22:18:59 +0200] rev 6483
3.10
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 19:46:35 +0200] rev 6482
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:47:22 +0200] rev 6481
[schema categorization] new NO_I18NCONTEXT set usable to somewhat control c-c i18n
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:46:54 +0200] rev 6480
i18n catalog cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:18:20 +0200] rev 6479
[primary] RsetBox view should give dispctrl & all to its subview. Also, don't use csv when in boxes.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:17:37 +0200] rev 6478
[server] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:17:20 +0200] rev 6477
[see also component] drop it, we can acheive the same result with uicfg rules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:16:48 +0200] rev 6476
[primary] fix autolimited view which was not limited at all
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:00:06 +0200] rev 6475
[see also component] avoid seeing see_also entities in side boxes as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 15:59:35 +0200] rev 6474
[components] remove old deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 15:59:05 +0200] rev 6473
[wf history] avoid title duplication
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 13:03:48 +0200] rev 6472
i18n tweaks
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 13 Oct 2010 11:00:22 +0200] rev 6471
[book] small note about test/data/schema.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:37:21 +0200] rev 6470
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:37:09 +0200] rev 6469
[test] reset uncommitable flag on ValidationError raised during automatic db population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:36:38 +0200] rev 6468
[ctx component] has no wview method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 07:45:18 +0200] rev 6467
[entity, repo] move prefill_entity_cache function back to repository due to usage of del_existing_rel_if_needed function which is also defined there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:36:54 +0200] rev 6466
cleanup and 3.10 updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:36:35 +0200] rev 6465
[architecture] introduce adapter to ease transformation of errors before display to the end user. Use it for UniqueTogetherError first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:34:55 +0200] rev 6464
[repo, entity] move entity cache initialization to a function, and call it before source.add_entity so it may be used in error handler or such
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:20:15 +0200] rev 6463
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:15:47 +0200] rev 6462
[ui component] restore see_also component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:12:50 +0200] rev 6461
[ui component] RelatedObjectsCtxComponent to superseede RelatedObjectsVComponent (still there for bw compat)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:11:06 +0200] rev 6460
[c-c i18ncubicweb] fix 'non-contextual' relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:15:31 +0200] rev 6459
[i18n] uniformize footer capitalization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:48 +0200] rev 6458
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:43 +0200] rev 6457
[selector] more efficient rql_condition by simply retreiving COUNT()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:08 +0200] rev 6456
[workflow] fix bw compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:09:52 +0200] rev 6455
[baseviews] new cw.archive.[by_author|by_date] views, extracted from blog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 14:13:07 +0200] rev 6454
[test/possible views] skip deprecated views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 14:10:58 +0200] rev 6453
[form] unify form.render prototype to take a 'w' argument as other view/components render method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 12:12:05 +0200] rev 6452
[ui] nicer ajax edit relation table (tags box for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 19:45:15 +0200] rev 6451
fix pre 3.10 bw compat
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 11 Oct 2010 19:13:01 +0200] rev 6450
small typo on mustMach, handle initialvalue, handle empty userInput
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Oct 2010 19:13:00 +0200] rev 6449
[formwidgets] rewrite autocomplete cw widgets to get rid of div-style declaration API
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Oct 2010 19:12:59 +0200] rev 6448
[javascript] update to jQuery 1.4.2 and jQuery-ui 1.8.5
The most notable changes are :
- A bug in jQuery 1.4.2 forces us to add 2 noop() methods
on cw objects to handle event unbinding, see :
http://dev.jquery.com/ticket/6184
for more details.
- jquery.autocomplete.js is not maintained anymore as it now has
a standard implementation in jquery ui. The downside is that
the new autocomplete version needs more work to be used.
cubicweb.widgets.js defines a cwautocomplete plugin which is
just a (not so) thin wrapper around the std autocomplete plugin
to keep backward compatibility and usage simplicty.
The original autocomplete author wrote a nice migration guide :
http://www.learningjquery.com/2010/06/autocomplete-migration-guide
- If you're using jQuery.ajax directly, you might have surprises
with arguments serialization for arrays. To get the old behaviour,
you need to pass a `traditional: true` extra arguments to jQuery.ajax.
Of course, it's transparent if you're using cubicweb higher level
helpers such as loadxhtml, loadRemote, etc.
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 11 Oct 2010 17:46:22 +0200] rev 6447
[tests] update windmill use cases from link corrections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:01:25 +0200] rev 6446
[contextual components] missing layout for components in the toolbar
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:00:51 +0200] rev 6445
[selectors] make configuration_values selector works for startup/maintainance hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:00:21 +0200] rev 6444
[c-c i18ncube] proper command class name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 17:59:58 +0200] rev 6443
[i18n cube] skip bw compat registries boxes and contentnavigation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 14:45:25 +0200] rev 6442
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 13:40:18 +0200] rev 6441
TestServerConfig needs default_base_url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:29 +0200] rev 6440
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:17 +0200] rev 6439
[test] we must consider default_base_url()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:26:50 +0200] rev 6438
[js test] cleanup, move anonymous_logged handling to the test class (easier to control there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:03:12 +0200] rev 6437
CtxComponent don't have wview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:05:19 +0200] rev 6436
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:02:27 +0200] rev 6435
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:47:22 +0200] rev 6434
[test] fix ldap test when executed from certain hosts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:22 +0200] rev 6433
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:11 +0200] rev 6432
restore line dropped in 6424:f443a2b8a5c7 which is necessary to have proper base-url on test server config (used for ms tests at least)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:17:54 +0200] rev 6431
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:01:14 +0200] rev 6430
[breadcrumb] infinite loop safety belt, bw compatible by hi-jacking 'recurs' argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Sat, 09 Oct 2010 00:38:07 +0200] rev 6429
[login] fix some previously introduced login box css breakage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:38:02 +0200] rev 6428
[components] refactor main template header: make it much more flexible by using CtxComponent
* rename userlink class (not private) with somewhat bw compat
* make some cosmetic adjustements on log-in/registration components
* update to component api, though this may breaks some sub-classes
(for application customizing the breadcrumbs component for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:52 +0200] rev 6427
[schema / sources] store data sources as cubicweb entities
this implies several changes:
* new CWSource / CWSourceHostConfig entity types
* only the system sources and default admin login/password stored in sources file
(other stuff will be ignored)
* on startup, get sources definition from the database
* every entities have a cw_source relation
* a facet allow filtering
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:50 +0200] rev 6426
[hook/operation] nicer api to achieve same result as set_operation, as described in #1253630
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:49 +0200] rev 6425
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 08 Oct 2010 15:28:51 +0200] rev 6424
[devtools] refactor http server initialization in a much saner way
Use a new ApptestConfiguration to group server paramater.
Fix base-url mangling between main site and data ressources.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 17:07:46 +0200] rev 6423
[pre 3.10 compat] if CtxComponent as a call() method, emit a deprecation warning but use it. Also ensure default value on class for visible and order, and define wview for bw compat as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 16:11:37 +0200] rev 6422
[reledit] do not reload on the parent node
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 16:11:23 +0200] rev 6421
[js/edition] kill deprecated (& dead) reledit code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 13:19:07 +0200] rev 6420
[views/wdoc] do not crash on malconstructed stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 13:12:14 +0200] rev 6419
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 11:54:17 +0200] rev 6418
[views/authentication] fix http auth regression (no message)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:31 +0200] rev 6417
[test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:09 +0200] rev 6416
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:08 +0200] rev 6415
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 09:43:24 +0200] rev 6414
[test] skip test when dbhelper has no underlying dbapi module available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:55:11 +0200] rev 6413
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:48:37 +0200] rev 6412
[test] cleanup / unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:44:22 +0200] rev 6411
[test] don't add unnecessary dependency to blog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:43:38 +0200] rev 6410
[test] fix tests broken by transaction behaviour on Unauthorized/ValidationError (no rollback but connection marked as non-commitable)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:04:07 +0200] rev 6409
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:02:00 +0200] rev 6408
[testlib] fix mail monkey patching, former patch was applied on stable instead of default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 18:51:13 +0200] rev 6407
[primary view] default to outofcontext view for entities displayed in boxes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Oct 2010 17:25:24 +0200] rev 6406
xml-escape <script> tags generated by HTMLHead
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 06 Oct 2010 15:32:59 +0200] rev 6405
fix some issues in DotGraphView, and enhance reusability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:57:14 +0200] rev 6404
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 06 Oct 2010 14:56:43 +0200] rev 6403
[testlib] Fix mail monkeypatch in testlib
ea26eb5fd388 in stable introduce monkeypatching of SendMailOp.commit_event
8bc6eac1fac1 in default rename SendMailOp.commit_event to postcommit_event
d7f5d873e1b8 merge stable in default without handling the rename.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:56:20 +0200] rev 6402
[selector] fix iterable detection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:04:26 +0200] rev 6401
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Oct 2010 11:57:21 +0200] rev 6400
restore vital block of code (gone in 6384:89d5b339ebdd)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:47:29 +0200] rev 6399
[debian] constrain pyro version in debian packaging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:46:20 +0200] rev 6398
[test] send mail synchronously during tests
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 05 Oct 2010 10:17:24 +0200] rev 6397
[book] improve documentation lisibility for cwconfig chapter and fix some references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:15:09 +0200] rev 6396
[login ui] cleanup and somewhat bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:14:37 +0200] rev 6395
[selectors] move selectors according to their type, add missing ones to documentation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 05 Oct 2010 08:33:10 +0200] rev 6394
[forms] remove dead code and simplify inlineviews creation
remove AutomaticEntityForm.should_inline_relation_form which is not
used anywhere and comes from a time where uicfg did not exist.
remove test for "force_<rtype>_display" presence in req.form to
determine whether or not the inline creation form should be displayed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:09:09 +0200] rev 6393
include fcayre's patch #1060507 to get extra rql query parameters from form content in rgx_action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:05:51 +0200] rev 6392
[forms] catching KeyError closes #961831: migration failure when defining form fields
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:59:32 +0200] rev 6391
[authentication] force retriever implementor to think about it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:10 +0200] rev 6390
[repo] add a find_users method for under-privileged accounts
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:05 +0200] rev 6389
refactor login box & form to enable easy pluggability
* vregistry.selectable: get all selectable object of fixed oid with given context
* template headeri, logbox, logform: reorganize a bit the structure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 18:55:57 +0200] rev 6388
[js] add cubes namespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 04 Oct 2010 16:58:34 +0200] rev 6387
new script cwuser_ldap2system
used to migrate ldap users to system source
based on work by adim.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 15:55:55 +0200] rev 6386
[vreg] fix bad copy and paste introduced in 6347:ef47a2100c66
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 18:49:47 +0200] rev 6385
[repo transaction] fix rollback behaviour as discussed on the mailing-list: instead of rollbacking automatically on Unauthorized/ValidationError, mark the transaction as uncommitable and disallow commiting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 17:27:54 +0200] rev 6384
#1256570: remove __method, it is not used in any of the cubes from logilab and encourages bad design by using Redirect (eg ui specific) from entities.py
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:04:09 +0200] rev 6383
Add a fsimport context manage to localy enable fsimporting.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:50 +0200] rev 6382
[test] improve tag for server/test/unittest_storage.py
Use class level tag.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:01 +0200] rev 6381
[repo threads] Add several safety when looking for a callable name.
We lookup __name__ attribute, then func_name attribute. object repr is a last
fallback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 16:53:35 +0200] rev 6380
[facets] support for `no_relation` on RelationFacet
e.g. to filter en entities *without* a given relation as well as with a
particular relation. Proposed or not by default according to relation
cardinality.
Also, try to guess i18nable properly from the schema by default.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 16:07:03 +0200] rev 6379
[R] use dbhelper.binary_value to process passwords and other Bytes fields
(instead of dbapi_module.Binary or hardcoding buffer()).
This requires (esp. in serverctl) version 1.3.1 of logilab.database.
Dependencies updated.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:38 +0200] rev 6378
[3.10 migration] fix migration of cwproperties related to components/boxes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:00 +0200] rev 6377
[schema] introduce some new sets categorizing entity/relation types and benefits from them where possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:24:21 +0200] rev 6376
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:09:25 +0200] rev 6375
[schema] introduce new WORKFLOW_RTYPES set and use it to build SYSTEM_RTYPES/DONT_CHECK_RTYPES_ON_ADD/DONT_CHECK_RTYPES_ON_DEL sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:08:31 +0200] rev 6374
[rset] support for delitem on repeat list (may be necessary in pyro source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:26:17 +0200] rev 6373
merged timeline changes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:25:39 +0200] rev 6372
timeline view minor enhancements
* support dates < 1900 by using logilab.common.date.ustrftime
* make the timeline a public member of the TimeLineWidget
* let buildWidget return the created widget, so that we can manipulate it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:35:01 +0200] rev 6371
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:40 +0200] rev 6370
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:30 +0200] rev 6369
[test] more update to unittest2 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 14:58:57 +0200] rev 6368
[repo] properly mark object as saved once added to its source (code much probably gone during a merge...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:46:47 +0200] rev 6367
fix merge, some buffers weren't saved...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:16:32 +0200] rev 6366
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 14:22:12 +0200] rev 6365
[test] must now commit file creation since the later ValidationError trigger a rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:54:35 +0200] rev 6364
cleanup and micro-optimization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:53:30 +0200] rev 6363
[web action] has_editable_relations should not filter out final relations, fix regression introduced in 6358:22c95c5ef12d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:44:11 +0200] rev 6362
[c-c] fix RuntimeError: 'maximum recursion depth exceeded while calling a Python object' we get when creating/upgrading/shelling an instance: hasattr() call __getattribute__, creating an infinite recursion error catched by the interpretor. Avoid this by testing the method is available on the class instead of the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:18:06 +0200] rev 6361
[transaction] to avoid potential db corruption, we should rollback systematically in case of ValidationError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:17:26 +0200] rev 6360
[selector] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:16:28 +0200] rev 6359
[sync schema] take care rdef may not be final, in which case we want to use type of eid attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:15:10 +0200] rev 6358
[web action] has_permission_update checked implicitly by has_editable_relation, don't check it twice
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:13:44 +0200] rev 6357
[muledit] form may contains subforms with nothing editable that will be s kipped, so ensure we choose one with something to display when rendering table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:01:57 +0200] rev 6356
[c-c i18n] namespace/line wrap cleanup + dynamically compute available language + make it works in installed mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:00:54 +0200] rev 6355
[i18n] no more necessary, those msgids are no more generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 18:53:45 +0200] rev 6354
[wf component] reversing selectors here may be a huge performance win on big rsets, since EntityVComponent selector starts with one_line_rset
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:52:45 +0200] rev 6353
don't add another encoding if already present in content-type
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:50:34 +0200] rev 6352
[book] note about different encryption on Unix and Windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 14:52:45 +0200] rev 6351
make reset-admin-pwd work with sqlserver as db backend
the pyodbc sqlserver db backend depends on being passed the cw_upassword value
as a buffer object to bind it to a binary column (which is usually done when
CW is dealing with passwords).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 12:22:17 +0200] rev 6350
[book] updated FAQ 'How to reset the password for user joe' with SQL Server syntax
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 08:36:24 +0200] rev 6349
fix test so that we don't actually depends on file and email cubes
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 13:41:13 +0200] rev 6348
[selectors] multi_lines_rset selector supports now optional operator for richer comparaisons
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 15:00:08 +0200] rev 6347
exception: specify expected parameter in NoSelectableException
Enforce expected parameters, reformat exception message in class itself and change some log messages in calling code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:14:23 +0200] rev 6346
[testlib] don't wrap main test connection into TestCaseConnectionProxy, it should not be closed afterwards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:13:41 +0200] rev 6345
[doc] add note about propagation on deletion of a watched relation
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:38:24 +0200] rev 6344
[book] add a link in hooks section to test, talk about create_entity in tests section
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:03 +0200] rev 6343
[book] add editable-table in views/table section and add an example to illustrate this view
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:00 +0200] rev 6342
[book] Talk about RichString in 'Yams schema' section
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 18:08:40 +0200] rev 6341
[tests] import TestSuite from lgc.testlib for further compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:59 +0200] rev 6340
[test] update test to unittest2 api (still using lgc.testlib though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:57 +0200] rev 6339
[foaf] we should encode email addr: even if we know it should be ascii, nothing prevent from putting something else in (tests at least do it)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:45 +0200] rev 6338
add test case demonstrating #1251910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:16 +0200] rev 6337
stop relying on person cube, it isn't needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:54:20 +0200] rev 6336
[facet] use contextified label when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:53:56 +0200] rev 6335
[primary view] refactor label handling (hence render_[attribute|relation]) so we uniformly use _rel_label which provides properly contextified labels
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 24 Sep 2010 11:05:10 +0200] rev 6334
add some styling required by ReST figures
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:28:58 +0200] rev 6333
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:24:42 +0200] rev 6332
Added tag cubicweb-debian-version-3.9.8-1 for changeset e4dba8ae9637
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:24:42 +0200] rev 6331
Added tag cubicweb-version-3.9.8 for changeset eed788018b59
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 22:38:04 +0200] rev 6330
3.9.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 22:37:46 +0200] rev 6329
[reledit] drop compute_best_vid method now useless
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:38:36 +0200] rev 6328
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:36:46 +0200] rev 6327
[easy_install] stop installing recommends, user should install them manually if desired (avoid errors on optional packages blocking install)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:35:49 +0200] rev 6326
[skel] update pylint instruction in default setup.py
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 Sep 2010 16:02:53 +0200] rev 6325
[views] fix foaf view for CWUser
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 16 Jul 2010 16:08:04 +0200] rev 6324
[book] minor update about windmill + reformat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 30 Jul 2010 16:01:28 +0200] rev 6323
[c-c shell/upgrade] raise ExecutionError when traceback is not relevant
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Sep 2010 15:30:54 +0200] rev 6322
[windmill] initialize windmill registry if not already existing (possible error case in dev)
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Sep 2010 12:16:36 +0200] rev 6321
[req] build_url: detect None values in arguments and raise ValueError
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Sep 2010 13:10:29 +0200] rev 6320
[doc/book] make it colorful
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Sep 2010 13:04:01 +0200] rev 6319
[doc/book] complete section on authentication plugins
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:49:05 +0200] rev 6318
[publisher] add session id when logging published path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:48:43 +0200] rev 6317
[entity, url] we should not set base_url in kwargs when actually unset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:47:54 +0200] rev 6316
[test] we actually still need the set_option on base-url for multi-sources (eg repo) configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:46:59 +0200] rev 6315
[test] fix broken tests and minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:46:38 +0200] rev 6314
[test] add some fake cubes necessary for test so we don't depend on the actual forge cube
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 20:12:38 +0200] rev 6313
[doc/book] begin an howto write auth plugins chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:44:37 +0200] rev 6312
[dbapi] fix typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:43:44 +0200] rev 6311
[doc/book] tell a more complete story on sessions and the authentication process
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:43:02 +0200] rev 6310
[doc/book] more notes on setup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:23:42 +0200] rev 6309
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:23:35 +0200] rev 6308
[dbapi] get_option_value now has a foreid argument telling the option should be dereferenced to the entity's actual repository (necessary for apycot/local_cache handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:18:29 +0200] rev 6307
[entity] fix typo in absolute_url method, breaking some code w/ control of absolute url of external entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:17:40 +0200] rev 6306
[test] fix test broken by introduction of CWUniqueTogetherConstraint
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 22 Sep 2010 13:21:34 +0200] rev 6305
[doc] fixing install doc (reapply cset that was erroneously overriden)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 17:01:51 +0200] rev 6304
[doc,bin] add script to fetch & update most cw dependencies + some cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 14:03:24 +0200] rev 6303
[book] backport documentation about primary/base views sent on the list
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 22 Sep 2010 13:33:17 +0200] rev 6302
[book - #1251259] reorganize plan for basetemplate, talk about class attributes
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 22 Sep 2010 13:15:14 +0200] rev 6301
imported patch doc_test_commit.diff
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 22 Sep 2010 13:21:34 +0200] rev 6300
[doc] fixing install doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 12:29:20 +0200] rev 6299
[sqlite] quick hacks to fix #1251873 and #1251874
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 12:14:54 +0200] rev 6298
[doc/book] fix session types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 10:35:34 +0200] rev 6297
[rql] fix bug with query like 'Any 1 WHERE NOT X in_group G': tables should be kept in EXISTS() even when there are no restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 10:34:20 +0200] rev 6296
[skel] MANIFEST.in cleanup
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 22 Sep 2010 10:10:19 +0200] rev 6295
updated yams and logilab.database dependency, start preparing 3.9.8
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 22 Sep 2010 10:00:36 +0200] rev 6294
use new logilab.database interface for multicol indexes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 21 Sep 2010 16:35:37 +0200] rev 6293
[dbapi] Connection.check() must return the latest activity timestamp (dropped accidentally during latest merge)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 21 Sep 2010 16:33:20 +0200] rev 6292
[migractions] add a dropped_constraints() migration command
Example usage:
>>> with dropped_constraints('MyType', 'myattr',
... UniqueConstraint, droprequired=True):
... add_attribute('MyType', 'myattr')
... # + instructions to fill MyType.myattr column
...
>>>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Sep 2010 15:58:45 +0200] rev 6291
[primary view] we should not limit related rset, else if something else than autolimited view is used, some content will be missed without a 'view all' link
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Sep 2010 15:50:12 +0200] rev 6290
handle displayctrl['limit'] == None correctly
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 17 Sep 2010 19:30:22 +0200] rev 6289
[views/reledit] bw compat code is unneeded there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:55:55 +0200] rev 6288
[primary view] introducing use_list_limit in pvdc fix reledit regression on the way (introducted a few changesets ago)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:46:47 +0200] rev 6287
[js] update js for reledit to 3.9 ajax api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:58 +0200] rev 6286
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:51 +0200] rev 6285
[boolean field] we've to override format_single_value as well in case where None are allowed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:17 +0200] rev 6284
[repo/sql] don't do anything when value is None. This will avoid None to be turned into False in the case of a boolean for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:54:57 +0200] rev 6283
[reledit] more api cleanup
* deprecates usage of giving rvid/default_value to select (use rtag instead)
* deprecates usage of _one_rvid/_many_rvid, use autolimited view instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:54:56 +0200] rev 6282
[reledit] new rtag entry to control apparition of relation label in default value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:53:12 +0200] rev 6281
[test] fix setting of base-url during test: override default_base_url, else we set it too late (after uiprops generation)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 12:34:03 +0200] rev 6280
[navigation] move hack from page_link to page_url so '#1251858: Can't see all the elements when a limited list is shown' if fixed as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:56:35 +0200] rev 6279
backport stable into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:46 +0200] rev 6278
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:40 +0200] rev 6277
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:17 +0200] rev 6276
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:03 +0200] rev 6275
[ReST] settings update: add traceback=True to avoid sys.exit, and set stylesheet to None since we don't care about it and that may makes docutils stupidly fail according to the cwd at import time...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:41:45 +0200] rev 6274
[url publishing] fix regression introduced by refactoring in 3.9.7, leading to table view being choosen when one would expect the primary view. Fix similar pb with /<etype> url and list view (this one has been there for a while)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:39:35 +0200] rev 6273
[publisher] avoid extra Name error on unexpected error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:39:16 +0200] rev 6272
[publisher] with python>=2.5, we should catch BaseException here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:36:42 +0200] rev 6271
Added tag cubicweb-debian-version-3.9.7-1 for changeset 1c01f9dffd64
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:36:41 +0200] rev 6270
Added tag cubicweb-version-3.9.7 for changeset de588e756f4f
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:49:13 +0200] rev 6269
ewrongattribute
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:42:58 +0200] rev 6268
force debug mode to false in service mode
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:38:19 +0200] rev 6267
repair service mode start on windows
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 15:42:34 +0200] rev 6266
3.9.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 15:40:54 +0200] rev 6265
[navigation] for rql to the one of the rset being paginated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 16 Sep 2010 14:11:12 +0200] rev 6264
[reledit] cut methods to make overriding easier, add event on success update after reload
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:38:49 +0200] rev 6263
[propagation hooks] support to skip some relation when propagating to linked entities. Proper renaming and enhance documentation on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:37:47 +0200] rev 6262
add permission relations to schema types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:37:25 +0200] rev 6261
[syncschema hooks] simplify core types definition be reusing schema sets (remove typos on the way)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 11:52:10 +0200] rev 6260
raise ProcessFormError when a problem occurs during date / time parsing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 16 Sep 2010 11:30:14 +0200] rev 6259
[request] memoize tabindex across ajax calls (on pageid) to avoid ui confusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:30:09 +0200] rev 6258
[entity] give ordermethod=None to fetch_rql to tell you don't want a specific order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:28:25 +0200] rev 6257
[repo] new method on repo+dbapi.Connection to get a value from repository's configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:27:50 +0200] rev 6256
[repo] docstring cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:27:26 +0200] rev 6255
[primary view] should specify rtype/role when selecting a rtype view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:26:55 +0200] rev 6254
[table view] use get instead of has_key so one can specify he doesn't want actions or filter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:26:08 +0200] rev 6253
[urlpublishing] refactor to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:25:17 +0200] rev 6252
[dbapi] reorganize Connection methods and use a @check_not_closed decorator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 18:43:14 +0200] rev 6251
[facet] add missing @property making subsequent access always true
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:21:05 +0200] rev 6250
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:20:56 +0200] rev 6249
fix regretion introduced by changeset "pagination/ ajaxes fixes" (2f5ebeb7665d)
* should not paginate unless explicitly asked or if explicitly given divid == 'pageContent'
* fix ajax page navigation for table view by calling component's ajax_page_url, which specify correctly divid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:17:51 +0200] rev 6248
[navigation] refactor base navigation component: replace deprecated replacePageChunk js call by loadxhtml, using the magic js object
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 15 Sep 2010 15:14:35 +0200] rev 6247
unique_together: recast exception raised by sqlite
updated the translations (en + fr) while I was at it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 15 Sep 2010 15:00:04 +0200] rev 6246
[views/reledit] refactor composite handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 11:13:17 +0200] rev 6245
[doc] add note about x-ref in doc's README
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 11:03:48 +0200] rev 6244
[book - #1251197] add a section in migration page for add_cube and add_cubes command
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 11:00:55 +0200] rev 6243
[book - #1251780] add a section to explain how to write tests to test which actions are visible
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 10:54:25 +0200] rev 6242
[book - #1251260] add a warning in automatic test when user redefine the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 08:06:13 +0200] rev 6241
should not use pyro 4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:40:31 +0200] rev 6240
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:40:10 +0200] rev 6239
[basecontroller] we should consume divid to avoid it being reused by the table view, leading to duplicated id (and hence weird rendering)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:39:28 +0200] rev 6238
[basecontroller] pagination / ajax fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:38:41 +0200] rev 6237
[basecontroller] handle case where the query is prefixed by 'rql:' as allowed by the search input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:37:32 +0200] rev 6236
[repo tests] add test case for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:36:29 +0200] rev 6235
[primary view] properly handle case where view specified in pvdc['vid'] isn't selectable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:35:42 +0200] rev 6234
[primary view] don't need to pick arbitrary target, this is properly handled by the rtag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:28 +0200] rev 6233
[schema] turn comment into docstring for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:01 +0200] rev 6232
[schema] ensure DISTINCT is displayed for constraint using it, this ease debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:29 +0200] rev 6231
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:26 +0200] rev 6230
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:48:44 +0200] rev 6229
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:47:11 +0200] rev 6228
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:47:03 +0200] rev 6227
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:46:52 +0200] rev 6226
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 15:15:21 +0200] rev 6225
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6224
Added tag cubicweb-debian-version-3.9.6-1 for changeset 7d2cab567735
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6223
Added tag cubicweb-version-3.9.6 for changeset d37428222a63
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:46 +0200] rev 6222
[migration] attempt to fix pre 3.6 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:20 +0200] rev 6221
[migration] remove buggy assertion
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:56:09 +0200] rev 6220
[js] jqNode is more robust here wrt some node ids
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:55:37 +0200] rev 6219
[migration] .pop() is more readable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 12:24:11 +0200] rev 6218
[form fields] option may be a 3-uple (3d element being dict containing widget options)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 11:00:22 +0200] rev 6217
[migration] fix so that context modification are reflected on the currently executed migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:51:55 +0200] rev 6216
3.9.6
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 10:01:43 +0200] rev 6215
[javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 09:56:10 +0200] rev 6214
[javascript] fix test_ajax.js implementation
In cubicweb.ajax.js, we maintain two lists (cw.loaded_src and cw.loaded_href)
to keep track of already included CSS and JS. (see discussion about
jQuery and $('foo').appendTo($head) in _loadAjaxHtmlHead.)
Since all tests are executed in the "same page", those two
variables need to be reinitialized before each test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:00:05 +0200] rev 6213
[migration] commit just after symetric has been renamed to symmetric (else later rollback may cancel this)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 12 Sep 2010 15:53:16 +0200] rev 6212
[doc] fix link to appendix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 18:30:38 +0200] rev 6211
nicer error reporting for unique together constraints
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 17:58:38 +0200] rev 6210
removed print_exc
syt [Fri, 10 Sep 2010 16:56:37 +0200] rev 6209
fix tests
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 16:48:58 +0200] rev 6208
unique_together integration in CW (alf+syt)
* added in-DB representation of the constraint with a new entity type (CWUniqueTogetherConstraint)
* the schema is now migrated on a sync_schema_props_perms(EType) call in the migration script
* removed the migration commands provided in the first implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:31 +0200] rev 6207
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:26 +0200] rev 6206
[test] skip unittest_fti if we don't have the required setup...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:50:43 +0200] rev 6205
[test] fix in 6203:d3dea5f84404 wasn't enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:45:46 +0200] rev 6204
[json controller] check rql is really specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:32:38 +0200] rev 6203
[test] during some tests (unittest_migrations), we should not register ClearGroupMap which is actually already there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:31:42 +0200] rev 6202
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 09:54:19 +0200] rev 6201
[c-c create] ask for database driver by default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:25:31 +0200] rev 6200
[migration] when some CWGroup is added during migration, we should reset migration handler's group mapping cache and the set telling what have been synchronized (we may be able to add some new groups on perms syncing...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:23:43 +0200] rev 6199
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:08 +0200] rev 6198
add a small c-c shell script to detect cycle for a given relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:06 +0200] rev 6197
[test] fixes to follow recent changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:05 +0200] rev 6196
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:04 +0200] rev 6195
[rset] add test for #1251252, actually fixed in rql; fix docstring and add comments in rset.related_entity to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:07:56 +0200] rev 6194
[querier test] remove some actually bad tests that were passing thanks to a sqlite bug
Now, rql has been fixed to correctly detect this kind of query can't be
answered correctly
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:32:46 +0200] rev 6193
[views] do not underline h1 titles for tabbedprimary views
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:27:53 +0200] rev 6192
[doc] improve doc thanks to user feedback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Sep 2010 10:03:30 +0200] rev 6191
[schema deserial] fix loading of schema when mapping an entity type to an existing one
To ensure rdef of the old entity type don't overwrite those already existing
on the mapped entity type.
Also rename some variables/arguments on the way to make things clearer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:34:16 +0200] rev 6190
[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:24:45 +0200] rev 6189
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:23:16 +0200] rev 6188
[integrity] fix case where we can get two entities related while the cardinality is single on the object of an inlined relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:02:08 +0200] rev 6187
[migration] propose to open pdb on error during execution of rql/sql query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:00:53 +0200] rev 6186
[migration] set ask_confirm=False by default on rqlexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:59:55 +0200] rev 6185
[c-c db-check] skip error while checking relation, useful when analyzing really broken database (after a migration failure for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:58:31 +0200] rev 6184
[c-c db-check] add missing import
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Sep 2010 18:58:20 +0200] rev 6183
[doc] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:34:42 +0200] rev 6182
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:33:33 +0200] rev 6181
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 02 Sep 2010 14:09:20 +0200] rev 6180
fix name error by adding missing import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 17:21:13 +0200] rev 6179
migration actions for unique_together constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 13:20:32 +0200] rev 6178
remove buggy call to builtins._ on navigation content
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Sep 2010 21:57:12 +0200] rev 6177
[views] rename Edition to Modification and personal information to profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:37 +0200] rev 6176
[cw.utils] avoid spurious warning, ustrftime may be globally imported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:12 +0200] rev 6175
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:04:12 +0200] rev 6174
add missing msgstr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:03:11 +0200] rev 6173
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Sep 2010 15:42:14 +0200] rev 6172
[web/uicfg] better error reporting for reledit_ctrl
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 15:56:21 +0200] rev 6171
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 15:05:03 +0200] rev 6170
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 14:38:49 +0200] rev 6169
fix order of parameters in call to callfunc_every
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 31 Aug 2010 10:43:03 +0200] rev 6168
[test/entity] fix test (following mtconverter 0.8+ plain text transform change)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 15:02:34 +0200] rev 6167
[doc] add documentation on RealDatabaseConfiguration
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 14:14:54 +0200] rev 6166
[devtools] add url_publish() method on CubicWebTC to test a full publishing process from the url_resolver to the html generation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 13:44:55 +0200] rev 6165
[devtools] make CubiwebTC.login() context-manager restore the testcase connection on exit
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 09:02:41 +0200] rev 6164
[devtools] restore ability to test on real databases
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 08:56:58 +0200] rev 6163
[migration] fix add_relation_type() for symmetric relations
To check if the corresponding SQL table has to created, CWRelationAddOp
tests that the tablename is not in the 'createdtables' session variable
(i.e. the table hasn't been created before in the same transaction) and
that len(rschema.rdefs) is not greater to 1, that is the relation already
existed in the database before this transaction.
In case of symmetric relations, len(rschema).rdefs will be at least 2
since rdefs will store both (subj, obj) and (obj, subj) relation
definitions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:45:57 +0200] rev 6162
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6161
Added tag cubicweb-debian-version-3.9.5-1 for changeset 12038ca95f0f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6160
Added tag cubicweb-version-3.9.5 for changeset 0a1fce8ddc67
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:55:08 +0200] rev 6159
3.9.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:54:42 +0200] rev 6158
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:59 +0200] rev 6157
[doc, adapters] drop deprecated code from examples
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:25 +0200] rev 6156
[doc] interesting stuff backported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:51:55 +0200] rev 6155
[doc] clean ITreeAdapter documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:32 +0200] rev 6154
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:23 +0200] rev 6153
remove useless import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 10:13:48 +0200] rev 6152
use is_instance in a number of places (esp. documentation) rather than the deprecated implements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:09:18 +0200] rev 6151
[new components] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:01:58 +0200] rev 6150
remove some deprecated stuff about relation definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:58 +0200] rev 6149
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:48 +0200] rev 6148
[book] more about has_<action>_permission and enhance a bit security definition section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:29:55 +0200] rev 6147
update documentation to follow 6142:8bc6eac1fac1 changes. Try to make it better and move most doc with code on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:13:05 +0200] rev 6146
cwconfig module already used by another autodocstring. Drop this currently useless file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 13:45:41 +0200] rev 6145
more cwctl api update and fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:23:22 +0200] rev 6144
[c-c create] argument inversed accidentally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:22:47 +0200] rev 6143
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:18 +0200] rev 6142
[session] cleanup hook / operation / entity edition api
Operation api
~~~~~~~~~~~~~
* commit_event killed, recently introduced postcommit_event is enough and has a better name
* kill SingleOperation class, it's a) currently never used b) superseeded by set_operation if needed.
Entity edition api
~~~~~~~~~~~~~~~~~~
edited_attributes turned into a special object holding edition specific attributes:
- attributes to be edited (simply mirrored in cw_attr_cache, actual values are there)
- former _cw_skip_security set (cw_edited) and querier_pending_relations
It has also been renamed to `cw_edited` on the way (it may also contains inlined relations)
The entity dict interface has been deprecated. One should explicitly use either
cw_attr_cache or cw_edited according to the need.
Also, there is now a control that we don't try to hi-jack edited attributes
once this has no more effect (eg modification have already been saved)
At last, _cw_set_defaults/cw_check internal methods have been moved to this
special object
Hook api
~~~~~~~~
hook.entity_oldnewvalue function now moved to a method of cw_edited object.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:07 +0200] rev 6141
[web api] unify 'contentnav' (VComponent) and 'boxes' registries as 'ctxcomponents' (CtxComponent)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:01:11 +0200] rev 6140
[boxes] introduce new boxes system
* separate box content generation from its layout
* refactor css classes to allow moving boxes and still get consistent ui
On the way to contentnavigation/boxes unification (in a later patch)
* * *
some fixes for the previous (default_new_boxes_system) patch
* * *
some fixes for the previous (default_new_boxes_system) patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:43:12 +0200] rev 6139
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:42:55 +0200] rev 6138
update to lgc.clcommands 0.51 api
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:59:07 +0200] rev 6137
[css] make sure the toolbar is clickable because layered over title
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:57:45 +0200] rev 6136
[dataimport] refactor commitevery to gain readability
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 12:49:28 +0200] rev 6135
[win32] no os.getuid on windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 09:07:20 +0200] rev 6134
use logilab.common.date.ustrftime in json encoder to work around datetime.strftime limitation on dates < 1900
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 08:46:24 +0200] rev 6133
use iter_and_commit in example
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 17:08:08 +0200] rev 6132
[c-c check-mapping] fix dumb name error and add a warning about inlined crossed relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 10:59:57 +0200] rev 6131
[ms] more planning bug fixes
* fix sourcesterms w/ constant: all occurences of the same constant should be there once one of them is
* fix handling of constant and relation in expand_terms:
* we should always consider system source there for constants
* for relation, we should check its lhs and rhs are in selected terms, not
that the relation is in linkedterms (this has no chance to be true)
This fixes 3 tests that were either passing erroneously (syt should be punished
for copy/paste output as test reulst without triple checking it) or were not
optimal.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:36:58 +0200] rev 6130
oops, missing part of 6125:628cf5213154 (mapping file checking)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:35:10 +0200] rev 6129
[ms] fix two planner bugs: one occuring query such as X created_by U where X in a external source and U may come from an ldap source. The other being that when we've to merge input maps, we were modifying the same tree/solutions while a copy were needed. Also, ensure we add type restrictions, necessary for pyro source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:31:02 +0200] rev 6128
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:29:48 +0200] rev 6127
[ms, c-c] new command checking for consistency / potentian flaws and enhancements of mapping file of a multi-sources instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:21:15 +0200] rev 6126
[repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:17:04 +0200] rev 6125
[migration] enhance RqlForIterator so we can do 'for e in rqliter(...).entities()'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:16:03 +0200] rev 6124
[ms] when entity is coming from an external source, don't add non final relations on complete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:15:06 +0200] rev 6123
[querier] add_types_restriction_cleanups: remove useless try/except (we already filtered out variables not in newroot.defined_vars) and dict accss. Also systematically set computed solutions instead of modifying existing ones
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 20 Aug 2010 08:46:32 +0200] rev 6122
improvements in dataimport.py
* updated the docstrings
* fixed small issues in ucsvreader_pb
* help user in using RQLObjectStore
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 19 Aug 2010 11:14:55 +0200] rev 6121
add missing semi colon in js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 16:53:05 +0200] rev 6120
[book] some more documentation and cleanups
* merged existing facets documentation with the one I've just written and
put almost everything within the code
* added a note about __depends__ and __recommends__ and about the recommends
semantic (extracted from a post on the ml)
* added a note about write security checking (extracted from a post on the ml)
* fixed some dumb sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 13:58:12 +0200] rev 6119
new RelationAttributeFacet + other fixes and cleanup + facets test
* added documentation to Relation[Attribute]Facet and AttributeFacet explaining
how to configure them
* fixed behaviour of sorting for various combinaison of attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 10:36:02 +0200] rev 6118
[migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:29 +0200] rev 6117
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:17 +0200] rev 6116
[migration] fix rename_entity_type: avoid removal of attributes on the new entity type from the schema during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:23:59 +0200] rev 6115
[migration] we can now specify attributes to backport to rename_entity_type using its attrs argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:57 +0200] rev 6114
[formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:04 +0200] rev 6113
[primary view] consider rtypevid flag for relations in the 'relations' section as well
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 17 Aug 2010 11:06:20 +0200] rev 6112
[db-fti-index] simple fix fpr progressbar-related crash when etypes is None in reindex_entities()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:43 +0200] rev 6111
[views/reledit] small refactoring
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:34 +0200] rev 6110
[views/reledit] fix bad role handling in _may_add_related
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Aug 2010 08:23:14 +0200] rev 6109
integrate Celso's work on translation file: proper/complete spanish translation, fixed some typos in french translation, occured -> occurred fix in various places
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 13 Aug 2010 13:34:47 +0200] rev 6108
[web] fix typo in ajax_build_url (s/xtml/xhtml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 18:49:20 +0200] rev 6107
[web controller] don't try to translate arbitrary exception message
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 16:50:52 +0200] rev 6106
[selectors] fix match_transition & introduce new edited_attribute selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 15:58:42 +0200] rev 6105
RQLUniqueConstraint not in CWConstraintType for some old instances
Alexandre Richardson <alexandre.richardson@logilab.fr> [Thu, 12 Aug 2010 14:41:44 +0200] rev 6104
[tableview] take care, description may include None (try Any NULL)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 11:56:33 +0200] rev 6103
fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:12:52 +0200] rev 6102
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:11:49 +0200] rev 6101
[form, migration] etype_relation_field should not raise error, it may block migration if used for a non yet existing field
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 18:11:32 +0200] rev 6100
fix bug introduced by 6098:a0fde9334dd0
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 11 Aug 2010 15:54:44 +0200] rev 6099
work around Apache's mod_proxy limitation with special chars in URLs by not using Rest urls when such a case is detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:17:05 +0200] rev 6098
[entity] base_url argument may be explicitly specified for other purpose (eg http/https site version control)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:16:25 +0200] rev 6097
[cleanup] remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 10:08:48 +0200] rev 6096
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:39:48 +0200] rev 6095
[dot] oops, should use dc_title here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:35:07 +0200] rev 6094
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 16:10:28 +0200] rev 6093
more generic dot graph generator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:28:28 +0200] rev 6092
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:27:02 +0200] rev 6091
[login template] missing xml_escape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:26:43 +0200] rev 6090
[primary] backport _rel_label method from the default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 16:05:00 +0200] rev 6089
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 14:56:31 +0200] rev 6088
[doc] docstring more explicit for pyviews
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:22:17 +0200] rev 6087
[debug] change severity of 'site_cubicweb loaded' message to debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:21:32 +0200] rev 6086
[primary] handle final relation (eg attribute) in the relations section, and give dispctrl to view's extra kwargs as for non final relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:20:21 +0200] rev 6085
[entity] entity.view now support initargs as req.view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:19:55 +0200] rev 6084
[schema view] use rdef.ACTIONS, attribute/relation don't use the same actions permission, that causes a crash for attribute rdefs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:16:12 +0200] rev 6083
[tabs] take care, vid may not be a valid dom id (for jQuery at least)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Aug 2010 08:39:06 +0200] rev 6082
[forms] callable field kwargs now always take form _and_ field parameters
+ make help kwargs accept a callable too
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 10 Aug 2010 08:28:16 +0200] rev 6081
[forms] test abs() rql function
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 09 Aug 2010 18:48:32 +0200] rev 6080
[schema] consider ETYPE_NAME_MAP when deserializing specialization relations
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 09 Aug 2010 16:35:49 +0200] rev 6079
fix the fix
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 09 Aug 2010 11:56:12 +0200] rev 6078
fix missing import in web.request
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:49:20 +0200] rev 6077
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:38:45 +0200] rev 6076
[migration] when some inlined relation definition is added to an entity type which has some specialized types, it should be propagated to those types else they may miss the necessary table column to store the relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:37:34 +0200] rev 6075
[migration] dont crash if a group doesn't exists (it may not exists yet)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:37:06 +0200] rev 6074
[migration] fix rename_entity_type bug: not putting eids of relation deleted using sql query may cause later error on commit, complaining on missing relation on an entity which has been actually deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:35:02 +0200] rev 6073
[migration] fix crash when adding symmetric relation type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:34:24 +0200] rev 6072
[db-create] fix bug introduced by 6060:353bec342e2a (we ask for user while in non verbose mode)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:33:07 +0200] rev 6071
[session] should be _cw, not req
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Aug 2010 17:32:43 +0200] rev 6070
[primary] use a new rtypevid flag in primary view display controller, allowing to tell the view for a non final relation should be called as an attribute view (eg, not on the target rset)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:40 +0200] rev 6069
[cwprops] fix callable vocabulary of cwproperties which were inconsistently called. No more argument, should now simply return a list of (untranslated) values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:39 +0200] rev 6068
[vreg] rename select* object id argument to avoid name clash with arbitrary kwargs, just in case...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:16:38 +0200] rev 6067
[primary] refactor primary view handling of relation's label
to properly handle label optionaly specified in dispctrl (no more default set)
and use contextual translation by default.
Also, consistent handling in attributes, relations and sideboxes section.
Introduce new support_args function to use when possible instead of
try/except TypeError.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 11:13:11 +0200] rev 6066
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Aug 2010 11:23:19 +0200] rev 6065
[doc/book] note about bootstrap_cubes file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 10:55:32 +0200] rev 6064
[request] missing paren
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 10:53:52 +0200] rev 6063
[request] js is defined in uilib, not utils
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 10:47:29 +0200] rev 6062
[request] enhanced user[_rql]_callback method, allowing to call other js variant, eg one of userCallback, userCallbackThenUpdateUI, userCallbackThenReloadPage (the default). Also benefit from the new magic js object.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Aug 2010 10:22:11 +0200] rev 6061
[pyro] instance id cleanup, ensure config['pyro-instance-id'] is a fully qualified pyro id on the server side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Aug 2010 14:43:20 +0200] rev 6060
[db create] don't ask user/password if the underlying db doesn't support it (eg sqlite)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 03 Aug 2010 12:21:34 +0200] rev 6059
added tip on config file migration in scripts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Aug 2010 12:19:02 +0200] rev 6058
[ms] ensure owned_by/created_by can't be crossed among pyro-rql sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Aug 2010 12:17:20 +0200] rev 6057
[ms] cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Aug 2010 12:17:01 +0200] rev 6056
[ms] fix a ms plannification bug with NOT is
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 15:37:45 +0200] rev 6055
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 15:36:44 +0200] rev 6054
Added tag cubicweb-debian-version-3.9.4-1 for changeset 8d32d82134dc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 15:36:44 +0200] rev 6053
Added tag cubicweb-version-3.9.4 for changeset 6cebb361dcb2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 14:37:34 +0200] rev 6052
3.9.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 14:26:55 +0200] rev 6051
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 12:35:24 +0200] rev 6050
[rql2sql] add test for rql bug #37423, which triggered a cw bug fixed by this changeset (infinite loop with some queries...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Aug 2010 10:09:29 +0200] rev 6049
[doc] started js/css coding standards
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 Jul 2010 17:19:07 +0200] rev 6048
fix idownload view pb. for xhtml browsers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 13:18:36 +0200] rev 6047
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 13:18:08 +0200] rev 6046
[selectors] fix is_instance bug w/ parent classes. Also slight performance enhancements by changing what's returned by vreg['etypes'].parent_classes method (dedicated for this usage...) and removing no more necessary methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 13:16:01 +0200] rev 6045
[schema view] we don't support multiple inheritance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 13:16:01 +0200] rev 6044
[view] use the new magic js object to generate javascript func call for auto reload user callbacks
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 Jul 2010 11:53:16 +0200] rev 6043
[js/edition] fix pb with IE not handling long GETs #1203789
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 30 Jul 2010 11:11:08 +0200] rev 6042
[migration] commit only sql script migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 10:09:31 +0200] rev 6041
[index page] refactor add_entity_link: no need to give request, nicer to check perm before calling the method, and use the new create url factory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 10:07:12 +0200] rev 6040
[facet] refactor bookmark this search link creation: check perm before calling the method, and use the new create url factory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 10:02:31 +0200] rev 6039
[view] deprecate create_url in favor of a cw_create_url class method on entity classes
also kill view's output_url_builder method, unused anywhere...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 09:52:46 +0200] rev 6038
small cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jul 2010 09:52:12 +0200] rev 6037
[vreg debug] use classid to get cleaner output
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 29 Jul 2010 14:46:29 +0200] rev 6036
[windmill] add xul-ext firefox plugin
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 29 Jul 2010 15:18:31 +0200] rev 6035
[migration] unify process_script command
- simplify wrapper by putting the logic in the migration module
- enable sql script in shell invocation
- adjust cmd_process_script docstring in interactive shell
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 27 Jul 2010 19:40:57 +0200] rev 6034
tests: use larger timeouts in windmill tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 16:31:32 +0200] rev 6033
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 16:31:23 +0200] rev 6032
[session] session auto reconnect feature has gone with the session-time refactoring in 6012:d56fd78006cd
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 16:27:57 +0200] rev 6031
[debug view] action moved
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 15:01:48 +0200] rev 6030
[test] check_session returns an int since 6012:d56fd78006cd
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 Jul 2010 14:27:28 +0200] rev 6029
[editcontroller] turn eid into an int if possible, avoiding pbs. further down (case: preview cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 11:37:02 +0200] rev 6028
[session] this log should be at the debug level, not info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Jul 2010 11:39:47 +0200] rev 6027
[ms] log after preprocessing, else we don't see the query which is actually planned (may have been modified by security insertion)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 19:14:17 +0200] rev 6026
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 19:13:27 +0200] rev 6025
Added tag cubicweb-debian-version-3.9.3-1 for changeset ab1f9686ff3e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 19:13:27 +0200] rev 6024
Added tag cubicweb-version-3.9.3 for changeset 900772fd9caa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 17:41:22 +0200] rev 6023
[forms] default combobox view should accept arbitrary keyword arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 16:39:19 +0200] rev 6022
3.9.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 16:34:20 +0200] rev 6021
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 12:37:27 +0200] rev 6020
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 12:36:16 +0200] rev 6019
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 12:36:03 +0200] rev 6018
[security] don't put uncrypted password in query parameters, else it may be logged on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 09:40:09 +0200] rev 6017
[relations in ui] provide context information when computing label for a relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 09:14:00 +0200] rev 6016
[security] do not show sessions information to non managers users. Close security ticket #38246
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 09:06:55 +0200] rev 6015
[dbapi] update renamed argument
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 26 Jul 2010 15:04:47 +0200] rev 6014
[debug] improve debug messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:15:11 +0200] rev 6013
[dbapi] cleanup shared data api: let access to transaction from dbapi, we can write it after all... Also, querydata is better named txdata
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:08:24 +0200] rev 6012
[session] cleanup session-time / cleanup-session-time...
which are hard to grasp while there is no actual benefit to handle both.
Now repo will close session without any activity since cleanup-session-time (24h by default),
and the web authentication chain won't reconnect automatically anymore. I don't think there
is a big deal in keeping repo session for such time.
Also, ask the repo for latest session usage time, we can't know it for real on the
web side (think of long running transactions).
Closes #1083245.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:07:00 +0200] rev 6011
[debug] when a loop is detected in a tree, log the entity involved in it to ease repair
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:58 +0200] rev 6010
[image js] fix image fit screen function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:55 +0200] rev 6009
[idownloadable primary view] when file is an image, display attributes below the image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:52 +0200] rev 6008
[selector] adjuts score returned by the adaptable selector to get correct priority over is_instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:49 +0200] rev 6007
[navigation] refactor previous / next navigation component to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Jul 2010 10:30:10 +0200] rev 6006
[massmailing] need edition.js for the freeezeFormButtons function
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 23 Jul 2010 17:54:18 +0200] rev 6005
[views] link to public url when trying https without an account
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:46:21 +0200] rev 6004
[image] more handy image resizing using javascript
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:42:18 +0200] rev 6003
[rql2sql] fix bug with NOT of inlined relation: NULL values are not properly handled and hence some rows won't be returned while the should
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:41:14 +0200] rev 6002
[schema sync] if something went wrong while getting rdef in precommit event, rdef adttribute won't be set in revertprecommit. We don't want to fail in such case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:40:17 +0200] rev 6001
[migration] add script to repair instances which have lost some relation due to 3.9 + file 1.9 migration (bad Image -> File entity type renaming)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 21 Jul 2010 11:28:30 +0200] rev 6000
[uiprops] check that STYLESHEETS* and JAVASCRIPTS are lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 16:45:11 +0200] rev 5999
[migration] fix rename_entity_type to avoid to loose some relations on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 14:09:58 +0200] rev 5998
[js] fix bug encountered with IE (result evaluated to true while no response text -> json parse error)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 14:08:34 +0200] rev 5997
[table view] fix bad arguments given to form_filter method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 17:22:10 +0200] rev 5996
[deprecation] remove 3.8 deprecation warning
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 19 Jul 2010 16:46:42 +0200] rev 5995
[test] improve windmill integration, new test on relation edition
Changes:
- display traceback in case of failure
- add new use test for relation edition
- edition mode is now possible by toggling `edit_test` or with using "pytest -i"
- install firebug extension in edition mode
- update documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:37:02 +0200] rev 5994
backport default into stable. STABLE IS NOW 3.9, default 3.10
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:36:16 +0200] rev 5993
backport stable into oldstable. oldstable is now 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:34:29 +0200] rev 5992
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:51:23 +0200] rev 5991
[css] set 100% width/height on image from idownloadable primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:13:01 +0200] rev 5990
[c-c start repo] config log's threshold is upper case while option accepts lower case. This break c-c start of repository instances.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:10:20 +0200] rev 5989
[querier] actually fix bug attempted to be fixed in 5942:f1abba8ccc01. The pb was not in multi-sources but because of missing annotation on rql generated by security insertion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 10:00:05 +0200] rev 5988
[basetemplate nav] no need for an attribute here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 09:59:44 +0200] rev 5987
[images] use tags.img and allow to add arbitrary attributes on the image. Use it to set a class when image is the primary entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 09:55:29 +0200] rev 5986
[images] add link around main image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 16:37:20 +0200] rev 5985
Added tag cubicweb-debian-version-3.9.2-1 for changeset 8a23821dc138
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 16:37:19 +0200] rev 5984
Added tag cubicweb-version-3.9.2 for changeset e51796b9caf3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 12:41:10 +0200] rev 5983
3.9.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 12:40:22 +0200] rev 5982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 11:41:17 +0200] rev 5981
[idownloadable] fix download_url prototype: should accept arbitrary kwargs to add as form parameters to the generated url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 11:39:28 +0200] rev 5980
[entity] fix setdefault implementation: should return actual value
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Jul 2010 11:00:42 +0200] rev 5979
[web] eid key is deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 17:19:34 +0200] rev 5978
[js] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 17:18:57 +0200] rev 5977
[js] fix typo causing blank page...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 12:03:13 +0200] rev 5976
[transaction] if error on rollbacking a source, replace the connection by a new one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 11:38:31 +0200] rev 5975
[transaction] do not attempt to reconnect if there has been some write during the transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 11:07:47 +0200] rev 5974
[testlib] when no validator specified, simply return stripped output, not None
Stephanie Marcu <stephanie.marcu@logilab.fr> [Thu, 15 Jul 2010 10:44:46 +0200] rev 5973
[3.6] fix deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 10:43:19 +0200] rev 5972
[ldap] take care, email address may be a list. In such case, only consider the first one (XXX). Also, fix call to reset_caches.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 17:22:15 +0200] rev 5971
[ajax] fix the fix introduced in 3.9.1 to avoid duplicated loads: it cause some other errors since the browser may load the script *after* the server-response event is emited, causing pb if the script interact with this event
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 17:21:57 +0200] rev 5970
[broken schema] fix the group_mapping function in case where some standard group isn't found: we currently loop for ever, boring the user by asking ever and ever the same question...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 16:07:41 +0200] rev 5969
[ldap] fix update script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:42 +0200] rev 5968
[c-c shell] script to update the base dn of an ldap source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:18 +0200] rev 5967
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:02 +0200] rev 5966
[iprevnext] implements cell_call to remove warning when displayed in the main content zone
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 08:11:03 +0200] rev 5965
Added tag cubicweb-debian-version-3.9.1-1 for changeset 9bd75af3dca3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 08:11:02 +0200] rev 5964
Added tag cubicweb-version-3.9.1 for changeset 4d75f743ed49
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 14:11:09 +0200] rev 5963
[actions] homogen action/view selectors. Move action together with associated view to avoid such thing in the future
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 13:28:02 +0200] rev 5962
3.9.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 13:27:53 +0200] rev 5961
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:55:43 +0200] rev 5960
[config] run time directory created when necessary on startup, don't check it exists while creating the instance (closes #1177687)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:28:44 +0200] rev 5959
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:28:19 +0200] rev 5958
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:30:36 +0200] rev 5957
Added tag cubicweb-debian-version-3.8.7-1 for changeset 1cccf88d6dfe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:30:36 +0200] rev 5956
Added tag cubicweb-version-3.8.7 for changeset a1a334d93439
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:25:19 +0200] rev 5955
[form] take care to not unicodify None values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 10:36:28 +0200] rev 5954
[fti migration] test and fix reindexation of some specific entity types
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 09 Jul 2010 12:48:03 +0200] rev 5953
[doc/book] fix & enhance rql intro chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 20:19:20 +0200] rev 5952
[ajax box] shouldn't give js object directly to xml_escape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 20:18:53 +0200] rev 5951
[uilib] js objects implements __unicode__
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Jul 2010 19:18:56 +0200] rev 5950
[test] fix test_ajax js tests. We have to mock some of our js functions / variables (e.g. _ or pageid) in the test environment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:59:42 +0200] rev 5949
[box] provide a new generic base box class to edit relation to simple entities, backported from the 'tag' cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:48:44 +0200] rev 5948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:10:47 +0200] rev 5947
[test] remove deprecated test file
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Jul 2010 16:30:19 +0200] rev 5946
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Jul 2010 16:29:51 +0200] rev 5945
[web/views/reledit] explicitely add the field if the formid is base + line cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 15:36:33 +0200] rev 5944
[ftirank] when ordered by fti rank, we don't want page navigation. Anyway, sorted nav component shouldn't consider has_text relation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 15:35:29 +0200] rev 5943
[multi-sources] we should annotate those queries, else there is a chance to get bad sql...
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Jul 2010 15:30:53 +0200] rev 5942
[tests] make sure controllers created by ctrl_publish() have a valid appli attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 14:52:08 +0200] rev 5941
[test] buggy import make test fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 13:33:40 +0200] rev 5940
[uilib] refactor json_dumps code organization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:28 +0200] rev 5939
[uiprops] use lazystr and update some variables usage in css
to get a chance to change style without having to change all properties.
Also had missing boxHeader.png file (formerly header.png).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:27 +0200] rev 5938
[uiprops] introduce lazystr to get a chance to change style without having to change all properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:25 +0200] rev 5937
[javascript] more cleanups and deprecation warnings removal
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:14 +0200] rev 5936
[js] fix misplaced bracket
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:43:39 +0200] rev 5935
[forms] we need a wrapping list to avoid bug caused by flatening done by $.map. Closes #1164908
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 10:04:30 +0200] rev 5934
[web configuration] http/https ui properties should not share the same cache directory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 10:03:03 +0200] rev 5933
[web configuration] ensure data home directory / uicache file belong to daemon user and are writeable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 08:54:45 +0200] rev 5932
Added tag cubicweb-debian-version-3.9.0-1 for changeset eda4940ffef8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 08:54:45 +0200] rev 5931
Added tag cubicweb-version-3.9.0 for changeset d9936c39d478
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 07 Jul 2010 16:41:36 +0200] rev 5930
[debian/control] do not forbid shipment with python 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 15:21:21 +0200] rev 5929
[cube dist] fix default setup.py, well we get the cube also installed in lib/python, that may cause pb (eg the email cube for instance). UPDATE YOUR CUBE's setup.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 14:21:52 +0200] rev 5928
[migration] new migration command to change fti weight for an entity t ype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 14:18:28 +0200] rev 5927
[form] field.vocabulary return values as string, more fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:58:21 +0200] rev 5926
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Jul 2010 13:13:13 +0200] rev 5925
prepare 3.8.7 release
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Jul 2010 10:53:03 +0200] rev 5924
[book] update rql documentation and some erroneous/deprecated examples
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:50:55 +0200] rev 5923
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:42:49 +0200] rev 5922
[interface deprecation] fix bad comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:42:32 +0200] rev 5921
[test] class has been renamed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:01:44 +0200] rev 5920
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:01:25 +0200] rev 5919
3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:59:24 +0200] rev 5918
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:09:29 +0200] rev 5917
[config] expand_cubes(with_recommends=True) shouldn't return recommened-but-not-installed cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:08:10 +0200] rev 5916
[form fields] smarter __str__ / __repr__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 10:48:07 +0200] rev 5915
[skel] nicer test file skeleton
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 10:46:33 +0200] rev 5914
[form] test update/remove deprecation warnings: form vocabulary should contains unicode values
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 06 Jul 2010 19:33:59 +0200] rev 5913
[test] add default generic test Tags to CubicWeb TestCase class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 19:32:29 +0200] rev 5912
[itree] backport default combobox view for entities implementing ITree (from folder/zone cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 19:31:50 +0200] rev 5911
[form] vocab function must now return values as unicode
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 06 Jul 2010 17:19:30 +0200] rev 5910
[facets] fix bug w/ vid in facet's js introduced in 3.9, improve navigation component so that show all link use ajax when called from ajax.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:15:25 +0200] rev 5909
[javascript] fix some javascript errors and remove some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:11:44 +0200] rev 5908
[forms] bw compat code for vocabulary function returning typed values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:11:41 +0200] rev 5907
[web config] fix old css compat code: we have to modify locate_resource prototype so it return (potentially hacked) file name as well. Should only impact the file cube which has to be released anyway.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:09:14 +0200] rev 5906
[repository] fix so that when repository is shutting down, internal session in transaction are interrupted
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 06 Jul 2010 11:45:11 +0200] rev 5905
[test] windmill: add a timeout between JS assertion in test_creation use case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 13:55:10 +0200] rev 5904
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 13:54:57 +0200] rev 5903
[selectors] fix dumb name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:34:23 +0200] rev 5902
[css] old css bw compat with @import in a custom css
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:31:34 +0200] rev 5901
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:31:04 +0200] rev 5900
[selectors] relation_possible selector should check user may read target entity type when specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:16 +0200] rev 5899
imported patch selstrfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:13 +0200] rev 5898
imported patch rql2sqlfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:41:19 +0200] rev 5897
[migration] fix rename_entity_type to an existant entity type: get back relation from the old entity type non existant on the target type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:39:06 +0200] rev 5896
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:06:17 +0200] rev 5895
[selectors] avoid spurious warning when using implements by design
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:05:56 +0200] rev 5894
[session] don't log reraised error occured during precommit
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 19:08:30 +0200] rev 5893
[doc] proof-reading and improvements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:25 +0200] rev 5892
[selectors] fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:19 +0200] rev 5891
[schema migration] import refactoring to fix #1109558 and enhances things on the way
the main pb demonstrated by #1109558 was due to the fact that in-memory schema
was updated in commit_event of operations. This is undesired in most cases,
since we want the modification to be taken into account in the interval between
the modification detection and the commit_event.
I've fixed this by merging in-memory schema / database alteration operations
for most important changes, doing in-memory schema changes as they are detected
and implementing a revertcommit_event method to revert them if necessary (with
exception for removal of stuff from the schema, where this is simply done in a
postcommit_event methods).
Also, I've benefited from this to support reverting of database alteration for
some operations (more to be done there), and to move so system source alteration
code to the native source code for a nicer design.
There may be some more stuff in syncschema.py that would benefit from similar
changes, but most important things are done (at least to close #1109558, w/
unittest_syncschema and unittest_migration green).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:00:33 +0200] rev 5890
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:56:02 +0200] rev 5889
[test] running transaction while session is closed are now killed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:41 +0200] rev 5888
[security] fix read rql expression insertion: we should not insert rql expr on variables only referenced in neged relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:37 +0200] rev 5887
[rql2sql] test and fix crash when OR in HAVING where both expresion are 'fake' having terms (eg not using aggregat function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:06:11 +0200] rev 5886
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:39 +0200] rev 5885
[config] use hashlib to avoid warning w/ py2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:11 +0200] rev 5884
[req] hashlib has no hash function, but has an hash1 function even in python 2.5
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:59:14 +0200] rev 5883
[utils] improve repr() of RepeatList
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:58:36 +0200] rev 5882
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:35:15 +0200] rev 5881
[selectors] use before-registry-reset event to init is_instance cache: cleaner code and avoid reloading bug (making hooks test fail for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:34:29 +0200] rev 5880
[vreg] new [before|after]-registry-reset event, taking vreg as argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:21 +0200] rev 5879
[doc] update book for adapters
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:13 +0200] rev 5878
[reledit] fix relation cardinality handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 12:04:32 +0200] rev 5877
[selectors] provide a new, optimized, is_instance selector that should at some point replace implements (along with the adaptable selector)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 19:14:48 +0200] rev 5876
[web/views/massmailing] fix cancel button msg/icon
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 02 Jul 2010 19:05:58 +0200] rev 5875
[testlib] improve test description messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:56:05 +0200] rev 5874
[web/views/reledit] fix typo (-add we used as id component in delete id)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:46:26 +0200] rev 5873
[web/test] fix test (doreledit must have a formid and this is now checked)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 18:03:18 +0200] rev 5872
[web ui] add missing image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:50:31 +0200] rev 5871
[ITree] small fixes: parent_entity is a IBreadCrumbs method, we should use .parent on ITree
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:49:23 +0200] rev 5870
restore bw compat on Entity.related_rql
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 15:26:59 +0200] rev 5869
reledit refactoring
* js handling rewritten to exploit all form capabilities (such as file upload ...)
* attribute-like composite relations (one ttype, cardinality in '?1' from composite side) are more
cutely handled, with a 'add'/'delete' additional actions/icons
* a reledit_ctrl rtag to finely control: reloading, edition and default values
* a proper chapter in the documentation (book)
* many bugfixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:44 +0200] rev 5868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:34 +0200] rev 5867
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:12 +0200] rev 5866
[idownloadable] make the download view http cache friendly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:46:09 +0200] rev 5865
[publisher] avoid useless rollback after successful commit, which clutters debug logs and may also not be cost-free
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:44:23 +0200] rev 5864
[controller] same method defined on the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:51 +0200] rev 5863
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:19 +0200] rev 5862
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5861
Added tag cubicweb-debian-version-3.8.6-1 for changeset 607a90073911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5860
Added tag cubicweb-version-3.8.6 for changeset 1a24c62aefc5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:38:56 +0200] rev 5859
[dbapi] refactor so that cw 3.8.6 can still speak with a 3.8.5 server
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:29:32 +0200] rev 5858
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Jun 2010 13:54:02 +0200] rev 5857
[bfss] fix file update to ensure file's content is available on the fs asap...
and not only at commit time. So it's consistent with entity creation behaviour.
The new file is created at assignement time and removed if the commit is
rollbacked.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:09:59 +0200] rev 5856
[ldap] fix exception handling on authentication error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:05:56 +0200] rev 5855
[ldap] cleanup password checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:02:08 +0200] rev 5854
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:58 +0200] rev 5853
[css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:22 +0200] rev 5852
bump version number to trigger migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 00:39:46 +0200] rev 5851
3.8.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:46:58 +0200] rev 5850
[migration] schema should be accessed through .repo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:06:37 +0200] rev 5849
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 09:23:39 +0200] rev 5848
[security] use set_operation for relation permission checking operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:47:24 +0200] rev 5847
[migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1
so the code looks better and avoid clutering lgdb api. Depends on lgdb 1.0.5.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:32:27 +0200] rev 5846
[schema migration] fix name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:13:03 +0200] rev 5845
[schema migration] avoid potential duplicated ft reindexation due to multiple UpdateFTIndexOp operations by using set_operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 18:47:10 +0200] rev 5844
[sql generation] fix bug with inlined relation and referenced by other neged relation
we should check in that the column is not null in such cases
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:35 +0200] rev 5843
[refactor] refactor rtag keys generations.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:13 +0200] rev 5842
[fix] fix a uicfg bug in autoform_section
When several rtags matches the same relation (for example "* login *" and
"CWUser login *") inconsistent rtag could be merged.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:50:06 +0200] rev 5841
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:43:36 +0200] rev 5840
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:51 +0200] rev 5839
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:48 +0200] rev 5838
[login form] fix bad login field label by using pgettext
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:44:47 +0200] rev 5837
updated docstrings on Operation class
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:42:48 +0000] rev 5836
do not allow password-less bind: windows accepts this as Anonymous Logon
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 25 Jun 2010 11:29:48 +0200] rev 5835
[#969169] don't display remove link in edition forms if the cardinality is 1
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 16:03:57 +0200] rev 5834
fix name error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 15:59:17 +0000] rev 5833
fix schema migration hooks (partial)
SQL Server requires some additional steps to alter columns
(index drop and restore, etc...) and this in turn requires
passing a connection on the DB to find out the indexes.
Also partially fix an issue where the null_allowed value was
not correctly computed. Still some problems in there
(see https://www.logilab.net/cwo/ticket/1109558)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:36:22 +0200] rev 5832
delete trailing whitespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:10:01 +0200] rev 5831
Had thought this could be done in cube, but it really needs to be done earlier in the migration process
Stéphanie Marcu <steph@logilab.fr> [Wed, 23 Jun 2010 14:56:21 +0200] rev 5830
EntityFormRenderer redefine open_form and add a div section, so redefine close_form to add the closing div tag
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 14:17:57 +0200] rev 5829
Backed out changeset c29c90223125 which breaks the cw tests