Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:08:06 +0200] rev 9059
[cwuser] make CWUser callable, returning self for dbapi compatibility
In the dbapi, Connection and Session have a ``user`` method to
generated a user for a request In the repo api, Connection and Session
have a user attribute inherited from SessionRequestBase prototype. This
ugly hack allows to not break user of the user method.
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:26:03 +0200] rev 9058
[client-connect] drop rqlst on rset returned client side
The DBAPI used to drop the RQL syntax tree on rset to save bandwidth. We could
stop doing it for In-memory client connection. However keeping the syntax tree
leads to multiple tests failures. So we keep dropping it as the DBAPI always
did.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:25:47 +0200] rev 9057
[client-connection] add a repo property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:49:13 +0200] rev 9056
[client-connection] add a connection property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:42:19 +0200] rev 9055
[client-connection] add a sessionid property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:12:58 +0200] rev 9054
[client-connection] add a cursor() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 11:39:34 +0200] rev 9053
[client-connection] add a request() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 11:06:57 +0200] rev 9052
[repoapi] introduce a basic ClientConnection class
This is the new official way to access the repo from client side.
It still access Session object directly as the server side connection is not up
yet (and it's not up because it would have no user).
Multiple follow up commit will install compatibility with the DBAPI. This will
ease the migration from dbapi to repoapi.
ClientConnection has no user yet but later commit will use it in the whole Web
stack.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:25:47 +0200] rev 9051
[req] add a _set_user method
RequestSessionBase usally need to recreate a new CWuser appobject linked to
themself. We add it to the base class to avoid multiple redifinition.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:00:20 +0200] rev 9050
[server/session] add a login property
session.login is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:47:01 +0200] rev 9049
[server/session] allow access to session id using sessionid
session.sessionid is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 17:27:08 +0200] rev 9048
[server/session] Implement anonymous_session
Now we have a simple rule to compute if a session is anonymous we can implement
the property for server session too. Having it on server side session will helps
the rework of the API to access repository. The new schema drop the concept of
DBAPISession and use server side session for the same purpose.
Related to #2953943
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:07:45 +0200] rev 9047
[server/session] do not clear session.cnx if unrelated to cnx actually cleared
The cnx parameter may be different from the one actually loaded for the current
thread. This will be possible in future commit when you close a client connection
for example.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:55:26 +0200] rev 9046
[dbapi] move ProgrammingError into cubicweb module
A new ``repoapi`` will be introduced as a replacement for the dbapi. It will
need ProgrammingError too.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 15:00:41 +0200] rev 9045
[repoapi] move get_repository function into a new repoapi module
This new module aims to host the function of the new API replacing the old
DBAPI. `get_repository` is still needed hence moved to the new module.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:19:27 +0200] rev 9044
[testlib] gather all repository access logic in one place
Refactoring of the repository access API in test is imminent. We plan to move
from the "old" dbapi to the new repoapi.
Gathering all impacted method in one place help to understand how all those
method interact and help readability for both patch and resulting code.
No code change is done at all in this changeset. The refactoring will code
later.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:00:07 +0200] rev 9043
[testlib] move repo and related attribute back on Instance instead of Class
The repo and cnx was hold by the TestCase class to work as a cache and avoid
recreation of the repo from scratch of each test. However since bad26a22fe29 the
caching is done by the DatabaseHandler object and it is not necessary have a
second layer of cache on the TestCase itself.
We move the repo and cnx attribute back on the TestCase instance itself and make
several class methods instance methods again.
This will helps to change dbapi access in test from dbapi to repoapi.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:53:19 +0200] rev 9042
[dbapi] makes anonymous_connection a computed property
The current implementation is a boolean flag set manually by client code after
connection creation. This led to different way to decide a anonymous_connection
should be True (eg. different in the test than in the actual application code).
It should not be client responsibility to set this flag.
``cnx.anonymous_connection`` is now a purely computed property. Connection with user in the
"guests" group are anonymous, the other ain't.
``Session.anonymous_session`` is computed from ``cnx.anonymous_connection`` and get
the updated behavior transparently.
Closes #2953943
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:31:47 +0200] rev 9041
[webrequest] simplify set_session code
Thanks to the previous changeset we are assured that session handed to
set_session is full featured one. This allows a simpler code for this method.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:28:16 +0200] rev 9040
[webrequest] set DBAPISession without cnx at initialisation time
Such session are necessary for minimal use of a Request. Setting on by default
allow simplification later linking with a full featured DBAPISession or
equivalent. This was not possible before as all session was tracked by session
manager. They are not tracked anymore since aa709bc6b6c1 and we can safely
create them by default.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:41:27 +0200] rev 9039
[testlib] rework request building in init_authentication
The previous code was building a full authenticated request and tried to undo
the authentication afterward. The new code just create a bare Request with no
authenticated session linked yet.
This is much closer of what the actual authentication process does.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:39:25 +0200] rev 9038
[request] drop the user argument for set_session
I see no code nor test that use this optional argument. removing it help to
clean the session code. The set_session function will soon be deprecated anyway (at the
same time than the dbapi)
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 19 Jun 2013 12:00:54 +0200] rev 9037
[web-request] handle default language earlier
We now read language negotiation header at initialisation time (previously done
during ``set_session``). This simplify the set_session code for later reworking.
There is no change in behavior, the user selected language continue to overwrite
the one picked from the header/default when applicable.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Jun 2013 15:12:25 +0200] rev 9036
[etwist] pass the repository to the root resource
This is another step toward a cleaner instantiation scheme for the repo.
The http test now pass an already created object to the etwist server instead of
relying on the config cache.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:03:37 +0200] rev 9035
[repo] move repo.gc_stats to Service API (closes #2951068)
We currently have a method on the repo that anyone can call. `call_service`
gives a similar thing, modulo:
* can be restricted access to manager only (thanks to selection on services),
* less unrelated code on the repository class,
* no need to fetch a reference to a repo object from the client side
* (`req._cnx.repo` is not an API and config.repository() is on its way out).
The old way to access this information (repo.gc_stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:05:35 +0200] rev 9034
[repo] move repo stats to Service (closes #2951067)
We currently add a new method on repo that anyone can call. Call service allows
to reach the same result with:
* Restricted access to manager only (thanks to selection on services),
* Less unrelated code on the repo.
* No need to fetch a reference to a repo object from client side.
`req._cnx.repo` is not an API and config.repository() is on its way out.
The old way to access this information (repo.stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:59:45 +0200] rev 9033
[service] drop the asynchronous execution possibility
Call_service was able of both sync and sync execution making the API confusing.
There is not user of the async case. We drop the async argument in favor of
synchronous execution only.
This makes call_service the official API to call server side code from the
client side. This is a remplacement for the usual monkey patching of the repo
object.
The zmq notification bus is a solid alternative for codes that needs to start an
async execution.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:00:03 +0200] rev 9032
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager
Those object actually need a repo object to connect and create new session
object. They used to retrieve the repo object using
``vreg.config.repository()``. I'm trying to sanitise the initialisation stack
and get ride of ``config.repository()``, a function that mix factory and cache.
Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the
repo object instead of the vreg.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:12:19 +0100] rev 9031
web/application: instantiate the repository outside of CubicWebPublisher
This improves decoupling and allows ``CubicWebPublisher`` user to choose which
argument are used during ``Repository`` instantiation. In particular is allows
caller to provide a ``TaskManager``.
The `vreg` argument of publisher is made mandatory. See CubicWebPublisher
docstring for details.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 17:23:04 +0100] rev 9030
remove vreg argument to CWPublisher
The passing a vreg to CWPublisher was used by test to allow reused of an
existing vreg. We dropped this feature two commit ago and can safely removes it.
Removing this argument allows later cleanup and improvement on the CWPublisher
and Repository front.
closes #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 16:10:38 +0100] rev 9029
[devtools] vreg becomes a class ppty
After multiple devtools refactoring, the vreg used for test is now *always* got
from the repository. Making this explicit is a step toward simplification of the
vreg handling during various initialisation phases.
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:33:00 +0100] rev 9028
[devtools] drop unused `reset_schema` and `reset_vreg` class attribute
They have no effect and no user...
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 May 2013 17:50:55 +0200] rev 9027
[connection] move security control logic on Connection
The _security_enabled context manager now operate on connection. We have to keep
a specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:11:42 +0200] rev 9026
[connection] move hook control logic on Connection
The _hook_control context manager now operate on connection. We have to keep a
specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:10:45 +0200] rev 9025
[session] update _hook_control docstring
pierre-yves [Mon, 27 May 2013 16:43:02 +0200] rev 9024
[connection] reinstall cnx.data as cnx.transaction_data
Too much code expects self._cw.data to be session data.
backout 9b2f68916474
Related to #2503918
Related to #2912807
pierre-yves [Mon, 27 May 2013 16:42:39 +0200] rev 9023
[connection] give access to is_internal_session boolean
Needed if we are to use this object like we currently do with session.
Related to #2503918
pierre-yves [Fri, 14 Jun 2013 13:39:49 +0200] rev 9022
[req] drop from_controller on non WebRequest object (Closes #2901079)
The `controller` concept is purely a web things. It does not belong to generic
`req` object.
The `build_url` code is slightly changed to handle that. This probably requires
extended cleanup later.
This is a barely used and very internal API. No deprecation period
pierre-yves [Tue, 14 May 2013 00:36:43 +0200] rev 9021
[connection] add logging method on connection
If we are to use this object like we currently do with session, we need to have
the logging method as a lot of code use them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 15:12:06 +0200] rev 9020
rename server.session.transaction into server.session.connection
The ongoing rework of the API to access the database include the splitting of
Session in two objects:
The ``Session`` object will only hold credential (user) and global session data.
A new object will publicly emerge to handle a database access. This object is
named ``Connection`` since that the way database accessors with the same property
are named in other system. So we renamed the ``Transaction`` object into
``Connection``. The ``Transaction`` object have already grown in the direction
of something directly usable by generic code, but the name ``Transaction`` is
ill suited as such object can be used for multiple database transaction in a
row.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 13:43:29 +0200] rev 9019
[application] call req.set_session in application.main_handle_request
The Session handling chain is no more responsible for calling req.set_session.
It just returns a valid session and lets the caller link it to the Request.
This opens the way to explicitly creating and closing a connection/transaction
in ``application.main_handle_request``.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:46:39 +0200] rev 9018
[session-handler] use session directly to update last usage
We don't really need the WebRequest for that. Not using the WebRequest to access
the cubicweb repository here will allow a delayed set_session.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:50:19 +0200] rev 9017
[application/connect] simplify connection logic
``application.connect`` now either sets a full featured ``DBAPISession`` to the
``WebRequest`` object or raises ``AuthenticationError``. The creation and usage
of a fake DBAPISession is now handled by ``main_handle_request`` when needed.
This means that fake DBAPISession are no longer tracked by the session manager
and that user are not given anyway to retrieve them for a later request.
This fake DBAPISession is still passed to ``core_handle`` because multiple cubes
like registration or forgotten password need this behavior. We would like to get
ride of it in the future.
This clarification of the connection API greatly simplifies ``DBAPISession``
retrieval//creation process opening the
way to improvements in this area.
Related to #2503918
pierre-yves [Thu, 13 Jun 2013 15:36:10 +0200] rev 9016
Drop hijack user (closes #2901093)
Deprecated since 3.17.0. Dropping this function help the session cleanup
business.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 17:27:43 +0200] rev 9015
[sources] drop support for ldapuser source (closes #2936496)
The ldapfeed source is a replacement for ldapuser. Use it instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 17:13:17 +0200] rev 9014
merge stable back into default
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:26:25 +0200] rev 9013
3.17 is the new stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:13:24 +0200] rev 9012
Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:02:39 +0200] rev 9011
[pkg] prepare 3.16.5
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 14:41:50 +0200] rev 9010
Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
David Douard <david.douard@logilab.fr> [Thu, 13 Jun 2013 17:32:49 +0200] rev 9009
[pkg] prepare 3.17.2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Jun 2013 11:53:40 +0200] rev 9008
repository: make tests pass again
The tests use mono-threaded pyro, which breaks assumptions made in
e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict
when they're closed, and force the test pyro client to actually
disconnect when it's done.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 18:33:50 +0200] rev 9007
repository: monkey patch pyro connection handling to detect clients going away
When a pyro client goes away we need to close their session (to release their
cnxset). Add a dict to the repository mapping pyro client threads to session
object.
Closes #2932058
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:01:23 +0200] rev 9006
notification: use viewargs for notif_entity_updated instead of transaction_data
Now that notifications use separate sessions, they can't rely on the
original transaction_data being around, so pass the data through view
arguments instead, so the notification view knows what changed on
updated entities.
Closes #2936180
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:03:59 +0200] rev 9005
notification: properly handle cnx and lifetime of the hijacked session
When we create a session for the notification rendering, we need to
1) give it a cnxset
2) commit and close it after we're done
3) restore the original session for subsequent notifications
This changes the ordering of actual mail sending, since there are
several different commits involved, but I don't see a way to fix that
short of restoring hijack_user.
Related to #2934523
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:27:00 +0200] rev 9004
notification: fix session creation (closes #2934523)
Session() takes a user and repo, not repo and user.
David Douard <david.douard@logilab.fr> [Fri, 07 Jun 2013 16:48:20 +0200] rev 9003
Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 13:00:28 +0200] rev 9002
[cwctl] add configure command to cw-ctl (closes #2709702)
usage: cw-ctl configure <appid> --param key=value,key2=value2 --param key3=value3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:02:45 +0200] rev 9001
[cwctl] rename option no-post-create to no-db-create
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 16:02:46 +0200] rev 9000
[pkg] version 3.17.1 for rpm packages
pierre-yves [Mon, 27 May 2013 15:48:03 +0200] rev 8999
[session] upgrade session closed error from Exception to SessionClosedError
Exception is far too wide and we already have a SessionClosedError anyway.
Closes #2897696
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 12:29:44 +0200] rev 8998
[pkg] prepare 3.17.1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 May 2013 14:46:32 +0200] rev 8997
[web/application] add some minimal documentation
Some documentation to the Application main entry point.
pierre-yves [Thu, 23 May 2013 19:25:24 +0200] rev 8996
[session] raise proper exception with get_tx is called on a closed session
Prevent attribute error on _txs
Closes #2897836
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 09:44:37 +0200] rev 8995
[view] typo in a docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:07:46 +0200] rev 8994
[cwctl] pass missing inputlevel argument to postcreate() (closes #2901037)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 May 2013 11:41:39 +0200] rev 8993
[server] fix documentation of ZMQ options harder
The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 29 May 2013 16:44:16 +0200] rev 8992
merge with 3.16.x fixes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 27 May 2013 15:39:56 +0200] rev 8991
[server] fix documentation of ZMQ options
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 May 2013 11:16:09 +0200] rev 8990
[zmq] set order for ZMQStartHook so other hooks don't need to
If an application wants to subscribe to some messages on the zmq bus,
that needs to happen after ZMQStartHook.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 17:32:56 +0200] rev 8989
import merge_options directly from logilab.common
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 15:10:50 +0200] rev 8988
[server] fix error messages in write_sources_file()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 May 2013 12:22:14 +0200] rev 8987
[doc] a couple almost-typos
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 May 2013 17:26:23 +0200] rev 8986
[schemaserial] mitigate critical message during migration
We can't fetch extra_props because it is not yet there.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Wed, 22 May 2013 06:30:16 +0200] rev 8985
[doc] typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 18:57:25 +0200] rev 8984
[cw-ctl] fix help message for schemadiff In global help (closes #2888538)
The leading space make it appears on multiple line. The help content is a bit
improved in the process.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 May 2013 18:02:24 +0200] rev 8983
[dbapi] fix connect backwards compat harder
Passing None as group and host should result in
"pyro:///cubicweb.appid", not "pyro://None/None.appid". Followup for
2091d275fe5c. Closes #2882666.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 12:35:02 +0200] rev 8982
[zmq] make publish address optional
It should be possible to use the zmq communication bus in a read-only
manner. Allow setting zmq-address-sub without zmq-address-pub.
Closes #2897178.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 14:38:43 +0200] rev 8981
Fix documentation for zmq pub/sub hooks and configuration
Closes #2897177
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 17 May 2013 16:25:48 +0200] rev 8980
[entity] improve deprecation messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:42:50 +0200] rev 8979
[devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 16:21:23 +0200] rev 8978
[testlib] fix page validator selection. Closes #2869456
* use a validator that checks XML well-formness for the html5 doctype
(as a convenient side-effect, it does not choke on e.g. a canvas tag
like the HTMLParser does)
* use a DTD validator if there is an xml declaration
* else use the HTMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:22:51 +0200] rev 8977
[testlib] introduce a validator that check xml-well formness
This validator simply check XML is well formed and accept any entities
(think HTML defines much more entities than bare XML)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 15:37:22 +0200] rev 8976
[view] return HTML5 doctype. Closes #2869426
We dropped xhtml support in 3.17 but we kept providing documents using the
XHTML strict doctype, while our content wasn't conform to the DTD since we
dropped proper namespaces definition as well as declaration of cubicweb DTD
extensions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:16:45 +0200] rev 8975
[testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481
the context is calculated using position information relative to a preprocessed content,
not the original source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 15:58:52 +0200] rev 8974
[web request] drop no more necessary request.document_surrounding_div method
This is awful and no more necessary since we dropped xhtml support
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:13:43 +0200] rev 8973
[testlib] unspaghettify Validator / PageInfo api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 16:05:51 +0200] rev 8972
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:26:16 +0200] rev 8971
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 14 May 2013 15:26:24 +0200] rev 8970
[dataimport] minor typo in error handling
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 07 May 2013 00:29:42 +0200] rev 8969
[views] attempt to clarify the inline help system documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 May 2013 19:40:15 +0200] rev 8968
[sobject] fix notification operation
regression introduced in bf4003760e02 Operation use self. session. not self._cw.
I'm a bit surprised that its not tested.
closes ##2870077
David Douard <david.douard@logilab.fr> [Fri, 03 May 2013 16:36:42 +0200] rev 8967
Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:27:34 +0200] rev 8966
[pkg/debian] prepare release 3.17.0-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:24:42 +0200] rev 8965
[pkg/debian] update yams runtime depends
Only the built depends were updated to 0.37.0.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:23:08 +0200] rev 8964
[pkg/debian] expand all depends and co on multiple line
This is more readable and simplifies patching.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:22 +0200] rev 8963
Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:21 +0200] rev 8962
Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 02 May 2013 15:58:57 +0200] rev 8961
[test/view] exclude some Blog entity from automatic view testing
Some Blog view requires the sioc cubes that we extracted in 3.17
we do not really want to test cubes view here. So we exclude
CWEtype
that really requires the sioc cubes.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 14:30:36 +0200] rev 8960
[doc] fix: cubicweb.gmap.js has moved to the geocoding cube
David Douard <david.douard@logilab.fr> [Tue, 30 Apr 2013 08:17:10 +0200] rev 8959
[test/ldap] do not assume order
Do no assume a specific order is stable when testing group members
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 14:49:43 +0200] rev 8958
Added tags for version 3.16.4 on changeset 041804bc48e9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:34:23 +0200] rev 8957
[notification] ensure official API is test
By using the official API in the hook we ensure it is tested.
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 29 Apr 2013 09:47:23 +0200] rev 8956
fix typo in notification causing NameError
introduced by: f5b40b66d36e
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:29:59 +0200] rev 8955
[test/notification] merge related test classe
They have no reason to be distinct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:43:36 +0200] rev 8954
merge with stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 16 Apr 2013 16:51:18 +0200] rev 8953
[server] add a looping task to free unused cnxsets capture by dead pyro
When a pyro client disconnects, we're not necessarily notified so they
can hang on to their session/cnxset forever. Don't let them do that.
The hacky looping task is only installed when pyro is enabled. This optional
activation save this very hacky patch from being rejected.
closes #2825380
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:22:21 +0200] rev 8952
[pkg/debian] update changelog to 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:06:28 +0200] rev 8951
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator
The renaming was introduced in 198fdadafed6.o
This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:47:36 +0200] rev 8950
[pkg] update changelog
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:37:47 +0200] rev 8949
[pkg] prepare 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:21:18 +0200] rev 8948
[pkg] prepare 3.16.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Apr 2013 18:06:44 +0200] rev 8947
[repo] straightforward bootstrap sequence. Closes #2841188
* kill fill_schema method which was doing to much different things, in favor of
a deserialize_method which is simply reading schema from the db and returning
it
* set_schema doesn't bother with cubes
This allows to easilly follow what's going on and so to cleanup init_cnxset_pool
to get the following boostrap order:
1. load cubes (implies loading site_cubicweb)
2. load schema
3. init data sources
4. init cnx sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:49:49 +0200] rev 8946
[repo] minor cleanups to bootstrap sequence
* fix some docstring/comments
* move initialization of HooksManager to the __init__.py, this has nothing to
do with pool initialization / boostraping
Vincent Michel <vincent.michel@logilab.fr> [Fri, 26 Apr 2013 17:46:56 +0200] rev 8945
[schemaserial] serialize additional yams parameter for customs type
Yams have a new custom type feature. We add support for extra parameter on
CWAttribute in schema serialization handling.
Closes #2847151
Vincent Michel <vincent.michel@logilab.fr> [Tue, 23 Apr 2013 14:13:58 +0200] rev 8944
[sql] preprocess_entity uses lgdb helper's SQL converters.
The preprocess_entity does not yield anymore the conversion logic for different
base types, but relies on a new SQL_CONVERTERS dictionary of the db helper.
This will allow later inclusion of new base types.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:42:43 +0200] rev 8943
[repo] kill rebuildinfered feature from Repository.set_schema
This clutters thing and is useless in most cases: when schema just have been
readen from the database or from the file-system, infered relations have just
be calculated.
The only use-case where it should be rebuilt is on migration (ie schema
modification by editing the meta-model using rql), so move this feature there.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:51:06 +0200] rev 8942
[test] stop deepcopying for nothing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Apr 2013 12:10:37 +0200] rev 8941
drop xhtml content-type support (closes #2065651)
* HTMLStream does not care about xml any more
* reqquest.demote_to_html and .xhtml_browser are deprecated
* web config: drop force-html-content-type option
* adjust tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:53:47 +0200] rev 8940
[htmlparser] exclude <script> tag from html source
lxml are confused by them :-(
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:52:35 +0200] rev 8939
[htmlparser] store unaltered source in pageinfo.source
Do not store the parser to preserve the source aspect. Store the initial input
in the source argument instead.
This is very useful when parsing html. In such case we need to drop ``<script>``
tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 18:38:47 +0200] rev 8938
[htmlparser] rename SaxOnlyValidator to XMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 17:46:28 +0200] rev 8937
[htmlparser] add missing deprecation message
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 16:55:12 +0200] rev 8936
[form] remove hard coded id
html id should be unique. It is clearly not achieved here.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:08:06 +0200] rev 8935
[server/test] use server config in migration
This allows a lighter initialisation (no rtag needed).
Execution of those test move from 300 secondes to 220 seconds here. A 25%
speedup
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:57:46 +0200] rev 8934
[session] deprecate `hijack_user` method
The semantic of this method is wicked and lead to very hard violation of sanity.
(multiple transaction using the very same cursors). We deprecated the API to be
able to drop it as soon as possible.
The method was added long ago for some notification trick. It is not needed
since we sent notification on ``postcommit_event``.
(closes #2781782)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 12:24:26 +0200] rev 8933
[mail] drop hijack_user usage
The transaction is now commited before notification. We can create a new session
directly and drop `hijack_user` usage.
This prepare #2781782
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:35:02 +0200] rev 8932
[notification] merge BaseNotificationView and NotificationView
They are in the same module now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:34:48 +0200] rev 8931
[notification] move notification view in ``sobject.notification``
It has no user outside this module. This enforce serversideness of
notification and allow future cleanup.
No backward compat is set up to prevent circular import. The class has no other user
anyway.
(closes 2845144)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 14:10:55 +0200] rev 8930
remove unused import
pyflakes say they are unused. Tests suite confirms.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 17:30:09 +0200] rev 8929
one more merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 16:10:56 +0200] rev 8928
[notification] introduce an official `notify_on_commit` function
It provides a proper notification api instead of replacing it by yet another
clumsy one.
Closes #2837251
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 25 Apr 2013 10:57:01 +0200] rev 8927
[cubicweb/doc] Replace dc_type() by cw_etype
dc_type() is may be translated. Leading to terrible terrible damage.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 04 Apr 2013 11:58:41 +0200] rev 8926
[dataimport] backout 6947201033be (related to #2788402)
(and add a try: except to cache the intended error)
The problem actually comes from the ``MassiveObjectStore``
in the ``dataio`` cube, so it should be corrected there.
Here, we only protect it with a ``RuntimeWarning`` so that
the user can see the problem.
``value`` is set to ``None`` (whence to ``NULL`` from
a database standpoint), so that the data can be nevertheless
inserted in the database. However, only the keys present in
``row`` are actually non-'``NULL``'.
The real solution is to work out the issue in ``MassiveObjectStore``
directly.
The current try/except should only be a temporary hack.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 15:45:38 +0200] rev 8925
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Apr 2013 14:44:03 +0200] rev 8924
[c-c serverctl] import locally to speed up c-c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 12:12:15 +0200] rev 8923
[facet js] minor refactoring and cleanups
* extract facetCheckBoxSelect and facetCheckBoxUnselect
* use $ as prefix for jQuery variable (facet -> $facet)
* other minor rephrasing
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 18:11:37 +0200] rev 8922
[ldapfeed] Add support for LDAP groups (closes #2528116)
Groups from the LDAP server are imported as CWGourp entities, and in_group relationships are created between existing CWUsers and CWGroups
Unit tests have been refactored a bit, especially ti add helper methods to manage LDAP database.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:57:14 +0200] rev 8921
[test/ldap] small improvement to ldapfeed unit tests
better group testing and further testing of imported user life cycle.
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 17:48:08 +0200] rev 8920
[ldap] prepare import of CWGroup
All CWUser specific code is put in dedicated sections.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:40:49 +0200] rev 8919
[ldap] handle modification date
We are now able to import modification date from ldap.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:39:10 +0200] rev 8918
[ldap] refactor attributes mapping handling
* use explicit attributes lists when calling ldap search
* direct and reverse attributes maps contains now the same elements.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 14:00:52 +0200] rev 8917
[ldapfeed] add support for multiple email addresses from ldap
Multiple emails case was ignored before this change.
email test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:37:43 +0200] rev 8916
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:33:49 +0200] rev 8915
[session] fix hooks_control backward compat
Session object have no ``hooks_control`` control method. it has
``allow_all_hooks_but`` and ``deny_all_hooks_but`` ones.
Regression introduced in bd5b5759c9b3.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 16:25:45 +0200] rev 8914
[facet js] fix reordering of facet check boxes. Closes #2732947
Before this patch, when one select an element, it's moved to the top of
the select content. Fine. But when it's later deselected, it stays there
instead of moving back to its original location.
This patch fixes that by introducing a facetCheckBoxReorder function which
properly reorder the whole facet, instead of buggy attempt to locally reorder.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:40:09 +0200] rev 8913
[vreg] (re)build entity classes cache after registry initialization.
This fix potential memory fragmentation issue.
Closes #2719113
Julien Cristau <julien.cristau@logilab.fr> [Wed, 24 Apr 2013 12:10:12 +0200] rev 8912
[task] allow negative intervals for add_looping_task (closes #2818280)
Instead of rejecting values < 0 with a ValueError, we ignore tasks with
a negative interval. This introduce a simple way to disable task from
configuration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 11:58:49 +0200] rev 8911
[task] allow interval=0 for looping tasks
There is valid usecase for perpetual running task.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:45:13 +0200] rev 8910
[portable dump] skip virtual relations, they have no table associated. Closes #2841199
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:37:48 +0200] rev 8909
[test] fix skipIf import, currently failing if unittest2 is not there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:36:41 +0200] rev 8908
[test] fix bad merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 18:15:10 +0200] rev 8907
merge with other default head
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:07:02 +0200] rev 8906
[ldap] an empty 'user-base-dn' disable the user importation process,
The same semantic will be used for group. We start by using it for user for the
sake of consistency.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:46:09 +0200] rev 8905
drop commented print
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:50:18 +0200] rev 8904
[ldap] Major test refactoring
Mostly fix tests (previous refactoring), but also refactor a bit the base class
to have better/simpler interaction with the slapd server.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 17:58:20 +0200] rev 8903
[test/ldap] have RQL2LDAPFilterTC use its own database
I do not know what RQL2LDAPFilterTC is about and why it does this strange reuse
of LDAPUserSourceTC pre_setup_database but it is certainly a good idea to have it
use a dedicated database-cache.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:25:56 +0200] rev 8902
[ldap] quieter tests
Capture slapadd and slapd output if everything goes well.
Jérôme Roy [Wed, 10 Apr 2013 17:50:11 +0200] rev 8901
[test/ldap source] better source naming, some cleanups (prepares #2528116)
ldap uri becomes "ldap" in all cases
prepare separation of CONFIGs by source type
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:33:50 +0200] rev 8900
use cw_etype instead of __regid__
We have a clean public API now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:16:36 +0200] rev 8899
[entity] add an official ``cw_etype`` property for entity
This property holds the CWEtype id of the entity. This information was previously
available through __regid__ but this is an ugly public API. So we have a new
clean public API. The ``dc_type()`` method could not be used as it is
translated.
(closes #2793792)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:38:27 +0200] rev 8898
[notification] use new style operation for notification
This results in far less operations created. Operation creation is expensive.
We keep some compatibility with the previous API because some cubes have been
reported to use it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:16:02 +0200] rev 8897
[cleanup] drop code deprecated since 3.6
The 3.6 API have been dropped some time ago. Those three lines survived the
purge. One of them is even deprecated since 3.5.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 15:25:04 +0200] rev 8896
[notification] fix documentation
The doc say precommit, the code says postcommit. The code is right.
We also clarify the documentation of another related operation looking suspiciously
wrong but actually correct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:01:14 +0200] rev 8895
[ldapuser] Deprecated the source
We have ldapfeed for some time. maintaining both is cumbersome. This old style
source will be dropped in 3.18.
closes #2567712
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:44:42 +0200] rev 8894
[rql2sql] Remove an XXX by explaining why Int non-substitution is desired
(in the current state of the API)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:41:56 +0200] rev 8893
[rql2sql] Boolean values should be substitued like others. Closes #2829481
Furthermore lgdb 1.10 deprecate boolean_value method and this simplify
testing.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Apr 2013 14:54:22 +0200] rev 8892
[toward-py3k] rewrite __cmp__ (closes #2715115)
In Python 3k `__cmp__` special method is no longer supported. So we split
it in `__lt__` and `__eq__`.
details on Python3k behavior here:
http://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:33:49 +0200] rev 8891
skeleton: add RPM spec template (closes #2800884)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Apr 2013 13:44:01 +0200] rev 8890
[clean_session] revert itervalues usage from 0bb18407c053
self.close(session) changes the self._sessions content. We need to create a full
list of value before starting closing them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 15 Apr 2013 13:18:01 +0200] rev 8889
merge 3.16.x fix
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:46:18 +0200] rev 8888
[ldap] Use correct API for logging message
The good practice cat prefer logging to do the substitution himself.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 12 Apr 2013 11:39:10 +0200] rev 8887
Fix obsolete docstring for add_looping_task
The docstring was telling lies since changeset cae198371548
"add_looping_task can be used any time"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Apr 2013 10:32:00 +0200] rev 8886
[devtools] prevent Xvfb resets
Seems like firefox opens more than one connection to the X server in
some cases, and things get utterly confused.
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:22:48 +0200] rev 8885
[LDAP] rename unittest ldapuser to ldapsource (prepares #2528116)
the tests involved are not only for ldapuser module but also for the more
general ldapfeed
Necessary to prepare LDAP patch for CWgroup
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Apr 2013 15:34:18 +0200] rev 8884
[devtools] protect xvfb-run.sh against clean_up being called twice
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:44:55 +0200] rev 8883
Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:39:15 +0200] rev 8882
3.16.3
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 14:23:24 +0200] rev 8881
[service] make sure synchronous call_service has a cnxset
Fixes regression in 3.16.2 (closes #2807720)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:56:27 +0200] rev 8880
Merge testfunc testfunc resurrection Closes #2535377
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:40:45 +0200] rev 8879
[web] move qunit test back into web and fix the hanging
qunit test can not work outside web. a lot of try/finally clause have been added
to prevent qunit to hang on error.
A not a test a indeed broken. But we at least put in them a running state again..
William Wordsworth [Mon, 08 Apr 2013 17:34:25 +0200] rev 8878
[test] drop forsaken windmill test (Closes 2535376)
* not run since multiple years
* windmill itself is in poor shape not even packaged in Debian.
The peace which other seek they find;
The heaviest storms not longet last;
Heaven grants even to the guiltiest mind
An amnesty for what is past;
When will my sentence be reversed?
I only pray to know the worst;
And wish as if my heart would burst.
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:12 +0200] rev 8877
Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:11 +0200] rev 8876
Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 19:30:42 +0200] rev 8875
3.16.2
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 18:38:20 +0200] rev 8874
[server/test] remove dependency on a pyro name server (closes #2801737)
Use a direct pyroloc:// url instead of going through a NS.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:30:53 +0200] rev 8873
[packaging] add spec file to build RPMs (closes #2800850)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 08 Apr 2013 17:12:53 +0200] rev 8872
[predicates] keep making `yes` predicate importable from cubicweb (closes #2790319)
The `yes` predicate was moved out in CubicWeb 3.15 but it should have
remained importable from the cubicweb.predicates module, for bw compat
reasons and also because logilab.common.registry is an implementation
detail.
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 16:53:03 +0200] rev 8871
[views/tables|css] backout rev 895e34d9ae0d
This changeset introduced a GUI behaviour change that has usability side-effects
(eg. shows a non-undoable massive action as a first-class action).
The idea is good, but it requires a better implementation; tabs are not the proper
GUI solution to the original usability issue.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:43:26 +0200] rev 8870
[webconfig] cleanly handles ``fckeditor_installed`` when no uiprops
The previous version of the code relied on a default value with a dummy
``FCKEDITOR_PATH`` entry. The new code check if uiprops is initialized or not.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:19:29 +0200] rev 8869
[webconfig] fallback to default configs if https ones are not defined
When cubicweb serves a request with an https scheme, it tries to access
``https_uiprops`` and ``https_datadir_urls``. However if those are not defined we
should fallback to unsecure url instead of crashing with a traceback.
There are very valid usecases for undefined https url. For example if your
``base_url``, ``datadir_url`` and uiprops content are already https urls.
Closes #2786643
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:13:03 +0200] rev 8868
[webconfig] explicit some webconfig attribute
Explicit declaration of attribute are much clearer. Just do it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:45:10 +0200] rev 8867
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:18:32 +0200] rev 8866
merge with 3.15.x fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:56 +0200] rev 8865
Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:46 +0200] rev 8864
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:55:56 +0200] rev 8863
[querier] improve 'Password selection not allowed' error message
to report the involved variable name whose type is Password,
it usually help understanding the problem.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 11:09:50 +0200] rev 8862
[predicates] use select_or_none rather than select+try/except, expected to be more efficient
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:43:57 +0200] rev 8861
[pkg] prepare version 3.15.11 ?
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:42:36 +0200] rev 8860
merge 3.14.x fix into 3.15.x
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:51:15 +0200] rev 8859
[facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Feb 2013 14:39:55 +0100] rev 8858
[predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Apr 2013 14:33:20 +0200] rev 8857
[cmd] fix exlog documentation (closes #2715913)
The table documentation was out of sync since 8a075bc94563.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:39 +0200] rev 8856
Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:28 +0200] rev 8855
Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:19:24 +0200] rev 8854
[pkg] prepare 3.14.10 release
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Apr 2013 11:09:50 +0200] rev 8853
[querier] fix eid relations handling in SET queries (closes #2797052)
_extract_eid_consts() implementation must consider arithmetic operators
when trying to associate rql variables to specific eids.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Apr 2013 17:45:09 +0200] rev 8852
[ext/rest] add directive bookmark to rest (closes #2545595)
David Douard <david.douard@logilab.fr> [Wed, 03 Apr 2013 12:17:24 +0200] rev 8851
[c-c create] make post-create step optional (closes #2712041)
In this context the "post-create" step refers to the database's creation and
initialization. We want to be able to create a new instance but skip the
database creation (`db-create` and `db-init` commands) in automatic setup.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 15 Mar 2013 12:11:29 +0100] rev 8850
[cwconfig] Add optional configuration param to load a UI cube before other cubes
Needed later on to load UI cubes such as legacyui, and one day squareui.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 02 Apr 2013 12:13:06 +0200] rev 8849
[web/views] Move massmailing to its own cube (closes #2788086)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 18:15:24 +0200] rev 8848
merge with stable fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:06:22 +0200] rev 8847
[req] explicit `user` attribute
The `RequestSessionBase` object needs a `user` attribute. It is initialized by
sub class, but having it explicitly declared is much cleaner.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:02:52 +0200] rev 8846
[test] use the right order in some assertEqual
The unittest2 function use ``(expected, got)`` order.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:00:37 +0100] rev 8845
[session/transaction] move resource accessors on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:39:14 +0100] rev 8844
[session/transaction] move multiple utility on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:25:56 +0100] rev 8843
[session/transaction] handle cnxset repository logic in transaction
Interacting with the repo is now handled by the Transaction code directly.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:34:53 +0100] rev 8842
[transaction] keep a reference to the repo object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:57:13 +0100] rev 8841
[session] make security_enabled API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:47:04 +0100] rev 8840
[session] make hook_control API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution
Internal session are not tracker by the repository and can not be retrieved
using _getsession. Moreover their session id is not unique…
Closes #2735700
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only
The service may be called by a session, we really do not want the call to
service to mess with the transaction state.
This does not apply to async were thread magic ensure a dedicated transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure
The session was retrieved there because `set_cnxset` must be called in the same
thread as the code using it. We now retrieve the session beforehand and
explicitly call `set_cnxset`.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 12 Mar 2013 18:31:15 +0100] rev 8836
[cubicweb/doc] Add tutorial on data import in CubicWeb.
This involves creating the "tutorials/dataimport" directory
structure under "cubicweb/doc" and, inside the "dataimport" directory,
putting several files:
- a ResT file containing the tutorial *per se*; this tutorial addresses
the following issues:
* creating a CubicWeb schema for representing a given data set (here,
the Diseasome RDF data, for illustration purposes);
* parsing the data;
* importing the data, by using several stores:
+ the ``RQLObjectStore``, ``NoHookRQLObjectStore`` and
``SQLGenObjectStore`` from the ``dataimport`` module in CubicWeb;
+ the ``MassiveObjectStore`` from the ``dataimport`` module
in the ``dataio`` cube.
The tutorial also provides timing benchmarks of the various stores.
- a set of Python files illustrating the data import, in the context
of Diseasome RDF data parsing:
* a Diseasome RDF data parse module,
* a Diseasome data import module,
* a CubicWeb schema for representing Diseasome data.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:04:22 +0200] rev 8834
[dataimport] Handle various data formats when creating buffers from data.
:note: On the long run, this should be addressed before, when these data are
created.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:12:41 +0200] rev 8833
[dataimport] Add a ``flush`` method for all stores.
For ``ObjectStore``, ``RQLObjectStore`` and ``NoHookRQLObjectStore``
the method tries to call the ``commit`` method.
For ``SQLGenObjectStore``, the ``flush`` method is basically
unchanged with respect to previous changesets.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:11:44 +0200] rev 8832
[dataimport] Uniformize the API across the different stores.
This is achieved by modifying the ``relate`` method
so that it takes an extra ``**kwargs``.
More specifically, ``SQLGenObjectStore``'s ``relate`` method
needs the the type of the subject entity which is passed through
``**kwargs`` as the ``subjtype`` keyword argument.
Actually, it is the ``add_relation`` method of the
``SQLGenObjectStore`` who needs this argument. However, as
this method is not called directly (but via the ``relate``
method), the ``subjtype`` argument is passed to
``add_relation`` via ``relate``.
The other stores' ``relate`` methods do not need this
extra argument, hence for the other stores ``**kwargs``
is empty.
In this manner, the API is unified across the different stores.
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 28 Mar 2013 15:43:23 +0100] rev 8831
[data] Add a CSS for undo UI rendering
The nesting of ordered list and unordered list was badly handled. This has gone
unoticed becaused it was not used. But the undo feature use this markup to
render the changesets. That's why this minor change to ths CSS is introduced.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
David Douard <david.douard@logilab.fr> [Mon, 11 Feb 2013 11:47:50 +0100] rev 8829
[c-c list] add an optional argument to the list command (closes #2709703)
This optional argument allows to restrict listing to only
a given type of items (cubes, instances, configurations).
Florent Cayre <florent.cayre@logilab.fr> [Wed, 13 Mar 2013 18:17:16 +0100] rev 8828
default base-url now uses fdqn instead of hostname only (closes #2542815)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:41:14 +0100] rev 8822
merge 3.16.x fix in 3.17.x
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:32:26 +0100] rev 8821
merge 3.15.x into 3.16.x
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 12:31:39 +0100] rev 8820
server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641)
Fixed an .rstrip(...) for the general case (untested).
Fixed an .lstrip(...) for the sqlite path (tested).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:40:19 +0100] rev 8819
[doc] update 3.17 release note
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:45:17 +0100] rev 8818
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event`
The `rdefdef` attribute is set during the operation execution. In some the
operation crash before this assignment. In such case `revertprecommit` raise an
attribute error crashing the whole process and shadowing the original error.
This changeset detect and Avoid this situation.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:41:45 +0100] rev 8817
[session] security context directly use transaction object when applicable
Most of the security logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:43:34 +0100] rev 8816
[session] move context manager logic in the security context manager
The `init_security` and `reset_security` method have no other user that the context manager itself. Having dedicated public function is not useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:42:18 +0100] rev 8815
[session] hook control context directly use transaction object when applicable
Most of the hooks control logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:17:21 +0100] rev 8814
[session] move context manager logic in the hook controls context manager
The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other
user that the context manager itself. Having dedicated public function is not
useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:05:14 +0100] rev 8813
[session] drop the useless set_hooks_mode method
It has not external user and trivial code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:09:55 +0100] rev 8812
[session/transaction] move most undo support into transaction
A small part that need repo access has not been moved into transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:42:13 +0100] rev 8811
[session] simplify mode property
We can delegate very thing to transaction utility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:01:40 +0100] rev 8810
[session/transaction] pass the session object to the Transaction __init__
This simplify access to variables. As we are moving more and more logic and
states in the Transaction it will greatly helps in future commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:54:36 +0100] rev 8809
[session] use a dedicated class to track cnxset
We introduce a new CnxSetTracker to track `cnxset` used by Transaction and
allows to wait for them. This new class does not use Thread ID not thread
joining to work. This allows to use multiple transaction per thread and a
transaction in multiple thread.
The class itself is totally threadsafe by the Transaction is still not
thread safe.
The old _threads_in_transaction attribute is dropped in favor of a new logic
based on this object. The registration of cnxset used is not done by the
Transaction itself. tx.cnset is a property handling the Consistency of its value
with the CnxSetTracker instance.
Note: The CnxSetTracker instance only track transaction id, not transaction
itself, So not reference cycle are created.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Mar 2013 15:26:29 +0100] rev 8808
[session] cleanup Transaction.cnxset
The attribute should always be there. It is None when not cnxset exists.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 17:50:11 +0100] rev 8807
[session] drop useless getter and setter for security
Those function have very few user and does not anything fancy. Internal user now
access tx.read/write_security directly. External user have been blessed with a
writable property. They are only interested in the write part of they did not
used the return of the removed function. They access it through the session
since I prefer the external world to not be aware of Transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:40:09 +0100] rev 8806
[session/transaction] move read_security subtlety in transaction
This is transaction data, itshould be handled by the transaction itself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:02 +0100] rev 8805
[transaction] initialize dbapi_request in __init__
There is not reason to have it implicitly declared.
The attribute is renamed to match its public name.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:00:25 +0100] rev 8804
[whatsnew] notify drop of deprecated code
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 27 Mar 2013 16:33:48 +0100] rev 8803
[web/views] extract cube embed (closes #1916015)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 26 Mar 2013 12:26:12 +0100] rev 8802
[skeleton] Update debian packaging to support only python 2.6 and up
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 16:58:13 +0100] rev 8801
Drop iprogress code (closes #2777628)
Simon Chabot <simon.chabot@logilab.fr> [Wed, 27 Mar 2013 16:36:47 +0100] rev 8800
[web/views] extract cube sioc (closes #1916018)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 15:36:41 +0100] rev 8799
[doc] Add 3.17 release notes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:38:05 +0100] rev 8798
[migration] mark all version prior 3.7 as non-migrable
API possible used by such old migration script are not supported in recent
Cubiweb.
Closes #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:40 +0100] rev 8797
[dataimport] drop checkpoint backward compat API
Deprecated since 3.7. See #2772958 for details.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:06 +0100] rev 8796
[dataimport] drop index support deprecated since 3.7
Dropping of pre-3.7 API decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:51:42 +0100] rev 8795
[utils] drop pre-3.7 compat in util
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:58 +0100] rev 8794
[migration] drop pre-3.7 utility
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:10 +0100] rev 8793
[entity] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:49:12 +0100] rev 8792
drop dubious comment
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:03:14 +0100] rev 8791
[req] drop pre-3.7 api on request
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:46:55 +0100] rev 8790
[session] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:35:18 +0100] rev 8789
[transaction] use set operation in the hook control code
We use direct operator on set instead of looping by hand, This simplify the
codes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:48 +0100] rev 8788
[session/transaction] move hook management in transaction itself
This is transaction level code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 15:28:18 +0100] rev 8787
[session] allow writable tx_attr and use it for commit_state
This keep clarifying the code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:12:39 +0100] rev 8786
[session/transaction] move add operation in session code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:13:34 +0100] rev 8785
[session/transaction] move entity life utility on transaction
This access transaction related data and therefor should live in transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:20:25 +0100] rev 8784
[transaction] small simplification in ecache code
A single assignation is simpler.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:16:16 +0100] rev 8783
[session/transaction] move entity cache management on session
A new utility method is added for that. It is similar to the one used for
attribute access. code is copy pasted as his. Function documentation is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:17:31 +0100] rev 8782
[session] have a nice helper function to forward access to session
This allows a lighter and clearer code. This will also ease the addition of
deprecation warning in the future.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 12:41:13 +0100] rev 8781
[session] drop dead code
session._tx is never None. New transaction are created if necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:14:08 +0100] rev 8780
[session] use tx.data directly in session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:11:17 +0100] rev 8779
[transaction] rename transaction_data to data
Transaction.transaction_data is redundant. A transaction_data property is left
for backward compatibility. Deprecation mechanism will come in later changeset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:58:43 +0100] rev 8778
[session] document Session._tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:05:49 +0100] rev 8777
[session] split session creation from default session assignation
This is the first step for more independence for Transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:04:43 +0100] rev 8776
[session] make session lock reentrant
We are going to use it for other session related business. It is renamed from
_closed_lock to _lock in the same move.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:51:50 +0100] rev 8775
[session] document set_tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:49:57 +0100] rev 8774
[session] rename txstore variable to tx
This is a more accurate name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:10:19 +0100] rev 8773
[session] rename `_threaddata` to `_tx`
The returned object is a Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:37:51 +0100] rev 8772
[session] rename self.__threaddata.txdata to self.__threaddata.tx
This is Transaction object now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:42:33 +0100] rev 8771
[session] rename _tx_data into _txs
The object inside are now Transaction object. Not TransactionData object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:32:25 +0100] rev 8770
[transaction] relocate method building transaction context manager
It is in the middle of methods going to be refactored.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:49:48 +0100] rev 8769
[transaction] move RQLRewriter in Transaction
This remove the last ``AttributeError`` magic. The ``RQLRewriter`` needs a Session. Its
reset is handled in ``Session`` code to handle that
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:38:56 +0100] rev 8768
[transaction] initialize security control attribute in Transaction
There is no reason to not initialize them in __init__ time. This simplify the
Session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:33:53 +0100] rev 8767
[session] move security constant out of the class
There is no reason for it to not be global. This will ease it use by
``Transaction object``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:27:34 +0100] rev 8766
[transaction] initialize hook control attribute in Transaction
There is no reason to not initialize them in __init__ time. this simplify the
transaction code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:34:04 +0100] rev 8765
[session] Move hook control constants out of the class
There is no reason for them to not be global. This will ease they use by
Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:20:10 +0100] rev 8764
[transaction] initialize transaction data and state related attribute.
There is not reason to not explicitly declare and initialize attribute in
Transaction.__init__. This change requires the introduction of a
Transaction.clear() method to get ride of some wicked ``AttributeError`` based
logic.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:51:03 +0100] rev 8763
[transaction] handle ``mode`` default value in Transaction
The transaction mode is now explicitly passed at creation time and always read
from the Transaction object.
Note that there is a slight behavior change. The transaction mode is now set at
the creation of the transaction. Changes made to the default value have no
longer any effect on existing transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:47:45 +0100] rev 8762
[transaction] explicit Transaction cnxset attribute
The Transaction object have a lot more attribute that those previously declared
in __init__. They are just dynamically assigned in Session code.
This changeset explicit the ``cnxset`` and ``mode`` attribute declaration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:09:49 +0100] rev 8761
[server] rename TransactionData to Transaction
Transaction will become a full featured object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:31:21 +0100] rev 8760
[doc] update Session documentation
A major refactoring of Session/Transaction handling is commit. This is a good
occasion to improves the documention.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 19:08:07 +0100] rev 8759
merge 3.16 fix in default
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:52:13 +0100] rev 8758
[devtools] fix a couple issues with xvfb-run
xvfb-run didn't quite clean up correctly after itself, because:
- dash doesn't run EXIT traps on signals
- if we don't run the command in the background, a TERM handler doesn't run
until the command exits
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:37:06 +0100] rev 8757
[devtools/qunit] don't open-code subprocess.Popen.terminate
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:01:05 +0100] rev 8756
[devtools/qunit] get rid of unused variable
Alain Leufroy <alain.leufroy@logilab.fr> [Tue, 18 Oct 2011 16:55:16 +0200] rev 8755
[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743)
So, tables are dropped even if the schema was changed.
:note: if mssql, drop views before tables.
:note: because of table dependencies we try a second drop sequence
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 18 Oct 2012 15:52:05 +0200] rev 8754
[book] remove XXX to an old discussion about appengine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Feb 2013 12:20:59 +0100] rev 8753
[web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Mar 2013 12:34:07 +0100] rev 8752
Add CubicWebRequestBase.content (closes #2742453)
This is the body of the HTTP request (stream)
David Douard <david.douard@logilab.fr> [Thu, 17 Jan 2013 14:55:07 +0100] rev 8751
add the match_http_method predicate (closes #2559932)
This aim at creating views which are selected on other HTTP methods
(PUT, DELETE, ...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:35:19 +0100] rev 8750
[pkg] the previous commit requires new feature in yams.
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 30 Nov 2012 16:43:36 +0100] rev 8749
add a command to compare db schema and file system schema (closes #464991)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Mar 2013 12:50:05 +0100] rev 8748
drop typed_eid() in favour of int() (closes #2742462)
typed_eid was introduced to abstract the eid type when running on Google AppEngine.
It is not used anymore and can be removed. Let's use int() instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:58:14 +0100] rev 8747
merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:13:31 +0100] rev 8746
3.15 is the new old stable
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 17 Sep 2012 14:39:29 +0200] rev 8745
[web] don't link to None in author box (when author has been deleted) (closes #2409855)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 19 Mar 2013 18:20:57 +0100] rev 8744
dbapi: try to restore compatibility of the connect api with 3.15
A few issues here:
- urlparse('foo').scheme is '', not None
- cnxprops is an optional argument
Regression from 62213a34726e ("[db-api/configuration] simplify db-api
and configuration so that all the connection information is in the
repository url, closes #2521848")
Closes #2754322
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:40:25 +0100] rev 8743
3.16 is the new stable
After discussion with David Douard I'm merging 3.16.x branches in stable and
starting 3.17 feature on default.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:46 +0100] rev 8742
Added tag cubicweb-debian-version-3.15.10-1 for changeset feca12e4a618
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:45 +0100] rev 8741
Added tag cubicweb-version-3.15.10 for changeset 89bdb5444cd2
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:28 +0100] rev 8740
prepare 3.15.10
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:32 +0100] rev 8739
Added tag cubicweb-debian-version-3.16.1-1 for changeset 84fbcdc8021c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:31 +0100] rev 8738
Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:53:57 +0100] rev 8737
prepare 3.16.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:30:06 +0100] rev 8736
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110)
Today, it is possible to call .related and get a huge unlimited
database-dos-inducing resultset that will be nevertheless limited a
bit further in pure python in the `autolimited` view.
While we cannot completely avoid potential denial of services such as
these we mitigate the problem with the default ui settings: if the
inner vid is `autolimited`, then the relation result sets is computed
using the user-defined limit.
This change respects the semantics of the `autolimited` view and
shouldn't break anything.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:18:22 +0100] rev 8735
[entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994)
As of today, such a call will always fill the relation cache by
calling .entities() on every single related rset entry.
As a consequence, the `limit` parameter handling also had to be fixed.
It was bogus in the following ways:
* not used in the related_rql, hence potentially huge database
requests, but also actually
* foolishly used in the .entities()-calling cache routine we now
bypass (this changeset ticket's main topic)
Now:
* we set a limit on the rql expression, and
* forbid caching if given a non-None limit (as we don't want to make
the cache handling code more complicated than it is already)
With this, entity.unrelated gets a better limit implementation (so the
code in related/unrelated is nice and symmetric)
Risk:
* _cw_relation_cache disappears completely, which is good, but this is
Python, so you never know ...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:17:34 +0100] rev 8734
[test/web] fix invisibly bogus test (prepares #2755994)
The test was wrong but that was cancelled out by a cache effect and
fuzzy naming.
Wiping the entity caches restores sanity: the choices list are the
same before and after the SET.
Also field.choices uses entity.unrelated but always returns related +
unrelated elements.
Hence `choice` replaces `unrelated` where it makes sense.
AssertIn is used in place of AssertTrue.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 08 Mar 2013 11:03:28 +0100] rev 8733
[cwconfig] Fix exception handling when building the cube dependency graph
UnorderableGraph exceptions do not have a 'cycles' property. A simple
cast to str does the job.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 12:25:18 +0100] rev 8732
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Mar 2013 16:38:57 +0100] rev 8731
[test/sobject] fix test regression
Was complaining:
- * updated comment #EID (#EID)
? ^^^^
+ * updated comment #EID (duh?)
? ^^^^
in sobjects/test/unittest_supervising.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 18:36:49 +0100] rev 8730
[web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130)
If 'pageid' is given through extraparams, it is sent twice to the
browser. On the JS side, the final URL loadxhtml() will end up using
will have 'pageid' set twice which CubicWeb will readily accept as a
list.
Pruning this parameter makes sure it is exactly once.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 19:23:22 +0100] rev 8729
[web/component] Use global variable to point to ajax controller (part of #2758254)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 19 Mar 2013 12:24:40 +0100] rev 8728
[web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254)
5a81fa526b30 took care of all the JS code, this patch cleans up the
remaining python bits.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 10:08:20 +0100] rev 8727
[devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 12 Mar 2013 19:24:43 +0100] rev 8726
[component] Fix URL generation for navigation component (closes #2464832)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:08:22 +0100] rev 8725
merge with another default heads
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:04:51 +0100] rev 8724
Merge stable into default (NON-TRIVIAL)
- dropping __future__ statement added by d2472948da9c
- added migration from 407acc41beb5 to migration file for 3.16.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 08 Feb 2013 18:36:00 +0100] rev 8723
maintain python2.5 compatibility
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Jan 2013 11:36:21 +0100] rev 8722
[schema/workflow] one more typo fix
Also add proper migration.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 11:17:02 +0100] rev 8721
[devtools] add http_publish to CubicWebTC (closes #2565882)
Fakes a http request, without overriding the normal error handling.
Returns the request object so the caller can check for errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jan 2013 12:47:40 +0100] rev 8720
[testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468
Also, url_publish now accepts a `data` argument to simulate POST of values.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 22 Feb 2013 19:36:40 +0100] rev 8719
[towards py3k] import reduce() from functools (part of #2711624)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 11 Mar 2013 18:37:01 +0100] rev 8718
merge stable fix into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 18:37:48 +0100] rev 8717
[doc] document dbapi.Connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Mar 2013 09:15:09 +0100] rev 8716
[c-c shell] fix command description (-P option is gone long ago)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Mar 2013 14:46:09 +0100] rev 8715
[hooks/syncschema] do not crash when adding a new entity type (closes #2741643)
The previous version assumed META_RTYPES provide relation definitions
for all entity types.
pwatteyne [Tue, 29 Jan 2013 16:57:44 +0100] rev 8714
[views/debug] Do not show all web sessions without CNX, just count them (closes #2602161)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Mar 2013 15:37:37 +0100] rev 8713
[facets js] use $ instead of jQuery and other small cleanups
Julien Cristau <julien.cristau@logilab.fr> [Thu, 17 Jan 2013 15:42:09 +0100] rev 8712
[devtools/httptest] allow sending other types of requests besides GET
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 08 Mar 2013 18:43:42 +0100] rev 8711
merge with stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 04 Mar 2013 17:22:57 +0100] rev 8710
[ext/rest] fix docstring of rql_role()
Vincent Michel <vincent.michel@logilab.fr> [Fri, 08 Mar 2013 18:04:40 +0100] rev 8709
[web application] Fix missing self. in error_handler
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:42:56 +0100] rev 8708
[ldapfeed] all options of a source should be in the same group, else you get AssertionError on c-c add-source. Closes #2538398
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Feb 2013 16:13:21 +0100] rev 8707
[sources] fix classes that inherit from AbstractSource (closes #2718669)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jan 2013 10:28:49 +0100] rev 8706
[login] don't redirect to http url if we allow anonymous on https
Closes #2583913
Jérôme Roy <jerome.roy@logilab.fr> [Mon, 25 Feb 2013 11:34:58 +0100] rev 8705
Correct typo in example
Julien Cristau <julien.cristau@logilab.fr> [Mon, 25 Feb 2013 18:02:11 +0100] rev 8704
[testlib] make test_view load the json data
Closes #2721472
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 12:06:16 +0100] rev 8703
[etwist] Properly escape traceback output (closes #2712042)
Stop using StringIO in the process as well.
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 11:26:08 +0100] rev 8702
[dbapi] Stop shadowing exceptions in get_repository() (closes #2710515)
Exceptions are already handled higher up in the stack so there's no
reason to handle them here. Furthermore, non-ConnectionError exceptions
would get hidden, making debugging harder.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 25 Feb 2013 11:18:14 +0100] rev 8701
[cwvreg] complete cw.web.uicfg cleanup callback (closes #2718217)
1dd655788ece introduced insufficient backward compat support
When cubes directly import uicfg from cubicweb.web (or uihelper) this
also creates a reference in the parent cubicweb.web namespace. This
must be cleaned up as reloaded cubes will take back this reference and
the old versions of its appobjects.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Feb 2013 11:19:36 +0100] rev 8700
[book] fix typo.
remove spurious `i`
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 16 Feb 2013 21:46:24 +0100] rev 8699
[towards py3k] fix bug introduced by 0bb18407c053
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 21 Feb 2012 18:23:23 +0100] rev 8698
[doc] Book entry for the undo functionnality.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:45:07 +0100] rev 8697
[toward py3k] rewrite has_key() (part of #2711624)
The `has_key` method is not in Python3K but dict supports __contains__ check for
ages.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:01:24 +0100] rev 8696
[toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)
Python 3K will only expose iterators.
http://docs.python.org/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:38:25 +0100] rev 8695
[toward-py3k] rewrite to "except AnException as exc:" (part of #2711624)
The older form is not necessary since we dropped python 2.5 compability. This
will help Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:39:23 +0100] rev 8694
[toward-py3k] remove import with_statement (part of #2711624)
They are unneeded since we dropped python 2.5 compatibility. This will help
Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:29:20 +0100] rev 8693
pkg: drop python 2.5 compatibility (closes #2711624)
2.5 is not common anymore. Dropping compatibility will help moving to a code
base compatible with Python 3.3
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 15:21:23 +0100] rev 8692
devtools: improve qunit timeout message
Make the message clearer, shorter and properly wrapped.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 14:26:33 +0100] rev 8691
merge default into stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Feb 2013 11:35:15 +0100] rev 8690
[devtools] fix broken windmill test case
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:31 +0100] rev 8689
Added tag cubicweb-debian-version-3.15.9-1 for changeset 29fbc632a696
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:30 +0100] rev 8688
Added tag cubicweb-version-3.15.9 for changeset 8bfc0753f1da
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:15 +0100] rev 8687
Added tag cubicweb-debian-version-3.16.0-1 for changeset 853237d1daf6
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:14 +0100] rev 8686
Added tag cubicweb-version-3.16.0 for changeset 6c7c2a02c9a0
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:52:02 +0100] rev 8685
3.15.9
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 16:44:07 +0100] rev 8684
[ldap test] fix bad merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 14:33:40 +0100] rev 8683
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 13:28:23 +0100] rev 8682
[cwctl] fix cubicweb-ctl shell command (closes #2583919)
* add an uri parsing utility that documents a bit the uri cubicweb
supports out of the box
* cwctl: use this utility and refactor a bit for clarity (the novelty
here being real support for old style 'myapp', or:
* 'inmemory://myapp'
* 'pyro://pyro-ns-host:pyro-ns-port/myapp' (pyro access through a
pyro concentrator)
* 'pyroloc://host:port/pyro-instance-id' (direct access to a pyro
repository)
* 'zmqpickle-tcp://host:port'
* dbapi: refactor to sort out some of the complexity and restore
functionality lost in 62213a34726e
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:13:40 +0100] rev 8681
[ldap test] move the slapd database directory to a tempdir (closes #2583993)
This is required to be sure we are not hurt by NFS or such...
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:10:31 +0100] rev 8680
[ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994)
When a user is imported from an LDAP source (in ldapfeed or when converting a
user from an ldapsource to system one), we may import a clear-text password,
which we do not want to do in our system database.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:25:08 +0100] rev 8679
[ldapfeed] don't crash if one specify an unexisting group in the configuration. Closes #2538399
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:27:51 +0100] rev 8678
[doc/ldap] update the ldap chapter wrt the ldapfeed source type (closes #2551863)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 17:58:49 +0100] rev 8677
prepare 3.16
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 18:20:05 +0100] rev 8676
[doc/3.16] complete description of what changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:39:52 +0100] rev 8675
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
instead of extra configuration parameters. Follows modification of dbapi.connect api.
Closes #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:18:44 +0100] rev 8674
[repo sources] move handling of source's url into abstract source as this becomes shared by most sources
prepare #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:52:47 +0100] rev 8673
[db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:51:10 +0100] rev 8672
[repository sources] copy source configuration: source's __init__ modify it while config.sources() return a cached dictionary which shouldn't be modified
This causes pb since f8aa87a773b2 (though it's unclear why it hasn't been a problem before).
Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:50:34 +0100] rev 8671
cleanup repository connect doc: cnxtype is now deprecated / base_url has never been given that way. Follow #2521848
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Jan 2013 18:16:20 +0100] rev 8670
prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114)
* it turns "tcp://" into "zmqpickle-tcp://"
* will leave room for future non-pickling communications using zmq
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jan 2013 18:01:25 +0100] rev 8669
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
eg no more specific option of pyro ns host, group, etc. This also fixes broken ZMQ
sources.
Changes:
* dropped pyro-ns-host, pyro-instance-id, pyro-ns-group from client side config, in
favor of repository-uri. No migration done, supposing there is **no web-only config**
in the wild. Also stop discovering the connection method through the repo_method class
attribute of the configuration, varying according to the configuration class. This is
a first step on the way to a simpler configuration handling. Notice those pyro options
are still available for repository only / all-in-one configurations as they are needed
to configure the pyro server.
* stop telling connection method using ConnectionProperties, this is so boring. Also,
drop _cnxtype from Connection and cnxtype from Session. The former is replaced by a
is_repo_in_memory property and the later is totaly useless.
* deprecate in_memory_cnx which becomes useless, use _repo_connect instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 23:05:45 +0100] rev 8668
[ldap test] ensure slapdd launch went fine and move ldapfeed setUp to parent class, as all ldap sources deal with url
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:11:33 +0100] rev 8667
[web/uihelper,uicfg] transform uihelper functions into uicfg objects methods (closes #2543949)
Florent Cayré <florent.cayre@logilab.fr> [Mon, 21 Jan 2013 16:34:09 +0100] rev 8666
make ui configurations selectable (closes #2406609)
* introduce a new 'uicfg' registry (storing instances)
* use the relevant new APIs from lgc.registry to manage the new
registrable uicfg objects
* cw event manager useage is gone; instead thze standard registry
reloading mechanism is used
* ensure i18n commands still work (devctl)
* introduce dynamic uicfgs use whenever possible (various views), even
though sometimes the classic 'static' usage remains
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:34:10 +0100] rev 8665
[uicfg] uicfg.py moves from web/ to web/views/ (prepares #2406609)
We are about to make uicfg selectable. Registrable / selectable views
and helpers live in web/views. Hence the move.
Backward compat is put in place. However CubicWeb imports of uicfg are
updated to the new location.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 13:03:38 +0100] rev 8664
[appobject] introduce RegistrableObject base class (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Jan 2013 13:55:25 +0100] rev 8663
[cwvreg] introduce lgc version 0.59 and remove unneeded method redefinition (prepares #2406609)
The new logilab.common.registry makes this moot.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 18:27:35 +0100] rev 8662
[BFSS] mark fs_imported value as uncachable
This will finally fix the `test_bfss_fs_importing_transparency` pass again.
Regression was introduced by 4ba11607d84a
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jan 2013 18:48:15 +0100] rev 8661
[entity] add a "repo_side" parameter to `_cw_dont_cache_attribute`
This parameter (defaulting to `False`) is used to inform cubicweb that we really
really do not want to cache a value during creation or update. This will be used
by a storage that may do very specific processing on attribute values that result
in a stored value different than the provided one (e.g. BFSS `fs_importing`
mode).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:51 +0100] rev 8660
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:25 +0100] rev 8659
[entities] fix test failures introduced by fixes in workflow related message strings (completes 9bb93efa1952)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 18 Jan 2013 16:40:11 +0100] rev 8658
[doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 17:37:35 +0100] rev 8657
[entity,views/json] backout 353bbd17a8b6 (reopens #2559931)
Calling .complete() unconditionnally from the json encoder is unsafe
since on entity creation validation:
* an eid may have been drawn (hence even .has_eid() would not help)
while processing form data in the edit controller
* a ValidationError may have been raised and the entity-creating
transaction rollbacked
This leads to a crash on the return path from the validation to the
browser, where the json_dumps((status, args, entity)) call will
stumble upon the .complete() call which will fail because the entity
does not (any more) exist in the database.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jan 2013 20:17:09 +0100] rev 8656
[schemas] fix typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 18:30:08 +0100] rev 8655
merge with stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:31:43 +0100] rev 8654
[appobject] cleanup module (prepares #2406609)
* remove unused imports
* break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jan 2013 14:29:12 +0100] rev 8653
[uicfg] remove pre 3.6 bw compat structure (prepares #2406609)
This should have been done in a673d1d9a738.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 17:12:06 +0100] rev 8652
[testlib] test_view now parse json data, closes #2557467
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:39:51 +0100] rev 8651
Improve entity json export (closes #2559931)
Make output from __json_encode__ predictable; use it in the ejsonexport
view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:40:57 +0100] rev 8650
[web/application/test] drop useless code
This is already done in CubicWebTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 15:11:37 +0100] rev 8649
[test] precheck initial condition
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:42:16 +0100] rev 8648
[packaging] Fix search in squeeze cubicweb-documentation package (closes #2558496)
Work around broken combination of jquery 1.4 and sphinx 0.6 in squeeze by
patching up doctools.js.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:41:45 +0100] rev 8647
[packaging] don't compress txt files (closes #2558496)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 21:48:59 +0100] rev 8646
[wf/test] fix tests broken by changes from another patch which have slipped there
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:06:20 +0100] rev 8645
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:46:05 +0100] rev 8644
[web/test] fix stale reference to the changelog view (closes #2423532)
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8643
Added tag cubicweb-debian-version-3.15.8-1 for changeset 4ef457479337
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8642
Added tag cubicweb-version-3.15.8 for changeset 459d0c48dfaf
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:04:26 +0100] rev 8641
[test] fix possible views test (closes #2544358)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:40:41 +0100] rev 8640
prepare 3.15.8
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:29:29 +0100] rev 8639
[ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776)
* cwusers that see their ldap source counterpart disappear are
deactivated
* until now they were not activated again on reappearance
* note this behaviour in the doc
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Jan 2013 15:53:22 +0100] rev 8638
[ldaputils,ldapparser] correctly compute "deleted" users (closes #2542083)
* in ldaputils.py, removal of an unneeded method (checking existence
of an object in the ldap, but not using the configuration filters)
* in the ldapparser, memoize the (filtered) search so as to serve both
.process and .is_deleted
* add a non regression test for the 'user-filter' source config entry
+ deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jan 2013 23:27:56 +0100] rev 8637
[dataimport] new ignore_errors argument to ucsvreader, default to False. Closes #2547200
David Douard <david.douard@logilab.fr> [Tue, 18 Dec 2012 11:40:51 +0100] rev 8636
[ldapsource] keep python 2.5 compatibility (closes #2541602)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 18 Dec 2012 10:42:11 +0100] rev 8635
[ldapuser2ldapfeed] .values -> .iteritems (closes #2542872)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:40:03 +0100] rev 8634
[ldap tests] cleanup in preparation of #2542083
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:26:41 +0100] rev 8633
[ldapparser] demote warning level (actually important user info can leak there) (prepares #2542083)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 03 Jan 2013 23:10:50 +0100] rev 8632
Remove changelog view (closes #2423532)
Vincent Michel <vincent.michel@logilab.fr> [Wed, 02 Jan 2013 18:17:02 +0100] rev 8631
[dataimport] Allow to replace escape char in the create_copyfrom_buffer
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 Dec 2012 22:31:10 +0100] rev 8630
[doc] fix function name FTIRANK
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:15:57 +0100] rev 8629
[json] enable jsonexport selection on empty rsets (closes #2544358)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:14:14 +0100] rev 8628
[test] fix req default value handling in CubicWebTC.view (closes #2544376)
It's no more than the standard ``if rset`` vs. ``if rset is None`` error.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Sep 2012 17:16:04 +0200] rev 8627
[ajax] fix attribute lookup (closes #2491038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 11 Dec 2012 18:20:00 +0100] rev 8626
[server] add debugging for Hooks & Operations (closes #2470048)
Vincent Michel <vincent.michel@logilab.fr> [Fri, 14 Dec 2012 14:08:14 +0100] rev 8625
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
This store will use:
- copy from for massive insertions.
- execute from for update.
The API of this store is similar to the other stores.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 12:52:33 +0100] rev 8624
[test] swap order in assert of `test_users_and_groups_non_readable_by_guests`
unittest2 order is (expected, got), not the opposite. This help test report
readbility.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 19:47:12 +0100] rev 8623
[test] fix server/querier/build_descr1 test.
There is no self.transaction of TestCase. I assumed the test writer meant a
session. This seems to make the test pass.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 12:36:33 +0100] rev 8622
[server] make `test_bfss_fs_importing_transparency` less verbose on failure
Dumping the whole content of a file on failure is a bit annoying. We only print
the bad version here (it's usually the file path).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 17:12:58 +0100] rev 8621
[entity] drop redundant cache update
This ``cw_attr_cache`` update is redundant, ``_cw_update_attr_cache`` already do this step.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 13:22:10 +0100] rev 8620
[cw-ctl] silence msgcat and msgfmt (closes #2527594)
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:38 +0100] rev 8619
Added tag cubicweb-debian-version-3.15.7-1 for changeset c5400558f370
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:37 +0100] rev 8618
Added tag cubicweb-version-3.15.7 for changeset d8916cee7b70
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:11:52 +0100] rev 8617
prepare 3.15.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Dec 2012 13:41:20 +0100] rev 8616
[migration] fix crash when adding a new meta relation type. Closes #2532483
David Douard <david.douard@logilab.fr> [Mon, 10 Dec 2012 11:50:42 +0100] rev 8615
[ldapfeed] fix connection leak (closes #2532528)
David Douard <david.douard@logilab.fr> [Tue, 04 Dec 2012 16:16:08 +0100] rev 8614
[zmq] add an introductive docstring on ZMQComm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Dec 2012 16:14:57 +0100] rev 8613
[server config] on quick start, system source is still activated. Closes #2535714
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:07:57 +0100] rev 8612
[web] use `inline` `Content-Disposition` by default (closes #2535734)
since known time we have been serving static file with a `filename` parameter on
the `Content-Disposition` header. But since d74addac92bb we explicitly serve
file as attachment if a filename is provided. However this is valid to have
`inline` disposition and `filename` parameter. This changeset revert this part
of d74addac92bb, going back to `inlined` by default.
`IDownloadable` code explicitly request `attachment` content to preserve
expected behavior.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 16:57:18 +0100] rev 8611
[web] allow configuration of the Content-disposition value
The `set_content_type` function now takes and optional `disposition` parameter
to control the value of this HTTP header.
Use of `Content-disposition: inline` with a filename parameter are valid, so
the presence of filename does not allows to choose between `attachment` and
`inline`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:17:40 +0100] rev 8610
[downloadable] fix filename HTTP header for simple name with space (closes #2535715)
Since d74addac92bb, we export simple ascii filename without any encoding in the
`filename` parameter of the `Content-Disposition` header. If this name contains
space this will fails, the parameter value will be truncated at the space
position. (eg. `filename=jungle babar.txt` read as `jungle`)
We need to quote the filename to prevent this (eg. `filename="jungle babar.txt"`).
Then literal quote and backslash needs to be escaped too.
The new escaping is correct according this extensive test case data base:
http://greenbytes.de/tech/tc2231/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 00:03:03 +0100] rev 8609
merge fixes from stable
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:36 +0100] rev 8608
Added tag cubicweb-debian-version-3.15.6-1 for changeset b05e156b8fe7
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:35 +0100] rev 8607
Added tag cubicweb-version-3.15.6 for changeset 0163bd9f4880
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:18:05 +0100] rev 8606
prepare 3.15.6
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 14:48:03 +0100] rev 8605
[web] add a digital signature to error form (closes #2522526)
Simple (and quite weak) implementation of a digital signature of the content
to be submited by email in the error report view generated by ErrorView.
The signature is a simple hmac hash computed using a secret key (generated at
repository startup) and the "secret" form content to be included in the
notification email. The controller can then check this content has not been
modified or forged by a malicious user.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Nov 2012 11:44:15 +0100] rev 8604
[web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345)
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 27 Nov 2012 17:16:23 +0100] rev 8603
[doc] fix of personnal etc directory in book
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 12:24:56 +0100] rev 8602
[web] add a Forbidden exception
This is similar to the Unauthorized exception, but generates a 403 error
instead of a 401 (Unauthorized)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 27 Nov 2012 11:38:03 +0100] rev 8601
[web] add a ``anonymize-jsonp-queries`` option in file configuration (closes #2465388)
This option controls connection anonymizing before executing any query
for CSRF / safety reason.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 11:27:49 +0100] rev 8600
[downloadable] fix filename in HTTP header (closes #2522325, #2522324)
Before this changeset we use the `filename` header with utf8 encoded filename
all the time.
However RFC6266 says:
The parameters "filename" and "filename*" differ only in that "filename*"
uses the encoding defined in [RFC5987], allowing the use of characters not
present in the ISO-8859-1 character set ([ISO-8859-1]).
Therefore, we alter the code to:
1. Use `filename` and `ascii` encoding whenever possible,
2. use `filename*` with `utf8` encoding otherwise (with a filename fallback for
old browser)
We also switch the `content-disposition` value to attachement if filename is
specified, this will result as a mandatory download according to RFC6266. This
mandatory download is the expected behavior.
We changes the filename encoding to RFC5987 which is simpler, supported by all
and modern browser (including IE from version 6) and does not suffer from the
continuation issue. (see ticket #2522324 for details)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Nov 2012 11:18:42 +0100] rev 8599
docstring typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Nov 2012 16:13:43 +0100] rev 8598
[facet] make BitFieldFacet allow special 0 value. Closes #2522697
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Nov 2012 12:28:30 +0100] rev 8597
[doc] ubuntu LTS is now Precise Pangolin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:53:17 +0100] rev 8596
backport stable
Arthur Lutz <arthur.lutz@logilab.fr> [Fri, 16 Nov 2012 11:52:06 +0100] rev 8595
[server] implement base_url with secure=True (closes #2508638)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:41:38 +0100] rev 8594
[validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59
the creation of the `translate` method in the 23a10f049447 yams commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 15:27:40 +0100] rev 8593
[wsgi] saner use of `self.config` instead of `config`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 17:14:18 +0100] rev 8592
[server] fix repository initialisation
Changeset d753d6a6798f was breaking database creation. Dropping the
`config.creating` clause lead to trying to load the schema from database even in
creation mode. Conditional are a bit altered and reordered to prevent this to
happen.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Oct 2012 09:56:52 +0200] rev 8591
[web test] make unittest_viewselectors work if rdflib isn't available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:43 +0200] rev 8590
[js/ajax] documentation of 'reload' is missing an argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:22 +0200] rev 8589
[ldapfeed] move docstring to the class instead of the module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Nov 2012 11:12:13 +0100] rev 8588
[hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:43:11 +0100] rev 8587
[startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:40:24 +0100] rev 8586
[ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Nov 2012 11:06:24 +0100] rev 8585
[dbapi] provide get_option_value over DBAPIRequest (closes #2515522)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:05 +0200] rev 8584
Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:04 +0200] rev 8583
Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:42:26 +0200] rev 8581
[entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes.
Also rewrite a storage test currently failing because cache of the entity created by the
test transaction, distinct from the entity created internally and given to hooks and all,
has its attributes cache not updated. As this doesn't seems a proper usage, rewrite it
as expected.
Much probably closes #2423719 definitly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Oct 2012 16:54:22 +0200] rev 8580
[repository] move modification of appobject_path to repository initialization code so we can restore it later to avoid side effect on the config. Fix regression introduced in d32ab8570e5d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Oct 2012 18:42:13 +0200] rev 8579
[req / session] drop is_internal_session (buggy) compat on base request by implementing necessary methods on internal manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:18:13 +0200] rev 8577
[test] use session commit/rollback to be consistent with the test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Oct 2012 15:47:12 +0200] rev 8575
[ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515)
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport stable
Florent Cayré <florent.cayre@logilab.fr> [Tue, 02 Oct 2012 16:44:55 +0200] rev 8572
fix no more running zmq repository test (closes #2500153)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Sep 2012 17:49:54 +0200] rev 8571
[dbapi] load_appobjects must attempt to load available cubicweb configurations to avoid error when some object use a persistent propery (CWProperty) defined there. Closes #2497697
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 12:47:45 +0200] rev 8569
[ajax] reload function should set 'processing' cursor. Closes #2503899
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:49:34 +0200] rev 8568
[misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Sep 2012 16:45:26 +0200] rev 8567
[views/boxes] re-establish the proper selector (closes #2496294)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:40:35 +0200] rev 8566
[ldapparser] raise specific error if the configuration is wrong (closes #2498164)
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 08 Oct 2012 17:50:12 +0200] rev 8565
[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 17:04:44 +0200] rev 8564
[c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 21 Sep 2012 15:03:59 +0200] rev 8563
mock ``CWUser.prefered_language()`` on InternalManager objects.
The recent split of patches for session refactoring broke this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 14:15:39 +0200] rev 8562
[session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820
One should use session method rather than direct usage of the context manager
of the same name.
Fix default argument values for consistency with the context manager: when one
omit an argument, meaning is "keep the current value", not "disable security".
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 14:50:06 +0200] rev 8561
[session] promote usage of [deny|all]_all_hooks_but session methods rather than hooks_control context manager directly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:25:48 +0200] rev 8560
[web app] move set of status_out into validation_error_handler to ease readability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:24:32 +0200] rev 8559
[workflow test] don't use session.user, subject to internal changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:07:13 +0200] rev 8558
[db creation test] more testing of db initialization: call build_db_cache and ensure admin user exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:52:17 +0200] rev 8557
[source synchronization hooks] Fix/enhance system source hooks
They are broken if launched during repository initialization (this was not the
case yet, but will be soon...). Add additional checks to ensure one doesn't try
to store system source config in the database, as it will be ignored in favor of
the "sources" file.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:48:55 +0200] rev 8556
[validation error] refactor validation error handling so translation is done on the web side
Users should now use cubicweb.validation_error helper function that will activate the feature
with other handy behaviours. Also test testing for message in errors should call
exception.tr(unicode) before comparing.
Using bare ValidationError keep backward compat.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8555
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8554
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:24 +0200] rev 8553
Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:23 +0200] rev 8552
Added tag cubicweb-version-3.15.4 for changeset 63260486de89
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 17 Sep 2012 17:48:02 +0200] rev 8551
[facets] add link 'focus on selection' (closes #525277)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:08:55 +0200] rev 8550
[server/utils] catch ValueError from password verification
passlib can raise ValueError when it can't recognized a hash. Treat
that as a wrong password.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:59:25 +0200] rev 8549
[test] reindent and use request() rather than bare session
this avoid error due to implementation details of session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Sep 2012 15:03:52 +0200] rev 8548
[repo] fix debug code in DBG_REPO mode (closes #2469942)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Sep 2012 17:26:15 +0200] rev 8547
[datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:17:10 +0200] rev 8546
[sources/native] automatically update passwords using deprecated hashes on login
Closes #2465904
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 17:42:24 +0200] rev 8545
[repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 21:51:54 +0200] rev 8544
massive copyright update to avoid clutering later patches
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:50:28 +0200] rev 8543
minor cleanups/typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:36:22 +0200] rev 8542
[session / querier] reorganize code to building result set descriptions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:44:33 +0200] rev 8541
[web] search state doesn't need cnx, remove useless test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:31:07 +0200] rev 8540
[schema] rename schema permissions function: session may also be a request, use _cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:02:06 +0200] rev 8539
[repo initialisation] during repo creation, load all hooks and entities code
this simplify code and make it more consistent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:53:59 +0200] rev 8538
[request/session] refactor language handling: don't attempt to sync web/repo languages
This decouple thing and make code easier to understand. Previous behaviour was fine
w/ validation error that were translated on the server side, but isn't satisfying for
notification and all. Now:
* translations should be done on the ui side (see previous validation error
refactoring)
* consistent behaviour: each side (web/repo) is responsible to deal with its
request/session of language, no weird interaction between them on this topic
* drop on the way the 'session properties' api, used only for that matter.
-> much simpler/cleaner/saner api
The thing missing being a way for user to tell "My favorite language is xxx but I also
want cw to consider my http language header)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:00:09 +0200] rev 8537
[config] turn internal configuration methods building appobjects search path into normal method rather than class method
as this is useless and make path filters difficult to override (we had to
override the class attribute, as instance attributes were not seen).
Also rename related methods for consistency with current vocabulary
David Douard <david.douard@logilab.fr> [Mon, 03 Sep 2012 12:26:20 +0200] rev 8536
fix missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Sep 2012 14:01:59 +0200] rev 8535
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 07 Sep 2012 13:48:55 +0200] rev 8534
[hooks/syncshema] fix logging level and nicer message (wrong changeset published previously)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 13:19:39 +0200] rev 8533
[hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Aug 2012 11:43:43 +0200] rev 8532
[cwctl] show a better diagnostic message on version violation (closes #2464800)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:07:59 +0200] rev 8531
[tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657
also do a small cleanup on the way, and properly implements render_entity rather than cell_call,
as one would expect regarding default PrimaryView code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:52:41 +0200] rev 8530
[migration] fix backward compat for rename_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:09:17 +0200] rev 8529
[datafeed] make cnxset handling of datafeed source more robust
currently we may run in some cases where the session has no more cnxset
depending on errors and parser's handling of the cnxset.
Also, free the cnxset and reacquire it later, letting a chance to other
threads to run.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:38:43 +0200] rev 8528
don't use rset.rowcount in predicates, this makes them usable with other types such as lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:11:05 +0200] rev 8527
[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Aug 2012 11:19:44 +0200] rev 8526
[ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Aug 2012 13:29:37 +0200] rev 8525
[entity edition] don't remove values from attribute cache on the repository side
This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a.
closes #2423719 ?
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 18:11:24 +0200] rev 8524
fix ldapuser test
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 16:50:28 +0200] rev 8523
Prepare 3.15.4
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 13:55:59 +0200] rev 8522
migration: replace empty passwords with random ones on upgrade
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 12:52:45 +0200] rev 8521
ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 16:58:08 +0200] rev 8520
[source/native] only system source users should be authenticated by the native source (closes #2465883)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 17:20:06 +0200] rev 8519
[web test] fix test broken by 199fefe396ab
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Aug 2012 14:19:30 +0200] rev 8518
[fti] add some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 14:17:22 +0200] rev 8517
[form] add assertion to ensure field has a name when `role_name` is called
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:29 +0200] rev 8516
Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:28 +0200] rev 8515
Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Aug 2012 14:20:08 +0200] rev 8514
[pkg] prepare 3.15.3 release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 19:00:22 +0200] rev 8513
[entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)
Rely on a changes in yams instead where we have guarantee to have only comparable objects.
This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly
closes #2423719
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Aug 2012 09:42:36 +0200] rev 8512
[tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038
This is useful for tabs holding a self-posted form for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 18:52:27 +0200] rev 8511
[web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040
(eg if you want to use them in .session_key)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 10:09:11 +0200] rev 8510
[test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout
This repairs test introduced by dcd9bc1d1bca which closes #2439846
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Aug 2012 10:47:27 +0200] rev 8509
[entity] fix deprecation warnings (closes #2423719)
David Douard <david.douard@logilab.fr> [Thu, 02 Aug 2012 12:48:31 +0200] rev 8508
merge oldstable in stable
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:48 +0200] rev 8507
Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:47 +0200] rev 8506
Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 18:30:36 +0200] rev 8505
[ui] provide an autocomplete RQL bar (closes #2439846)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 01 Aug 2012 09:20:47 +0200] rev 8504
[ajax] improve backward compatibility for redefined ajax functions (closes #2447189)
If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube,
the cube version should still takes the precedence<
=> check for existing ajax function on deprecated controller _before_ checking
ajax function availability on the new one.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 16:16:50 +0200] rev 8503
prepare version 3.14.9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:32:54 +0200] rev 8502
[composite] apply composite on new enty too (closes #2450679)
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:25:28 +0200] rev 8501
[storage] relies on event=='deleted' to detect "delete" event (closes #2450680)
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 11:04:45 +0200] rev 8500
[composite] apply composite on new enty too
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 10:57:03 +0200] rev 8499
[storage] relies on event=='deleted' to detect "delete" event
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jul 2012 11:19:11 +0200] rev 8498
[web navigation] previous / next icons are missing mandatory alt attribute
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 31 Jul 2012 10:12:06 +0200] rev 8497
[testlib] consider rset for template / view selection (closes #2447183)
The original code did something like:
kwargs['rset'] = rset
viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs)
kwargs.pop('rset')
return self._test_view(viewfunc, view, template, kwargs)
meaning that by the time ``viewfunc`` (i.e. the lambda function) is called,
``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 17:51:00 +0200] rev 8496
[documentation] fix some ReST compilation problems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 15:06:55 +0200] rev 8495
[test] remove no more necessary attribute cache manipulation to repair test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 11:19:16 +0200] rev 8494
[entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression
* when an attribute is listed in dont-cache-attrs, purge any previous value
* test value is actually modified in EditedEntity.__setitem__ before adding
attribute to dont-cache-attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 10:16:25 +0200] rev 8493
[entity/hooks] fix regression introduced by 4ba11607d84a
on create_entity, attributes weren't cached, but they are since 4ba11607d84a
and this triggered a bug: used values may be transformed by hooks (e.g.
TidyHtmlFields), ending in invalid value in the cache. This is the regression.
Now, set_attributes used to update the attributes cache while suffering from
the very same pb. This is the now fixed old bug.
Transformed attributes are now recorded in a transaction shared variable, and
those are omitted from the client cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:11 +0200] rev 8492
[doc] use :meth: and remove doc to deprecated methods
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 Jul 2012 22:45:32 +0200] rev 8491
[doc] add passlib to list of dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:09 +0200] rev 8490
Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:08 +0200] rev 8489
Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 14:50:44 +0200] rev 8488
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 12:45:43 +0200] rev 8487
[web test] fix tests broken by 8de41063d629
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 15:17:32 +0200] rev 8486
3.15.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 11:31:34 +0200] rev 8485
[web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:57:48 +0200] rev 8484
[config] load_configuration should not crash because of fs errors. Closes #2286215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:46 +0200] rev 8483
[entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719
Allowing similar usage as create_entity/cw_instantiate.
Update cw code base to remove deprecated calls.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 09:01:54 +0200] rev 8482
[workflow ui] fix state/transition edition form on existing entity. Closes #2423531
It should not return unrelated entities only in case where the entity
exists.
Also fix a deprecation warning, vocabulary values should be an
unicode string.
Florent Cayré <florent.cayre@logilab.fr> [Fri, 20 Jul 2012 11:42:59 +0200] rev 8481
[predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:25:55 +0200] rev 8480
[book] fix build warnings/errors. Closes #2430042
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:46:27 +0200] rev 8479
[ldap feed] add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 16:41:10 +0200] rev 8478
[ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:22:51 +0200] rev 8477
[config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:31:15 +0200] rev 8476
[book] Some tweaks to fix cubicweb-documentation package generation
- Fix up PYTHONPATH setting to make sure sphinx can find cubicweb modules
- Add a few missing build-dependencies
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 Jul 2012 10:27:04 +0200] rev 8475
[webconfig] debug mode should not be special wrt data_url handling (closes #2405487)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 10:25:22 +0200] rev 8474
[test] missing future import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Jun 2012 12:30:57 +0200] rev 8473
[ldap] allow working connection to some ADs (closes #2408829)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Jul 2012 17:26:59 +0200] rev 8472
[entity] fix unrelated_rql for creation form vocabulary for relation with specific permissions (closes #2423854)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:06:52 +0200] rev 8471
[form widgets] fix JQueryDatePicker and JQueryTimePicker so they consider widget custom attributes. Closes #2423720
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jul 2012 15:58:20 +0200] rev 8470
[web app] handle Redirect raised during session establishment, as this may be used by eg openid authentication. Closes #2430018
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 17:16:28 +0200] rev 8469
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jul 2012 15:32:40 +0200] rev 8468
[ldapuser2ldapfeed] fix confusing script structure and decode the extid to avoid an UnicodeDecodeError (closes #2413437)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 11:08:36 +0200] rev 8467
[migraction] rename rename_relation method to rename_relation_type for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Jul 2012 14:29:52 +0200] rev 8466
[web app] only log tb when explicitly asked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jul 2012 13:42:27 +0200] rev 8465
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 12:38:06 +0200] rev 8464
[views/tables|css] show actions in small tabs instead of menu indirection (closes #2004109)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:52 +0200] rev 8463
stable is now 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:23 +0200] rev 8462
oldstable is now 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 10:33:19 +0200] rev 8461
[test] update server security test using login and new temporary_permissions context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 11:11:15 +0200] rev 8460
[testlib] introduce temporary_permissions context manager
Fix a test failure due to cached method on the way as usage of the context manager
enforce proper interaction with schema objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 13:57:23 +0200] rev 8459
[rql2sql] remove debug print and fix bug introduced in 8469:69ad9a509bc3
Florent Cayré <florent.cayre@logilab.fr> [Mon, 09 Jul 2012 12:24:05 +0200] rev 8458
[html form] use __linkto url parameter value as a default value of the corresponding field in a creation form (closes #2407770)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 12:22:43 +0200] rev 8457
[rql2sql] fix generated SQL when an attribute relation with a variable is ored with another attribute relation. Closes #2410405
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:01:09 +0200] rev 8456
[repository] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 09:47:28 +0200] rev 8455
[ui] actions box should be displayed if there are some actions, not if context is an entity. Closes #2419040
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:31:13 +0200] rev 8454
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Jun 2012 15:57:05 +0200] rev 8453
[packaging] bump rql dependency to 0.29 (closes #2410042)
Needed for add_eid_restriction with 4 args, usage of which was
introduced in changeset aed065b97f12 (refactor entity fetch_rql method
to use a RQL syntax tree instead of RQL strings)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 04 Jul 2012 17:56:46 +0200] rev 8452
[rql security] fix rql bug when using yams inheritance and read permissions (closes #2410156)
problems occurings when querying using is_instance_of while a subtype has some permissions
not shared by the parent type
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Jul 2012 09:01:42 +0200] rev 8451
[c-c schema] devtools: the output file for cw-ctl schema is not supposed to exist
When using the 'file' type, logilab-common errors out if the file
doesn't exist. Which, if the option refers to an output file, is not so
useful. Use 'string' instead.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:33 +0200] rev 8450
[fti] allow usage of custom RQL to fetch entities to index (closes #2410509)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:32 +0200] rev 8449
[fti] make db-rebuild-fti accept etypes on command line (closes #2410508)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 09:00:30 +0200] rev 8448
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 08:59:28 +0200] rev 8447
[fti] drop entity cache once an etype is indexed (closes #2410507)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jul 2012 11:01:51 +0200] rev 8446
[server/utils] add_looping_task can be used any time (closes #2408814)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Jun 2012 18:10:59 +0200] rev 8445
[formrenderers] if a tag object gets there, it blows (closes #2410462)
- cwtags monkeypatches cubicweb's UStringIO's .write and .getvalue methods
- but it cannot monkeypatch list.append ...
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:21:12 +0200] rev 8444
[login] redirect to real instance root if no postlogin_path is provided
When not postlogin_path is provided, the login form issue a redirect to "/".
The instance root may not be at "/" on the server. Then issuing a redirect to
"/" send the user to the wrong location.
We now redirect to "." which works fine because the "login" controller a direct
children of instance root (http://babar.com/instance/login).
All other redirection of the login controller use relative path too and then
rely on this relative path from the login controleur to the instance root. This
mechanism may be considered fragile and may deserve a proper fix. but this is to
be discussed and implemented in another changeset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:55:03 +0200] rev 8443
[web/application] declare default 'content' value sooner (closes #2406560)
It may be used while processing AuthenticationError. Such error may be raised
before the former declaration.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 10:06:11 +0200] rev 8442
[views/tabs] fix rql/eid param conflict when either one is already in the request form (closes #2405249)
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:23 +0200] rev 8441
Added tag cubicweb-debian-version-3.15.1-1 for changeset fe5e60862b64
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:22 +0200] rev 8440
Added tag cubicweb-version-3.15.1 for changeset 783a5df54dc7
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 10:00:02 +0200] rev 8439
[debian] prepare 3.15.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Jun 2012 09:22:11 +0200] rev 8438
[server/tests] fix tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Jun 2012 16:47:07 +0200] rev 8437
[registry|ajaxcontroller] the @ajaxcontroller decorator ought to return a compatible object (closes #2385155)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:33:53 +0200] rev 8436
[cwconfig] shutup on absent i18n/ mo files when in operating in tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:24:37 +0200] rev 8435
[datafeed] correctly distinguish checked/updated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:30:54 +0200] rev 8434
[ldapfeed] do not crash on ldap user deletion + pull + already deactivated users, cleanups (closes #2392933)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:26:34 +0200] rev 8433
[server/session,repo] turn InternalSession, hence repo.internal_session, into a context manager (closes #2393651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 18:07:46 +0200] rev 8432
[ldapparser] missing return
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 17:05:32 +0200] rev 8431
[ldapparser] remove spurious print
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 15:56:21 +0200] rev 8430
fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 17:18:00 +0200] rev 8429
[ldapfeed] fix crash on sql cursor usage (closes #2380246)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:51:24 +0200] rev 8428
[sources/ldapfeed] do not user cwuri as url (closes #2380324)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:19:21 +0200] rev 8427
[web/views/staticcontroller] safety belt for unguessed mimetypes (closes #2380304)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 May 2012 14:01:05 +0200] rev 8426
[server/hook] fix identation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:17:46 +0200] rev 8425
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:26 +0200] rev 8424
Added tag cubicweb-debian-version-3.14.8-1 for changeset 81394043ad22
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:25 +0200] rev 8423
Added tag cubicweb-version-3.14.8 for changeset 15fe07ff6872
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 12:27:43 +0200] rev 8422
[css] do not use display:block for all images, but only for rest generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 11:43:11 +0200] rev 8421
3.14.8
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 11:41:27 +0200] rev 8420
[css] make ReST align statement works for images (closes #1280176)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2011 14:33:26 +0100] rev 8419
[doc] cubicweb.view documentation (closes: #2099962)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:05:03 +0200] rev 8418
[docstrings] typos corrected
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:04:00 +0200] rev 8417
[views] enable paginate toggle on RsetTableView (closes #2200675)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:00:29 +0200] rev 8416
[ui] display author name in box instead of login (closes #1529147)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 10:52:42 +0200] rev 8415
[doc] remove deprecated doc (wrong link) (closes #2329206)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 17:37:49 +0200] rev 8414
Fixes for compatibility with passlib 1.6 (closes #2356393)
Somebody missed the memo about API backwards compatibility:
- calc_checksum is renamed _calc_checksum
- passlib.utils.handlers.GenericHandler strict keyword removed
- bytes vs str vs unicode issues
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 22 May 2012 18:51:09 +0200] rev 8413
[formrenderers] Factor-out render_title to ease customisation in derived classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 May 2012 12:41:18 +0200] rev 8412
[IE] use document.createStyleSheet to add CSS dynamically (closes #2356261)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 May 2012 14:17:09 +0200] rev 8411
[pkginfo] the before_shutdown event was not in 3.15.0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 16 May 2012 09:57:57 +0200] rev 8410
[migration] do not crash if the conf file is already migrated (closes #2361061)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:44:45 +0200] rev 8409
[datafeed] fix/finish cleanup started by auc in 8393:c25b96ae4f8a: parser.process prototytpe is (url, raise_on_error=False). Drop partialcommit argument which were never specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:30 +0200] rev 8408
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:25:41 +0200] rev 8407
[logs table view] properly translate level buy using the correct msgid. Closes #2356329
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:24:07 +0200] rev 8406
[data import] don't crash if value isn't in the file, simply no key/value in the output dict. Closes #2356328
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:08 +0200] rev 8405
[logs table view] only put values starting with http in <a> tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:57:14 +0200] rev 8404
[db-api] fix typo leading to crash on client connection (config has no translations). Closes #2357044
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:36:02 +0200] rev 8403
[data import] allow a request to be given as argument, ease use from web ui
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 10:34:34 +0200] rev 8402
[datafeed] allow the xml datafeed parser to work with client-side connections
Florent Cayré <florent.cayre@logilab.fr> [Tue, 17 Apr 2012 12:28:51 +0200] rev 8401
small doc updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:32:53 +0200] rev 8400
[ldapfeed] properly mark email address as encountered during import to avoid deleting them
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:14:51 +0200] rev 8399
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:08:58 +0200] rev 8398
[server/utils] passlib 1.6 is now less tolerant wrt handler names (closes #2349330)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:37:28 +0200] rev 8397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:31:53 +0200] rev 8396
[web] remove some unused imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:33:42 +0200] rev 8395
[selectors] make multi_columns_rset work with a simple list of lists
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 17:15:44 +0200] rev 8394
[server/hook] a tiny bit of doc about before_server_shutdown
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:43:48 +0200] rev 8393
[events] add a new before_shutdown event (closes #2345728)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:35:46 +0200] rev 8392
[ldapparser] cleanup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:31:03 +0200] rev 8391
[ldapparser] reapply dropped fix
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:23:21 +0200] rev 8390
[app] turn these info into debug logs (this being too chatty for .info)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Apr 2012 12:01:31 +0200] rev 8389
fix static file serving when url has parameters (like cache busters do)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 May 2012 15:06:43 +0200] rev 8388
[repo test] Avoid hangs in zmq repo unit test
- interaction through the zmq event loop from a different thread is only
allowed through add_callback
- notify the background thread when the client dies with an exception so it
doesn't spin forever
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:52:01 +0200] rev 8387
[ldap] we may actually get back password from ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:23 +0200] rev 8386
[ldapfeed, test] use default source config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:03 +0200] rev 8385
[ldapfeed, test] use a safe internal session, as in real life
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:48:54 +0200] rev 8384
[datafeed] give a dictionary as sourceparams to avoid crash if attempt to import the user is done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:47:29 +0200] rev 8383
[yams] Binary instance passwords should not be given to str()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:45:58 +0200] rev 8382
[ldapfeed] don't crash if entity is None. Closes (superficialy) #2341266
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:13:39 +0200] rev 8381
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:12:02 +0200] rev 8380
[bin/clonedeps] fix NameError (closes #2334080)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 15:09:27 +0200] rev 8379
[sources/native] do not let a log message crash on us
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:22:38 +0200] rev 8378
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:10:04 +0200] rev 8377
[cwconfig] impose an order on appobject paths processing: entities first (closes #2330799)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 Apr 2012 11:39:14 +0200] rev 8376
[serverctl] avoid a crash if zmq-address is not defined/empty (config.get is a false friend wrt dict behaviour)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 Apr 2012 10:31:46 +0200] rev 8375
fix an horrible typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 23 Apr 2012 18:01:30 +0200] rev 8374
[migration/3.14.4] prevent migration crash when there are NULLs in asource
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:30 +0200] rev 8373
Added tag cubicweb-debian-version-3.15.0-1 for changeset 925db25a3250
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:29 +0200] rev 8372
Added tag cubicweb-version-3.15.0 for changeset 0642b2d03aca
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:58:55 +0200] rev 8371
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:52:23 +0200] rev 8370
3.15.0
Florent Cayré <florent.cayre@logilab.fr> [Thu, 12 Apr 2012 13:55:18 +0200] rev 8369
[static web] fix fckeditor static files delivery: remove leading subpath and url parameters from computed file path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 16:47:30 +0200] rev 8368
[doc] 3.15 services api description
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 14:36:19 +0200] rev 8367
[service-api] Add unified service API on `_cw` attribute
This will allow writting generic entity code that could run on both client and
repo side.
This addition have been discussed with Sylvain Sylvain Thenault.
Florent Cayré <florent.cayre@logilab.fr> [Wed, 11 Apr 2012 14:43:51 +0200] rev 8366
fix ``call_service`` API and add test service API
``call_service`` was taking a session argument. But Service is an AppoObject and
already has the same session accessible as ``self._cw``.
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 14:16:27 +0200] rev 8365
[skel] update newcube skeleton (closes #2312509)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 15:48:12 +0200] rev 8364
[doc] improved 3.15 blog using developpers'contributions
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 13:28:10 +0200] rev 8363
[devtool-testlib] add deprecated entry point for publish method
6c2119509fac renamed ``publish`` to ``handle_request``. And removed the older testlib
function (because the semantic of handle_request is quite different from the
publish one). However it seems to do more harm that good and I'm adding proxy with
deprecation warning for those.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 13:22:47 +0200] rev 8362
[doc] improve 3.15 release blog
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Apr 2012 12:18:33 +0200] rev 8361
[web/views/staticcontrollers] restore windows compat
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8360
Added tag cubicweb-debian-version-3.14.7-1 for changeset 20ee573bd237
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8359
Added tag cubicweb-version-3.14.7 for changeset 3ba3ee5b3a89
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:37:41 +0200] rev 8358
3.14.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 21:52:23 +0200] rev 8357
[3.15 migration] repo-uri is a c-c command option and does not need migration since it doesn't exist in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 18:14:16 +0200] rev 8356
[remote rql source] fix super call
Vincent Michel <vincent.michel@logilab.fr> [Wed, 04 Apr 2012 17:46:34 +0200] rev 8355
[zmq] Add a new ZMQ-based RQL source (closes #2290203)
Vincent Michel and Alain Leufroy [Wed, 04 Apr 2012 17:47:58 +0200] rev 8354
[pyro] Refactor the pyrorql source
Extract most of the code that is not related to Pyro from PyroRQLSource
in a new RemoteSource abstract class.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 10:57:03 +0200] rev 8353
[zmq] add unit tests for ZMQ-based repository (server and dbapi)
Vincent Michel <vincent.michel@logilab.fr> [Tue, 10 Apr 2012 17:09:04 +0200] rev 8352
[dbapi] add possibility to connect to a remote ZMQRepository (closes #2290126)
David Douard <david.douard@logilab.fr> [Tue, 10 Apr 2012 17:07:03 +0200] rev 8351
[repository] fire 'server_shutdown' hooks before waiting for theads
This is required for threaded tasks that use the 'server_shutdown' hook to die properly,
as for example the ZMQ server in an all-in-one configuration
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 16:51:09 +0200] rev 8350
[zmq] Implement a ZMQ-based Repository (closes #2290125)
This Repository server behave mainly like the Pyro-based repository.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 17:03:19 +0200] rev 8349
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:50 +0200] rev 8348
[test] update create_user call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:27 +0200] rev 8347
[test] use setUpClass rather than setUpModule to avoid inter-dependency pb with CubicWebTC sub-classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 14:29:42 +0200] rev 8346
[test] with yams#stable, ordernum is different than with yams#default
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 10 Apr 2012 10:45:40 +0200] rev 8345
[bin] Force clone_deps.py to use mercurial command-line interface - closes #2296057
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 10:42:23 +0200] rev 8344
[table view] EntityTableView should accept **kwargs as RsetTableView
David Douard <david.douard@logilab.fr> [Thu, 05 Apr 2012 22:42:40 +0200] rev 8343
Fix a Python 2.5 regression introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:11:48 +0200] rev 8342
[rql annotation] fix has_text_query detection (if coming from sub-query and if has_text on a column aliases. Closes #2275322
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 Apr 2012 14:44:00 +0200] rev 8341
[etwist] fix static directory serving; closes #2174797
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 14:20:41 +0200] rev 8340
[form renderer] refactor inline form renderer to ease overriding. Closes #2282662
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Apr 2012 18:44:07 +0200] rev 8339
[devtools] fix bashism in xvfb-run.sh
bash's trap builtin accepts SIGUSR1, whereas dash complains. So use USR1 instead.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 15:04:16 +0200] rev 8338
[devtools] fix xvfb-run.sh permissions (exec bit)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 11:01:24 +0100] rev 8337
[form] add a new property telling if the form is being generated or posted. Closes #2262340
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:25:51 +0200] rev 8336
[workflow] set default test/plain option for workflow default comment (closes #993083)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:24:49 +0200] rev 8335
[js] get rid of `partial` function (closes #1972794)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 15:23:47 +0100] rev 8334
[css] change `h3` and `h4` styles(closes #893244)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 21 Mar 2012 18:33:12 +0100] rev 8333
querier: Improve error message when ERQLExpression fails on some entity (closes #2267081)
When an RQL variable is indeed "constant" (we know it's eid) ERQL expression are
not inserted but checked prior query execution. If the session have no read
access to the entity an `Unauthorized` exception is raised.
This changeset add a meaningfull message to this exception::
No read acces on "X" with eid 42.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:13:40 +0200] rev 8332
[js] fix error in loadRemote docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 23:30:19 +0200] rev 8331
[doc] add missing section titles
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 22:24:55 +0200] rev 8330
[doc] fix bad indentation
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Mar 2012 13:29:27 +0200] rev 8329
[server/ldaputils] do not allow ldap.server_down to crash on us
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:34 +0100] rev 8328
Add missing with_statement import for python2.5 compat
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:43 +0100] rev 8327
[devtools] make xvfb-run not wait 3s each time (closes #2265710)
Ask Xvfb to tell us when it's ready instead of unconditionally waiting 3
seconds.
Sync from
http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=blob_plain;f=debian/local/xvfb-run;hb=HEAD
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 11:08:31 +0100] rev 8326
[view] breadcrumbs layout broken with long elements (closes #1347486)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:29:13 +0100] rev 8325
[static-file] return Unauthorized on blocked directory listing
This is more appropriate than 404 NOT FOUND
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:28:24 +0100] rev 8324
[login redirect] only add postlogin_path argument when meaningful
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 19 Mar 2012 14:37:43 +0100] rev 8323
static-file: properly set/use cache header for static file (closes #2255013)
This changesets enables the standard http cache mechanism where the static
controller may reply "304 Not modified" based on `last-modified` in HTTP
response and `if-modified-since` in HTTP query. The last modified time is
computed using the file-system information.
The pre-existing logic using an `Expires` header to prevent client from sending
request stay in place. The new logic just prevents sending the file again if not
necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:25:06 +0100] rev 8322
[repository] move task manager instantiation outside repository.
Repository callers are in charge of providing a task manager.
The task manager is optional when the repository is not a server. This
part is not really expected to work well yet. But we aim to remove all task
management responsibilities from the Repository object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:46 +0100] rev 8321
[repository] split repo initialization from starting looping task (closes #2204047)
This separation highlights that two distinct operations are done. This is a step
towards a full distinction between repo, server and looping tasks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:35 +0100] rev 8320
[repo looping task] move looping task logic in a dedicated object (progress #2204047)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 18:20:20 +0100] rev 8319
[manage / default index views] discard login/logout templates
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 16 Mar 2012 14:23:58 +0100] rev 8318
devtools-request: transmit the headers keyword argument to the request class
Otherwise the headers kwargs end up in the form.
This is very useful for testing publish logic related to http header (as cache).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 17:59:48 +0100] rev 8317
[security] use a stronger encryption algorythm for password, keeping bw compat
Administrator should ask their users to reenter new password so they
benefit from the new encryption.
Also, new encryption is cross-platform compatible, eg you may now move an instance
from windows to linux painlessly
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 15 Mar 2012 17:59:27 +0100] rev 8316
[cache] factorize _validate_cache() logic implemented in wsgi and twisted handlers
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:57:40 +0100] rev 8315
[fake-request] support `http_method()`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 18:34:59 +0100] rev 8314
[Web-Request] Use rich header (closes #2204164)
Unify header management. All web request use the Headers class now (imported
from twisted). Code dedicated to header management have been merged into the
base WebRequest class.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:54:40 +0100] rev 8313
http-header: support __contains__ in Headers
You can now use::
>>> 'expires" in headers
True
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:48:20 +0100] rev 8312
[web] Move request handling logic into cubicweb application. (closes #2200684)
We improve http status handling in the process:
``application.publish`` have been renamed to ``application.handle`` to better
reflect it's roles.
The request object gain a status_out attribute to convey the HTTP status of the
response.
WSGI and etwist code have been updated.
Exception gain status attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:42:31 +0100] rev 8311
[login] split authentication logic from post authentication logic (closes #2200755)
* The Session manager is now only in charge of providing a valid session.
* LoginControllers are now used in all case but wrong credential.
* The LoginControllers are in charge of redirecting the user to the page wanted
to see in the first place, expected to see.
* The login form is now always submitted to the login controller with an extra
argument pointing to the url we should redirect too after successful
authentication.
The ``"log out first logic"`` logic on login controller is removed because:
1. Other web actor do not do that.
2. Removed code do not need to be reimplemented.
3. We can only get it to work again in a single case: use do a GET request on
http://www.my-cw-stuff.io/login
4. I do not see it's purpose.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 12:08:35 +0100] rev 8310
[LoginForm] refactor to ease other implementation
An Abstract BaseLoginForm is created. It is intended to be used by cubes who
want to implement new login form. It gather common login form elements in
particular the form action.
This will ease redefinition of this form action in later commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 15:24:14 +0100] rev 8309
[request] gather all base_url logic in a single place (closes #2200756)
* Handle ``https base-url`` in the core code: ``./req.py`` and ``web/request.py``
* Remove custom ``base_url`` handling if web request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:30:28 +0100] rev 8308
[http] drop use-request-subdomain feature (closes #2251986)
This feature do not have any user nowaday and lays in the path to WSGI.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 10:29:15 +0100] rev 8307
backport stable
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 15 Mar 2012 14:26:12 +0100] rev 8306
[config, undo] Fix undo-support option migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8305
Added tag cubicweb-debian-version-3.14.6-1 for changeset 75364c099490
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8304
Added tag cubicweb-version-3.14.6 for changeset db021578232b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:21:11 +0100] rev 8303
3.14.6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:28 +0100] rev 8302
[debian] add a watch file
Allows tools like uscan to find the tarball for new debian revisions.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:16 +0100] rev 8301
[uilib] don't print timedeltas between 0 and 23h as negative (closes #2236352)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:16:44 +0100] rev 8300
[storage/bfss] ensure bfss never remove a cw_edited item (closes #2236287)
When the <old value> == <new value> (not really and update but can happen), the
value was popped but never restored. The cw_edited attribut had wrong content
for a small time lapse.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:11:40 +0100] rev 8299
[datafeed xml parser] fix typo
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 27 Feb 2012 17:02:31 +0100] rev 8298
[twisted] move out url logic from twisted (closes #2200593)
Data, fck and static file are now served by cubicweb controller by default.
Some hackish url rewriting is necessary to have them selected. This is necessary
because cubicweb does not selection controller on multi level path.
- 'Expires' header seems to conflict with Cache-Control set by HTTPCacheManger
(don't know yet why HTTPCacheManager is involved here)
mod_wsgi is now usable in simple cases (e.g. still requires persisten sessions).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 17:22:56 +0100] rev 8297
[cwconfig] improve assert error message.
Single tuple element are processed in a non trivial way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:09:55 +0100] rev 8296
rqlrewrite: remove element in rewritten when we remove them from the select (closes #2236985)
update _cleanup_inserted to avoid leaving rewritten variable behind when
removing a snipset.
insert_varmap_snippets was impacted too for unclear reason
---
Before
A KeyError was raised when:
* multiple snipset is to be inserted on a statement
* some *supported* snipset adds ambiguity (increase the number of solution)
* some *unsupported* snipset adds new variable
* The new variable require rewritting
::
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 185, in rewrite
newsolutions = self.remove_ambiguities(snippets, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 436, in
remove_ambiguities
variantes = self.build_variantes(newsolutions)
File "/home/pyves/src/fcw/cubicweb/devtools/repotest.py", line 340, in
_build_variantes
variantes = _orig_build_variantes(self, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 470, in
build_variantes
variante.append( (key, sol[newvar]) )
KeyError: u'D'
This happen because the mechanism removing unsupported snipset does not remove
entry in ``self.rewritten`` when it removes entry from
``self.select.defined_vars``.
Iteration on ``self.rewritten`` then crash because values of ``rewritten`` are
expected to
be found in solution.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 02 Mar 2012 15:15:20 +0100] rev 8295
[js] fix $.fullCalendar.regional call (closes #2232028)
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:47 +0100] rev 8294
Added tag cubicweb-debian-version-3.14.5-1 for changeset 55fc796ed5d5
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:46 +0100] rev 8293
Added tag cubicweb-version-3.14.5 for changeset f559ab9602e7
Florent Cayré <florent.cayre@logilab.fr> [Fri, 02 Mar 2012 09:44:58 +0100] rev 8292
[undo, test] fix undohistory selector et related tests
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 15:31:21 +0100] rev 8291
prepare version 3.14.5
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 01 Mar 2012 15:00:58 +0100] rev 8290
fix events display in calendar (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 14:32:42 +0100] rev 8289
[repo test] fix test regression introduced by 8286:8b0146e31baa
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 01 Mar 2012 13:42:30 +0100] rev 8288
[css] in old css, more space around the text, and try to make it centered
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 28 Feb 2012 10:46:38 +0100] rev 8287
[js] translate calendar in french (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:44:44 +0100] rev 8286
[entity url] rest path fallback should be the url used as cwuri. Closes #2186039
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 13:39:43 +0100] rev 8285
[migration] fix add_relation_type in case it already exists, broken by 67660d5f1916
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:55:14 +0100] rev 8284
backport 3.14.4-2
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:51:32 +0100] rev 8283
Added tag cubicweb-debian-version-3.14.4-2 for changeset 4c8cb2e9d0ee
David Douard <david.douard@logilab.fr> [Wed, 29 Feb 2012 17:10:31 +0100] rev 8282
[debian] prepare 3.14.4-2
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Feb 2012 17:10:27 +0100] rev 8281
[debian] add missing build-deps to generate the documentation (closes #2223062)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 18:15:23 +0100] rev 8280
[repo services] set cnxset before calling the service then ensure it's freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:43:04 +0100] rev 8279
[migration] fix migration jumping from pre 3.12 to post 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:40:56 +0100] rev 8278
[migration] add schema obj into assertion failure message so we get a chance to understand the pb
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 13:00:36 +0100] rev 8277
{repository] add documentation explaining ``fix_user_classes`` hook
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 12:47:24 +0100] rev 8276
[devtools/fake] add some https related properties to FakeRequest
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 15:39:19 +0100] rev 8275
[typo] "lod" --> "load"
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:54:14 +0100] rev 8274
[dbapi] some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 11:53:24 +0100] rev 8273
[undo view] fix wrong set operator
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:51:09 +0100] rev 8272
[web application] move default path logic inside url publisher
Previously, this logic was handle by:
* etwist server
* wsgi handler
* web application
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:50:04 +0100] rev 8271
[req, doc] add some documentation of CubicWebRequestBase attributes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:53:34 +0100] rev 8270
[test] more standalone test
add a __main__ section to `etwist/test/unittest_server.py`
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:12:25 +0100] rev 8269
[web templates] fix invalid html in main-no-top template; closes #2174806
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:11:04 +0100] rev 8268
[repository] implement a generic way to call repo-side services; closes #2203418
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 10:03:31 +0100] rev 8267
[web] Exposes the undo feature to user through a undo-history view (closes #893940)
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:45:48 +0100] rev 8266
[undo, transactions] Adds a property in the transaction API. (closes #2202953)
Required by forthcoming changes in undo_web.diff
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:43:15 +0100] rev 8265
[repo, undo] Finish repository-side implementation of the undo feature (closes #893940)
1) Changes API for undo_transaction in order to raise an exception:
the previous API returned a sequence of error, the user of the API
needed to be careful to check explicitly. We change this for it to
raise an UndoException with the list of errors as an attribute.
2) The server-side support for undoing update actions is finished
3) The configuration for `undo-support` is now a simple boolean
Beware of the costs, both in DB space and in number of requests
on the RDBMS backend, once this feture is activated.
4) Adds a txuuid param/attribute to the existing NoSuchTransaction
exception.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Feb 2012 12:35:24 +0100] rev 8264
[rql rewrite] when a subquery has to be introduced, properly return the snippet expression so that further expressions are properly ored. Closes #2207180
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Feb 2012 12:44:28 +0100] rev 8263
[migration/3.14.4] use the right API else we break sqlserver instances (closes #2211248)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 19:06:14 +0100] rev 8262
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Feb 2012 19:05:36 +0100] rev 8261
[devtools] make a copy of the xvfb-run script so we can kill it properly
Since changeset a3d3bdd46463 we don't run firefox directly but through a
wrapper script. This meant that on stopping the test, we would kill
that wrapper script but leave the Xvfb server and firefox processes
running. So make a local copy of xvfb-run, and make it kill Xvfb when
it goes down, not just when its client exits.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 23 Feb 2012 12:15:52 +0100] rev 8260
[ajax] use AJAX_BASE_URL instead of JSON_BASE_URL
JSON_BASE_URL / 'json' should be replaced by AJAX_BASE_URL / 'ajax'
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:58:43 +0100] rev 8259
[web/config] refactor initialization of the data url
Common logic have been moved in a dedicated `data_relpath` function.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 11:58:16 +0100] rev 8258
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 11:57:35 +0100] rev 8257
[test] create temporary directory with meaningfull prefix
It will help cleanup temporary directory when cubicweb test failed to cleanup
themself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 20 Feb 2012 15:16:55 +0100] rev 8256
[schema] make cubicweb 3.14 compatible with yams 0.35
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2012 18:22:02 +0100] rev 8255
[test] fix ReST extensions tests
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 09:33:43 +0100] rev 8254
[web/controller] fix some cases where _cwmsgid may appears twice
the Way the URL was build led to double _cwmsgid parameter in the
URL query, which led in turn to a crash.
We use _cw.rebuild_url to update new params instead of
append_url_params which merely does a textual concatenation.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Feb 2012 09:31:54 +0100] rev 8253
[reledit, autoform] move reledit_form definition in reledit.py
No deprecation handling needed, reledit_form is new in CW 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:14:19 +0100] rev 8252
[hg] ignore ldap database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:13:36 +0100] rev 8251
[ldap migration] use unicode strings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:33:59 +0100] rev 8250
[ldapfeed] fix synchronisation crash: ldap attributes are given while we want cw attributes
and name errors in method checking if a dn still exists in ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 11:46:28 +0100] rev 8249
backport stable
Damien Garaud <damien.garaud@logilab.fr> [Mon, 20 Feb 2012 11:45:16 +0100] rev 8248
Fix bug about missing Interval field (closes #1463996).
Implement Field and Widget dedicated to the yams entity 'Interval':
- TimeIntervalField
- IntervalTimeWidget
Allow to set an integer with a character as a period of time '20s', '48h' or
'3d' for instance (turn into seconds).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 Feb 2012 18:12:38 +0100] rev 8247
[cubicweb-ctl] i18ncube return 2 (failed command) on failure (closes #2192336)
i18ncube command previously returned 0 even on failure. Bisect i18n breakage was
hard.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:55 +0100] rev 8246
[book] document the WEEKDAY rql function
Added in 3.14.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:06 +0100] rev 8245
[rql2sql] correctly handle modulo operator (closes #2192457)
rql has % as a modulo operator. The string we output gets passed to a
substitution function so the % needs to be escaped.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:17:53 +0100] rev 8244
[web-repo] use transaction data, not session data to inform ui about sources error. Closes #2192577
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8243
Added tag cubicweb-debian-version-3.14.4-1 for changeset bc40991b7f13
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8242
Added tag cubicweb-version-3.14.4 for changeset 508645a54287
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 13:08:49 +0100] rev 8241
prepare version 3.14.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:23:24 +0100] rev 8240
[vreg] restore bw compat, eg container expect to find Selector in appobject module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:15:37 +0100] rev 8239
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:14:52 +0100] rev 8238
[spelling] fix dictionnary -> dictionary typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:39:44 +0100] rev 8237
[tabs] use eid parameter instead of rql when an eid is given. Closes #2186288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:16:42 +0100] rev 8236
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:57:07 +0100] rev 8235
[system source] fix authentication: don't allow login whatever the given password if user password is NULL in database. Closes #2186099
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 14 Feb 2012 15:15:59 +0100] rev 8234
[binary] use seek(0) in `from_file` Binary creation method (closes #2189183)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:15:09 +0100] rev 8233
[c-c] use subprocess instead of os.system to start repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:14:40 +0100] rev 8232
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:14:22 +0100] rev 8231
[bfss, migration] fix storage migration (closes #2189206)
The storage migration intend to clean the attributes cache but in practice it
was trying to discard attribut edition. As no attribut were edited this lead to
a crash.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:34:53 +0100] rev 8230
[datafeed] fix dumb name error introduced by recent deletion handling refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:49:13 +0100] rev 8229
[ldapfeed] make authentication actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 15:15:24 +0100] rev 8228
[sources] include source's class in its repr
Alexandre Richardson <alexandre.richardson@logilab.fr> [Mon, 13 Feb 2012 12:49:49 +0100] rev 8227
[email notifications] send notification at post-commit time (closes #2119248)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Feb 2012 12:47:59 +0100] rev 8226
[devtools] Use Xvfb to run firefox in js tests on posix platforms
This way we don't require running tests under X.
Florent Cayré <florent.cayre@gmail.com> [Mon, 13 Feb 2012 12:45:21 +0100] rev 8225
[i18n] fix pb with non-ascii chars in cwd. closes #2149063
David Douard <david.douard@logilab.fr> [Mon, 13 Feb 2012 12:41:04 +0100] rev 8224
[repository] add a ``gc_stats`` method and 2 more cache size for ``stats`` (closes #2179735)
This method returns memory informations in a dictionnary (same informations
as the content displayed by the GCView).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:37 +0100] rev 8223
[test] fix test broken by RichString handling changes in yams #default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:21 +0100] rev 8222
[test] fix test broken by EmailAddress read permissions change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:50:44 +0100] rev 8221
[test] fix test broken by renaming of module containing the cwxml parser and handling of vid in urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:47:07 +0100] rev 8220
[test] fix test broken by selectors/predicates changes coming with the move of registry to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:31:56 +0100] rev 8219
[repo test] fix test broken by recent changes on EmailAddress read permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:47 +0100] rev 8218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:38 +0100] rev 8217
[server test] fix test broken by recent changes in lgdb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:52 +0100] rev 8216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:17 +0100] rev 8215
[schema sync hooks] fix format string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:31:39 +0100] rev 8214
[event bus] event has been renamed to publish
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:23:26 +0100] rev 8213
[schema view] properly display inheritance (closes #870073).
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:22:38 +0100] rev 8212
[workflow view] Display a non-localized version of state/transition names (closes #1912537).
Julien Cristau <julien.cristau@logilab.fr>, Quentin Roquefort <quentin@kpsule.me> [Fri, 10 Feb 2012 16:20:35 +0100] rev 8211
[repo] Add a publish/subscribe mechanism for inter-instance communication using zmq
Each repo can have a publishing and any number of subscribing sockets
whose addresses are specified in the instance's configuration. An
application or cube can subscribe to some 'topics', and give a callback
that gets called when a message matching that topic is received.
As a proof of concept, this introduces a hook to clean up the caches
associated with the repository when an entity is deleted.
A subscription is added using Repository::zmq::add_subscription;
the callback receives a list representing the received multi-part
message as argument (the first element of the message is its topic).
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 10 Feb 2012 10:45:17 +0100] rev 8210
[migration] fire hooks in postcreate by default (closes #1417110)
also turn usage of hooks_control to relevent session's method
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 09:52:02 +0100] rev 8209
[migration] `add_relation_type` warns and add missing definitions on already existing rtypes (closes #2121979)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:36:40 +0100] rev 8208
[i18n] fix translations of login actions in french (closes #1546397)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 18:11:30 +0100] rev 8207
([config] add file encoding information to python files (closes #1942655)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:07:31 +0100] rev 8206
[primary view] delete PrimaryView.skip_none attribute (closes #2093250)
it was already broken anyway, since introduction of reledit (a while ago)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:06:19 +0100] rev 8205
[entities system table] change asource and source column size (closes #1951819)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 10 Feb 2012 10:01:04 +0100] rev 8204
[view] fix error messages of NotImplementedError
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Feb 2012 10:00:00 +0100] rev 8203
kill dead code in Workflow view
This looks like it's been missed in r5224:34e669b6fd95.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Feb 2012 13:22:49 +0100] rev 8202
[bw compat] add compatibility for import of former VRegistry
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Feb 2012 14:30:51 +0100] rev 8201
[views/attribute] role parameter must default to "subject" (closes #2175427)
patwat [Wed, 08 Feb 2012 14:32:35 +0100] rev 8200
[windows service] Copied the 3 lines from etwist/twctl into etwist/service in order to also clean the cache in Windows service mode.
Could be factorised with etwist/server.run
Florent Cayré <florent.cayre@gmail.com> [Wed, 08 Feb 2012 14:22:48 +0100] rev 8199
[entity] fix crash when using cw_instantiate with empty related entity list; closes #2094462
David Douard <david.douard@logilab.fr> [Wed, 08 Feb 2012 14:17:09 +0100] rev 8198
[pylint] correctly detect uiprops module when it's not in a package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 18:35:11 +0100] rev 8197
backport https-deny-anonymous option type fix done in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:53 +0100] rev 8196
Added tag cubicweb-debian-version-3.14.3-1 for changeset 4d0f5d18e8a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:52 +0100] rev 8195
Added tag cubicweb-version-3.14.3 for changeset 60efdbb45520
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 16:54:01 +0100] rev 8194
3.14.3
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 16:34:57 +0100] rev 8193
[web/formwidgets] make default_size a tunable, fix code layout (closes #2165936)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 14:32:11 +0100] rev 8192
[hooks/syncschema] do not crash if the schema did not learn (yet) some new META rtype (closes #2171313)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 02 Feb 2012 17:59:52 +0100] rev 8191
[js] better support for no js in tabs (closes #2162092)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 13:25:02 +0100] rev 8190
[vreg] move base registry implementation to logilab.common. Closes #1916014
A new logilab.common.registry module has been created with content from
* cw.vreg (the whole things that was in there)
* cw.appobject (base selectors and all).
In the process, we've done some renaming:
* former selector functions are now known as "predicate", though you still
use predicates to build an object'selector
* hence `objectify_selector` decorator is now `objectify_predicate`
* the top level registry is now `RegistryStore` (was `VRegistry`)
Also there is no more need for the @lltrace decorator.
On the CubicWeb side, the `selectors` module has been renamed to `predicates`.
There should be full backward compat with proper deprecation warnings.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:33:30 +0100] rev 8189
[datafeed] when checking for deletion using cwentity xml parser, use vid=xml to limit resources consumption
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 21:43:24 +0100] rev 8188
[repository] ldap-feed source. Closes #2086984
datafeed based source which copy a subtree of the ldap directory
into the system database. Authentication still go through ldap though.
Pros:
* don't need temporary tables and such for multi-sources RQL queries execution
* much more flexible to enhance / configure behaviour (you simply have to
replace the parser)
* run better when ldap isn't reachable
Cons:
* no more 'on the fly' discovery of users (though a user authenticating
itself will be automatically added if it doesn't exist in the db yet)
* synchronization may be heavy if there are a lot of users
A new cw.server.ldaputils containing code in common between former ldapuser
and new ldapfeed sources has been introduced. Also ldapuser source now
uses url instead of custom host/protocol option so it looks like a datafeed
source (could be improved).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:30:07 +0100] rev 8187
[datafeed] set delete-entities=yes is now safer, by checking each entity actually seems deleted. Closes #2165381
Parsers now have to implement the `is_deleted(extid, etype, eid)` method that
should return a boolean telling if the given entity exists in the external
source or not.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 11:49:15 +0100] rev 8186
[config, migration] fix https-deny-anonymous option type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 Jan 2012 20:56:00 +0100] rev 8185
[js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489
Julien Cristau <julien.cristau@logilab.fr> [Mon, 30 Jan 2012 20:57:05 +0100] rev 8184
[book] Fix typos in rql datetime functions documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 14:58:38 +0100] rev 8183
[search box] allow to specify domid in select arguments. Closes #2162166
needed when one want to display search box twice in a page (eg logilabfr)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Jan 2012 12:15:57 +0100] rev 8182
[config] fix rql-cache-size initial values (closes #2162160)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 15:55:27 +0100] rev 8181
[migractions] fix comment to avoid ambiguity. Closes #2015260
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 15:27:08 +0100] rev 8180
[storage] BFSS now create read only file (closes #2151672)
In the process binary.to_file now takes a file instead of a file-path. As
storage was currently the only user it should not impact anyone.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:39:21 +0100] rev 8179
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 18:44:41 +0100] rev 8178
[schema synchronization] don't use sql for TODAY/NOW in keyword arg. Closes #2154815
Also consider TZDatetime on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:36:33 +0100] rev 8177
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 12:57:02 +0100] rev 8176
[req cookie] fix remove_cookie expires which was leading to expires computed to 0 in set_cookie and the Cookie class interpret that has no expires. Closes #2154654
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:14:01 +0100] rev 8175
[testlib, postgres] take care, _repo is None when backuping postgres test db, crashing database generation
Florent Cayré <florent.cayre@gmail.com> [Wed, 18 Jan 2012 17:27:11 +0100] rev 8174
[base views] make it easier to override EntityStartupView behaviour when the rset is empty; closes #2126364
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jan 2012 16:14:34 +0100] rev 8173
[excanvas js] missing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 11:55:32 +0100] rev 8172
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8171
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8170
[facets] Make hiding facet body optional (closes #2105862)
Florent Cayré <florent.cayre@gmail.com> [Tue, 17 Jan 2012 14:26:18 +0100] rev 8169
[manage/index view] fix sources management view appearing in index view although it should not; closes #2126335
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:05:04 +0100] rev 8168
[book] add doc about request, session and connection management you need to know when writing tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:04:56 +0100] rev 8167
[test] test/demonstrate relation permissions overriding
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8166
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8165
[facets] Make hiding facet body optional (closes #2105862)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8164
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8163
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:19 +0100] rev 8162
[deprecation] add cw version number to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:07 +0100] rev 8161
[test] fix test broken by 8158:2ee254e74382 and add a test for that change
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 12 Jan 2012 13:04:59 +0100] rev 8160
[doc] Add a small docstring to RQLExpression constructor
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:33 +0100] rev 8159
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:21 +0100] rev 8158
[schema] restrictive email address read permission. Closes #2148141
You may have to update your application schema if you were based on previous settings!
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:28:17 +0100] rev 8157
[tableview] drop useless code: cellvid systematically given by RsetTableView, according to its .[non]finalview attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 Jan 2012 16:33:27 +0100] rev 8156
[tableviews] use ``select_or_none`` instead of ``try: select() except:``
select_or_none is here to avoid multiplying try: except: context in the code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:43 +0100] rev 8155
[bw compat] json_request setter is necessary for some cubes which has json_request (eg preview)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Jan 2012 16:20:49 +0100] rev 8154
gmap: set center and zoomlevel automatically (closes #2144255)
Instead of hardcoding the default zoomlevel and setting the center to
the average of all markers, let gmap compute them so all markers fit in
the map.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 04 Jan 2012 17:21:14 +0100] rev 8153
[views] calendar id in CalendarView must be unique (closes #2143864)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:23:57 +0100] rev 8152
[debian] cubicweb works with python 2.7 (which become the standard on some distros). Closes #2142050
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:07 +0100] rev 8151
[multi-sources] call doexec rather than sqlexec since we do not want to call process_result (as there aren't any and this breaks with lgdb default)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2012 18:44:52 +0100] rev 8150
[sources] hide some attributes from source edition form. Closes #2144160
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 03 Jan 2012 17:59:31 +0100] rev 8149
[https] Allow configuration of anonymous access on https (closes #1971992)
For now any anonymous access in denied on secured connection (https-url). This patch
introduce a configuration option to control this behaviour.
New instance will allow it.
Old instance should stay as is during migration.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 03 Jan 2012 17:00:43 +0100] rev 8148
[bfss] convert root BFSS directory to str in constructor (closes #2137793)
otherwise you can get crashed with AssertionError: Binary objects must use raw strings, not <type 'unicode'>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:21:44 +0100] rev 8147
[rql, security] fix buggy rqlstr cleanup when some introduced snippet create an unresolvable query. Closes #2142041
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 19:05:55 +0100] rev 8146
[ldap test] test actual ldap authentication instead of monkey-patching
also drop usage of not-anymore-necessary constants.
Alexandre Fayolle [Thu, 22 Dec 2011 17:56:04 +0100] rev 8145
[book] Add some details about usage of EXISTS
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:46:55 +0100] rev 8144
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8143
Added tag cubicweb-debian-version-3.14.2-1 for changeset 17ebd836cee3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8142
Added tag cubicweb-version-3.14.2 for changeset 049a3819f03d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:14:01 +0100] rev 8141
3.14.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:13:47 +0100] rev 8140
[i18n] fix french for 'action menu'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 21 Dec 2011 18:26:35 +0100] rev 8139
[server] use lgd.process_cursor to optimize processing of large resultsets
update lgdb dependency to ensure we've a fix necessary for proper behaviour of the previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:04:07 +0100] rev 8138
[css] fix typo in uiprops/css
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:01:48 +0100] rev 8137
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2011 12:13:28 +0100] rev 8136
[sources management] fix crash mapping tab because chain() is not indexable. Closes #2124077
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:01:15 +0100] rev 8135
[css] use listingHeaderBgColor in old css
this also fix inconsistency between background image / bg color
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 17:59:37 +0100] rev 8134
add instance to not implemented error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 09:32:27 +0100] rev 8133
[repo cache] fix cache clearing for an eid: keys are now always a tuple
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:15:49 +0100] rev 8132
missing import statement
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 19 Dec 2011 19:03:27 +0100] rev 8131
fix potential problems when BFSS uses a Windows SMB share (closes #2131435)
files on windows network share must be read / written by chunks of reasonable size
or you get some unusual os level errors.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:25 +0100] rev 8130
[views] (in/outof)context views now use directly dc_(long)_title() (closes #2110235)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:20 +0100] rev 8129
[table] use cell text content when cubicweb:sortvalue is not defined (closes #2093183)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 12:30:12 +0100] rev 8128
[controllers] deprecate JSonController and implement AjaxController / ajax-func registry (closes #2110265)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Dec 2011 12:09:49 +0100] rev 8127
[rql2sql] None for attributes in kwargs generate IS NULL, so should be considered in sql cache key. Closes #2116693
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:57:22 +0100] rev 8126
[tableview] cubicweb:sortvalue should not have 'json:' in its value anymore. This breaks old tables.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Dec 2011 12:14:11 +0100] rev 8125
[schema] React to yams improvement of metadata attribute handling.
* Change the way RichString is deprecated.
* Add documentation about metadata attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:44 +0100] rev 8124
stable is 3.14.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:27 +0100] rev 8123
oldstable is 3.13.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:48:00 +0100] rev 8122
Added tag cubicweb-debian-version-3.14.1-1 for changeset 6928210da4fc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:47:59 +0100] rev 8121
Added tag cubicweb-version-3.14.1 for changeset 793d2d327b3e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:33:38 +0100] rev 8120
3.14.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:32:57 +0100] rev 8119
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8118
Added tag cubicweb-debian-version-3.13.10-1 for changeset 2eab9a5a6bf8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8117
Added tag cubicweb-version-3.13.10 for changeset 2ad4e5173c73
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Dec 2011 14:30:00 +0100] rev 8116
[ajax] make navigation component appear both above and below the view (closes #2110266)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:22:23 +0100] rev 8115
3.13.10
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Dec 2011 13:17:25 +0100] rev 8114
Link to python docs about strftime instead of pointing at "man" (closes #2106415)
Not ideal, but better than pointing all users at Unix command-line tools.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:16:10 +0100] rev 8113
[test] reindent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Dec 2011 10:53:05 +0100] rev 8112
[rqlrewrite] fix comment
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 16:59:20 +0100] rev 8111
[server test] Fix tests regression from changeset 7980b36fb1aa
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 15:11:22 +0100] rev 8110
Tweak message to clarify it gets the pagination back
http://www.cubicweb.org/task/2106487
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Dec 2011 15:20:21 +0100] rev 8109
fix tests broken by lgdb update
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:43 +0100] rev 8108
[migration] Ignore IOError from readline.write_history_file (closes #2106621)
We already ignore them when reading the histfile, no reason writing it
back should be any different.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:41 +0100] rev 8107
[migration] make remove_cube('foo') not fail if foo is already removed. Closes #2106532
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Dec 2011 13:42:23 +0100] rev 8106
[cwconfig] absolute import (closes #2091068)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 13:37:40 +0100] rev 8105
[schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
When an entity type is renamed as part of a migration, it leaves stale
entries in repo._type_source_cache, which makes subsequent operations on
those entities fail (they look for the old entity name instead of the
new one).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 01 Dec 2011 12:48:46 +0100] rev 8104
[facets] forcing a fixed height to the group is a bad idea: the container will not properly overflow
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 29 Nov 2011 12:06:35 +0100] rev 8103
[views/tabs] tests absolutely want an alt attribute (even if meaningless)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 29 Nov 2011 11:18:46 +0100] rev 8102
[navigation] provide a link back from the full view to the paginated one
provide a better marker for navigation induced call detection
Closes #2103687
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 17:00:09 +0100] rev 8101
[sorted navigation] refactor code so that when an attribute is found, nb_chars may be recomputed anyway according to variable type
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:32 +0100] rev 8100
[reledit] implements entity_call instead of cell_call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:15 +0100] rev 8099
[merge] backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Nov 2011 16:57:31 +0100] rev 8098
[skel] default debian/rules use pysupport to compile python files
Drop the unused python-dev build-dependency (only necessary for binary extensions)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:58:18 +0100] rev 8097
use dbhelper functions to get default date / datetime (closes #2094544)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:26:06 +0100] rev 8096
actually a bad idea, sorry
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 23 Nov 2011 11:23:51 +0100] rev 8095
[web/views/tabs] improve non graphical experince with tabs (closes #2097405)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 14:45:13 +0100] rev 8094
[tableview] fix action menu layout (closes #2099011)
* on the left instead of the right of the table
* remove the arrow and the bullets
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 12:30:05 +0100] rev 8093
[facets] do no stretch to the right when there are many facets; instead use a floating layout (closes #2093160)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 11:46:30 +0100] rev 8092
[views/table] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:20:36 +0100] rev 8091
fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:53:14 +0100] rev 8090
added log when operation precommit fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:19:56 +0100] rev 8089
[EntityTableView] smarter header for MainEntityColRenderer: use plural form only when necessary. Closes #2093182
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:21:04 +0100] rev 8088
[tableview] enhance RelationColRenderer. Closes #2093184
* subvid should only be explicitly specified, or default when main view (vid)
is known to support it (eg 'list' / 'csv')
* new is_rtype_view boolean flag to ease usage of view based on original
entity with a relation name and role, as the 'reledit' view for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:51 +0100] rev 8087
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:32 +0100] rev 8086
[reledit] default label should be translated, I don't thing we've an opportunity to do it another way as uicfg objects are static
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:27 +0100] rev 8085
[rset] fix crash while building entity from rset w/ some subquery. Closes #2089055
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:23:14 +0100] rev 8084
[email bug report] _cw.config bw compat has been dropped, use _cw.vreg.config (+ small cleanup). Closes #2086985
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:22:18 +0100] rev 8083
[users management view] return None if no entity related, not an empty tuple. Closes #2089085
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Nov 2011 12:13:48 +0100] rev 8082
merge stable changes to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Nov 2011 23:18:56 +0100] rev 8081
[http, windows] fix remove_cookie trying to expire a cookie before the Epoch (closes: #2087998)
time.gmtime on windows will raise a ValueError if a negative argument is supplied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:13:40 +0100] rev 8080
[etype restriction component] rql 0.31 doesn't accept anymore a variable ref as add_type_restriction argument. Closes #2086983
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:12:37 +0100] rev 8079
[3.14 migration] strip constraint value to avoid extra new lines
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:19:24 +0100] rev 8078
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8077
Added tag cubicweb-debian-version-3.14.0-1 for changeset 0bfe22fceb38
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8076
Added tag cubicweb-version-3.14.0 for changeset 5c4390eb10c3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:43:01 +0100] rev 8075
[test] add some tests for rql's add_type_restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:41:12 +0100] rev 8074
add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:34:08 +0100] rev 8073
[packaging] common subpackage has been dropped
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:17:54 +0100] rev 8072
3.14
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 16:42:33 +0100] rev 8071
[js/tablesorter] work around tablesorter deficiencies (bool handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:55:25 +0100] rev 8070
[tableview] fix __init__ logic of sortfunc/sortable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 15:13:13 +0100] rev 8069
[datafeed log] properly log errors catched at the source level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:03 +0100] rev 8068
[data import log] log on the source so we properly have source name information
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 15:06:03 +0100] rev 8067
[facets] reenable facet hiding (was lost in the previous refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:41 +0100] rev 8066
[tableview] drop comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:16:53 +0100] rev 8065
[tableview] deepcopy of colrenderer was actually broken with py < 2.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:09:13 +0100] rev 8064
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:08:40 +0100] rev 8063
[html, ajax] demote_to_html don't crash anymore if force-html-content-type is activated. Closes #712309
Anthony Truchet <anthony.truchet@logilab.fr> [Fri, 04 Nov 2011 17:29:39 +0100] rev 8062
[doc] fix data hooks parent class in Hooks doc.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:56:39 +0100] rev 8061
[pylint] enhance plugin: define 'data' function in uiprops module
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 07 Nov 2011 10:55:15 +0100] rev 8060
[table] display navigation component both above and below the table
+ add the ``show_all_option`` class parameter on TableLayout
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:54:17 +0100] rev 8059
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 17:16:15 +0100] rev 8058
[table view] some new table view enhancements
* rewrite entiy table view column renderers to use default_* methods instead
of lambda so that column_renderers may be properly deep-copied
* new RelatedEntitiesColRenderer
* default addcount to false on RelatedEntityColRenderer
* more doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 14:57:41 +0100] rev 8057
[navigation] extract method from SortedNavigation.call to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:56 +0100] rev 8056
[cleanup] drop some appengine support junk
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:52 +0100] rev 8055
[table view] properly handle show/hide filter actions so we get proper action displayed even when recalled from pagination
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:35 +0100] rev 8054
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:33 +0100] rev 8053
[pagination] closes #2072029: add css class to div for "see them all" link for pagination.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:30 +0100] rev 8052
[prev/next] properly translate previous/next links' title, closes #2072158
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Nov 2011 16:01:41 +0100] rev 8051
[rql, integrity] let ValidationError and Unauthorized pass during composite deletion (closes #2070042)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 28 Oct 2011 17:54:24 +0200] rev 8050
[table view, workflow] fix the display of wf history table (closes: #2065652)
was relying on no more used 'cell' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:28:30 +0100] rev 8049
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:27:31 +0100] rev 8048
[rset] replace entity cw_rset on .limit(inplace=True) will avoid pb if the entity is still referenced by some other entity relations cache. Closes #2065643
Also, drop '_resultset' from some test names on the way (redundant information, we're
in ResultSetTC...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:44:02 +0100] rev 8047
[instance creation] properly search for sql extension in the schema directory. Closes #2068117
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:37 +0100] rev 8046
[entity table view] add count default to true on main entity column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:35 +0100] rev 8045
[table sort] should eval cubicweb:sortvalue to make it works properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:21 +0100] rev 8044
[rqlinput] cleanup (use req everywhere) and fix html validation issue (input outside fieldset)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:37:04 +0100] rev 8043
[js table sort] use lower cased tag names since HTML is case insensitive and XHTML is case sensitive and wants lower case tag names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:50 +0100] rev 8042
[old table view] drop duplicated method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:33 +0100] rev 8041
[edit controller] only display warning on specific adapters
also drop buggy @deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:31:18 +0100] rev 8040
[wysiwyg editor] disable server browsing by default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 12:07:37 +0200] rev 8039
[doc] add some documentation on url path evaulators
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:44:50 +0200] rev 8038
fix typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:26 +0200] rev 8037
[diet] move iprogress to its own cube. Closes #1916016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:25 +0200] rev 8036
[facetable views] allow extra hiddens to be specified when selecting the facets form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:24 +0200] rev 8035
[export views] uniformize titles, much nicer when listing possible views. Closes #2060944
Florent Cayré <florent.cayre@gmail.com> [Fri, 28 Oct 2011 11:31:11 +0200] rev 8034
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:34:12 +0200] rev 8033
[uihelper] fix bad variable renaming
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:32:48 +0200] rev 8032
[doc] fix most of ReST compilation errors and warnings
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 12 Oct 2011 15:56:40 +0200] rev 8031
Update documentation about resource mode.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 27 Oct 2011 18:19:00 +0200] rev 8030
[uicfg] add uihelper module with high-level helpers (closes #1809414)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:16 +0200] rev 8029
[ui lib] facet and form widget for Integer used to store binary mask. Closes #2054771
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:03 +0200] rev 8028
[tableview] .entity method is useful on EntityTableView as well, move it there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:02 +0200] rev 8027
[schema, old instance] restore some pre 3.5.10 bw compat as some old instances may still have this, and add migration so we can remove it at some point
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:59:06 +0200] rev 8026
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:58:21 +0200] rev 8025
[views/facets] backout 82d76492e21e - this was not actually needed and caused some problems ...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:12:35 +0200] rev 8024
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:11:30 +0200] rev 8023
[test, facets] fix prepare_rqlst arguments, it wasn't actually testing baserql due to name conflicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:59:15 +0200] rev 8022
[test] specify X type, as this is not infered from NOT identity with rql#default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:57:51 +0200] rev 8021
useless debugged breaks test with python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:22:19 +0200] rev 8020
[rql2sql] fix regression introduced in 8018:f01c80513274 leading to bad execution of DELETE queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:21:45 +0200] rev 8019
[test] unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 14:03:52 +0200] rev 8018
[rql] closes #2054468: support for HAVING in SET/DELETE queries
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 25 Oct 2011 14:03:32 +0200] rev 8017
[book] Some minor fixes to the CubicWeb doc (typos, invalid ReST, ...)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Oct 2011 13:51:27 +0200] rev 8016
[tableview,jsoncontroller] the json controller must check view.handle_pagination as well & the old table view also handles pagination internally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:52:24 +0200] rev 8015
[ui, pagination] when sorted in some date type, auto-set max characters (closes #2053038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 13:51:39 +0200] rev 8014
[tableview] extract two methods from render_table to ease subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:19:23 +0200] rev 8013
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Oct 2011 13:18:58 +0200] rev 8012
[deprecated] TableView: update some documentation
All parameters that can be passed through the req.form are now handled at the
beginning of the call method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:13:45 +0200] rev 8011
[column labels] full display_name prototype compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:09:05 +0200] rev 8010
[book] update copyright
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 08:55:07 +0200] rev 8009
[tableview,basetemplates,pagination] some views internally handle the pagination, in which case the base template should not try to paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:59:42 +0200] rev 8008
check entity's cwuri and remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:16:14 +0200] rev 8007
[tableview] fix bad attribute name
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 18:37:30 +0200] rev 8006
[tableview] sortvalue truncation should be somewhat configurable
Florent Cayré <florent.cayre@gmail.com> [Fri, 21 Oct 2011 18:10:50 +0200] rev 8005
fix broken tests (at least by #1800002)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 18:02:40 +0200] rev 8004
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:52:37 +0200] rev 8003
undo garbage shipped in 9a73d5e762b0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:50:56 +0200] rev 8002
[test] one more base etype...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:48:56 +0200] rev 8001
[test] limit size is now done by the layout
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:42:56 +0200] rev 8000
[facets] fix context passing + a note for later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:14:05 +0200] rev 7999
[table view] fix regression in old table view leading to malformed html
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:25:32 +0200] rev 7998
[utils] add a ``js_href`` function to generated proper javascript href
The main gain is the escaping of %
* * *
[pagination] use js_href for building javascript link (closes #2035033)
This prevent snicky error with url unquoting of javascript code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7997
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7996
[facets] view should be propagated up to facet selection, so we can get different facets according to the view. Closes #2036527
Julien Cristau <julien.cristau@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7995
Record a log of datafeed source imports (closes #2026097)
Formatting, css and js stolen from narval.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7994
[management table] upgrade sources groups management table to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7993
[management table] fix and upgrade users and groups management tables to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7992
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
See the tickets for a description of the why.
* one should now use RsetTableView instead of TableView and EntityTableView
instead of EntityAttributesTableView.
* a flexible layout object has been extracted, TableLayout
* PyVaTableView has been rewritten using the same base class / renderer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7991
[web component architecture] extract LayoutableMixIn from components
in the intend to use it in the table refactoring to come.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7990
[diet] drop pre 3.6 API compatibility (but attempt to keep data cmopatibility). Closes #2017916
notice drop of the .paginable property necessary for 'paginable' affectation as done in the
forthcoming table views refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:18 +0200] rev 7989
[test] restore support for python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:45 +0200] rev 7988
[forms] update code broken by linkto refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:26 +0200] rev 7987
[rdf] drop buggy (name error) try/except (done using related(safe=True))
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:36:30 +0200] rev 7986
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:04 +0200] rev 7985
Added tag cubicweb-debian-version-3.13.9-1 for changeset 0a3cb5e60d57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:03 +0200] rev 7984
Added tag cubicweb-version-3.13.9 for changeset 07afe32945aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:03:54 +0200] rev 7983
3.13.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 10:59:57 +0200] rev 7982
[selectors] EClassSelector (eg is_instance & all) should check for None value (possible w/ outer join) when a row is specified. Closes #2033165
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:51 +0200] rev 7981
[test] fix failure introduced by localperms cube introduction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:48 +0200] rev 7980
[test] fix failures introduced by 7951:b7c825b00f64
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:29 +0200] rev 7979
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7978
[test] fix datafeed test, we have to use an internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7977
[test] drop some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7976
[ibreadcrumbs] missing xml_escape on latest path part (usually view's title). Closes #2037506
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7975
[test] fix test failure caused by 7922:d307c3817782
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7974
[test] fix regression introduced in 7915:a7f3245e1728 leading to test's postcreate not being executed anymore
Florent Cayré <florent.cayre@gmail.com> [Thu, 20 Oct 2011 16:03:51 +0200] rev 7973
[entity] restrict creation form field vocabulary using __linkto information (closes #1799997)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:22:48 +0200] rev 7972
Add generated documentation to .hgignore.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Oct 2011 14:22:16 +0200] rev 7971
[uilib] add missing printer for integers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:20:46 +0200] rev 7970
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:17:52 +0200] rev 7969
[rset] don't only consider a sample select node / solution to compute rset description. Closes #2036499
those particular ones may miss information that we may found in another select or solution
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2011 17:08:05 +0200] rev 7968
[rset] use .iteritems() instead of items()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:50 +0200] rev 7967
merge back stable change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:12 +0200] rev 7966
remove stale debugging statement
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 29 Sep 2011 16:44:55 +0200] rev 7965
[server] fix integrity checks that destroy data (closes #1972842)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 19:27:54 +0200] rev 7964
[entity related rql] 'is' relation target constant should have 'etype' type, not String
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 15:08:25 +0200] rev 7963
[entity] fix dumb name error introduced by 3.14 entity refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 16:42:10 +0200] rev 7962
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 15:19:25 +0200] rev 7961
[js] missing trailing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:42:00 +0200] rev 7960
[test] map pgettext to unicode as _
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:41:44 +0200] rev 7959
[table view] fix bug introduced in 7938:80c6e2155c3d leading to not translated table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:51:54 +0200] rev 7958
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:50:46 +0200] rev 7957
[test] fix some failures recently introduced
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:36:39 +0200] rev 7956
add missing imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 10:34:08 +0200] rev 7955
[selectors] match_kwargs and match_form_params selectors both accept a new `once_is_enough` argument (closes #1990438)
also fix docstring of match_exception and references to selectors in the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Oct 2011 10:33:31 +0200] rev 7954
[cache] replace lgc.cache with something more appropriate (closes #1921713)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 09:21:45 +0200] rev 7953
merge and fix cubicwebSortValueExtraction pb which disappeared when tablesorter.js has been updated
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Oct 2011 09:04:39 +0200] rev 7952
[table] use explicit add_onload() to setup table sorting (closes #2013493)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:51:24 +0200] rev 7951
[schema display] display_name shouldn't call .lower(). Note the only proper way is to have different msgid for upper/lower cases. Closes #1105433
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:50:09 +0200] rev 7950
[ms repository] when an exception is raised during extid2eid and no rollback is done, some manual cleanups have to be done (closes #1993420)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:49:58 +0200] rev 7949
[facets] on the way to vidargs removal
our roving on the table view, which leads to introduction of this feature,
proved it was not the way to go.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 13 Oct 2011 11:49:19 +0200] rev 7948
[migraction] fix cmd_change_attribute_type command (closes #2015073)
use dbhelper to avoid issuing unsupported SQL
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2011 10:24:27 +0200] rev 7947
[action] has_editable_relation first argument is once_is_enough flag, not an action name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:52 +0200] rev 7946
[table] Only apply sorting event on the first row of a table header (closes #1988780)
We use the new selectorHeaders from table-sorter 2.0.5
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Oct 2011 18:30:29 +0200] rev 7945
[table js] Update jquery-tablesorter to 2.0.5 (closes #1989018)
The cubicweb specific code is moved to the table view.
This version add a new useful option for #1988780
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Oct 2011 09:44:14 +0200] rev 7944
init_facets: Add documentation
init_facets is not included in the default sphinx documentation but this
docstring should help people digging into cubicweb core. This could go in an
Advanced developer section of the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Oct 2011 09:25:26 +0200] rev 7943
[facets] try to get rid of arbitrary constants, be prettier and eat less space (closes #1988706)
Florent Cayré <florent.cayre@gmail.com> [Thu, 13 Oct 2011 09:15:16 +0200] rev 7942
[edit controller] add form to pre_web_edit signature to ease linkto usage (used by vcsfile cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:22 +0200] rev 7941
pylint extension
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:15 +0200] rev 7940
[printers] fix bug introduced by final view refactoring:   shouldn't be escaped.
Also remove some msgids which should have been removed during this refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 16:01:44 +0200] rev 7939
Add a hidden input:submit field in facets form (closes #1988784)
<Enter> is supposed to submit the form only if there is a single
input:text field. However most browsers will submit the form
on <Enter> anyway if there is an input:submit field.
see: http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2
Firefox 7.0.1 does not submit form on <Enter> if there is more than a
input:text field and not input:submit but does it if there is an
input:submit.
IE 6 or Firefox 2 behave the same way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:18:14 +0200] rev 7938
AnyRsetView: Refactor the columns_name method and update doc.
We drop the 'label_column_%s' % colidx pattern and add a clean column_label
method that might be overwritten by children class to alter the way default
columns headers are computed.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:06 +0200] rev 7937
[facets] FacetFilterMixIn: add documention for class and generate_form
There is also a small refactoring to make the code clearer. An intermediate
variable is introduced and the call is reindented to make it clearer. No logic
change.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 14:04:18 +0200] rev 7936
[facet] Add infered type restriction to Filtered result set (closes #1988776)
This does not alter the result while allowing more selection option on other
variable than the filtered one.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 14:28:48 +0200] rev 7935
[source] remove uicfg rule for dropped synchronizing attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:55:58 +0200] rev 7934
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:54:17 +0200] rev 7933
[datafeed] remove remaining uses of 'synchronizing' attribute replaced by 'in_synchronization' in 3.13.8. Closes #1989131
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:50:32 +0200] rev 7932
[datafeed parser] only update an entity attributes when needed. Closes #1989142
This may avoid error with some entities which have immutable attributes
and don't check something actually changed.
Also, avoid modifying the cached item representation, this may cause pb
when an item is seen several times during an import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 11:00:24 +0200] rev 7931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 10:59:35 +0200] rev 7930
[schema] drop erroneous default on CWSource.in_synchronization. Closes #1990585
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Oct 2011 16:15:55 +0200] rev 7929
[forms] fix bug in linkto refactoring (misordered arguments)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:29:14 +0200] rev 7928
[migration] update old yams api in change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:18:10 +0200] rev 7927
[schema] add missing import (trigger warning)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7926
Added tag cubicweb-debian-version-3.13.8-1 for changeset 43f83f5d0a4d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7925
Added tag cubicweb-version-3.13.8 for changeset 249bd4169339
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:21:04 +0200] rev 7924
3.13.8
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 07 Oct 2011 15:55:49 +0200] rev 7923
[facets] use encodeURIComponent instead of escape to encode url paremters (closes #1984727)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:15 +0200] rev 7922
[repository] use utcnow instead of now for some internal timetamps (closes #1988458)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:14 +0200] rev 7921
[datafeed] add max-lifetime for concurrent synchronization lock (closes #1908676)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:59:20 +0200] rev 7920
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:56:04 +0200] rev 7919
[view, plot] deprecate flot and encourage usage of the jqplot cube (closes #1625218)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 18:23:01 +0200] rev 7918
remove 3.14 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:42 +0200] rev 7917
sample script to turn a pyro source into a datafeed source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:09 +0200] rev 7916
[datafeed parser] properly recurse on nodes to follow all mapped relations (closes #1988432)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:15:16 +0200] rev 7915
[migration] expose migration methods to execute schema/*.sql and migration/<event>.py files (closes #1986498)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7914
[request, ui] printable_value is now a method of request, and may be given dict of formatters to use (closes #1984743)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7913
[web, formatting] move Interval data type display logic from final view to printable_value (closes #1984742)
also, fix implementation so that negative time delta are properly considered
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 06 Oct 2011 10:13:24 +0200] rev 7912
[js] Remove tab mixed with space in ``web/data/cubicweb.facets.js``
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 10:09:42 +0200] rev 7911
[xml/rdf views] handle case where the user hasn't read access to a relation (closes #1984598)
The view shouldn't crash in such case.
Also refactor xmlrelateditem view and its call on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 18:45:38 +0200] rev 7910
[datafeed] don't crash if url is not specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:59:12 +0200] rev 7909
[web session] ProgrammingError may be raised, we should catch it (closes #1980076)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:58:57 +0200] rev 7908
[web auth] closes #1981680: authentication info retriever should be given a chance to cleanup data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 12:23:52 +0200] rev 7907
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:10:28 +0200] rev 7906
repaire cctl db-init -d on sqlserver (closes #1979670)
requires an updated yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:29:56 +0200] rev 7905
[test, sqlserver] update test for fixed impl. of date extraction function for sqlserver (lgdb 1.7)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:18:35 +0200] rev 7904
[rql, sql] support for weekday function introduced in lgdp 1.7 (closes #1979717)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:46 +0200] rev 7903
[pyviews] new colheaders and cssclass arguments on pyvaltable (closes #1979718)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:45 +0200] rev 7902
[rql2sql] support for outer join on column alias (closes #1979645)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:21:05 +0200] rev 7901
[linkto] update documentation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:08:00 +0200] rev 7900
improve EntityAttributesTableView perfs by adding a call to complete()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:05:57 +0200] rev 7899
fix typo in comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:16:29 +0200] rev 7898
[ms, test] fix source deletion pb, detected by test since 7885:9454b7ef5ae4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:15:40 +0200] rev 7897
[book] startup views: add a note about *manage* view
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 09 Aug 2011 09:43:26 +0200] rev 7896
[lint] remove uses of "print >> sys.stderr" (closes #1908571)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 15:28:41 +0200] rev 7895
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:47:04 +0200] rev 7894
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:46:41 +0200] rev 7893
[js] add proper excanvas.js (patched version provided with jqplot, but with proper copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:39 +0200] rev 7892
Added tag cubicweb-debian-version-3.13.7-1 for changeset 2f93ce32febe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:38 +0200] rev 7891
Added tag cubicweb-version-3.13.7 for changeset 68e8c81fa96d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:09:34 +0200] rev 7890
3.13.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:07:37 +0200] rev 7889
[linkto] test for main form should be done in the link_to dictionary computation, else we may get erroneous values for sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:45 +0200] rev 7888
[req] .view should not catch [Object|Registry]NotFound (which is a bug), only NoSelectableObject (closes #1973681)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:42 +0200] rev 7887
[repository] when deleting relations of a deleted external entity, we should skip non-crossable relation (closes #1973680)
elses this may lead to things as described in the ticket...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 13:53:34 +0200] rev 7886
[ms planning] raise BadRQLQuery when two variables related by a non-crossable relation should come from two different sources (closes #1973767)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:28 +0200] rev 7885
[ms, test] propagate exception in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:20 +0200] rev 7884
[repo] cleanup [_]delete_info prototype: extid argument isn't used
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 27 Sep 2011 09:26:40 +0200] rev 7883
[views] fix docstring of tableview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 14:33:43 +0200] rev 7882
remove remaining junk from bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 11:17:49 +0200] rev 7881
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 10:36:41 +0200] rev 7880
[sync schema hooks] pylint fixes have broken hasattr test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 09:27:42 +0200] rev 7879
[pylint] fix pylint detected errors and tweak it so that pylint -E will be much less verbose next time (+ update some copyrights on the way)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 09:01:17 +0200] rev 7878
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 08:16:10 +0200] rev 7877
[json] restore 2.5 compat
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 27 Sep 2011 18:47:11 +0200] rev 7876
[views] implement json / jsonp export views (closes #1942658)
Json export views are based on the same model as CSV export views.
There are two distinct views :
- *jsonexport* : direct conversion of the result set into json
- *ejsonexport* : convert entities into json
The JSONP parameter is named ``callback`` (same as on geonames, dbepdia
and a lot of sites)
An optional `_indent` request parameter can be passed to pretty print
the results.
Florent Cayré <florent.cayre@gmail.com> [Tue, 27 Sep 2011 18:46:36 +0200] rev 7875
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 Sep 2011 16:04:30 +0200] rev 7874
[facet] add safety belt to rql path facet init (closes #1965481)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Sep 2011 14:57:41 +0200] rev 7873
[cleanup] kill broken livetest module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Sep 2011 08:17:56 +0200] rev 7872
[req cookie] fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:46:04 +0200] rev 7871
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:45:51 +0200] rev 7870
[test] unicode name/value in cookie makes tests failing (SimpleCookie then suppose it's a dict...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:35:44 +0200] rev 7869
fix bad merge (unsaved buffers...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:24:08 +0200] rev 7868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:09:12 +0200] rev 7867
fix merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:08:44 +0200] rev 7866
Added tag cubicweb-debian-version-3.13.6-1 for changeset 8a8949ca5351
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 19:08:43 +0200] rev 7865
Added tag cubicweb-version-3.13.6 for changeset 17c007ad845a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:38:38 +0200] rev 7864
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:37:23 +0200] rev 7863
Added tag cubicweb-debian-version-3.12.10-1 for changeset 9dfd21fa0a8b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:37:23 +0200] rev 7862
Added tag cubicweb-version-3.12.10 for changeset 074c848a3712
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:36:09 +0200] rev 7861
3.13.6
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Sep 2011 18:25:22 +0200] rev 7860
[web/facet] fix example selector in docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 18:03:38 +0200] rev 7859
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 17:48:48 +0200] rev 7858
[web request] fix stupid error that gone through the review
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 17:23:01 +0200] rev 7857
3.12.10
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 07 Jun 2011 11:42:08 +0200] rev 7856
[skeleton] fix new class configuration in realdbtest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:16:29 +0200] rev 7855
[web request] fix cookie 'expires' formating (closes #1953945)
This was because cookie.expires wasn't processed in cw.etwist.http,
though this code should had never existed, instead proper twisted
method should be called.
Also, move on the way to headers handling simplification and rewrite
cw request.set_cookie / remove_cookie to directly use the Cookie class
in cw.web.http_headers rather than going back and forth
simple cookie <-> raw string <-> http_headers.Cookie
IMO more on this should be done.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:17:12 +0200] rev 7854
[web] properly redirect when user login on loggedout view (closes #1954050)
This avoid getting a "you've no access to this view" message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:54 +0200] rev 7853
[i18n] update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:44 +0200] rev 7852
[schema, cleanup] one more case for add_etype_button
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Sep 2011 09:31:09 +0200] rev 7851
[i18n, facet] missing registration of <no relation> msgid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 15:41:21 +0200] rev 7850
[test] sort to avoid random failure due to dict order
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Sep 2011 15:05:09 +0200] rev 7849
[facets] fix height computation (incorporates and/or element if present, use css value to compute likely maximum height, kill wdg_stack_size) (closes #1954077)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:56:31 +0200] rev 7848
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:56:13 +0200] rev 7847
[primary view] add 'verbatim' attribute view (closes #1947475)
this patch has been applied to default accidentaly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:43:44 +0200] rev 7846
[primary view] add 'verbatim' attribute view (closes #1947475)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 14:18:13 +0200] rev 7845
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:40:50 +0200] rev 7844
[doc] split API/book part of stuff that has been moved in primary view module docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 12:23:09 +0200] rev 7843
[rqlrewrite] if inlined relation has to be moved to a subquery, take care of the object of the relation (closes #1945725)
As the object of the relation is moved to the subquery, all variables/relations representing
some of its attributes or inlined relations should be moved there as well.
This avoid error such as "BadRQLQuery: variable AF should be selected by the subquery"
on security insertion.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Sep 2011 10:42:16 +0200] rev 7842
[views/facets] simple horizontal layout when there are a few facets only (closes #1921709)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 09:17:37 +0200] rev 7841
[breadcrumbs] keep proper breadcrumbs when creating an entity linked to another by inspecting __linkto (closes #1947476)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2011 09:10:58 +0200] rev 7840
[web test] secondary view isn't listed anymore by possible view since it use the class_deprecated metaclass
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 22 Sep 2011 17:29:40 +0200] rev 7839
ensure the test for asource column won't crash on SQLServer (closes #1949621)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:13:58 +0200] rev 7838
[doc] backport primary view documentation into the code, also document [URL]AttributeView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:39 +0200] rev 7837
[primary sub views] use entity_call instead of cell_call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:36 +0200] rev 7836
[doc] get back baseviews documentation into the code, enhance it and reorganize the module accordingly
also properly deprecates SecondaryView as it should have been done a while ago.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 19:02:29 +0200] rev 7835
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:52 +0200] rev 7834
[reledit] honore 'rvid' for attribute relations (closes #1947471)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:41 +0200] rev 7833
[view] fix TypeError when calling req.view('vid', entity=entity) (closes #1947474)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 17:20:38 +0200] rev 7832
[sources management] nicer source management view and breadcrumbs (closes #1946329)
* nice 'add host config button'
* table displaying host configuration
* display a source's config using <pre> or something like that that respects EOL
* configure breadcrumbs for CWSourceSchemaConfig and CWSourceHostConfig
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 16:53:46 +0200] rev 7831
[cubicweb.js] log evalJSON errors (closes #1947473)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 16:53:43 +0200] rev 7830
[views/table] parametrize table view co-classes (closes #1947472)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:33 +0200] rev 7829
[cwproperties] refactor properties form to make it partly overrideable easily (closes #1936782)
also fix some pitfalls on the way:
* shouldn't capitalize labels, this has to be done in translation files as desired
* form_row in CWProperties form didn't return subform as its parent class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:28 +0200] rev 7828
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 16:12:23 +0200] rev 7827
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
of rql generation parts of the ORM now based on rql syntax tree. This allows more powerful and
flexible sort control by giving them the syntax tree instead of manipulating string.
Also:
* prefix new methods by 'cw_'
* fix cases that currently crash in 3.14 due to the refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 15:55:58 +0200] rev 7826
[schema] drop CWSourceSchemaConfig[cw_for_source,cw_schema] unique constraint (closes #1946277)
as they are not necessarily unique, eg when one want a configuration for both
subject and object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 15:54:57 +0200] rev 7825
[cleanup]
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 22 Sep 2011 10:04:20 +0200] rev 7824
[jsoncontroller] deprecate the now unused js_set_cookie (closes #1944810)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 10:02:25 +0200] rev 7823
[repo] ensure we don't restart a task while the repo is shutting down (closes #1942736)
we need a safety belt in cw itself again looping task which use 'try / except'
or doesn't need to access the db (which will trigger ShuttingDown exception)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Sep 2011 10:02:17 +0200] rev 7822
[warnings] explicitly ask to show DeprecationWarning in debug mode (closes #1942760)
as python 2.7 don't show DeprecationWarning by default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 22 Sep 2011 09:56:20 +0200] rev 7821
[testlib] make self.view() return raw output if no validator is used
This will make it possible to parse and test view's output even if no
validator is associated to the view's content type.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 21 Sep 2011 19:04:33 +0200] rev 7820
[tabs] do not use an ajax call to set cookie value, use jquery.cookie helper instead (closes #1944522)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 21 Sep 2011 19:00:49 +0200] rev 7819
[tabs] fix clic on tab that does nothing (closes #1942750)
(there was an area around the text that would trigger the tab switch but not load the tab content)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 18:35:45 +0200] rev 7818
[idownloadable] dtw and up copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 18:35:39 +0200] rev 7817
[test] fix test broken by 7815:2a164a9cf81c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 17:38:44 +0200] rev 7816
[entity doc] fix typo (rest_var instead of rest_attr) and cleanup doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Sep 2011 17:38:00 +0200] rev 7815
[exceptions] stop catching any exception in various places (closes #1942716)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 15:14:04 +0200] rev 7814
[tableview] fix view selection when value is None (closes #1936781)
* in case of None on final view, use explicitly asked view anyway
* when etype is None, that means it's a non final entity type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 15:13:42 +0200] rev 7813
[book] merge pyro chapter with faq entry with connexion snippet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 09:20:41 +0200] rev 7812
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Sep 2011 09:20:17 +0200] rev 7811
[schema view] fix label/name inversion leading to wrong css class / group url depending on user's language
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 19:13:50 +0200] rev 7810
[i18n] tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 14:22:51 +0200] rev 7809
[i18n] cleanup messages moved to localperms cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Sep 2011 14:22:28 +0200] rev 7808
[security view] slight changes to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 17:30:26 +0200] rev 7807
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 16:42:42 +0200] rev 7806
[refactoring] introduce add_etype_button function to properly create button to add a new entity
also properly use cw_create_url to generate the URL to add the entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 17:10:33 +0200] rev 7805
[user prefs] use same title as the action for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 14:43:41 +0200] rev 7804
[sources management] properly set __linkto, closes #1922970
when clicking on 'add mapping part' on an external source view, one expect to have source properly selected in form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 14:01:17 +0200] rev 7803
some minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 13:56:00 +0200] rev 7802
[web test] fix test broken by new users/groups management views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:28 +0200] rev 7801
[table view] allow to set None in 'headers', meaning the label should be fetched from the result set as done by default (closes #1931533)
the point of this is to avoid having to define the whole headers list when only
some of them have to be defined.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:26 +0200] rev 7800
[user management] users and groups management now really lead to that (closes #1931478)
ie, one tab for users, another for groups. By default the groups tab
simply list existing groups (with the number of users they count), and
propose to create a new group.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Sep 2011 12:48:02 +0200] rev 7799
[css] use h* title properties from uiprops in cubicweb.old.css (closes #1931476)
+ minor cleanup of cubicweb.css
Florent Cayré <florent.cayre@gmail.com> [Fri, 16 Sep 2011 10:36:46 +0200] rev 7798
[entity fetchattrs] also fetch ambiguous rtypes even if we do not recurse on them (closes #1720823)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 18:39:55 +0200] rev 7797
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 17:36:58 +0200] rev 7796
[jquery] upgrade to jquery 1.6.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Sep 2011 17:03:37 +0200] rev 7795
[test] fix some tests broken since localperms cube extraction
Florent Cayré <florent.cayre@gmail.com> [Thu, 15 Sep 2011 16:40:52 +0200] rev 7794
refactor entity fetch_rql method to use a RQL syntax tree instead of RQL strings ; closes #1585650
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 15 Sep 2011 08:34:31 +0200] rev 7793
[doc] add some documentation in cubicweb.web.action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:55:51 +0200] rev 7792
[test] fix bad sed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:11:50 +0200] rev 7791
[deprecation] fix unittest pending deprecation warnings on failIf/failUnless methods family
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Sep 2011 09:10:58 +0200] rev 7790
[test] fix test subsquently to localperms introduction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 18:24:35 +0200] rev 7789
[deprecation] specify name/doc to deprecated else it's fetched from the object, which has then to be importable. Cleanup debian/control dependancy on the way (needs lgc 0.56.3 api)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Sep 2011 17:50:03 +0200] rev 7788
[debian] fix init script dependencies (closes #1921729)
Facility names starting with $ are reserved system facilities. Other
scripts can be referred to using the facility name listed in Provides
directly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 17:42:22 +0200] rev 7787
[server] portable dump format supports now ZIP64 extensions by default (closes #1912535)
ZIP files can use the ZIP64 extensions when the zipfile is larger than 2 GB.
zipfile will raise an exception when the ZIP file would require ZIP64 extensions.
Note: ZIP64 extensions are disabled by default in stdlib because the default
zip and unzip commands on Unix (the InfoZIP utilities) don’t support these
extensions.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 13 Sep 2011 17:35:14 +0200] rev 7786
[repo] use smarter query to check asource presence on startup (closes #1922099)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:41:36 +0200] rev 7785
[js] closes #1558870 : update to jquery 1.6 (1.6.3)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:41:11 +0200] rev 7784
[cubification] moved CWPermission handling into a localperms cube. closes #1914011
keeping bw compat provided the cube is available (else user should be warned
he has to install it).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:31 +0200] rev 7783
backout 7781:e95cfd5eca61
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:06 +0200] rev 7782
backout 7780:a1d5365fefc1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:54:00 +0200] rev 7781
[js] closes #1558870 : update to jquery 1.6 (1.6.3)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:48:24 +0200] rev 7780
[cubification] moved CWPermission handling into a localperms cube. closes #1914011
keeping bw compat provided the cube is available (else user should be warned
he has to install it).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:41:53 +0200] rev 7779
[debug] use repr() in some place where you'll have a chance to get an unicode error if output encoding isn't properly detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 17:24:14 +0200] rev 7778
[i18n fr] fix typo and enhance translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 12:00:31 +0200] rev 7777
[user management] disable http cache on user management view (not really a startup view)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:09:36 +0200] rev 7776
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:50 +0200] rev 7775
Added tag cubicweb-debian-version-3.13.5-1 for changeset 2e9dd7d94555
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:49 +0200] rev 7774
Added tag cubicweb-version-3.13.5 for changeset 20d9c550c57e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:53:21 +0200] rev 7773
3.13.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:52:55 +0200] rev 7772
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:35:45 +0200] rev 7771
[multi-sources] closes #1918120: drop behaviour leading to wrong result as demonstrated by the ticket
The formerly implemented behaviour doesn't seems to be useful,
nor to have a chance to be correct. At least no test case demonstrate
the opposite, so I've dropped it.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 08 Sep 2011 10:54:25 +0200] rev 7770
[session] enforce coherency of login/passwd couple values when no anonymous user (closes: #1910849)
None may be returned for both if anonymous connection is not
allowed or if an empty login is used in configuration
Raise ConfigurationError is anonymous login is non-ascii (convention)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 17:50:09 +0200] rev 7769
[session] take care of non-ascii characters in login and session id (closes: #1910849)
We ensure a valid <str> conversion of the session id by using unormalize() at initialization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Sep 2011 17:01:32 +0200] rev 7768
closes #1914824: fix retrieval of _andor input, test and fix generated rql
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 11:37:41 +0200] rev 7767
[debian] build the book with no auto-compression of book files (closes: #1906581)
Book content paths (html and rest) are now excluded from Debian compression step.
This will fix a documentation search issue on the website (doc.cubicweb.org)
Documentation build is now made optional since it can break for old distributions
and we don't want to block a new release of Cubicweb because of documentation issues.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 07 Sep 2011 16:56:27 +0200] rev 7766
[views/navigation] use the proper icons instead of ascii art (closes #1624943)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 06 Sep 2011 15:29:05 +0200] rev 7765
devtools: Fix cleanup of temporary database (closes #1908656)
The stored database path for clean up was not absolute.
We now make the ``db-name`` absolute at database manade initialization. before
storing the name for cleanup.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 Sep 2011 15:16:06 +0200] rev 7764
Drop privileges properly (closes #1910561)
Use new function from logilab.common.daemon to switch to non-privileged
uid and gid.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 15:11:35 +0200] rev 7763
drop unittest deprecation warning
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 06 Sep 2011 12:20:11 +0200] rev 7762
[web] add option to make resources-concat optional (implements #1910615)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:20:09 +0200] rev 7761
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:10:02 +0200] rev 7760
oops, forgotten to qref enhancements made to the reledit doc addition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:01:27 +0200] rev 7759
[book] section about how to disable reledit feature/view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:24 +0200] rev 7758
[skel] drop unused import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:21 +0200] rev 7757
[hooks control] test and fix session.reset_hooks_mode_categories, closes #1908680
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Sep 2011 16:48:37 +0200] rev 7756
[form fields doc] explain when field.role should be None
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:28:32 +0200] rev 7755
Added tag cubicweb-version-3.10.x for changeset a62f24e1497e
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:27:09 +0200] rev 7754
merged back oldstable fix to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:14:37 +0200] rev 7753
work around cursor.rowcount not returning anything useful before 1st fetch with mssql (closes #1910869)
use select count(*) from table to get the number of rows
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 14:25:06 +0200] rev 7752
[devctl] do not crash in the (rare, odd) case where mod.__file__ is None (closes #1908664)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 10:53:23 +0200] rev 7751
[doc/book] fix ref to trustedauth cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 15:06:02 +0200] rev 7750
site schema should be named data model schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:23:55 +0200] rev 7749
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:56 +0200] rev 7748
Added tag cubicweb-debian-version-3.13.4-1 for changeset 52f26475d764
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:54 +0200] rev 7747
Added tag cubicweb-version-3.13.4 for changeset 223ecf0620b6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:22:19 +0200] rev 7746
3.13.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:20:44 +0200] rev 7745
[.po generation] closes #1902315: c i18ncube doesn't consider relation definition description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 10:29:19 +0200] rev 7744
closes #1901436: view/modify action in table don't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:27:53 +0200] rev 7743
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:19:56 +0200] rev 7742
[web test] fix test needed after change of primary_email definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:35:56 +0200] rev 7741
[doc] fix ReST in README file (make pypi happier)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:22:26 +0200] rev 7740
[web] fix user management view selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 14:30:30 +0200] rev 7739
[base schema] do similar changes as use_email for primary_email
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:58 +0200] rev 7738
[book, rql] update rql langage chapter with new operators and outer join capabilities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:57 +0200] rev 7737
[web] closes #1892494: emailaddress and anonymity
notice though mangle-address is weak since address won't be
mangled when fetched through rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:55 +0200] rev 7736
[3.13 migration] closes #1896724: some db backend (eg sqlserver) doesn't support ADD COLUMN
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:49 +0200] rev 7735
[source] update system table and internal structures on source renaming. Closes #1896721
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:48 +0200] rev 7734
[rql2sql] closes #1892473: enhance handling of optional inlined relation
* some outer join aren't supported while they could
* consider newly available 'optcomparisons' st information on variables (rql 0.30)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 03 Aug 2011 13:28:06 +0200] rev 7733
[schema] use definition for `use_email` relation instead of type declaration (closes: #1894929)
This will be more adaptable for other existent `use_relastion` as the one in the cube Person.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Aug 2011 12:11:36 +0200] rev 7732
[web] rql directive breaks if explicit vid and empty rset (closes #1893433)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Aug 2011 18:16:02 +0200] rev 7731
[datafeed] properly encode/decode external uri
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:37:55 +0200] rev 7730
[querier] we should not insert None but skip the line when some unknown eid is detected (closes #1892491)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:06 +0200] rev 7729
[rql2sql] closes #1892471: support for unary expression introduced in rql 0.30
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:04 +0200] rev 7728
[deprecation] __message hidden generate deprecation warning
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 10:39:10 +0200] rev 7727
[server] host mapping is better named url mapping (closes #1892461)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 15:52:42 +0200] rev 7726
[packaging] should depend on yams 0.33
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 12:15:17 +0200] rev 7725
[packaging] should depend on yams 0.33
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 18:43:10 +0200] rev 7724
[rql2sql test] sqlserver use 0/1 for booleans, not FALSE/TRUE
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Aug 2011 17:59:48 +0200] rev 7723
[repo] Stop setting hashmode on schema
At best it was a no-op, at worst it created race conditions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 17:58:28 +0200] rev 7722
[devtool] Make the sqlite database used for test execution process specific (closes #1230401)
* Database cache are not impacted.
* This allow multiple process to run test with the same template at the same time
The db-name property return an unaltered value to for database cache mechanism.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:17:45 +0200] rev 7721
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:44 +0200] rev 7720
Added tag cubicweb-debian-version-3.13.3-1 for changeset fb48c55cb802
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:43 +0200] rev 7719
Added tag cubicweb-version-3.13.3 for changeset 0e82e7e5a34f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:42 +0200] rev 7718
[rql2sql] take care to boolean_value returning an int (eg sqlite/mysql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:23 +0200] rev 7717
[repo test] remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:09 +0200] rev 7716
[repo ms] commit/rollback session if it has been created in the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:06:25 +0200] rev 7715
3.13.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:05:58 +0200] rev 7714
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 18:08:39 +0200] rev 7713
[sql] more test and fix boolean handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 16:44:02 +0200] rev 7712
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Jul 2011 16:43:07 +0200] rev 7711
[repo test] Fix test broken by BFSSTestable
changeset bd56a29acaa8 broke several fragile test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 15:42:02 +0200] rev 7710
[sql] fix querying of boolean value w/ sqlite
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:26:13 +0200] rev 7709
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:24:40 +0200] rev 7708
[datafeed] for datafeed source, we don't want commit in extid2eid but explicitly handled by the source. Also, we should use 'safe' internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:22:32 +0200] rev 7707
[sql gen] handle optional on comparison node (eg HAVING expression) and on rhs of final relation. Closes #1859609
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:17:47 +0200] rev 7706
[session] safe internal sessions don't deactivate integrity hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:03:09 +0200] rev 7705
[sql test] lgdb > 1.6 use int for bool with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 12:26:57 +0200] rev 7704
[rql2sql] don't introduce substitution for Int and Boolean constants. This is needed for COUNT(DISTINCT) support
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 27 Jul 2011 12:25:48 +0200] rev 7703
[css] syntax fix in cubicweb.css
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 19:34:43 +0200] rev 7702
[entities] skip_copy_for should be considered for object relations too (closes #1857474)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:06 +0200] rev 7701
[datafeed] case insensitive etype. Closes #1877014
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:02 +0200] rev 7700
[datafeed] closes #1875322: empty tag means None value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:49:10 +0200] rev 7699
[datafeed] properly take care to cwsource=system in imported xml. Closes #1877017
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:35:10 +0200] rev 7698
[datafeed / fti] rather control a 'complete' parameter than setting empty attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:34:42 +0200] rev 7697
[repo api] deprecates source.extid2eid, only the system source should implement it,
and one should directly use the repo api instead of this confusing and
error-prone short-cut. Deprecates eid2ext as well for consistency.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:52 +0200] rev 7696
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:43 +0200] rev 7695
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Jul 2011 16:33:06 +0200] rev 7694
[bfss] Fix update of BFSS attribute to None (close #1875289)
The current code assume attr value is alway a valide Binary value. But when the
attr is optional, the value might be None. The change handle this case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 26 Jul 2011 16:05:36 +0200] rev 7693
[skeleton/pytestconf] provide an acceptable solution for windows, closes #1875488
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 13:11:37 +0200] rev 7692
[facets] make sure has_text facet data is posted correctly (closes #1857405)
Posted data was associated to facet id (e.g. has-text-123098dasdf898adssdd)
rather than facet name (i.e. has-text).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:25:10 +0200] rev 7691
[rql] fix min/max args definition of [TEXT_]LIMIT_SIZE registered procedures (long outstanding bug discovered after recent fix in lgdb)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:21:26 +0200] rev 7690
[schema] rephrase relation definition since constraint doesn't apply to CWRelation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:01:17 +0200] rev 7689
[datafeed] closes #1873616 (user's url corruption when etype is not recognized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 10:33:26 +0200] rev 7688
[schema] restrict source mapping 'cw_schema' relation to non final relation, we currently have no use for attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:58:05 +0200] rev 7687
[c-c db-check] add some sql queries to fix cw_source/is/is_instance relations according to data in the entities table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:41:17 +0200] rev 7686
[c-c db-check] missing comma ending print statement to get expected output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:38 +0200] rev 7685
[c-c db-check] disable write security as well so we can delete stuff when needed (e.g. orphan TrInfo)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:03 +0200] rev 7684
[c-c db-check] having no owner is allowed, don't try to fix that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:21:14 +0200] rev 7683
[metadata, ldap] make backport of ldap user actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:20:45 +0200] rev 7682
[c-c db-check] drop some deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:16:32 +0200] rev 7681
[index page] use 'New xxx' generated labels, 'add a xxx' labels are only generated according to inlined form configuration and with an associated context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:15:24 +0200] rev 7680
[doc packaging] prune _sources containing generated text file, include js else search doesn't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 08:41:12 +0200] rev 7679
[boxes] 3.13.2 regression: should specify dom id else we may generate bad xhtml
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jul 2011 07:54:04 +0200] rev 7678
[facets] fix missing 'warnings' import and missing self reference on 'filtered_variable'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:22:41 +0200] rev 7677
stable is now 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:21:47 +0200] rev 7676
oldstable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:37 +0200] rev 7675
Added tag cubicweb-debian-version-3.13.2-1 for changeset 9ad5411199e0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:35 +0200] rev 7674
Added tag cubicweb-version-3.13.2 for changeset f9227b9d6183
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:16:28 +0200] rev 7673
3.13.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:03 +0200] rev 7672
[rql2sql] closes #1832859: fake HAVING terms w/ EXISTS terms
there are cases where we want to use the HAVING trick on terms that should
belong to an EXISTS subquery. Currently , this causes bad sql. We should fix
that until we've a proper rql grammar avoiding the need for this trick.
Notice at some point, we may want **actuall** HAVING clauses and GROUPBY used
in EXISTS subquery, but that's another story.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:02 +0200] rev 7671
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:09:42 +0200] rev 7670
[boxes] closes #1832844: translate views category in possible views boxes
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Jul 2011 12:31:03 +0200] rev 7669
[cwctl] set min/max args for reset admin password command. Closes #1832986
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 18 Jul 2011 17:51:55 +0200] rev 7668
[web] Image optimisation using trimage (pngcrush inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 17:51:46 +0200] rev 7667
[preferences js] jquery 1.6 needs quote when querying attribute value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 16:37:11 +0200] rev 7666
fix test broken by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:34 +0200] rev 7665
[session] add session id to closed connection errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:09 +0200] rev 7664
unsaved change...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:13:46 +0200] rev 7663
[facets] closes #1827464: facet box always appear
by implementing proper selectors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 12:13:53 +0200] rev 7662
[uilib] fix bad argument order, introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 11:33:44 +0200] rev 7661
[uilib] reimplement printable_value function using a dictionary so one can easily change how to base type is displayed everywhere in the application. Closes #1827465
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 17:50:31 +0200] rev 7660
closes #1826543: error on some ajax_replace_url call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:42 +0200] rev 7659
Added tag cubicweb-debian-version-3.13.1-1 for changeset cc0578049cbe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:41 +0200] rev 7658
Added tag cubicweb-version-3.13.1 for changeset 7d84317ef185
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:52 +0200] rev 7657
3.13.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:47 +0200] rev 7656
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:23:43 +0200] rev 7655
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:03 +0200] rev 7654
Added tag cubicweb-debian-version-3.12.9-1 for changeset 92464e39134c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:02 +0200] rev 7653
Added tag cubicweb-version-3.12.9 for changeset cb2990aaa63c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:30:18 +0200] rev 7652
3.12.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:43 +0200] rev 7651
[repo, ms] fix planning of some queries where variable 'non-invarianess' should be considered, leading for instance to junk in entities table on source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:42 +0200] rev 7650
[repo] closes #1821172: fix source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 10:36:22 +0200] rev 7649
[ajax, IE] rewrite some code to avoid duplicated evaluation with IE
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 19:48:37 +0200] rev 7648
[repo, hooks] small task optimization: don't start cleanup_old_transactions when undo support is not activated, and retrieve a session to update a source only when some source to update is found
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 15:05:19 +0200] rev 7647
[http] closes #1816411, restore expires_header on static files in non-debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 13:45:04 +0200] rev 7646
[native source] fix bug introduced in 7645:cb2459aaa7d7: fetchone() may return None
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 13:23:37 +0200] rev 7645
[source] closes #1816412: try to reconnect to dbms if connection is reset in eid_type_source()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 12:39:05 +0200] rev 7644
[twisted] add an option to configure twisted's threadpool size
Twisted's threadpool size defaults to 10, which means we virtually try
to serve up to 10 simulateneous requests but connection-pool size
defaults to 4 on CW-server side. That means that under heavy load, chances
are high that some HTTP queries end up with a 500 error code / connection-pool
exhausted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 11:56:47 +0200] rev 7643
[book, form] include complete example of self-posted form with custom field/widget + minor other changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:21:44 +0200] rev 7642
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:25 +0200] rev 7641
[datafeed] don't raise bad config error on source initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:18 +0200] rev 7640
[schema] closes #1816439: RQLConstraint does not take variable U into account
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:15:54 +0200] rev 7639
[web form] avoid mis-formated warning for _cw_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:43:21 +0200] rev 7638
[doc, hook] more backport of syt mbox documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:21 +0200] rev 7637
[book, ldap] backport some doc from my mailbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:06 +0200] rev 7636
[book] fix some urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:14 +0200] rev 7635
[book, forms] talk about cnx.use_web_compatible_request instead of custom monkey-patching
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:07 +0200] rev 7634
[book] drop gae from the book
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:46 +0200] rev 7633
[book, admin] include some fixes done by auc in an email to me
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:23 +0200] rev 7632
[book] fix some rest/sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 17:06:50 +0200] rev 7631
[repo test] fix broken tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:47:34 +0200] rev 7630
closes #1784285: [rql2sql] crash when using a relation for inner and outer join
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:22:08 +0200] rev 7629
[range facet] closes #1806937: simply retrieve min/max values when computing vocabulary/possible_values, this is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 13:53:00 +0200] rev 7628
[facet] fix facet values update, broken by 7626:56300bec75f8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:15 +0200] rev 7627
[facet slider] quote attribute value, else may break with earlier jquery
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:05 +0200] rev 7626
[facets] use unique dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:55 +0200] rev 7625
[facet] with rql path facet rel may be None, handle it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:39 +0200] rev 7624
[facet] closes #1806932: test and fix facet bug w/ having query (need rql update)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:50 +0200] rev 7623
[ajax js loading] when everything is already loaded, don't do anything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:37 +0200] rev 7622
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:08:58 +0200] rev 7621
[IE, plot] ship with jqplot'excanvas version (include http://code.google.com/p/explorercanvas/issues/detail?id=82 for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 14:49:17 +0200] rev 7620
[etwist, modconcat] closes #1806935: directly write data, don't put the whole concatenated thing in memory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 12:09:53 +0200] rev 7619
[etwist] clear ui cache at server startup time. Closes #1806933
this avoid pb when cubicweb/cubes provide new version of some js/css and also accumulating junk in the cache directories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:54:52 +0200] rev 7618
[facet] closes #1806931: new facet type, based on arbitrary rql path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:52:34 +0200] rev 7617
[selectors, test] remove duplicated test and add some for relation_possible selector w/ rqlst
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:48:40 +0200] rev 7616
[repository] catch Exception instead of everything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Jul 2011 16:46:29 +0200] rev 7615
[facet] fix argument inversion in date range facet
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Jul 2011 12:37:44 +0200] rev 7614
[facetbox] put the facet box in a box
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 01 Jul 2011 20:14:20 +0200] rev 7613
[doc] fix broken links
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:44:03 +0200] rev 7612
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:43:16 +0200] rev 7611
[test] fix test, code from 3.13 gone in 3.12 accidentaly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:42:36 +0200] rev 7610
[selectors, facet] make is_instance and other EClassSelector subclass gather entity classes from 'select' and 'filtered_variable' context information. Closes #1796732
This allow for instance to use the filter form on rqlst where the filtered variable is not selected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:57 +0200] rev 7609
[facets] DontUpdateConstraint mecanism introduced a few commit ago isn't needed: we already have the 'needs_update' property controlling this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:45 +0200] rev 7608
[facet] more api cleanup: support_and should be a property, so it's easier to deactivate.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:45 +0200] rev 7607
[range facet] refactor to ease overriding, possible_values raise DontUpdateFacet (not handled by js actually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:44 +0200] rev 7606
[facets] allow to specify on which rqlst's variable facets should be applied. Closes #1795915
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:43 +0200] rev 7605
[facets] refactor / cleanup facet api: more consistent variable naming and easier to reuse function. Closes #1796804
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:33 +0200] rev 7604
backport stable
Florent Cayré <florent.cayre@gmail.com> [Fri, 01 Jul 2011 15:26:12 +0200] rev 7603
[schema / rql] fix mainvars of RRQLExpression with parens
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:23:25 +0200] rev 7602
[facets js] better cubicweb:facetargs handling and avoid initializing a same form twice (that may occurs)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:22:43 +0200] rev 7601
[facets] should remove groupby from base rqlst. Closes #1796196
as we search for values for a variable, there seems to be no case
where we would be interested in groups, though there are clearly
some were leaving groups cause errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 13:39:45 +0200] rev 7600
[facets] factorize table filter form / facets box generation, moving out filter form from the table view so it's usable from other views. Closes #1794009
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:48:39 +0200] rev 7599
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:20:24 +0200] rev 7598
[worklow forms] rewrite remaining pre 3.10 form code using uicfg
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 29 Jun 2011 13:03:04 +0200] rev 7597
[doc] SQL Server isolation level settings
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 30 Jun 2011 09:46:33 +0200] rev 7596
new rql2sql unit tests for ORDERBY and LIMIT checks in SQLServer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:51:04 +0200] rev 7595
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Jul 2011 11:27:20 +0200] rev 7594
[cwc shell] add ``--password`` option to ``reset-admin-pwd`` (close #1794866)
This will help batch. The help warn it's not very secure.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:19:12 +0200] rev 7593
[c-c instance commands] keyboard interrupt should stop the command, not jump to the next instance. Closes #1794850
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:18:16 +0200] rev 7592
[rset] syntax_tree impl. consistency: don't return an annotated syntax tree
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 16:29:15 +0200] rev 7591
[cw-ctl] add command versions to list versions of cubes used by an instance (closes #508052)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:37 +0200] rev 7590
closes #1793991: [datafeed] error handling: log unexpected exceptions / don't stop on first validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:25 +0200] rev 7589
[web session] fix bad cleanup of session without a connection set. Closes #1772125
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 13:38:30 +0200] rev 7588
[i18n] fix undetected conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 08:27:56 +0200] rev 7587
[rql2sql tests] fix erroneous case (tested with psql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 20:57:28 +0200] rev 7586
add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 19:03:21 +0200] rev 7585
drop unittest deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:57:23 +0200] rev 7584
[form, controller] closes #1787233: form should provide a method to process posted content
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:43:33 +0200] rev 7583
[forms] fix import, gone into the wrong patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:29:13 +0200] rev 7582
[form, renderer] closes #1787234: [form] onsubmit interpolated by the form renderer, it shouldn't
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:55 +0200] rev 7581
[form renderers] closes #1787232: new 'onerowtable' form renderer
so it's easy to retrieve a dictionary of {field name : typed value} for a custom,
no entity related, form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:36 +0200] rev 7580
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:23 +0200] rev 7579
[rql2sql] more cases fixed where something is wrongly added to GROUPBY, causing unexpected results for the query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:01 +0200] rev 7578
[book] rewrite / complete the RQL language chapter
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 18:26:29 +0200] rev 7577
[all] remove pattern "try: function() except AttributeError: pass" (closes #1787966)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 14:05:14 +0200] rev 7576
[cw-ctl] command list should not break when cube depends on version None (closes #1787209)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:13:09 +0200] rev 7575
[uilib] new js_dumps function allowing usage of bare js string (wrapped into JSString)
modify magic 'js' object to consider them as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:04:01 +0200] rev 7574
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:02:24 +0200] rev 7573
[repo, looping task] raise a custom exception when repository is shuting down, avoid looping task to be restarted in such case. Closes #1021276
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:50:26 +0200] rev 7572
[formfields] use support_args instead of catching type error avoid hiding other issues and making debugging difficult
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:49:47 +0200] rev 7571
[cw.ajax] fix loadxhtml documentation and warn when called on an empty elements list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 17:59:31 +0200] rev 7570
[etwist] log missing file even in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:33:53 +0200] rev 7569
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:32:38 +0200] rev 7568
[test] run and fix utils and uilib doctests
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 28 Jun 2011 13:16:09 +0200] rev 7567
Display proper date in plot/flot (closes #1725589)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Jun 2011 11:20:33 +0200] rev 7566
[doc] fix NameError in bfss tutorial
Florent Cayré <florent.cayre@gmail.com> [Mon, 27 Jun 2011 18:48:30 +0200] rev 7565
[js/css concat] do not return 404 when resources of a concatenated data URL does not exist, unless in debugmode; closes #1745644
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:46:08 +0200] rev 7564
[server] "overrule" case insensitivity of database name (closes: #611294)
The only instances where you are required to use quotes are either when a database
object's identifier is identical to a keyword, or when the identifier has at least
one capitalized letter in its name. In either of these circumstances, you must
remember to quote the identifier both when creating the object, as well as in any
subsequent references to that object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:38:08 +0200] rev 7563
[tests] update repository tests with new `use_cwuri_as_url` attribute
This attribute was intriduced by changeset 92fd4b777016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:30:52 +0200] rev 7562
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:52 +0200] rev 7561
Added tag cubicweb-debian-version-3.12.8-1 for changeset cf49ed55685a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:49 +0200] rev 7560
Added tag cubicweb-version-3.12.8 for changeset 50122a47ce4f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 13:59:07 +0200] rev 7559
3.12.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 16:59:45 +0200] rev 7558
[migration] litle enhancements and a fix to patch accidentally pushed two revisions ago
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Jun 2011 10:24:40 +0200] rev 7557
[controller] UndoController: fix output method (closes: #1776091)
Fix buggy direct output in `UndoController.publish()`.
Raise now a ValidationError instead of malformed string
Changes:
* raise ValidationError when an error occured in undo
* use the new message mechanism based on _cwmsgid
If errors are not fatal, you have to change publish() method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:10:37 +0200] rev 7556
[migration] closes #1777411: schema modification commands shouldn't crash if already exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:02:29 +0200] rev 7555
[rqlrewrite] closes #1772135: 1. don't try to reuse a relation from another statement (eg because a subquery has been introduced) 2. _use_orig_term should consider the current statement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jun 2011 07:41:25 +0200] rev 7554
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:38 +0200] rev 7553
[datafeed cw parser] refactor: split logic that was in the parser
into:
* an "item builder" component, turning an etree xml node into a specific
python dictionnary representing an entity
* "action" components, selected given an entity, a relation and its role
in the relation, and responsible to link the entity to given related
items (eg dictionnary)
This changes make it easy to add new action or to override existing
one's behaviour according to the entity, the relation, etc...
Also refactor the xml view so one can also override what's
included in the tag used to mark the entity as used by a relation,
hopefully allowing to reduce the number of http requests needed for
a full datafeed import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:36 +0200] rev 7552
[datafeed, entities] url for entities from a datafeed source should be on their origin site. Closes #1769391
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:24:56 +0200] rev 7551
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:23:44 +0200] rev 7550
[3.10] fix typo and error for pre 3.10 migration w/ postgres: we *must* call init_creating else the fti isn't correctly initialized, which may lead to silently rollbacked transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 16:34:27 +0200] rev 7549
[migration] don't add CWUniqueConstraint if already there (may occurs when running a migration in multiple times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 12:31:55 +0200] rev 7548
[datafeed] catch all exception, we should continue to process other urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 17:49:32 +0200] rev 7547
fix 3.13.1 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7546
Added tag cubicweb-debian-version-3.12.7-1 for changeset a07517985136
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7545
Added tag cubicweb-version-3.12.7 for changeset 628fe57ce746
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 14:47:24 +0200] rev 7544
3.12.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:57:25 +0200] rev 7543
[ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
this is needed since for entities from 'copy based sources' such as
datafeed, we want entity.cw_metainformation() to return as 'source'
the datafeed source, not the system source (ie the source where the
entity is actually stored).
For both performance and bootstraping reasons, we should store this
information in the `entities` table and in the _type_source cache.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:52:19 +0200] rev 7542
fix 3.13.0 migration script (closes #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:44:43 +0200] rev 7541
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:49:00 +0200] rev 7540
fix 3.12.0 migration script (closes: #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 19:13:38 +0200] rev 7539
[test] update to 3.13 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 12:55:40 +0200] rev 7538
[migration] when there are no data migration needed, we still want to rewrite the configuration and to restart the server. Closes #1760927
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 18 Jun 2011 23:27:23 +0200] rev 7537
[migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:53:33 +0200] rev 7536
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:51:01 +0200] rev 7535
[rqlrewrite] test and fix rql snippets insertion when several snippets match an optional variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:50:13 +0200] rev 7534
[datafeed, cw.xml] xml now carry entity's source information, interpreted at the other end so that for instance when an entity from elo is seen when importing cwo, it's properly marked as coming from elo source if one exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:49:55 +0200] rev 7533
[datafeed] actually raise on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:36:52 +0200] rev 7532
[python 2.5] compat fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:13:33 +0200] rev 7531
[datafeed, cwxml] parser now try to complete source's urls so one can add url such as <myinstance>/project. Closes #1759908
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 09 Jun 2011 16:41:41 +0200] rev 7530
[server] fix unicode conversion capability in UndoException
By overriding the __unicode__ method, we ensure unicode builtin will return
Unicode object even for python versions that don't have a __unicode__ method by
default (python < 2.6)
In previous versions, when this method is not defined, string conversion is
attempted, and the result of string conversion is converted to Unicode using
the system default encoding which is ascii the most of the time.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 16 Jun 2011 12:31:27 +0200] rev 7529
[book] add autoload section from code and fix sphinx warnings
* drop misleading faq entry since clear explanation can be found in internationalization chapter
* use autodata sphinx directive instead of raw text
* fill empty chapter with autodoc:
- devweb/httpcaching.rst
- devweb/resource.rst
- devweb/views/idownloadable.rst
- devweb/views/wdoc.rst
* use shebang in excerpt to denote shell code
* fix some bad indented docstrings in javascript files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 09:37:49 +0200] rev 7528
[controller] fix wrong view name when error occurs in UndoController
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:46:39 +0200] rev 7527
[datafeed] renaming parser attribute to parser_id makes things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:38:28 +0200] rev 7526
cleanup and assert we don't import unexpected stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:37:59 +0200] rev 7525
[source config] fix synchronization on configuration entity changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 17:02:50 +0200] rev 7524
[ui, sources] configure source form: hide synchronizing and mapping entities, use simple text input for parser