Mon, 24 Nov 2014 14:43:28 +0100 [views] fix ecsvexport selector
David Douard <david.douard@logilab.fr> [Mon, 24 Nov 2014 14:43:28 +0100] rev 10046
[views] fix ecsvexport selector introduced by e48e5a597ccc Fix the view and make web/test/test_views.py pass again.
Fri, 17 Oct 2014 12:14:58 +0200 Add custom checker for Password values
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Oct 2014 12:14:58 +0200] rev 10045
Add custom checker for Password values We override the default converter to pass Binary values through, but don't do anything about the checker. This worked previously because yams allowed StringIO instances, although its converter didn't do the right thing for them. Fixing this in yams requires that we properly register a checker.
Wed, 22 Oct 2014 15:59:52 +0200 [component] give Links a __repr__
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Oct 2014 15:59:52 +0200] rev 10044
[component] give Links a __repr__
Wed, 12 Nov 2014 14:33:12 +0100 [debian] move markdown dependency from cubicweb-web to cubicweb-common
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Nov 2014 14:33:12 +0100] rev 10043
[debian] move markdown dependency from cubicweb-web to cubicweb-common Pointed out by David Douard.
Tue, 04 Nov 2014 16:09:42 +0100 [web/auth] stop playing games with locals()
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Nov 2014 16:09:42 +0100] rev 10042
[web/auth] stop playing games with locals() We only want to know if any retriever found something.
Thu, 13 Nov 2014 15:48:33 +0100 [entity] rather than crashing with an IndexError on entity creation, raise a meaningful exception
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Nov 2014 15:48:33 +0100] rev 10041
[entity] rather than crashing with an IndexError on entity creation, raise a meaningful exception
Wed, 12 Nov 2014 22:18:55 +0100 [web] partial backout of #8391bf718485 to restore RelatedObjectsVComponent
David Douard <david.douard@logilab.fr> [Wed, 12 Nov 2014 22:18:55 +0100] rev 10040
[web] partial backout of #8391bf718485 to restore RelatedObjectsVComponent Apparently the intended deprecation did not work, and this component is used in at least the tracker cube.
Thu, 13 Nov 2014 10:38:39 +0100 [server] typo fix
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Nov 2014 10:38:39 +0100] rev 10039
[server] typo fix
Mon, 06 Oct 2014 10:34:38 +0200 [devtools][pg] Activate the non-durability settings of Postgresql.
Christophe de Vienne <christophe@unlish.com> [Mon, 06 Oct 2014 10:34:38 +0200] rev 10038
[devtools][pg] Activate the non-durability settings of Postgresql. It speed up the PG tests by a factor of 3. See http://www.postgresql.org/docs/current/static/non-durability.html.
Mon, 17 Nov 2014 09:32:37 +0100 [server] fix LoginPasswordAuthentifier.authenticate
David Douard <david.douard@logilab.fr> [Mon, 17 Nov 2014 09:32:37 +0100] rev 10037
[server] fix LoginPasswordAuthentifier.authenticate some kind of typo there.
Fri, 07 Nov 2014 10:33:40 +0100 [web] Override jQueryUI's colors on links (closes #4564046)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 07 Nov 2014 10:33:40 +0100] rev 10036
[web] Override jQueryUI's colors on links (closes #4564046)
Wed, 29 Oct 2014 16:39:36 +0100 [hooks] Fix precommit event logging message
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 29 Oct 2014 16:39:36 +0100] rev 10035
[hooks] Fix precommit event logging message
Thu, 23 Oct 2014 13:51:13 +0200 [service] allow repo_stats for users
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Oct 2014 13:51:13 +0200] rev 10034
[service] allow repo_stats for users It's used by the siteinfo view, which is available to managers and users. This change prevents a crash in that view.
Thu, 11 Sep 2014 15:17:08 +0200 [views] Escape class attribute value in CWGroup incontext view
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 11 Sep 2014 15:17:08 +0200] rev 10033
[views] Escape class attribute value in CWGroup incontext view
Thu, 25 Sep 2014 10:50:23 +0200 [devtools] use a specific test_db_id when disabling anon
Julien Cristau <julien.cristau@logilab.fr> [Thu, 25 Sep 2014 10:50:23 +0200] rev 10032
[devtools] use a specific test_db_id when disabling anon The anonymous user is created (or not) in postcreate, which for tests means when creating the cached empty database. The anonymous_allowed=False test classes should thus not share their template db with other test classes, otherwise either they end up with an unexpected anonymous user, or the others miss theirs and things fall apart.
Wed, 19 Nov 2014 11:59:08 +0100 Restrict yams version
Christophe de Vienne <christophe@unlish.com> [Wed, 19 Nov 2014 11:59:08 +0100] rev 10031
Restrict yams version CW 3.19 is not compatible with yams >= 0.40
Mon, 20 Oct 2014 12:50:04 +0200 [facets] Honor 'start_unfolded' facet attribute (closes #4502799)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 20 Oct 2014 12:50:04 +0200] rev 10030
[facets] Honor 'start_unfolded' facet attribute (closes #4502799)
Mon, 20 Oct 2014 12:23:13 +0200 [facets] Correctly look for inputs of type "hidden" (closes #4502768)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 20 Oct 2014 12:23:13 +0200] rev 10029
[facets] Correctly look for inputs of type "hidden" (closes #4502768) jQuery ':hidden' selector looks at CSS visual properties (eg, 'display', 'visibility'). The intent here was probably to look for inputs of type "hidden", which many facets use to store user selection data (eg, FacetRangeWidget). The problem is that regular text inputs (eg the "has_text" facet which has a '<input type="text"/>') will be picked up by this selector if they are inside a folded facet. Chaos and destruction ensue.
Wed, 15 Oct 2014 18:23:54 +0200 [web] Cache results from 'i18n' ajax controller (closes #4487856)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 15 Oct 2014 18:23:54 +0200] rev 10028
[web] Cache results from 'i18n' ajax controller (closes #4487856) This is a simple transient cache which will be forgotten as soon as the user leaves the current page.
Wed, 15 Oct 2014 17:29:29 +0200 [web] There is no global noop(), use jQuery's instead (closes #4487832)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 15 Oct 2014 17:29:29 +0200] rev 10027
[web] There is no global noop(), use jQuery's instead (closes #4487832)
Fri, 10 Oct 2014 09:18:28 +0200 [server] Add missing import of logilab.database
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 10 Oct 2014 09:18:28 +0200] rev 10026
[server] Add missing import of logilab.database Closes #4469407.
Thu, 13 Nov 2014 10:37:44 +0100 [migration] hackish black magic to bootstrap addition of formula attr during migration
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Nov 2014 10:37:44 +0100] rev 10025
[migration] hackish black magic to bootstrap addition of formula attr during migration Turns out we can't add an attribute to CWAttribute before the attribute exists. add_attribute generates rql with a 'formula' relation, which CW doesn't know about yet, so things get unhappy. Once that is fixed, we need to make the CWAttribute addition operation deal with CWAttribute entities that don't have a formula yet. Finally, move the migration to bootstrapmigration_repository so it happens early on, and use add_entity_type rather than add_relation_type for CWComputedRType.
Tue, 04 Nov 2014 14:10:02 +0100 [server] commit after serializing schema
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Nov 2014 14:10:02 +0100] rev 10024
[server] commit after serializing schema Use separate transactions for schema serialization and postcreate scripts execution, so that the latter can rely on the schema being persistently stored. This matters e.g. if something in a postcreate violates a unique_together constraint, we need the constraint persisted in order to raise a meaningful error. See #4525069.
Thu, 28 Aug 2014 18:54:21 +0200 [book] fix docstrings to please sphinx
David Douard <david.douard@logilab.fr> [Thu, 28 Aug 2014 18:54:21 +0200] rev 10023
[book] fix docstrings to please sphinx example rst roles in docstring must be protected (in a literal).
Thu, 28 Aug 2014 18:52:41 +0200 [book] several fixes in the rst files
David Douard <david.douard@logilab.fr> [Thu, 28 Aug 2014 18:52:41 +0200] rev 10022
[book] several fixes in the rst files - prevent duplicate markup definitions, - use existing Workflow markup instead of redefining one (in baseschema.rst) - include dataimport - fix non-existant directive autodocfunction - remove the empty 'embedding.rst' file
Thu, 28 Aug 2014 18:46:41 +0200 [book] activate the viewcode extension
David Douard <david.douard@logilab.fr> [Thu, 28 Aug 2014 18:46:41 +0200] rev 10021
[book] activate the viewcode extension Automagically make link to class/modules/etc. it finds in the documents.
Thu, 28 Aug 2014 16:22:05 +0200 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr> [Thu, 28 Aug 2014 16:22:05 +0200] rev 10020
[book] new theme based on pyramid theme (closes #4291287)
Wed, 30 Jul 2014 14:06:38 +0200 Remove unused lgc.interface imports and leftovers
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 30 Jul 2014 14:06:38 +0200] rev 10019
Remove unused lgc.interface imports and leftovers
Thu, 17 Jul 2014 14:40:28 +0200 [repository] provide a .new_session entry point
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jul 2014 14:40:28 +0200] rev 10018
[repository] provide a .new_session entry point The current .connect only returns a `sessionid` which must be given to repo._get_session(...) to get the real session object. Related to #4151635.
Mon, 30 Jun 2014 10:49:53 +0200 [devtools/testlib] Use actual 'admin' user configuration values
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 30 Jun 2014 10:49:53 +0200] rev 10017
[devtools/testlib] Use actual 'admin' user configuration values Previously ``db-user`` and ``db-password`` configuration values were used to fill ``admlogin`` and `admpassword`` attributes of CubicWebTC. The correct data for these should read from `[admin]` section. Closes #4065070.
Thu, 25 Apr 2013 10:16:25 +0200 [forms] closes #2437859 - Detect and prevent concurrent edition of the same entity.
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 25 Apr 2013 10:16:25 +0200] rev 10016
[forms] closes #2437859 - Detect and prevent concurrent edition of the same entity. Add the timestamp of form generation to each entity's meta-information fields. On form validation, check that no concurrent change is overwritten and raises a ValidationError in case of concurrent change. A nicer handling with a message and a link to the new version of the entity would be a good thing...
Wed, 09 Apr 2014 16:58:58 +0200 [migration] make sure the repo knows about all constraint types
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 16:58:58 +0200] rev 10015
[migration] make sure the repo knows about all constraint types Adding new constraint types is cumbersome. It's easy to forget to do it in a migration script. So sync the constraint types at the beginning of each migration. Closes #3724892
Mon, 07 Jul 2014 16:07:57 +0200 [migration] stop caching the mapping from constraint type name to eid
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Jul 2014 16:07:57 +0200] rev 10014
[migration] stop caching the mapping from constraint type name to eid It's not so frequent that a cache seems necessary, and we were not invalidating that cache when adding a new constraint type. Related to #3724892.
Tue, 17 Jun 2014 17:53:31 +0200 [web/json] an empty rset is just fine for ejsonexport
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 17:53:31 +0200] rev 10013
[web/json] an empty rset is just fine for ejsonexport The ejsonexport view can just return an empty list for an empty rset. Closes #4005518
Wed, 30 Apr 2014 21:04:14 +0200 [RichString] Add markdown support
Christophe de Vienne <christophe@unlish.com> [Wed, 30 Apr 2014 21:04:14 +0200] rev 10012
[RichString] Add markdown support Supporting markdown requires the 'Markdown' python packages, and since it widely available on the target platforms adding it as a strong requirements will not be a big constraint. Closes #3814302
Thu, 23 Oct 2014 14:57:02 +0200 [ldapfeed] Reduce default value for user-attrs-map option (closes #3824889)
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 23 Oct 2014 14:57:02 +0200] rev 10011
[ldapfeed] Reduce default value for user-attrs-map option (closes #3824889) This is needed because lgc.configuration.Configuration does not allow removing key/value pairs from the default (due to its use of dict.update() internally). Since CWUser.login is required, users of the add-source command will always be able to override it.
Tue, 29 Apr 2014 11:34:42 +0200 [serverctl] Ask for URL when adding a new source (closes #3824868)
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 29 Apr 2014 11:34:42 +0200] rev 10010
[serverctl] Ask for URL when adding a new source (closes #3824868)
Mon, 28 Apr 2014 17:34:07 +0200 [serverctl] Ask for parser type when adding a new source (closes #3484231)
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 28 Apr 2014 17:34:07 +0200] rev 10009
[serverctl] Ask for parser type when adding a new source (closes #3484231) Remove 'quick_start' option to load all AppObjects, including feed parsers.
Wed, 11 Jun 2014 10:57:28 +0200 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 10:57:28 +0200] rev 10008
[doc/3.20] more details on removed code related to #3799117
Fri, 02 May 2014 17:58:57 +0200 remove 3.11 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 May 2014 17:58:57 +0200] rev 10007
remove 3.11 bw compat Closes #3799117.
Fri, 02 May 2014 17:57:37 +0200 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 May 2014 17:57:37 +0200] rev 10006
remove most 3.10 bw compat Related to #3799117. The boxes and entityvcomponent objects cannot really be removed as they are still used throughout the code base (and possible cubes). This may be caused by a non-working deprecation and needs some more work.
Fri, 02 May 2014 17:41:11 +0200 remove leftover pre 3.9 deprecation warnings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 May 2014 17:41:11 +0200] rev 10005
remove leftover pre 3.9 deprecation warnings
Tue, 22 Jul 2014 15:42:47 +0200 [utils] Remove function-in-the-middle call
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 22 Jul 2014 15:42:47 +0200] rev 10004
[utils] Remove function-in-the-middle call
Tue, 29 Jul 2014 15:45:04 +0200 [web] set Vary response header to "Accept-Language" when using content negotiation
Julien Cristau <julien.cristau@logilab.fr> [Tue, 29 Jul 2014 15:45:04 +0200] rev 10003
[web] set Vary response header to "Accept-Language" when using content negotiation This is slightly annoying because the response actually only varies based on the language we decide to send, which has much fewer possible values than Accept-Language, but that's not in the request, so we can't easily use it. Deployments using varnish or similar and controlling the set of available languages will likely want to override this to allow reasonable amounts of caching. Closes #2105812
Tue, 29 Jul 2014 16:27:11 +0200 [web/cors] don't overwrite other Vary headers
Julien Cristau <julien.cristau@logilab.fr> [Tue, 29 Jul 2014 16:27:11 +0200] rev 10002
[web/cors] don't overwrite other Vary headers Vary is a list of request headers, we shouldn't override others.
Tue, 15 Jul 2014 16:07:59 +0200 [web] add support for HttpOnly cookie flag
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jul 2014 16:07:59 +0200] rev 10001
[web] add support for HttpOnly cookie flag And use it for session cookies. Closes #4142521.
Fri, 17 Oct 2014 18:16:58 +0200 merge 3.19.5 into 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Oct 2014 18:16:58 +0200] rev 10000
merge 3.19.5 into 3.20 branch
Tue, 07 Oct 2014 10:06:24 +0200 Added tag cubicweb-version-3.19.5, cubicweb-debian-version-3.19.5-1, cubicweb-centos-version-3.19.5-1 for changeset 3ac86df519af
Julien Cristau <julien.cristau@logilab.fr> [Tue, 07 Oct 2014 10:06:24 +0200] rev 9999
Added tag cubicweb-version-3.19.5, cubicweb-debian-version-3.19.5-1, cubicweb-centos-version-3.19.5-1 for changeset 3ac86df519af
Mon, 06 Oct 2014 17:50:42 +0200 i18n update 3.19.5 centos/3.19.5-1 cubicweb-centos-version-3.19.5-1 cubicweb-debian-version-3.19.5-1 cubicweb-version-3.19.5 debian/3.19.5-1
Julien Cristau <julien.cristau@logilab.fr> [Mon, 06 Oct 2014 17:50:42 +0200] rev 9998
i18n update 4 strings have disappeared.
Mon, 06 Oct 2014 17:32:49 +0200 [pkg] 3.19.5
Julien Cristau <julien.cristau@logilab.fr> [Mon, 06 Oct 2014 17:32:49 +0200] rev 9997
[pkg] 3.19.5
Mon, 15 Sep 2014 10:06:07 +0200 [server] hold connection to the db in tx_actions
Julien Cristau <julien.cristau@logilab.fr> [Mon, 15 Sep 2014 10:06:07 +0200] rev 9996
[server] hold connection to the db in tx_actions We can be called without a cnxset (e.g. from repoapi).
Mon, 15 Sep 2014 17:23:22 +0200 [wsgi] If multipart cannot parse the POST content, let it pass.
Christophe de Vienne <christophe@unlish.com> [Mon, 15 Sep 2014 17:23:22 +0200] rev 9995
[wsgi] If multipart cannot parse the POST content, let it pass. multipart can only parse html form data. It the content_type is, for example, "application/json", get_posted_data should not fail but just stop trying to read the content. Closes #4421845
Mon, 01 Sep 2014 14:56:00 +0200 [devtools] Fix JS tests' HTML code
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 01 Sep 2014 14:56:00 +0200] rev 9994
[devtools] Fix JS tests' HTML code
Mon, 01 Sep 2014 10:22:46 +0200 [devtools] "Keep" some temporary files/dirs around to help with debugging
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 01 Sep 2014 10:22:46 +0200] rev 9993
[devtools] "Keep" some temporary files/dirs around to help with debugging The whole QUnitTestCase runs with an @with_tempdir so it's redundant anyway.
Fri, 01 Aug 2014 19:28:44 +0200 [devtools] Fix Firefox launcher in QUnitTestCase (closes #4294727)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 01 Aug 2014 19:28:44 +0200] rev 9992
[devtools] Fix Firefox launcher in QUnitTestCase (closes #4294727) The main changes are: - stop creating the profile, firefox will create it - point firefox to a profile directory instead of giving it a profile name (this has the added bonus of not polluting the user's profile list) - start firefox once and kill it 5 seconds later to let it finish its profile creation (along with system-wide extensions setup)
Thu, 25 Sep 2014 17:38:51 +0200 [devtools] allow cross-origin requests for qunit
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Sep 2014 17:38:51 +0200] rev 9991
[devtools] allow cross-origin requests for qunit We have a mix of file:// html and http:// ajax calls. Which we should at some point fix to all be http, but. Related to #4294727.
Thu, 25 Sep 2014 15:49:13 +0200 merge 3.19.4 in 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 25 Sep 2014 15:49:13 +0200] rev 9990
merge 3.19.4 in 3.20 branch
Mon, 15 Sep 2014 17:24:18 +0200 [cors] Fix CORS headers generators
Christophe de Vienne <christophe@unlish.com> [Mon, 15 Sep 2014 17:24:18 +0200] rev 9989
[cors] Fix CORS headers generators The Access-Control-Allow-* and Access-Control-Expose-Headers are response headers, not request headers. Hence, we need generators for them. Closes #4412575.
Tue, 09 Sep 2014 22:14:20 +0200 [wsgi] Fix posted files filename reading
Christophe de Vienne <christophe@unlish.com> [Tue, 09 Sep 2014 22:14:20 +0200] rev 9988
[wsgi] Fix posted files filename reading The filenames are parsed by multipart.parse_form_data, which does the unicode decoding. Trying to re-decode the filename was leading to an error.
Tue, 23 Sep 2014 11:18:56 +0200 [pkg] Depend on Pillow instead of PIL
Christophe de Vienne <christophe@unlish.com> [Tue, 23 Sep 2014 11:18:56 +0200] rev 9987
[pkg] Depend on Pillow instead of PIL The Pillow library is becoming the de-facto replacement for PIL. It also is way simpler to install with pip than PIL. Closes #4411354.
(0) -10000 -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 tip