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).