Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 17:01:11 +0200] rev 9775
[hooks] internal_session -> internal_cnx (including a typo)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 May 2014 14:26:14 +0200] rev 9774
deprecate get/set_shared_data API
Session or transaction data must be used instead.
We must forward .transaction_data to web/request from
which it was missing (this is indeed a _cw object API).
Closes #3799036.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 14:46:48 +0200] rev 9773
[migration] Stop setting session.data['rebuild-infered']
It's no longer read anywhere since fe267b7336f3 "[migration] always
rebuild infered relation"
Christophe de Vienne <christophe@unlish.com> [Wed, 04 Jun 2014 23:02:06 +0200] rev 9772
Import PIL modules from the PIL namespace to be Pillow-compatible
Closes #3924726
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 14:11:59 +0200] rev 9771
merge two stable heads
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 09:49:45 +0200] rev 9770
merge 3.18.5 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 09:35:26 +0200] rev 9769
merge 3.17.15 into 3.18 branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 May 2014 17:01:34 +0200] rev 9768
[vreg] fix bad super call to lgc.registry.Registry()
Registry() expects a debugmode parameter, ovbiously not a
cubicweb config object.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 16:15:29 +0200] rev 9767
Added tag cubicweb-version-3.18.5, cubicweb-debian-version-3.18.5-1, cubicweb-centos-version-3.18.5-1 for changeset 5071b69b6b0b
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 16:13:48 +0200] rev 9766
[pkg] prepare 3.18.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:29:25 +0200] rev 9765
[sobjects] update notifications system to 3.19 api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Jun 2014 17:56:54 +0200] rev 9764
[connection] set language on new Connection for the internal manager
For regular users this is handled by _set_user, but for internal
connections (e.g. used for notifications) we need something else.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 15:07:41 +0200] rev 9763
Added tag cubicweb-version-3.19.1, cubicweb-debian-version-3.19.1-1, cubicweb-centos-version-3.19.1-1 for changeset 1fe4bc4a8ac8
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 12:52:52 +0200] rev 9762
[pkg] Add missing data files to MANIFEST
Fonts and svg were missing from web/data.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 12:16:20 +0200] rev 9761
[pkg] prepare 3.19.1
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:26:18 +0200] rev 9760
[views] new cubicweb logo (closes #3803681)
- add the new CubicWeb logo
- use it as a css (background-image)
- change the color of the header bar (gradient made with css)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 09 Apr 2014 15:42:27 +0200] rev 9759
[serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:02:51 +0200] rev 9758
[test/hook] use the new connection API
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 16:36:56 +0200] rev 9757
[testlib] complete the RepoAccess object (closes #3843614)
It was missing the open_session call.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 May 2014 18:29:50 +0200] rev 9756
[debian] version cubicweb-bootstrap Breaks
Apparently 0.6.x is OK with cw 3.19.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 15:58:20 +0200] rev 9755
[wsgi] Delete unused instance_uri and get_full_path methods on CubicWebWsgiRequest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Apr 2014 11:59:24 +0200] rev 9754
[test] drop unused import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 18:05:03 +0200] rev 9753
[sobjects] silent 3.19 warnings in sobjects/supervising.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 18:30:45 +0200] rev 9752
[test] update entities/test/unittest_wfobjs to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Apr 2014 10:05:20 +0200] rev 9751
[test] Add missing import to fix old yams warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:26:57 +0200] rev 9750
[dataimport, migration] silence find_entities / find_one_entity warning
Deprecate associated methods to unify the API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:14:25 +0200] rev 9749
[repo] fix extid2entity to ensure connection's has a cnxset
else we'll call source.doexec, which attempt to access to cnxset.cu, and crash
in some case (eg unittest_cwxmlparser in sobjects/test).
Also, manually switch to 'write' mode to ensure cnxset is not released until
commit/rollback when some entity is inserted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:28:58 +0200] rev 9748
[test] update sobjects/test/unittest_cwxmlparser to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:15:25 +0200] rev 9747
[repo] make it clear in internal_cnx that security is disabled
as explained in its docstring. It was previously relying on internal
connection's fake user (InternalManager) for read security and on disabling
security hooks for write security. Using the security_enabled context manager is
more readable and more reliable: while the older implementation works thanks to
the InternalManager associated to the session, custom hooks should rely
on session.[read|write]_security being correctly set. This change also
allows selecting Password attributes in internal connections without
explicitly disabling read security.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 18:23:02 +0200] rev 9746
[datafeed] update datafeed internals to use connection instead of session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:57:58 +0200] rev 9745
[test] update sobjects/test/unittest_notification to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:56:00 +0200] rev 9744
[test] simplify setup of sobjects/test/unittest_supervising.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:54:29 +0200] rev 9743
[test] update sobjects/test/unittest_supervising to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:53:58 +0200] rev 9742
[test] update sobjects/test/unittest_email to cw 3.19 api
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 16:00:36 +0200] rev 9741
[wsgi] the spec says wsgi.url_scheme *must* be provided
No need to be defensive, anything else is a bug in the gateway.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 12 May 2014 12:37:19 +0200] rev 9740
[shell] provide autocompletion for rql queries in cubicweb-ctl shell (closes #3560541)
Use the ``rql.suggestions`` component to complete user's input
- readline calls the ``complete`` method with user's input,
- the ``complete`` method asks for each known completers if
it can suggest completions for user's input.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:33:40 +0200] rev 9739
[book] avoid '~' in all-in-one.conf, it is not expanded
Closes #3753213
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 May 2014 09:59:10 +0200] rev 9738
[book] uicfg moved from web to web.views a while ago
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 15:59:39 +0200] rev 9737
[wsgi] look at wsgi.url_scheme to decide if we're on https
The server/gateway is supposed to fill it in for us.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 10:34:58 +0100] rev 9736
[web] Fix HEAD request handling (closes #3677949)
Don't special-case HEAD in CubicWebRequestBase.is_client_cache_valid so
we don't return garbage. HEAD is supposed to return the actual headers
that a GET would return, which we can't do if we bypass all the normal
cubicweb logic. In particular, we no longer always return 200, and
return the right Content-Length/Content-Type/...
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 May 2014 16:49:29 +0200] rev 9735
[wsgi] avoid reading the entire request body in memory
Import POST form handling code from
https://raw.github.com/defnull/multipart/master/multipart.py to avoid
reading arbitrary amounts of data from the network in memory.
NOTES:
- In the twisted case we limit the max request content-length to 100MB (by
default), which seems kind of arbitrary, but avoids this issue
- werkzeug.formparser has suitable code as well, but I don't know if we want to
add it as a dependency
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 18:47:52 +0200] rev 9734
Added tag cubicweb-version-3.17.15, cubicweb-debian-version-3.17.15-1, cubicweb-centos-version-3.17.15-1 for changeset ee413076752b
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 18:16:18 +0200] rev 9733
[pkg] also bump __pkginfo__
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 17:48:58 +0200] rev 9732
[pkg] prepare 3.17.15
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 13:12:16 +0200] rev 9731
[cache] fix a cache issue with an entity created without relation cache prefill
Prefilling the relation cache has its benefits sometimes, but for
massive imports it may be a memory hog.
The caches should be kept coherent even if there was no prefill.
Closes #3828155.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 16:12:39 +0200] rev 9730
[web/test] add a test for some http response codes
Related to #3648809
David Douard <david.douard@logilab.fr> [Tue, 06 May 2014 14:11:17 +0200] rev 9729
[views] remove reference to the MAPPING_CHECKERS dict (closes #3810219)
Was removed by by the changeset 65d93a4fd11c
([multi-sources-removal] Drop pyrorql and zmqrql sources)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 17:03:15 +0100] rev 9728
[web/ajax] Always return a json dict with a 'reason' key in case of ajax errors
Sending sometimes a bare unicode string and sometimes a json-encoded
dict seems like a bad idea.