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