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.