Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 Jan 2015 13:26:44 +0100] rev 10171
[server] Increase the stacklevel (due to @_open_only decorator)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 28 Jan 2015 15:51:11 +0100] rev 10170
[pkg] install jquery-treeview
Julien Cristau <julien.cristau@logilab.fr> [Wed, 28 Jan 2015 15:06:34 +0100] rev 10169
[migration/3.20] sync rtypes before etypes
We need to make sure the rtypes are inlined before adding unique indices.
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 28 Jan 2015 17:36:13 +0100] rev 10168
[doc] Fix class name for ComputedRelation; fix code block about computed attributes
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 29 Jan 2015 16:40:08 +0100] rev 10167
[web] Allow propagating 'klass' parameter on tree views recursively
Closes #4881302
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:59:06 +0100] rev 10166
[utils] Fix define_var in ajax context (closes #4881301)
Use namespaced <cubicweb:script> instead of just <script>
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:53:20 +0100] rev 10165
[web/data] Never hide JS errors in our Deferred implementation
Modern browsers have good debugging tools, let exceptions go all the way
up. This only affects exceptions raised in the js code, if there's an
issue on the server/python side, they'll keep going through our error
callbacks.
Closes #4881300
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:51:16 +0100] rev 10164
[web/data] Fix userCallbackThenUpdateUI to completely replace old DOM elements
Without the 'swap' parameter, userCallbackThenUpdateUI() would replace
the _children_ of the component with a new version of the componenent,
thus creating nested divs/spans/buttons/etc.
Closes #4881299
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 30 Jan 2015 15:53:32 +0100] rev 10163
[web/views] Stop mishandling the fieldset name in the default form renderer
While not really documented, it is generally assumed that:
* the fieldset is a user-visible string (much like a title),
* it will be translated by whichever piece of code uses it.
So:
* fix AutomaticEntityForm to generate untranslated fieldset names,
* fix FormRenderer to properly translate the fieldset name before
rendering it,
* stop using the field set (which may contain whitespace) as a CSS class
name (the feature was unusable, so just drop it),
* properly handle the colon as part of the translated fieldset name
Closes #4881298
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 18:08:05 +0100] rev 10162
Added tag cubicweb-version-3.20.2, cubicweb-debian-version-3.20.2-1, cubicweb-centos-version-3.20.2-1 for changeset 138464fc1c33
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:45:06 +0100] rev 10161
merge 3.19.8 into 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:32:49 +0100] rev 10160
[pkg] fix mistake in c7b218125c25
We ended up with the wrong filenames
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:39:07 +0100] rev 10159
Added tag cubicweb-version-3.19.8, cubicweb-debian-version-3.19.8-1, cubicweb-centos-version-3.19.8-1 for changeset efc8645ece43
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:22:09 +0100] rev 10158
[server/test] convert new test to 3.19 API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:18:55 +0100] rev 10157
[pkg] 3.19.9
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:18:20 +0100] rev 10156
merge 3.18.8 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:12:44 +0100] rev 10155
Added tag cubicweb-version-3.18.8, cubicweb-debian-version-3.18.8-1, cubicweb-centos-version-3.18.8-1 for changeset 231094063d62
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 16:41:27 +0100] rev 10154
[pkg] 3.18.8
Julien Cristau <julien.cristau@logilab.fr> [Wed, 21 Jan 2015 15:58:33 +0100] rev 10153
[security] Test case and fix for an INSERT security hole
7099bbd685aa introduced a untested corner case in which an Entity with no
attribute specified could be created whatever the permissions.
Report and test case by Christophe de Vienne, fix by Aurelien Campeas. Thanks!
Closes #4854359
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:20:36 +0100] rev 10152
[pkg] 3.20.2
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 15:46:24 +0100] rev 10151
[debian] cubicweb 3.20 breaks cubicweb-bootstrap << 0.6.6
Closes #4842316
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 15:37:20 +0100] rev 10150
[pkg] don't include extra files in tarballs
Blind wildcards for dirs that may contain generated or temporary files
can lead to trouble and unreproducible results.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:48 +0100] rev 10149
[pkg] exclude generated js_api documentation from tarballs
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:20 +0100] rev 10148
[doc] remove old and unused argouml files
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:01 +0100] rev 10147
[web/data] remove unused xcf files
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:22:43 +0100] rev 10146
[doc] remove nonexistent css from theme
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 20 Jan 2015 10:32:34 +0100] rev 10145
[doc] Drop autoclass directive for IDownloadableLineView
This class has been dropped in 3.20.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:19:34 +0100] rev 10144
[pkg] include missing files from doc/book/ in release tarballs
Closes #4832700
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 07 Jan 2015 16:22:27 +0100] rev 10143
[datafeed] Set headers parameter to an empty dict in DataFeedParser.retrieve_url
This parameter is then passed to urllib2.Request, which expects a dict and
won't check for None.
Closes #4842333.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 22 Jan 2015 10:43:24 +0100] rev 10142
[views/forms] Fix EntityFieldsForm.link_to when parent entity is being created
When the parent entity is being created and the inlined form is displayed, the
parent entity has no eid yet and `peid` is usually 'A'. So int() raises a
ValueError.
Closes #4627739.
Christophe de Vienne <christophe@unlish.com> [Sat, 03 Jan 2015 04:06:06 +0100] rev 10141
[entities] Optimize CWUser.properties.
This property gets called each time a user connects to a repository,
which means a lot.
This optimisation cuts its execution time by 5 according to my tests
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Mar 2014 12:41:21 +0100] rev 10140
[schema] Typo and indentation fix in RQLVocabularyConstraint doc string
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:52:50 +0100] rev 10139
Added tag cubicweb-version-3.20.1, cubicweb-debian-version-3.20.1-1, cubicweb-centos-version-3.20.1-1 for changeset 43eef610ef11
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:24:40 +0100] rev 10138
[pkg] 3.20.1
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:24:08 +0100] rev 10137
i18n update (closes #4826490)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:01:23 +0100] rev 10136
merge 3.19.7 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:07:17 +0100] rev 10135
merge two default heads
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:56:33 +0100] rev 10134
Added tag cubicweb-version-3.19.7, cubicweb-debian-version-3.19.7-1, cubicweb-centos-version-3.19.7-1 for changeset ac4f5f615597
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:38:25 +0100] rev 10133
[pkg] 3.19.7
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 11:55:12 +0100] rev 10132
Added tag cubicweb-version-3.20.0, cubicweb-debian-version-3.20.0-1, cubicweb-centos-version-3.20.0-1 for changeset 7e6b7739afe6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 Jan 2015 19:00:53 +0100] rev 10131
[pkg] prepare 3.20 release
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 11:18:15 +0100] rev 10130
[skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr> [Mon, 22 Dec 2014 14:39:50 +0100] rev 10129
[migration] don't crash when deleting a non-existing rtype
When asked to delete a relation type, instead of checking if it was
computed or not, just delete both the CWRType and CWComputedRType.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:39:42 +0100] rev 10128
[debian] include "metapackage" in the cubicweb package's description
Lets lintian know it's ok for it to be empty.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:37:37 +0100] rev 10127
[debian] ensure all packages use ${misc:Depends} and ${python:Depends}
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:35:43 +0100] rev 10126
[debian] update cubicweb-dev's lintian override
Switching from python-support to dh-python changed the installation path.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 03 Dec 2014 16:29:16 +0100] rev 10125
[server] add a db-namespace option in source definition (closes #1631339)
"namespace" is preferred to the postgresql term "schema" to try and
avoid confusion with cubicweb's schema.
cubicweb now depends on logilab-database >= 1.13.0
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Dec 2014 12:08:01 +0100] rev 10124
[serverctl] add db_transaction context manager
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Mar 2013 19:24:46 +0100] rev 10123
[server] refactor cleanup() code used by "cubicweb-ctl delete"
Try to make each logical step (i.e. "delete database" and "delete user")
a bit more visible and explicit.
This is a preparatory work to easily plug the "delete namespace" feature.
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:09:51 +0200] rev 10122
[views] visual refactorings (closes #3803685)
- pageContent:
- remove the shadow
- add a light border
- slightly round the corners
- left column:
- ensure width make it aligned with the logo (header)
- ensure the top border of the first box is aligned with the pageContent div
- do not use serif font for box headers
Julien Cristau <julien.cristau@logilab.fr> [Thu, 18 Dec 2014 17:54:29 +0100] rev 10121
[web] everything old is new again
Kill the "new" cubicweb.css, and move cubicweb.old.css back in its
place. Closes #4763360.
David Douard <david.douard@logilab.fr> [Wed, 12 Nov 2014 22:20:02 +0100] rev 10120
[pkg] bump version to 3.20.0
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:25:59 +0200] rev 10119
[views] use icons for user menu and login (header) (closes #3803684)
- use icons from the embedded pictograms font for:
- authenticated user menu (userActionsBox)
- login (CookieLoginComponent)
- do not display "anonymous" when not logged in
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Dec 2014 11:37:18 +0100] rev 10118
[utils] provide a function to return an admin connection from an appid
Closes #4723580.
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 16 Dec 2014 11:37:52 +0100] rev 10117
[debian] Install wsgi directory in cubicweb-web package
Closes #4752375.
David Douard <david.douard@logilab.fr> [Thu, 11 Dec 2014 15:02:23 +0100] rev 10116
[test] fixes to make tests pass with recent lxml
lxml (on jessie at least, ie. 3.4.0) does not remove endlines anymore.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 05 Dec 2014 12:08:13 +0100] rev 10115
[server] Remove useless 'is None' checks
'pb' is never none since 3386fd89c914 when support for the 'APYCOT_ROOT'
env var was removed.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Dec 2014 10:55:53 +0100] rev 10114
[security] check attributes: dispatch on the "add" action if entity was just created
cw_set on a just-created entity (i.e. created in the same transaction)
should behave the same as setting the attribute directly on creation:
check the 'add' permissions, not 'update'.
Closes #4740310.
Christophe de Vienne <christophe@unlish.com> [Tue, 09 Dec 2014 15:18:58 +0100] rev 10113
[doc] Add BigInt to the list of built-in types
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:32:17 +0200] rev 10112
[devtools] call turn_repo_off in tearDown (closes #4673491)
lets it catch leaked sessions even when running a single test
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 15:57:12 +0100] rev 10111
[book] typos / clarifications in create-instance section
Clarify that cubicweb-ctl upgrade needs to be run whenever cubicweb or a
cube is upgraded. Related to #2632425.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 18:31:21 +0200] rev 10110
[repository] don't mangle the stack trace on exception
Christophe de Vienne <christophe@unlish.com> [Thu, 27 Nov 2014 13:40:37 +0100] rev 10109
[pkg] Make twisted recommended only
It's not necessary when using wsgi or pyramid.
Closes #4639508
Christophe de Vienne <christophe@unlish.com> [Thu, 27 Nov 2014 12:11:29 +0100] rev 10108
[devtools] Use the pause_trace context manager instead of pause_tracing/resume_tracing
The later were deprecated in logilab-common 0.63.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 Oct 2014 15:47:17 +0200] rev 10107
[serverctl] rename remove_cube to drop_cube (closes #4545093)
For the sake of consistency, since commands are currently named:
- add_{cube,entity,attribute,relation}
- drop_{entity,attribute,relation}
- remove_cube
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:18:17 +0200] rev 10106
[wsgi] add tornado http server
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:07:43 +0200] rev 10105
[wsgi] add message about the active interface
Similarly to what done in "stdlib".
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:05:15 +0200] rev 10104
[cwctl] rewrite wsgi method choices
This will help devs to add new choices by adding their callback to WSGI_CHOICES.
Note:
``options`` becomes a property because ``wsgichoices()`` should be
evaluated at the last-minute.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 11:35:05 +0100] rev 10103
[skeleton/debian] use dh_python2 instead of dh_pysupport for new cubes
The former is deprecated.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Oct 2014 18:09:41 +0200] rev 10102
[web] Add source for jquery.qtip.js
Downloaded from
https://github.com/Craga89/qTip1/raw/master/1.0.0-rc3/jquery.qtip-1.0.0-rc3.js
Related to #3851121.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Oct 2014 18:01:06 +0200] rev 10101
[web] Replace minified copy of jquery.flot.js 0.6 with non-minified version
Related to #3851121
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Oct 2014 11:42:20 +0200] rev 10100
[web] Update jquery-treeview to the latest version
Files copied from commit 61f230828ace1b54c2cc54bc549ece261b11842e of
https://github.com/jzaefferer/jquery-treeview
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Oct 2014 11:20:44 +0200] rev 10099
[web/css] move jquery.treeview.css override to a separate file
Patched embedded code copies are a maintenance disaster (even more so
than plain embedded code copies). Let's not do that.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Oct 2014 14:39:51 +0200] rev 10098
[web] Stop patching jquery.treeview.js
This logically reverts part of e9b7cd2e9012 "allow treeview to work
correctly in a tab #345293".
The treeview and ajax code have suffered a number of changes since then, this
change doesn't seem to be necessary anymore. It is most likely unneeded since
f65208c9dbdc "[javascript] use jQuery.one('ajax-loaded') instead of
jQuery.bind() in add_onload to avoid multiple callback executions".
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Oct 2014 14:28:01 +0200] rev 10097
[web] Beautify jquery.treeview.js
Fully mechanical, just whitespace changes.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Nov 2014 18:17:29 +0100] rev 10096
[entities/wfobjs] add missing `DBG_SEC` debugging informations and a new `transition` capability
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Nov 2014 14:35:25 +0100] rev 10095
[warnings] put an end to warnings in the sqlite driver over `str` being sent instead of unicode strings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 May 2014 15:05:31 +0200] rev 10094
[web/request] clearly mark user_callback-related methods as deprecated
The deprecated decorator not only emits a warning at run-time
but above all makes the deprecation immediately apparent in the source.
closes #3567793.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 03 Dec 2014 15:24:47 +0100] rev 10093
[book] document __unique_together__, remove bad RQLUniqueConstraint example
RQLUniqueConstraint should be avoided whenever possible. Related to
#3753250.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Apr 2014 12:34:51 +0200] rev 10092
[schema] stop using RQLUniqueConstraint (closes #3753250)
The last uses are replaced with unique together constraints.
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 03 Apr 2014 14:17:16 +0200] rev 10091
[dataimport] Have ucsvreader's API match that of csv.reader (closes #3705701)
'separator' and 'quote' are replaced with 'delimiter' and 'quotechar'.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 19 Nov 2014 12:13:32 +0100] rev 10090
[utils] Add a '_cwtracehtml' GET parameter to trace self._cw.w() calls (closes #4601327)
The core of this patch is in UStringIO.write(). When tracing is enabled,
write() doesn't just append the 'value' argument to the underlying list.
Instead, a stack trace is recorded and a special HTML "source" is
formatted.
The output with tracing enabled is an HTML page, with the original HTML
escaped, and made clickable to show the stack trace when the write()
call was done.
This allows answering the recurring question: "who wrote this tag
here?!"
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 19 Nov 2014 11:57:55 +0100] rev 10089
[datafeed] Add a raise_on_error parameter to DataFeedSource.extid2entity
And pass the option from various `process_` methods in existing parsers.
This makes debugging in tests easier.
Closes #4601191.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Dec 2014 11:37:01 +0100] rev 10088
[test/view forms] use the official, undeprecated API
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 May 2014 18:47:24 +0200] rev 10087
[rset] kill the rset._rqlst cache
Right now it "works" for the standard, internal uses.
However when we will fold ClientConnection and Connection, it will
hurt, because suddenly we get more cache hits, and the following
situation would become commonplace:
* there is an un-annotated _rqlst given by the querier
* some view (e.g. facets) requests the .syntax_tree, which takes a
copy of _rqlst
* the view actually expects the rql syntax tree to be annotated, but
it was not, hence we crash.
Related to #3837233.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 18:03:43 +0200] rev 10086
[source/native] session -> cnx
Also swap process_results arguments order to make cnx come earlier.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 16:18:46 +0200] rev 10085
[hookstests] change got/expected order
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jul 2014 15:38:39 +0200] rev 10084
[config] kill a getattr
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Dec 2014 11:36:05 +0100] rev 10083
[tests/web] switch previous commit (136b5f995f8) to the new test api
Related to #3670209.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Oct 2014 14:16:47 +0200] rev 10082
[web] remove unused argument from treeview._init_headers
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Oct 2014 11:06:19 +0200] rev 10081
[doc/3.20] mention CWEP-002
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 Oct 2014 17:18:29 +0200] rev 10080
[web] stop accepting the magic __message form parameter
This has been deprecated for a while, and replaced by _cwmsgid, which
doesn't allow arbitrary content.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 Oct 2014 16:34:38 +0200] rev 10079
[web/request] add security_enabled method
Just forward to the underlying repo connection. This can be useful in
the ORM when dealing with a "code-only" attribute, i.e. something that
shouldn't be directly user-visible but must be accessible from a web
request.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 18 Nov 2014 18:20:08 +0100] rev 10078
[dataimport] Fix use of _create_copyfrom_buffer() (related to #3845572)
This is used indirectly by SQLGenObjectStore when running on a
PostgreSQL database.
Regression introduced by commit 70056633085c.
David Douard <david.douard@logilab.fr> [Wed, 26 Mar 2014 14:45:33 +0100] rev 10077
[c-c configure] make it possible to specify the section for sources configuration (closes #3477678)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Sep 2014 11:34:32 +0200] rev 10076
[server] fix 'cnx' variable confusion in DBG_SQL exception case
The rollback handling expects 'cnx' to be the cubicweb Connection, but
the DBG_SQL block was replacing it with an sql connection, leading to
lulz down the line. Also remove obsolete getattr (the sqlite wrapping
is now done at the cnxset level, so cnx.cnxset.cnx should be the right
thing already).