Tue, 11 Dec 2012 17:07:57 +0100 [web] use `inline` `Content-Disposition` by default (closes #2535734) stable
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.
Tue, 11 Dec 2012 16:57:18 +0100 [web] allow configuration of the Content-disposition value stable
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`
Tue, 11 Dec 2012 17:17:40 +0100 [downloadable] fix filename HTTP header for simple name with space (closes #2535715) stable
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/
Mon, 03 Dec 2012 00:03:03 +0100 merge fixes from stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 00:03:03 +0100] rev 8609
merge fixes from stable
Fri, 30 Nov 2012 21:19:36 +0100 Added tag cubicweb-debian-version-3.15.6-1 for changeset b05e156b8fe7 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
Fri, 30 Nov 2012 21:19:35 +0100 Added tag cubicweb-version-3.15.6 for changeset 0163bd9f4880 stable cubicweb-debian-version-3.15.6-1
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
Fri, 30 Nov 2012 21:18:05 +0100 prepare 3.15.6 stable cubicweb-version-3.15.6
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:18:05 +0100] rev 8606
prepare 3.15.6
Tue, 27 Nov 2012 14:48:03 +0100 [web] add a digital signature to error form (closes #2522526) stable
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.
Wed, 28 Nov 2012 11:44:15 +0100 [web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345) stable
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)
Tue, 27 Nov 2012 17:16:23 +0100 [doc] fix of personnal etc directory in book stable
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 27 Nov 2012 17:16:23 +0100] rev 8603
[doc] fix of personnal etc directory in book
Tue, 27 Nov 2012 12:24:56 +0100 [web] add a Forbidden exception stable
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)
Tue, 27 Nov 2012 11:38:03 +0100 [web] add a ``anonymize-jsonp-queries`` option in file configuration (closes #2465388) stable
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.
Tue, 27 Nov 2012 11:27:49 +0100 [downloadable] fix filename in HTTP header (closes #2522325, #2522324) stable
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)
Tue, 27 Nov 2012 11:18:42 +0100 docstring typo stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Nov 2012 11:18:42 +0100] rev 8599
docstring typo
Thu, 22 Nov 2012 16:13:43 +0100 [facet] make BitFieldFacet allow special 0 value. Closes #2522697 stable
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
Fri, 16 Nov 2012 12:28:30 +0100 [doc] ubuntu LTS is now Precise Pangolin stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Nov 2012 12:28:30 +0100] rev 8597
[doc] ubuntu LTS is now Precise Pangolin
Fri, 16 Nov 2012 11:53:17 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:53:17 +0100] rev 8596
backport stable
Fri, 16 Nov 2012 11:52:06 +0100 [server] implement base_url with secure=True (closes #2508638)
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)
Fri, 16 Nov 2012 11:41:38 +0100 [validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59
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.
Fri, 09 Nov 2012 15:27:40 +0100 [wsgi] saner use of `self.config` instead of `config`
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`
Fri, 09 Nov 2012 17:14:18 +0100 [server] fix repository initialisation
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.
Wed, 24 Oct 2012 09:56:52 +0200 [web test] make unittest_viewselectors work if rdflib isn't available stable
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
Tue, 23 Oct 2012 12:12:43 +0200 [js/ajax] documentation of 'reload' is missing an argument stable
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
Tue, 23 Oct 2012 12:12:22 +0200 [ldapfeed] move docstring to the class instead of the module stable
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
Wed, 14 Nov 2012 11:12:13 +0100 [hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748 stable
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
Thu, 08 Nov 2012 11:43:11 +0100 [startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096 stable
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
Thu, 08 Nov 2012 11:40:24 +0100 [ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095 stable
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
Wed, 14 Nov 2012 11:06:24 +0100 [dbapi] provide get_option_value over DBAPIRequest (closes #2515522) stable
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)
Wed, 24 Oct 2012 14:38:05 +0200 Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442 stable
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
Wed, 24 Oct 2012 14:38:04 +0200 Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7 stable cubicweb-debian-version-3.15.5-1
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
Wed, 24 Oct 2012 12:08:21 +0200 prepare 3.15.5 stable cubicweb-version-3.15.5
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
Tue, 11 Sep 2012 12:42:26 +0200 [entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes.
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.
Fri, 05 Oct 2012 16:54:22 +0200 [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> [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
Thu, 11 Oct 2012 18:42:13 +0200 [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, 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
Thu, 20 Sep 2012 16:33:51 +0200 [check integrity] use session consistently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
Thu, 20 Sep 2012 16:18:13 +0200 [test] use session commit/rollback to be consistent with the test
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
Tue, 23 Oct 2012 15:00:53 +0200 [merge] reintegrate that black sheep
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
Wed, 17 Oct 2012 15:47:12 +0200 [ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515) stable
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)
Wed, 22 Feb 2012 11:57:42 +0100 backporting
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Fri, 12 Oct 2012 16:05:16 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport stable
Tue, 02 Oct 2012 16:44:55 +0200 fix no more running zmq repository test (closes #2500153) 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)
Fri, 28 Sep 2012 17:49:54 +0200 [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 stable
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
Fri, 12 Oct 2012 15:38:58 +0200 dummy merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
Fri, 12 Oct 2012 12:47:45 +0200 [ajax] reload function should set 'processing' cursor. Closes #2503899
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
Mon, 01 Oct 2012 12:49:34 +0200 [misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108) stable
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)
Mon, 24 Sep 2012 16:45:26 +0200 [views/boxes] re-establish the proper selector (closes #2496294) stable
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)
Mon, 01 Oct 2012 12:40:35 +0200 [ldapparser] raise specific error if the configuration is wrong (closes #2498164) stable
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)
Mon, 08 Oct 2012 17:50:12 +0200 [skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156) stable
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)
Tue, 18 Sep 2012 17:04:44 +0200 [c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H stable
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
Fri, 21 Sep 2012 15:03:59 +0200 mock ``CWUser.prefered_language()`` on InternalManager objects.
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.
Fri, 14 Sep 2012 14:15:39 +0200 [session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820
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".
Thu, 20 Sep 2012 14:50:06 +0200 [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> [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
Mon, 10 Sep 2012 16:25:48 +0200 [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:25:48 +0200] rev 8560
[web app] move set of status_out into validation_error_handler to ease readability
Mon, 10 Sep 2012 16:24:32 +0200 [workflow test] don't use session.user, subject to internal changes
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
Mon, 10 Sep 2012 16:07:13 +0200 [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, 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
Mon, 17 Sep 2012 17:52:17 +0200 [source synchronization hooks] Fix/enhance system source hooks
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.
Mon, 17 Sep 2012 17:48:55 +0200 [validation error] refactor validation error handling so translation is done on the web side
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.
Tue, 11 Sep 2012 22:32:01 +0200 [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 8555
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Tue, 11 Sep 2012 22:32:01 +0200 [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
Tue, 18 Sep 2012 11:37:24 +0200 Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df stable
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
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip