Florent Cayré <florent.cayre@logilab.fr> [Thu, 12 Jun 2014 09:59:55 +0200] rev 9887
[js] fix name error
Alain Leufroy <alain.leufroy@logilab.fr> [Tue, 03 Jun 2014 12:37:54 +0200] rev 9886
[devtools] improve error message when postgresql tools are missing
By default in at least Debian, some pg tools are not present in the
PATH. Or they may not be installed. But the tests tools expects them
to be in the PATH, and give an unhelpful 'No such file or directory'
backtrace if they're not found. To help devs using the pg tests we
improve the error message.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 11 Jul 2014 17:13:32 +0200] rev 9885
[server] Replace non portable strftime formatter (closes #4132161)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 12:15:18 +0200] rev 9884
[web/request] use a picklable Counter object for tab index counters
Related to #1381328.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jul 2014 18:07:31 +0200] rev 9883
[web/auth] The auth retriever's authenticated() callback takes a session, not a cnx
We don't have a cnx at that point.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 16:44:42 +0200] rev 9882
[test] Fix the query-log-file test
Testing this functionality in a CubicWebTC is awkward because the
wrapping happens in handle_request, which tests basically bypass (they
call core_handle directly, and do their own magic for linking the
request with a cnx). The test method worked when ran on its own, but
not together with the rest of the test class. So use a CubicWebServerTC
instead, which goes through the whole stack.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 13:48:07 +0200] rev 9881
[doc/book] spelling fixes in security tutorial
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 13:15:11 +0200] rev 9880
[doc/book] spelling fixes in "testing" chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 16:54:31 +0200] rev 9879
[datafeed sources] finish the session -> cnx switch
Related to #3933480.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Jun 2014 15:56:24 +0200] rev 9878
[doc/book] update examples, using the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Jun 2014 17:20:18 +0200] rev 9877
[test/entities] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 12:52:50 +0200] rev 9876
[web] restore query logging functionality (closes #3972561)
The query-log-file option stopped working when the web stack was moved
from dbapi to repoapi.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 12:03:30 +0200] rev 9875
[cwctl] make cubicweb-ctl versions lighter (closes #4002158)
Set config.quick_start to avoid unnecessary appobjects and schema
loading.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Jul 2014 14:02:43 +0200] rev 9874
Added tag cubicweb-version-3.17.16, cubicweb-debian-version-3.17.16-1, cubicweb-centos-version-3.17.16-1 for changeset a979d1594af6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 14:55:56 +0200] rev 9873
[forms] consider inline creation form information as linkto info. Closes #3161121
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 07 Jul 2014 19:28:30 +0200] rev 9872
[pkg] prepare 3.17.16
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 12:37:52 +0200] rev 9871
[reledit] Fix reledit icons jumpiness (closes #4106867)
Introduce an "invisible" class (copied verbatim from Bootstrap) that
only sets the "visibility" property. "display: none" is the reason for
the whole jumpiness as it actually detaches the element from the
rendered layout. "visibility: hidden" only makes it transparent while
keeping its original box properties (width, height, etc).
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 12:29:37 +0200] rev 9870
[views] Replace poorly named "invisible" class with "list-unstyled"
"li.invisible" actually means "hide bullet". Use a reasonable name
instead, such as bootstrap's "list-unstyled" class.
This patch also changes the DOM element the class is applied to.
"li.invisible" had to be enabled on every "li" tag, whereas the
"list-unstyled" class only needs to be applied to the parent "ul"
element.
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 12:23:18 +0200] rev 9869
[views] a 'div' with 'display: inline' screams 'span'
(grafted from af6e3db801fcfbd6f562c4a7cfdc89f187042792)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Jul 2014 14:30:16 +0200] rev 9868
[pkg] remove simplejson dependency
We no longer use it, the stdlib's json module is fine.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Jul 2014 12:18:34 +0200] rev 9867
Added tag cubicweb-version-3.19.2, cubicweb-debian-version-3.19.2-1, cubicweb-centos-version-3.19.2-1 for changeset 8ac2202866e7
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Jul 2014 10:22:36 +0200] rev 9866
[pkg] Fix version number
Note to self: don't phase -p before coffee.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Jul 2014 10:01:58 +0200] rev 9865
[pkg] 3.19.2
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Jun 2014 14:55:26 +0200] rev 9864
[webtests] finish to give all self.view(....) a req=req parameter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 16:30:58 +0200] rev 9863
[tests/syncsession] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 12:44:04 +0200] rev 9862
[webtests/application] remove unused imports
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 11:56:33 +0200] rev 9861
[webtests/application] .user(...) really wants a request object
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 15:46:16 +0200] rev 9860
[tests/datafeed] use the new connection api (a small leftover)
Test assertions get indented because of self.session -> scoped cnx.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 18:19:47 +0200] rev 9859
[entitiestests/base] don't store an entity on the test case
Make do with an eid.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:06:03 +0200] rev 9858
[entitiestests/base] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 15:21:18 +0200] rev 9857
[testlib] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 11:56:19 +0200] rev 9856
[exttests/rest] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:04:40 +0200] rev 9855
[webtests/bookmarks] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:19:56 +0200] rev 9854
[hookstests/integrity] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 18:01:16 +0200] rev 9853
[hookstests/base] use connections instead of web requests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:55:07 +0200] rev 9852
[hookstests/base] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:54:53 +0200] rev 9851
[hookstests/syncschema] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 13:28:24 +0200] rev 9850
[tests/rqlannotation,querier] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 17:31:54 +0200] rev 9849
[webtests/web] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:55:02 +0200] rev 9848
[webtests/navigation] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:45:32 +0200] rev 9847
[webtests/basetemplates] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 15:14:13 +0200] rev 9846
[webtests/basecontrollers] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:43:07 +0200] rev 9845
[testlib] deprecate .remote_call and provide new connection api friendly .remote_calling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:35:25 +0200] rev 9844
[webtests/propertysheet] kill an "import *"
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:27:26 +0200] rev 9843
[webtests/breadcrumbs] break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:20:00 +0200] rev 9842
[webtests/views_editforms] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 17:44:06 +0200] rev 9841
[webtests/urlrewrite] do not store a plain entity on the test, only an eid
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 11:17:09 +0200] rev 9840
[webtests/urlrewrite] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:16:38 +0200] rev 9839
[webtests/urlpublisher] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 11:00:50 +0200] rev 9838
[webtests/baseviews] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 15:11:00 +0200] rev 9837
[devtools/testlib,fill] use the new connection api (for auto_populate)
Note that this changes API of CubicWebTC's custom_populate and
post_populate methods to take a connection instead of a cursor, which
may affect some cubes.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 14:42:24 +0200] rev 9836
[webtests/automatic views tests] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 12:41:21 +0200] rev 9835
[devtools/repotest] simplify a very small helper
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 11:34:19 +0200] rev 9834
[tests/repotest] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:10:16 +0200] rev 9833
[tests/querier] use the new connection api (part 3/3)
Some adaptations to devtools/repotest:
* dead code removal
* remove session related code
In the tests:
* many tests actually don't check the querier but some generic rql
property -- when such a test needs several statements to complete a
commit, switch to session.new_cnx
* provide an assertRQLEqual helper
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 14:25:20 +0200] rev 9832
[test/querier] use the new connection api (part 2/3)
A couple of tests need a schema constraint to be dropped to pass with
`.qexecute`.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 13:56:24 +0200] rev 9831
[test/querier] use the new connection api (part 1/3)
In devtools/repotest, we provide a simple `.qexecute` with autocommit,
and we use it (where possible) in unittest_querier.
Note that the .session object is a real session, not the magic property
found in CubicWebTC test classes.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Jul 2014 17:25:25 +0200] rev 9830
[dbapi] allow talking to a pre-3.19 remote repository
Closes #4071285
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 11:56:38 +0200] rev 9829
[migration] don't add new elements to config._cubes in remove_cube
We're expanding dependencies based on the current versions of the cubes,
which may well not be the same as the ones known by the db (we're in the
middle of an upgrade, after all). Listing them in config._cubes
prevents us from calling add_cube() later to actually add them.
Closes #4002156
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jul 2014 11:43:45 +0200] rev 9828
[web test] repair test broken by 0872ac2a1db0
after the above cset, during test instance's url is set before the creation of
core entities (ie created at database initialization), hence they have now a
valid cwuri.
Damien Garaud <damien.garaud@logilab.fr> [Tue, 06 May 2014 18:32:03 +0200] rev 9827
[dataimport] Drop reference to the 'source' column (closes #4067694).
CW 3.19 drops the multi-source support. This column does not exist in 3.19.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 May 2014 22:54:46 +0200] rev 9826
[notification] drop on commit sending of message feature of NotificationView
It duplicates feature already provided by
cw.hooks.notification.notify_on_commit function.
Simplify the API on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Mar 2014 08:28:32 +0100] rev 9825
[datafeed parser] enhance retrieve_url to support POSTing data and custom HTTP headers
Closes #3682069
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Mar 2014 09:20:37 +0100] rev 9824
[datafeed parser] fix retrieve_url to always return urllib2.urlopen compatible output
as one should expect to be able to call geturl/getcode/info on the returned
object whatever the url he gave.
Related to #3682069
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:55:44 +0100] rev 9823
[datafeed parser] factor out retrieve_url method from DataFeedXMLParser.parse
Related to #3682069
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:49:10 +0100] rev 9822
[datafeed] Allow to override use_cwuri_as_url in configuration of a datafeed source
This is necessary because in some case one will want to write parser which
create entities not one-to-one related to entities from the distant source (for
instance see the `vcrs` cube which create entities holding statistics for code
review, while not importing review entities themselves).
Ideally we should provide a way to the parser to indicate the source that cwuri
should not be used, but that's a start...
Closes #3670210
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Jun 2014 11:48:26 +0200] rev 9821
merge from 3.19 branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:56:05 +0200] rev 9820
[entity/rset] replace scary warnings about ambiguous rdefs by XXX in the code
users can't do anything about that and shouldn't see those warnings.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:35:13 +0200] rev 9819
[web/js] Deprecate baseuri() and replace with BASE_URL (closes #3955372)
Added by commit 8bf2337a6f3b and publicly available since 3.11.2
released more than 3 years ago.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:17:44 +0200] rev 9818
[request] Ensure base_url() always has a trailing '/' (closes #3955093)
Just as an example, cubicweb.ajax.js is clearly written under the
assumption that BASE_URL/baseuri() - which simply contains req.base_url() - has a
trailing /.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 10:16:13 +0200] rev 9817
[schema] spelling fixes in doc strings
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 12:23:18 +0200] rev 9816
[views] a 'div' with 'display: inline' screams 'span'
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 17 Feb 2014 11:27:25 +0100] rev 9815
[views] Rewrite cw.utils.formContents() with jQuery (closes #3747244)
Use jQuery's serializeArray() method instead. Just keep a bit of
compatibility with FCKEditor...
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 26 May 2014 12:10:22 +0200] rev 9814
[web/data] Remove broken backward compatibility function
popupLoginBox() was deprecated in favor of cw.htmlhelpers.popupLoginBox()
However, the use of cw.utils.deprecatedFunction() is broken. In firebug:
>>> popupLoginBox()
TypeError: newfunc is undefined cubicweb.js:113 (ligne 13)
This function was modified back in 2010, so it's been broken for 4 years.
Let's just get rid of it. Closes #4042978
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Jun 2014 17:39:12 +0200] rev 9813
[repoapi] make ClientConnection call RequestSessionBase's init
Not calling up means we're missing some attributes, like encoding.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 18:31:09 +0200] rev 9812
[webtests/views_staticcontrollers] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 18:04:35 +0200] rev 9811
[webtests/views_selectors] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 17:21:52 +0200] rev 9810
[webtests/views_json] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 17:01:38 +0200] rev 9809
[webtests/views_errorform] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:52:34 +0200] rev 9808
[webtests/views_actions] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:48:37 +0200] rev 9807
[webtests/views_xmlrss] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:18:06 +0200] rev 9806
[webtest/pyviews] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:13:33 +0200] rev 9805
[tests/sqlutils] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 13:09:14 +0200] rev 9804
[tests/postgres] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 12:36:43 +0200] rev 9803
[tests/repository] use the new connection api (part 2/2)
Some notes:
* module imports cleanup
* the unimplemented `test_transaction_interleaved` is wiped
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 12:28:50 +0200] rev 9802
[repository,tests] use the new connection api (part 1/2)
`add_info` should not play with the cnxset nor the mode.
Static analysis showed that:
* add_info is an internal api called with a non-none cnx.cnxset and
also in write mode
* only the altered test violated this assumption, which is now
somewhat documented
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jun 2014 14:43:28 +0200] rev 9801
[book] fix various parts of the rql section
* syntax error
* erroneous query
* bad sphinx :func: usage
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 11:47:30 +0200] rev 9800
[repository] session -> cnx renaming (already done in the source object)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:57:55 +0200] rev 9799
[tests/session] remove unused import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:52:15 +0200] rev 9798
[tests/datafeed] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:46:40 +0200] rev 9797
[tests/checkintegrity] use the new connection api
* serverctl: the db-check command also uses an internal connection
object, which makes more sense in the context of `checkintegrity`.
* checkintegrity: rename srvcnx to just cnx (a bit because in the near
future, there will be one cnx to rule them all)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:40:22 +0200] rev 9796
[tests/schemaserial] kill star import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:38:14 +0200] rev 9795
[tests/schemaserial] break long lines
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Jun 2014 17:22:22 +0200] rev 9794
[tests/ldap] don't leak sessions
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:24:44 +0200] rev 9793
[tests/ldap] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 12:56:45 +0200] rev 9792
[test/migration] fix crash on execution
This assertion is there for unclear reasons.
===================== unittest_migration.py =======================
-> creating tables [====================]
-> inserting default user and default groups.
-> storing the schema in the database [====================]
-> database for instance data initialized.
F
======================================================================
FAIL: test_db_creation (unittest_migration.BaseCreationTC)
make sure database can be created
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/auc/confs/forges/logilab/common/testlib.py", line 661, in _proceed
testfunc(*args, **kwargs)
File "/home/auc/confs/forges/cubicweb/test/unittest_migration.py", line 106, in test_db_creation
handler.build_db_cache()
File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 469, in build_db_cache
self.init_test_database()
File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 729, in init_test_database
init_repository(self.config, interactive=False)
File "/home/auc/confs/forges/cubicweb/server/__init__.py", line 217, in init_repository
repo = Repository(config, vreg=vreg)
File "/home/auc/confs/forges/cubicweb/server/repository.py", line 197, in __init__
self.init_cnxset_pool()
File "/home/auc/confs/forges/cubicweb/server/repository.py", line 220, in init_cnxset_pool
config.bootstrap_cubes()
File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 176, in bootstrap_cubes
super(TestServerConfiguration, self).bootstrap_cubes()
File "/home/auc/confs/forges/cubicweb/server/serverconfig.py", line 279, in bootstrap_cubes
self.init_cubes(self.expand_cubes(splitstrip(line)))
File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 1022, in init_cubes
super(CubicWebConfiguration, self).init_cubes(cubes)
File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 798, in init_cubes
assert self._cubes is None, repr(self._cubes)
AssertionError: ('card', 'file', 'localperms', 'tag')
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 05 Jun 2014 17:53:27 +0200] rev 9791
[web] Remove unreachable and broken code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Apr 2014 11:55:37 +0200] rev 9790
[testlib] call init_config once the config has been properly bootstraped
This should be done right after repository instantiation and as such involves
giving CWTC.init_config as a callback to the test database handler (which will
itself gives it to the repository initialization function).
This unfortunatly requires to pass the init_config method to the
server.init_repository function because it has to be called after the config has
been initialized (which is done in Repository.__init__) but before the migration
handler is instantiated (which will call 'server_maintainance' hook, hence may
require the proper config). Another way to fix this would be to change the
initialization sequence, but this is another story.
Closes #3749378
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 17:50:50 +0200] rev 9789
[devtools] even better: use a plain Connection (server-side) object for pre_setup
The previous commit switched from passing a Session to a
ClientConnection.
This fixes unittest_ldapsource's pre_setup_database, which relied on a
server-side object to get at the repo.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:25:31 +0200] rev 9788
[devtools] pre_setup_database should take a connection object
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 11:10:54 +0200] rev 9787
[tests/migration] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 17:33:16 +0200] rev 9786
[tests/undo] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 14:10:02 +0200] rev 9785
[js/ajax] deprecate user-callback support
Related to #3567793.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 14:03:44 +0100] rev 9784
EditRelationMixIn: stop using user_rql_callback
Add generic add_relation/delete_relation ajax functions and use those.
Related to #3567793
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 17:57:40 +0200] rev 9783
[tests/storage] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 15:10:04 +0200] rev 9782
[tests/security] use the new connection api
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 10:52:45 +0200] rev 9781
[htmlwidgets] Remove unreachable code
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 24 Apr 2014 12:28:46 +0200] rev 9780
Remove redundant __nonzero__ methods
From https://docs.python.org/2/reference/datamodel.html#specialnames :
When this method is not defined, __len__() is called, if it is
defined, and the object is considered true if its result is nonzero.
Also helpful for an eventual migration to py3k, as __nonzero__ has been
replaced with __bool__, which also defaults to looking at __len__ if
undefined.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:12:47 +0200] rev 9779
[etwist] Remove unused host_prefixed_baseurl()
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 12:26:52 +0200] rev 9778
[basetemplate] Remove misleading comment
The <base> tag was removed in commit 8bf2337a6f3b back in 2011.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 14:48:09 +0200] rev 9777
[tests/security] break lines > 100 chars
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 14:54:18 +0200] rev 9776
[doc/3.19] Mention [gs]et_shared_data deprecation
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.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 17:01:58 +0100] rev 9727
[web/ajax] don't override any status code with 500 in ajax_error_handler
If the request produced an error such as Unauthorized or NotFound,
core_handle sets an appropriate status_out. Which is then overridden by
the ajax error handler.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:11:28 +0100] rev 9726
[web] Add asserts to the raw header conversion functions
This API is terrible, but at least this might help us catch some errors
in our conversion definitions.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 11:19:24 +0100] rev 9725
[view] Delete dead(?) code from ReloadableMixIn
Nothing seems to ever call user_callback on the Component, only on the
request. Related to #3567793
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Feb 2014 15:06:25 +0100] rev 9724
Add a db-statement-timeout option for postgresql sources
Use that new option to set the statement_timeout option when creating
connections, except for maintenance operations (shell and upgrade).
Closes #2547026
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:24:52 +0200] rev 9723
[test] use assertNotIsInstance instead of assert_(not isinstance(...))
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:19:37 +0200] rev 9722
[services] register_user now returns the new CWUser
Closes #3804444
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:41:34 +0200] rev 9721
[server/session] remove json dumps around call_service
This backouts changeset b151beea9cb6. With call_service being
in-process and synchronous, there's no RPC use case.
Christophe de Vienne <cdevienne@gmail.com> [Wed, 30 Apr 2014 08:07:59 +0200] rev 9720
[req.find] Use vreg.schema.eschema for eschema lookup
If an etype is non-existant, using vreg.schema[etype] raises a confusing error
complaining about a non-existing relation. This is because of the
implementation of vreg.schema.__getitem__ that look first in entities and then
in relations.
Using directly vreg.schema.eschema restrict the lookup to etypes only, hence
raises a meaningful error when the etype does not exist.
Christophe de Vienne <cdevienne@gmail.com> [Wed, 30 Apr 2014 10:13:10 +0200] rev 9719
[doc] Typo
Christophe de Vienne <christophe@unlish.com> [Tue, 07 Jan 2014 15:10:57 +0100] rev 9718
[formfields] Handle 'placeholder' attribute for text and textarea
See #636930.
Closes #3406713.
Alain Begey <alain@unlish.com> [Mon, 14 Apr 2014 23:00:19 +0200] rev 9717
[forms] Add autocomplete attribute for formrenderers
If you set form.autocomplete = False, the form renderer
in the open form tag will add the html option 'autocomplete=off'.
It allows to disable the functionality of some browsers to fill in
some forms automatically (for instance a profile with login/password)
Closes #3747294
Alain Begey <alain@unlish.com> [Fri, 11 Apr 2014 17:43:26 +0200] rev 9716
[widget] Addition of EmailInput
Simple input widget with type = 'email'
Closes #3741921
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Jan 2014 14:21:28 +0100] rev 9715
close branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 18:38:24 +0200] rev 9714
Added tag cubicweb-version-3.19.0, cubicweb-debian-version-3.19.0-1, cubicweb-centos-version-3.19.0-1 for changeset 1141927b8494
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 18:35:35 +0200] rev 9713
[debian] set release date
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 28 Apr 2014 18:11:21 +0200] rev 9712
[entity] add a new `cw_linkable_rql` method
* the new method returns the entities that are or may be related to the
current one by the relation passed as an argument.
Closes #3738011.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Apr 2014 12:03:31 +0200] rev 9711
[schema] fix buggy composite_rdef_roles and associated test
it should only look at rdefs involving the considered entity type.
Closes #3712982
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 17:43:35 +0200] rev 9710
[doc] update 3.19 release notes
Christophe de Vienne <cdevienne@gmail.com> [Mon, 28 Apr 2014 12:41:41 +0200] rev 9709
[login form] Fix BaseLogForm.form_action()
The method implementation was calling super() with the wrong class
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 11:20:26 +0200] rev 9708
[migration] move 'entities' table changes from 3.19.0 to bootstrap script
The 'mtime' and 'source' columns need to go away before we attempt to do
anything else with the repo, otherwise any addition of an entity is
going to explode.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 12:54:14 +0200] rev 9707
[server/session] add missing rollback when freeing a db connection
When we let go of a cnxset and give it back to the pool, we need to make
sure it's not in the middle of a transaction.
We got bitten by a migration where the connection used by admin's
repo.connect was not rolled back before attempting the migration,
causing a deadlock because it had a lock on a table. This could
potentially also be an issue for e.g. hooks or looping tasks that didn't
explicitly rollback before calling free_cnxset or moving out of a
ensure_cnx_set block.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Apr 2014 17:52:20 +0200] rev 9706
[debian] add Breaks on cubicweb-bootstrap
Need to be versioned once we know which version fixes
https://www.cubicweb.org/ticket/3728939
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 08 Apr 2014 16:08:31 +0200] rev 9705
Drop duplicated content in ITreeAdapter docstring
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 13:31:19 +0200] rev 9704
an -> a (misc)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:29:01 +0200] rev 9703
an utf-8 -> a utf-8
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:27:37 +0200] rev 9702
an URI -> a URI
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:07:00 +0200] rev 9701
an unicode string -> a unicode string
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 11:54:33 +0200] rev 9700
an URL -> a URL
Christophe de Vienne <christophe@unlish.com> [Tue, 01 Apr 2014 13:57:25 +0200] rev 9699
Remove a misleading comment about self.render() behavior.
The former comment suggested that View.render called with 'row' or 'col' would
set cw_row or cw_col, which is not (anymore ?) accurate.
Related to #3696871.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Mar 2014 18:41:23 +0100] rev 9698
[migractions] add sanity check in rename_relation_type
If the relation is still present in the fs schema, we probably shouldn't
be renaming it (because it's still in use somewhere, possibly in a
different cube). Closes #3608172
Vincent Michel <vincent.michel@logilab.fr> [Mon, 07 Apr 2014 08:46:41 +0000] rev 9697
[dataimport] Add safety belt on "gen_rtype" in MetaGenerator, closes #3712892
Some cubes may well add to the META_RTYPES set, hence
crashing the gen_<somecubemeta> call.
Vincent Michel <vincent.michel@logilab.fr> [Mon, 07 Apr 2014 08:44:56 +0000] rev 9696
[dataimport] Correctly serialize datetime objects in _create_copyfrom_buffer, closes #3712885
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 03 Apr 2014 15:36:33 +0200] rev 9695
[dataimport] Prevent ucsvreader from skipping the first line when ignore_errors is True (closes #3705791)
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 03 Apr 2014 15:30:37 +0200] rev 9694
[dataimport] Avoid double unicode decoding in ucsvreader (closes #3705752)
Christophe de Vienne <christophe@unlish.com> [Fri, 25 Apr 2014 12:22:07 +0200] rev 9693
[doc] Document the user_data dictionnary content
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Apr 2014 14:44:58 +0200] rev 9692
[debian] break old cubicweb-vcsfile
We removed call_service's async argument, which it used.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:17:42 +0200] rev 9691
[services] catch missing group early in register_user
Better an assertion than a rql syntax error for such a programming error.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:16:46 +0200] rev 9690
[services] rename register_user kwargs to cwuserkwargs
They're attributes/relations for the created CWUser, this makes it clearer.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 15:18:04 +0200] rev 9689
[services] don't hardcode 'users' group for register_user
Let the caller choose which group the user should be in. Related to #3020639
Caveat: this is a possible security hole if untrusted values are allowed.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 15:03:24 +0200] rev 9688
[sobjects/test] check that register_user properly sets user name and email address
Related to #3020639
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 19 Jul 2013 17:38:15 +0200] rev 9687
[server] Refactor Repository.register_user into a CubicWeb service (closes #3020639)
[jcr: move commit to the caller; add item in release notes; fix NameErrors]
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:25:36 +0200] rev 9686
[migration] set a cnxset before process_script()
Not pretty, but I don't have a better idea right now and this at least
ensures migration scripts get run in the expected environment and can
access sql stuff as before.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 11:04:13 +0200] rev 9685
[server] make internal_cnx get and keep a connection to the db
- internal_session worked that way
- it's less surprising for users if their internal connections "just
work", rather than having to deal with the cnxset when using low-level
APIs
Includes a backout of 3f62606c01a2 "[repo] Fix register_user" which is
no longer needed.
Depend on logilab-database 1.12.1 to avoid errors due to pointless check
in python's sqlite3 binding.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 14:43:11 +0200] rev 9684
[server/session] make commit/rollback obey ensure_cnx_set
Inside the ensure_cnx_set context manager, commit and rollback aren't
allowed to dispose of the cnxset.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 14:05:54 +0200] rev 9683
[repo] fix deprecation messages for stats and gc_stats
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 17:31:50 +0200] rev 9682
[cwconfig] use "foo not in bar" instead of "not foo in bar"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 15:28:21 +0200] rev 9681
[debian] Add Breaks on a few cubes that need changes for 3.19
- mercurial_server is affected by composite deletion changes
- forgotpwd relied on session data to be forwarded to notification view
- registration hooks into the authentication stack
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 15:03:01 +0200] rev 9680
[hooks] run cascading delete hook later
Applications may have their own before_delete_entity hooks that rely on the
composite relations still existing.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 13:54:31 +0200] rev 9679
[devtools] set PGPORT/PGHOST when calling pg_ctl start
Helps pg_ctl find the socket on squeeze, otherwise it looks in
/var/run/postgresql.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 17:21:07 +0200] rev 9678
[server/test] update to deal with lgdb sqlserver fix
See https://www.logilab.org/ticket/235748
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 10:59:08 +0200] rev 9677
[test] Fix regressions from 96549de9dd70 "[test] use assertIn where appropriate"
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 18:14:45 +0200] rev 9676
[repo] Fix register_user
Make sure we have a connection to the db around user creation.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 18:00:14 +0200] rev 9675
[test] use assertNotIn where appropriate
Automatically generated with:
find -name unittest_*.py -o -name test_*.py | xargs sed -i -e 's/assertFalse(\([^,]*\) in \([^,]*\))/assertNotIn(\1, \2)/'
plus revert of a couple false matches.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 17:39:39 +0200] rev 9674
[test] use assertIn where appropriate
Automatically generated with:
find -name unittest_*.py -o -name test_*.py | xargs sed -i -e 's/assertTrue(\([^,]*\) in \([^,]*\))/assertIn(\1, \2)/'
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 11:25:45 +0200] rev 9673
[doc] Add removal of old multi-sources to 3.19 release notes
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 11:19:59 +0200] rev 9672
[pkg] Bump to 3.19.0
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 10:51:15 +0200] rev 9671
[web/debug] remove code broken by session refactoring
session.cnx and cnx.check() no longer exist.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 10:49:18 +0200] rev 9670
[web/debug] Fix check for open sessions
itervalues returns an iterator, which never evaluates to False.
Regression from 0bb18407c053 "[toward py3k] rewrite dict.keys() and
dict.values() (part of #2711624)".
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 20 Mar 2014 15:42:23 +0100] rev 9669
[cwconfig] Remove useless 'ui-cube' configuration option (closes #3728904)
The mechanism introduced could never actually be used as it brings dependency
loops to the cube graph. Just get rid of it.
This reverts commit 4032499c701e.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:28:47 +0200] rev 9668
[test] Use RepoAccess.shell() in unittest_predicates
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 12:03:06 +0200] rev 9667
[devtools] add 'shell' method to RepoAccess, deprecate CubicWebTC's
Lets us control the connection's lifetime.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:44:49 +0200] rev 9666
[repo] make extid2eid work with either a session or a connection
The only place it should matter is for restoring pending_operations in
case of failure. Which is not exercised by the test suite. Here be
dragons.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 14:23:01 +0200] rev 9665
[repository]Â extid2eid's 'commit' argument no more necessary
This removes the need for creating an internal session.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:46:35 +0200] rev 9664
[repository] complete argument is no more needed since we have no more 'true' multisource.
It is always false.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:39:59 +0200] rev 9663
[repository]Â 'session' argument is always given to type[_and_source]_from_eid, make it mandatory and simplify code accordingly
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 14:48:51 +0200] rev 9662
[repository]Â 'session' argument is always given to extid2eid, make it mandatory and simplify code accordingly
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 28 Mar 2014 14:59:33 +0100] rev 9661
[web/data] Remove broken jquery-json plugin (closes #3590335)
Conversion of Date() objects is somehow broken (don't know why beyond that it's
due to jquery-json's monkeypatched Date.toJSON() method).
Use the now-standard JSON.stringify() instead. http://caniuse.com/#feat=json
says it's supported by all browsers, and even IE going back to version 8.
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 27 Jan 2014 14:02:21 +0100] rev 9660
Add missing relation types items in schema global variables
Some of these global variables are used, in particular, to control schema
views (web/views/schema.py).
While they are currently not properly documented (see #3360868), their
definition are currently incomplete (e.g. one could reasonably expect to find
``cw_schema`` in ``SYSTEM_RTYPES``).
Closes #3486114.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 16:57:22 +0100] rev 9659
[web] return 403 for Unauthorized, not 401
401 is reserved to HTTP authentication. Just because it's also called
"unauthorized" doesn't mean it's the same as cubicweb's Unauthorized
exception. Closes #3648809.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:30 +0200] rev 9658
[test] update unittest_repoapi to 3.19 api (sic)
[jcr: while at it, fix typos and add missing __main__ section]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:19 +0200] rev 9657
[test] update unittest_utils to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:11 +0200] rev 9656
[test] update unittest_rset to 3.19 api
[jcr: use self.admin_access instead of creating a new one each time]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:03 +0200] rev 9655
[test] update unittest_rqlrewrite to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:54:54 +0200] rev 9654
[test] update unittest_req to 3.19 api
[jcr: use self.admin_access instead of creating a new one each time]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:54:45 +0200] rev 9653
[test] update unittest_predicates to 3.19 api
[jcr: use self.admin_access instead of creating a new one each time]
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 18:35:18 +0200] rev 9652
[web/test] port unittest_reledit to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 11:31:39 +0200] rev 9651
[web/test] port unittest_magicsearch to RepoAccess API
request created in setUp makes context manager usage painful, so create
a context manager to do the setup for each test class.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 16:05:54 +0200] rev 9650
[web/test] use real_error_handling context manager instead of open-coding it
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 16:03:19 +0200] rev 9649
[web/test] port unittest_idownloadable to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 15:51:29 +0200] rev 9648
[web/test] remove useless calls to self.request() from CORS tests
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 15:47:04 +0200] rev 9647
[web/test] port unittest_formfields to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 18:20:23 +0200] rev 9646
[web/test] port unittest_form to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 17:44:32 +0200] rev 9645
[web/test] port unittest_facet to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 17:03:46 +0200] rev 9644
[web/test] move unittest_controller to RepoAccess test API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 16:56:26 +0200] rev 9643
[web/test] port unittest_breadcrumbs to 3.19 test api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:44:57 +0200] rev 9642
[web/test] avoid deprecation warnings from find_entities()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:51:01 +0200] rev 9641
[web/test] port unittest_application to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:46:06 +0200] rev 9640
[test] silence warnings for unittest_schema by upgrading to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:45:12 +0200] rev 9639
[test] silence warnings for unittest_cwctl by upgrading to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 13:49:03 +0200] rev 9638
[test] replace some assert{True,False} with more specific method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Apr 2014 10:26:37 +0200] rev 9637
[test] silence warnings for unittest_entity by upgrading to new 3.19 API
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 18:04:56 +0200] rev 9636
Fix constraint sync during migration
- restore constraints lost during merge in test schema.
- use constraint_by_eid in BeforeDeleteCWConstraintHook as done in
3.17.14 for BeforeDeleteConstrainedByHook. Fixes handling of multiple
constraints of the same type.
- make sync_schema_props_perms() delete the CWConstraint entity instead
of the constrained_by relation. In 3.19, the latter doesn't
automatically result in the former just because the relation is
composite. Simplify the constraint migration to delete all removed
constraints and recreate new ones even if they share the same type; that
optimization made the code more complicated for (AFAICT) no significant
reason.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 17:02:04 +0200] rev 9635
merge 3.18.4 into default
server/test/unittest_migractions fails due to interaction between new
constraint test (from 3.18) and composite deletion change (in 3.19).
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 15:57:47 +0200] rev 9634
Added tag cubicweb-version-3.18.4, cubicweb-debian-version-3.18.4-1, cubicweb-centos-version-3.18.4-1 for changeset 0176da9bc752
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:37:39 +0200] rev 9633
[test/data] Add missing 'add' permission on attribute
Silences a warning introduced in 3.18.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:15:35 +0200] rev 9632
[hooks/notification] Fix indentation
Follow-up for changeset 1b8552265f3b "[hooks/notification] use a cnx not a
session"
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:16:10 +0200] rev 9631
[devtools] deprecate CWTC.user()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:18:11 +0200] rev 9630
minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:16:28 +0200] rev 9629
some copyright updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:12:48 +0200] rev 9628
[devtools] properly close open access on tearDown
avoiding further warning about living sessions while the repo is turned off.
The doc string says:
The RepoAccess need to be closed to destroy the associated Session.
TestCase usually take care of this aspect for the user.
but that wasn't true until now.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:10:40 +0200] rev 9627
[devtools] make comment (a bit) more readable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 16:09:09 +0200] rev 9626
[devtools] avoid an internal deprecation warning
websession and session are now one and the same.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:38:29 +0200] rev 9625
[server/session] undeprecate session.anonymous_session
It's not connection-specific.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:42:25 +0200] rev 9624
[web/sessions] use session.sessionid instead of deprecated session.id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:09:57 +0200] rev 9623
[repo] don't set cnxset when getting the session to close it
and avoid warning about that.
session._cnx.rollback won't do anything if it's not set and a newer connection
is now created to run the session_close hook, so there is not need to set
cnxset.
Notice we have to take care about not trying to rollback the underlying cnx when the
session is not 'session_handled' (i.e. bw compat mode). This case only occurs due
to hackish things to keep bw compat in testlib.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:38:02 +0200] rev 9622
[repo] handle connection explicitly when calling session open/close hooks
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:48:34 +0200] rev 9621
[hooks/syncschema] work with connections not sessions
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:48:14 +0200] rev 9620
[server/sources] {before,after}_entity_insertion wants a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:35:15 +0200] rev 9619
[hooks/syncsources] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:34:38 +0200] rev 9618
[hooks/notification] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:33:48 +0200] rev 9617
[hooks/metadata] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:32:49 +0200] rev 9616
[hooks/bookmark] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:32:28 +0200] rev 9615
[hooks/workflow] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:30:35 +0200] rev 9614
[hooks/email] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:29:54 +0200] rev 9613
[hooks/integrity] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:28:12 +0200] rev 9612
[hooks/security] let's use a connection, not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:17:03 +0200] rev 9611
[server/sources/native] deal with connections, not sessions
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:12:50 +0200] rev 9610
[server] eschema_eid needs a connection, not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:53:21 +0200] rev 9609
[repository] operations get a connection instead of a session
Left extid2eid unchanged because that function scares the shit out of
me.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:52:44 +0200] rev 9608
[server/hook] operations get a connection instead of a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:46:17 +0200] rev 9607
[repository] Use an internal connection in register_user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Apr 2014 10:28:16 +0200] rev 9606
avoid to internally raise 3.19 warnings
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 12:28:25 +0200] rev 9605
[sources] ensure we have a cnxset in undoable_transactions
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 10:46:53 +0200] rev 9604
[server] move security/integrity hook management away from InternalSession.__init__
and to Repository.internal_{session,cnx} instead. Lets internal_cnx avoid
deprecation warnings.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 17:25:53 +0200] rev 9603
[migration] make 'session' object be a server-side Connection, not ClientConnection
I think this better corresponds to the previous behaviour. However,
that Connection does not have a cnxset, which should probably be changed
(for both interactive_shell and cmd_process_script).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:45:52 +0100] rev 9602
[sources] Skip problematic sources when starting shell instead of crashing. Closes #3670208
At least this gives an opportunity to fix the problem in using c-c shell, which
is currently not possible because it crashes during initialization.
Notice that since sources are copy based, it should not be a problem at all to
have some disabled, beside for services such as authentication sources as
ldapfeed.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 17:32:12 +0200] rev 9601
[web] fix language negotiation
Regression caused by commit 6fd0ac6506cb "[web-request] handle default
language earlier". We would handle language negotiation at request
init time, but overwrite the selected language with the site default
when calling set_cnx.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Apr 2014 18:09:46 +0200] rev 9600
[merge] bring the 3.17.14 fixes to 3.18
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Apr 2014 14:46:55 +0200] rev 9599
[test/utils] repair concat-resources test
That was forgotten in 240a620b9cd3.
Related to #3670503.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 31 Mar 2014 19:00:49 +0200] rev 9598
[pkg] bump cubicweb.spec
Vincent Michel <vincent.michel@logilab.fr> [Mon, 31 Mar 2014 11:18:44 +0000] rev 9597
[dataimport] Correctly call rschema(rtype) in SqlGenObjectStore, closes #3694139
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 28 Mar 2014 17:13:38 +0100] rev 9596
[pkg] prepare 3.18.4
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 20 Mar 2014 15:44:59 +0100] rev 9595
[web] Disable 'concat-resources' by default (closes #3670503)
It makes debugging harder and it can actually *break* working JS or CSS files.
This is the first step towards complete removal.
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 12 Mar 2014 08:56:31 +0100] rev 9594
[testlib] Drop override of assertItemsEqual method
The override is not compatible with underlying (standard) method because it
builds sets and rely on eid.
Closes #3641111.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Mar 2014 17:32:40 +0100] rev 9593
[rewrite]Â Fix crash when the main variable doesn't appear in the snippet's vargraph
Also, the added test discover another bug once the first has been fixed
(erroneous argument given to .rewrite recursive call).
Closes #3661918
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 13 Mar 2014 15:33:22 +0100] rev 9592
[ext/rest] Catch SystemExit raised by docutils
docutils publisher may raise SystemExit which is not caught by
Exception.
Closes #3648763.
Jérôme Roy <jerome.roy@logilab.fr> [Fri, 14 Mar 2014 15:19:31 +0100] rev 9591
[entity] User-defined relation to skip for copy has precedence
Otherwise permission problems can occur on rtypes not yet skipped
Closes #3653459
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 26 Feb 2014 14:50:13 +0100] rev 9590
Make EditController edit_entity method always return an eid
In cases the entity was to be created or copied, eid was None hence the method
returned None despite the dosctring says the method should always return an
eid. Now if the eid variable is None, it is assigned to the newly created
entity eid.
Closes #3593029.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Mar 2014 11:08:09 +0100] rev 9589
[migration] Improve update of in-memory schema during 3.18 CWAttribute.defaultval change
We weren't updating the schema properly so a bunch of structures still
had the old rdef with 'String' as object. That caused failures to add
new attributes later in the migration as their default value would be a
Binary object but the schema would expect a String.
Closes #3683640
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Mar 2014 14:32:21 +0100] rev 9588
[migration] always rebuild infered relation
This was skipped for some bad reason (see 12ad88615a12 which
introduced the change).
Fix for #231956 in Yams is necessary to allow this cset: during a
migration, we want to always reinfer relations while allowing explicit
redefinition of an infered relation later. Else, we may run the
migration with missing parts of the schema (the one that should have
been infered).
Closes #3685463.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 16:29:18 +0100] rev 9587
Backout "[web/navigation] use add_onload instead of inline javascript href"
This reverts changeset 170e1437948d, for at least two reasons: the
PageNavigationSelect component was not updated for the new type of
navigation links, and external cubes defining View.page_navigation_url
exist in the wild and also got broken navigation links. This reopens
#3501626 and closes #3677945.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Mar 2014 10:51:05 +0100] rev 9586
[test] those are rql tests, not cubicweb (and they break with rql 0.31.5). Remove them.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Mar 2014 18:14:22 +0100] rev 9585
[source/native] allow many eid creation per .create_eid call (closes #3526594)
[jcr: move migration code to bootstrapmigration_repository.py to make
sure we stop using the old sequence ASAP]
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Feb 2014 19:04:03 +0100] rev 9584
[pkg] bump the dependency on logilab.database
This will allow use of an extended API.
Related to #3526594.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Mar 2014 15:55:56 +0100] rev 9583
[source/native] refactor eid generation code
This set of related methods clutters the native source API.
It will be better served with a dedicated eid genrator object.
Related to #3526594.
[jcr: allocate the eid generator in __init__]
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 11:57:23 +0100] rev 9582
Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection
ResultSet._build_entity relies on an entity cache to avoid going round in
circles (stack overflow due to infinite recursion) e.g. in a postcreate script.
Clear the cache at commit/rollback time to avoid unexpected side
effects; and explicitly clear the cache in a few tests where we mix ORM
and RQL using the same connection.
Laura Médioni <laura.medioni@logilab.fr> [Mon, 24 Mar 2014 16:38:57 +0100] rev 9581
[server] Fix AttributeError in extid2eid
Session._tx was renamed in cb87e831c183, use _cnx instead.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Mar 2014 15:56:05 +0100] rev 9580
[book] Update documentation for new repoapi
Quite a few things change in 3.19:
- repoapi instead of dbapi
- ClientConnection / Connection / Session rework
- web authentication process
- test APIs
Closes #3638793
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:18:15 +0100] rev 9579
[utils] the json module is always available
It's included since python 2.6, and we don't support earlier versions.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:15:20 +0100] rev 9578
[fti] properly close the ProgressBar
Ensures cubicweb-ctl db-rebuild-fti ends its output with a newline.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:13:14 +0100] rev 9577
[serverctl] use repoapi for db-check, add-source, rebuild-fti commands
One more step towards getting rid of dbapi.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 12:35:37 +0100] rev 9576
[devtools] make get_repo_and_cnx return a repoapi ClientConnection
And adjust callers accordingly (they need to use it as a context manager to
open/close it properly).
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 11:22:20 +0100] rev 9575
[repoapi] Avoid deprecation warnings from session.id
Apparently it's called session.sessionid now.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 15:26:22 +0100] rev 9574
[server] some s/session/cnx/
For merely accessing the database we need a connection, not a session.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 16:58:14 +0100] rev 9573
Move setting session.mtime from dbapi to web session manager
clean_session was broken since the switch away from dbapi on the web
side, since session.mtime wasn't being set anywhere.
David Douard <david.douard@logilab.fr> [Thu, 13 Mar 2014 17:01:13 +0100] rev 9572
[web] whitespace cleanup in http_headers.py
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 14 Mar 2014 11:20:53 +0100] rev 9571
[web] implement cross origin resource sharing (CORS) (closes #2491768)
Partial implementation that is enough to get started but leaves out
some of the advanced features like caching and non-simple methods
and headers.
David Douard <david.douard@logilab.fr> [Wed, 12 Mar 2014 16:02:44 +0100] rev 9570
[devtools] add a 'method' argument to RepoAccess.web_request
so that one can easily forge a request with any HTTP method.
Also a bunch of clone cleanups.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:38:14 +0100] rev 9569
[web] Fix handling of some http headers
The generator takes as argument a list of raw string values, and is
supposed to return the parsed version. Calling str on that list makes
no sense.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Mar 2014 17:54:02 +0100] rev 9568
[web/request] deprecate user_callback
Storing closures in session data considered harmful. Closes #3567793
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 10:27:14 +0100] rev 9567
[doc] undocument user_callback
Related to #3567793
Florent Cayré <florent.cayre@logilab.fr> [Wed, 12 Mar 2014 14:08:51 +0100] rev 9566
Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 10 Mar 2014 15:17:50 +0100] rev 9565
[migractions] Better handle removal of RQLConstraint in sync_schema
In rdef synchronisation, filter unmodified constraints before processing the
sets of old and new constraints.
Add a new `constraint_by_eid` method on RelationDefinitionSchema, which
eliminates the ambiguity of `constraint_by_type` usage when several
constraints of the same type are involved in the same migration.
Closes #3633644.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Mar 2014 16:07:41 +0100] rev 9564
[test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164
Without this, modules imported within instance home will be messed up.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Mar 2014 13:59:24 +0100] rev 9563
[wsgi] make sure request.content is available for consumption
The wsgi.input stream is not seekable, so make a copy either to memory
or disk so it's still available to the user even after we've parsed it
(for POST form processing). Closes #3554996
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 29 Jan 2014 10:57:10 +0100] rev 9562
[facet] create a RangeRQLPathFacet (closes #2852512)
This facet is a mix between a RQLPathFacet and a RangeFacet, allowing
to use the FacetRangeWidget on the RQLPathFacet target attribute
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 31 Oct 2013 16:12:37 +0100] rev 9561
[request] Make sure set_message() actually displays its given message (closes #3003425)
The default automatic form sets a standard submit message as session
data. However in some cases, such as the cancellation of a form edition,
another message is intended to be printed on-screen.
This patch makes sure that set_message() really scrubs all previous
messages (and ids) from the request object and from the session data.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 05 Mar 2014 15:49:23 +0100] rev 9560
[pkg] prepare 3.17.14
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 27 Feb 2014 18:10:29 +0100] rev 9559
[hooks/syncschema] do not crash on double removal of a constraint
Some complicated migrations may entail a double constraint removal.
It is not yet known whether this is a genuine cw bug or the result
of a complicated migration story, but we should nevertheless
not crash.
Rather, emit a CRITICAL warning and proceed.
Closes #3595309.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 19 Feb 2014 11:01:19 +0100] rev 9558
[doc/book] Fix typo in import
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 13:54:08 +0100] rev 9557
[server/session] fix a couple typos in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:58:45 +0100] rev 9556
[server/migractions] finish migration to repoapi objects
Changeset 241b1232ed7f (Use repoapi instead of dbapi for cwctl shell,
upgrade and db-init) only did half of the job. It left the migration
handler with both a session (cubicweb.server.session.Session) and a cnx
(cubicweb.repoapi.ClientConnection) attribute with different ideas of
what Connection they were talking to.
With this change, we:
- make the caller responsible of disabling security on the Connection if
it wants to
- turn mih.session into an actual attribute, set on __init__
- same for cnx (the client connection)
- drop the "lazy connection" logic, and establish the connection
up-front
- always go through the connection instead of the session when we need
to talk to the db
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 10:44:45 +0100] rev 9555
[server] use the ClientConnection directly now that it has more methods available
Gets rid of ugly self.cnx._cnx.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:29:34 +0100] rev 9554
[repoapi] add security/hook control and system_sql
Just redirect these methods to the repo-side Connection.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:22:21 +0100] rev 9553
[predicates] fix thinko in doc strings
Replace "e.g." with more appropriate "i.e.". These are not examples.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 14:10:53 +0100] rev 9552
[web/basecomponents] remove EtypeRestrictionComponent
Closes #3119951
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 12:03:20 +0100] rev 9551
[ldapparser, book] document additional error causes
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:39:55 +0100] rev 9550
[js] remove leftover dead code in loadxhtml
form.callback support was removed in changeset 68cde7431c2c, but some
signs of it remained.
Damien Garaud <damien.garaud@logilab.fr> [Tue, 04 Mar 2014 18:28:46 +0100] rev 9549
[web] Avoid using an empty dict as default parameter of 'CubicWebRequestBase'.
Also update the related docstring of the __init__ method.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 18:30:16 +0100] rev 9548
[schema] fix composite deletion handling
Do not delete component entities if the composite is not deleted in
the same transaction.
Deletion semantics are thus: if the composite is deleted, the
components are deleted.
Closes #3463112.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Jan 2014 13:08:53 +0100] rev 9547
[schema] add composite handling helpers on EntitySchema (related to #3463112)
These will help write predicates, hooks, etc.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:01:23 +0100] rev 9546
[server] Handle unique constraint violations under recent sqlite
The error message changed from "columns foo, bar, baz are not unique" to
"UNIQUE constraint failed: table.foo, table.bar, table.baz".
Closes #3564510
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Mar 2014 12:02:11 +0100] rev 9545
[i18n] update
de: 1065 translated messages, 1 fuzzy translation, 259 untranslated messages.
en: 656 translated messages, 669 untranslated messages.
es: 1325 translated messages.
fr: 1314 translated messages, 11 untranslated messages.
Celso FLORES <celso.flores@crealibre.com> [Tue, 04 Mar 2014 12:04:04 +0100] rev 9544
[i18n] es.po updated
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:32:50 +0100] rev 9543
merge 3.18.x in 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:13:27 +0100] rev 9542
3.18 is stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:07:38 +0100] rev 9541
[schema] explicitly declare 'add' permissions for a couple attributes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 17:52:49 +0100] rev 9540
Added tag cubicweb-version-3.17.13, cubicweb-debian-version-3.17.13-1, cubicweb-centos-version-3.17.13-1 for changeset 09b4ebb9b0f1
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:07:25 +0100] rev 9539
Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:06:59 +0100] rev 9538
Update translations
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:23:46 +0100] rev 9537
[pkg] prepare 3.18.3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:10:36 +0100] rev 9536
merge 3.17.13
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 15:42:25 +0100] rev 9535
[ldapfeed] fix encode error during initial user import
Closes #3539196.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 12 Feb 2014 17:32:49 +0100] rev 9534
[web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492)
17.12.1 Disabled controls : http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1
When set, the disabled attribute has the following effects on an element:
* Disabled controls do not receive focus.
* Disabled controls are skipped in tabbing navigation.
* Disabled controls cannot be successful.
The third one is the important one.
17.13.2 Successful controls : http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls
A successful control is "valid" for submission. Every successful control has
its control name paired with its current value as part of the submitted form
data set.
Bottom line, disable widgets should not be part of the names and values lists returned by formContents().
Damien Garaud <damien.garaud@logilab.fr> [Fri, 14 Feb 2014 15:22:56 +0100] rev 9533
[etwist] Fix an empty request content after a Twisted processing (closes #3546795).
The content of a POST request could be empty when the Twisted server is used.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:50:55 +0100] rev 9532
[web/data] remove images that aren't used anywhere
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:51:22 +0100] rev 9531
[web/data] Add missing images from jquery-ui 1.10.3
Closes #3175933
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:06:56 +0100] rev 9530
[web/navigation] use add_onload instead of inline javascript href
This way our javascript code isn't thrown out by the html cleaner e.g. when
using the rql rest directive and a table view.
To make things simpler, we now always use ajax URLs for navigation,
even when we would previously have used regular links.
Closes #3501626
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:46:25 +0100] rev 9529
[web/data] fix treeview regression (closes #3526466)
Changeset 68cde7431c2c "[js] remove 3.9 bw compat (where apparently
unused)" removed the use of form.callback from loadxhtml, which treeview
relied on. Update to add a callback on the loadxhtml return value
instead.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 10:39:16 +0100] rev 9528
backout 8f3e963501e2, which is not ready yet
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Feb 2014 19:29:20 +0100] rev 9527
[pkg] also bump it there
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Feb 2014 18:00:26 +0100] rev 9526
[pkg] prepare 3.17.13
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 13:50:29 +0100] rev 9525
[navigation] use add_onload instead of inline javascript href
This way our javascript code isn't thrown out by the html cleaner e.g. when
using the rql rest directive and a table view.
Closes #3501626
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 15:50:36 +0100] rev 9524
[uilib] allow canvas tags in the html cleaner
Used by the iprogress cube. Closes #3524254.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 16:34:21 +0100] rev 9523
[ajax] use a custom tag to handle dynamically loaded js
Using <pre class="script"> makes it trivial for a malicious user to
inject arbitrary javascript into a html or rest text element (because it
looks innocent to the html sanitizer). Using a custom tag we can be
sure that it actually comes from our code and not from untrusted user
data. IE ignores custom tags, though, so we put it in its own namespace.
https://extranet.logilab.fr/1530578
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 03 Feb 2014 19:07:58 +0100] rev 9522
[dataimport] fix comment
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 12 Feb 2014 18:15:32 +0100] rev 9521
[hooks/security, devtools/fill] silence yams 0.38.0 warnings
Florent Cayré <florent.cayre@logilab.fr> [Mon, 03 Feb 2014 16:30:07 +0100] rev 9520
Drop 3.13 incomplete backward compat in edit controller.
It is very old and broken (there is another non-backward-copmpatible
usage of `_cw_entity_fields`), better to remove it instead of fixing.
Closes #3515223.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Feb 2014 16:06:16 +0100] rev 9519
[devtools] force locale to C for postgresql test clusters
Avoids initdb failure with e.g. iso8859-X locale and utf-8 encoding.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Dec 2013 08:39:03 +0100] rev 9518
[rql2sql]Â remove special behaviour of symmetric relation vs DISTINCT
0542a85fe667 replacing SQL OR by hooks for symmetric relations allows that.
This involve a single test value change for a border case: when querying a
symmetric relation without specifying the subject nor the object, you may get
some duplicated result. IMO this is fine to let the user explicitly use DISTINCT
or not and to remove the dedicated handling we had which didn't let any choice.
Related to #3259713
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 11 Feb 2014 11:03:01 +0100] rev 9517
Typo in comments and error messages
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:11:07 +0100] rev 9516
Fix typo in a setup.py comment
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:09:30 +0100] rev 9515
[dataimport, migration] more fixes in the spirit of a6c32edabc8d:
[entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones.
Closes #3390388
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 06 Feb 2014 15:04:57 +0100] rev 9514
[doc] Fix typo in devrepo/fti
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 04 Feb 2014 11:23:58 +0100] rev 9513
[doc/3.19] Clarify repoapi.get_repository usage
Followup for 9a62c52d167e.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:43:42 +0100] rev 9512
[server] use a connection instead of a session for user authentication
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 17:29:58 +0100] rev 9511
Use repoapi instead of dbapi for cwctl shell, upgrade and db-init
Hopefully nobody uses dbapi-specific API in their migration scripts. I
guess we'll find out.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 16:07:06 +0100] rev 9510
[server/repo] use internal_cnx in init_sources_from_database
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:25:05 +0100] rev 9509
[server/session] avoid spurious warnings from Session.close
Add internal non-noisy _rollback method.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:29:49 +0100] rev 9508
[server] rename session to cnx in querier and plan
They don't actually need a session, so let's make that clear.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:21 +0100] rev 9507
[repo] Use a connection instead of a session for repo.stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:48 +0100] rev 9506
[repo] Use a connection instead of a session for repo.gc_stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:56:44 +0100] rev 9505
[repo] Use a connection instead of a session for repo.get_versions()
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 15:52:22 +0100] rev 9504
[webconfig] get_repository moved to repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:48:39 +0100] rev 9503
[schemaserial] Replace 'cursor' with 'cnx'
We don't have cursors in rql, since execute is synchronous.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 03 Feb 2014 09:38:39 +0100] rev 9502
[book] basic documentation for LDAPfeed
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:03:42 +0100] rev 9501
[testlib] Use session.sessionid instead of deprecated session.id
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Feb 2014 17:03:11 +0100] rev 9500
Add data/pgdb to hgignore patterns
PostgresTestDataBaseHandler uses it as datadir.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 14:01:03 +0100] rev 9499
[test] make unittest_postgres pass
Use PostgresApptestConfiguration which starts a postgresql cluster
locally for the duration of the test.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:03:53 +0100] rev 9498
[devtools] make PostgresTestDataBaseHandler start its own postgresql
Don't depend on postgresql already running on the system, or on a static
config.
To use this, set the configcls attribute of your CubicWebTC-derived test
class to PostgresApptestConfiguration.
Caveats:
- this won't work with several tests running concurrently from the
same directory, since each would start its own cluster with a shared
data directory and stomp on each other's toes
- you need initdb/pg_ctl in $PATH, e.g /usr/lib/postgresql/$version/bin
on Debian/Ubuntu systems.
Closes #3489631
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 09:23:36 +0100] rev 9497
[web/staticcontrollers] create a unique temporary file for concat handling
Predictable names means different processes can race against each other.
Let's avoid that and use mkstemp to get a real unique temporary file,
and atomically rename it when we're done.
Closes #3524182
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:50:19 +0100] rev 9496
[server/repo] Use session.sessionid instead of session.id
Silences deprecation warning.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:19:13 +0100] rev 9495
[server/session] use _free_cnxset instead of free_cnxset to avoid warnings
No need to make DeprecationWarning noise for something the user doesn't
have any control over.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:29:23 +0100] rev 9494
[server] Use internal_cnx instead of internal_session in init_repository
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:33:32 +0100] rev 9493
[server/session] session.id → session.sessionid
The former causes deprecation warnings.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 04 Feb 2014 15:29:29 +0100] rev 9492
English typography
Get rid of extra space before `!' and `?'
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 19:00:52 +0100] rev 9491
[repo] restore python 2.6 compatibility
Broken in 12dfce15c8ea.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:24:29 +0100] rev 9490
[server] use internal_cnx instead of internal_session in deserialize_schema
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:40:19 +0100] rev 9489
[server/schemaserial] rename cursor argument to cnx
cursor is a sql concept it has no meaning for rql.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:57:48 +0100] rev 9488
[repo] Use a connection instead of a session in Repository.properties()
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:00:29 +0100] rev 9487
[server/sources] replace references to dbapi with repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:45:05 +0100] rev 9486
[doc/3.19] Make repoapi description match code
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 18:19:26 +0100] rev 9485
[serverctl] remove broken schema-sync command
As far as I can tell the migration handler hasn't had a
cmd_synchronize_schema method since cubicweb 3.2.0.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 18:04:59 +0100] rev 9484
[server/session] Fix docstring typo for InternalSession
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 24 Jan 2014 15:32:53 +0100] rev 9483
[book] typo
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:45:03 +0100] rev 9482
[server] fix TypeErrors
With multisource gone, cnxset.reconnect() doesn't take a source
argument. Broken since d62e13eba033.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:46 +0100] rev 9481
[notification] use an InternalManager object for notifications if we have an (email, lang) tuple
The non-uniform handling of CWUser vs (email, lang) tuple has caused too
many bugs; this change mostly unifies the two code paths. Closes #3381521
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:31 +0100] rev 9480
[req] if a user has a None property, fall back to the default
This can happen for InternalManager; the normal CWUser implementation of
property_value already has a similar fallback. Related to #3381521
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:12 +0100] rev 9479
[server] Allow setting an InternalManager's preferred language
Related to #3381521
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 16:19:49 +0100] rev 9478
merge 3.18.2 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 10:53:24 +0100] rev 9477
[migration/3.18] protect against attributes in db missing from fsschema
Happens if a previous migration forgot a drop_attribute.
Closes #3471609
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 21 Jan 2014 18:39:32 +0100] rev 9476
[doc] Update copyright date to 2014 (closes #3463136)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 Jan 2014 10:04:56 +0100] rev 9475
[repoapi] Fix typos in doc strings and comments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Dec 2013 13:43:56 +0100] rev 9474
[cwxml parser] minor pylint fixes
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:02 +0100] rev 9473
[devtools] make CubicWebTC.login as admin undo previous logins
Fixes things when login is not used as a context manager.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:13 +0100] rev 9472
[devtools] fix self.session._cnx vs self.cnx._cnx confusion after self.login
Make sure the client connection and the session refer to the same server
connection.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Jan 2014 18:26:16 +0100] rev 9471
[devtools] _orig_cnx does not exist any more (missing change)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 06 Jan 2014 17:25:55 +0100] rev 9470
[c-c schema] option to show single etype (closes #3404831)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jan 2014 13:47:28 +0100] rev 9469
[multi-sources-removal] Drop entities.source column
Since we remove federated multi-sources support, the same value ('system')
is always stored in this column and so could be removed. Also, cleanup
repository caches and a few api where the very same useless information could
be removed.
Closes #2919300, at last
[jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 12:32:16 +0100] rev 9468
[repo] pylint cleanup, mainly of imports, with a bit of style
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Jul 2013 16:13:17 +0200] rev 9467
[multi-sources-removal] Drop no more used federated ('true') multi-sources related code
Related to #2919300 (almost done!)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:50:03 +0100] rev 9466
[multi-sources-removal] Turn ConnectionsSet into simpler ConnectionWrapper
also, SqliteConnectionWrapper becomes a subclass. This is allowed since
now ConnectionsSet responsability has been reduced to handling the system
source only.
This changeset also:
* drops useless cnxset_set / check_connection api
* deprecates former .source / .connection / container api
but it renames neither the session's cnxset attribute, nor the related
repository method.
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 09:18:39 +0200] rev 9465
[multi-sources-removal] Drop cnxset_freed from source interface
Though a hack is still needed when using sqlite
Related to #2919300
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 15:35:13 +0100] rev 9464
[cnxset] add backwards compat for cnxset.source_cnxs
It's used at least in a vcsfile migration script.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:49:32 +0100] rev 9463
[multi-sources-removal] Simplify ConnectionsSet internal structures and public methods
since it now handles a connection to the system source only
Related to #2919300
[jcr: adjust 3.17.11 migration, fix a number of bugs in new
ConnectionsSet implementation, fix
source.{open,close}_source_connections]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:52:15 +0200] rev 9462
[ldap] simplify connection handling
since we deleted ldapuser source, we don't need anymore the get_connection and
ConnectionWrapper stuff (that was used to put the ldap connection into the cnxset).
Also, we should simply let connection errors propagate so this is properly reported
to import logs.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:46:16 +0200] rev 9461
[ldap] merge cw.server.ldaputils back into ldapfeed source
we don't need separated modules since ldapuser source has been removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 17:07:34 +0200] rev 9460
[config] cleanup/refactor server sources file values handling
* kill former `sources` method, misnamed since we've only the system source
configuration in the sources file (and some default admin account information)
* introduce new system_source_config and default_admin_config properties to
access to the two information in this file
Then use one or the other when appropriate
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 12:14:56 +0100] rev 9459
[repoapi] drop get_option_value's foreid argument
repoapi was introduced in 3.19, so no need to introduce legacy
deprecated stuff at the same time.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 17:53:44 +0200] rev 9458
[multi-sources-removal] Drop foreid argument of repo.get_option_value
It doesn't need it anymore.
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:17:17 +0200] rev 9457
[c-c restore] drop useless restore-all option, and related systemonly argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:01:59 +0200] rev 9456
[multi-sources-removal]Â Kill repo.sources
there is only the system source in there now!
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:18:20 +0200] rev 9455
[multi-sources-removal]Â Drop no more necessary scleanup (source cleanup) argument
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 10:39:57 +0100] rev 9454
[multi-sources-removal] drop source location search on glob_*[entity|relation] methods
source is now always the system source
Related to #2919300
[jcr: fix wrong rebase in symmetric relation removal]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:19:47 +0200] rev 9453
[server test]Â simplify data-schemaserial test instance's schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 10:19:30 +0100] rev 9452
[multi-sources-removal] Drop (dont_)cross relation related code
That was only needed for now deleted 'true' multisources.
Related to #2919300
[jcr: also remove it from server/test/data-schemaserial/schema.py]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jun 2013 00:15:51 +0200] rev 9451
[multi-sources-removal] Simplify repo.delete_info_multi arguments, uri is no more used
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 18:20:28 +0100] rev 9450
[multi-sources-removal] Drop deleted_entities system table and entities.mtime column
since they were only used by the entities_modified_since api of the
repository which has been dropped. Along with them, the multi-sources-etypes
configuration variable and some sql queries at modification/deletion time of
entities. Bon vent !
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jun 2013 00:07:35 +0200] rev 9449
[multi-sources-removal] drop repository entities_modified_since public api
actually only used by pyrorql/zmqrql sources which have been dropped.
This will allow to drop a bunch of system meta-data (eg deleted_entities)
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 18:11:30 +0100] rev 9448
[multi-sources-removal] Drop the "true" multi-sources planner
Only keep copy-based sources. This will soon allow for greater code
simplification.
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:30:46 +0200] rev 9447
[multi-sources-removal]Â Drop cw.server.sources.extlite
no more used for a while, beside an utility class
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 16 Jun 2013 23:36:06 +0200] rev 9446
[multi-sources-removal] Move cw.server.sources.ConnectionWrapper where it belongs
It's only used by the ldap utilities.
Related to #2919300
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 17:34:31 +0100] rev 9445
[multi-sources-removal] Drop pyrorql and zmqrql sources
After a few years experementing "true" multi-sources, we're now
moving to "copy-based" source à la datafeed.
As pyro and zmq sources have no more known customers and the related
code is in the way of future refactoring of cubicweb's core, we decided
to drop support for those sources without backward compatibility.
If you're still using a zmqrql or pyrorql source and you want to upgrade,
ask support to move it to datafeed using a pre-3.19 version first.
Related to #2919300 (first step)
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 21 Jan 2014 17:14:05 +0100] rev 9444
[web/formfields] Make CompoundField inherit needs_multipart from its subfields
If there's a FileField within a CompoundField, the latter will not have
the enctype multipart set, even though the FileField needs it.
CompoundField should inspect its children fields to determine whether it
needs multipart.
Closes #3406930.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 15 Jan 2014 12:34:41 +0100] rev 9443
[wsgi/handler] fix api change from 3.18
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 17:01:33 +0100] rev 9442
[req] deprecate get_cache (closes #3181499)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 16:42:34 +0100] rev 9441
Added tag cubicweb-version-3.18.2, cubicweb-debian-version-3.18.2-1, cubicweb-centos-version-3.18.2-1 for changeset 6880674c1a26
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 15:11:16 +0100] rev 9440
merge 3.17.12 into 3.18 branch
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Sep 2013 18:04:05 +0200] rev 9439
[editcontroller] fix cardinality computation (closes #3120495)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 14:56:06 +0100] rev 9438
Added tag cubicweb-version-3.17.12, cubicweb-debian-version-3.17.12-1, cubicweb-centos-version-3.17.12-1 for changeset 838d58a30f7e
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 14:00:26 +0100] rev 9437
[debian] move yams max version to Depends
And fix a syntax error and wrong package name in the process.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 13:12:36 +0100] rev 9436
[pkg] prepare 3.17.12
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 17 Jan 2014 16:09:39 +0100] rev 9435
[web] Fix typo in docstring
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 20 Jan 2014 09:13:12 +0100] rev 9434
[test] remove custom implementation of FakeRequest.header_accept_language() (closes #3375021)
``Accept-Language`` should be overridable just as any other request header.
Default value is "nothing" since the application should be able the empty
header case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 15:27:35 +0100] rev 9433
[adapters] fix a name stomping error (entity)
Also give proper name to subject (role, not target),
and kill unused variable.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 15:17:11 +0100] rev 9432
[entities] unconditionnally sanitize the html output of printable_value
Closes jpl##49466
Christophe de Vienne <cdevienne@gmail.com> [Sat, 14 Dec 2013 14:29:37 +0100] rev 9431
[doc] Update the debian stable name to wheezy
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 07 Jan 2014 09:04:23 +0100] rev 9430
[i18n] Fix two typos
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 Dec 2013 11:55:00 +0100] rev 9429
fix deprecation info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jan 2014 09:07:20 +0100] rev 9428
[web error] exception may not have a 'status' attribute, generating an AttributeError that hides the original error. Closes #3381670
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jan 2014 09:06:40 +0100] rev 9427
[test api] extract a context manager to temporarily disable app.error_handler monkey patch
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 Jan 2014 18:30:31 +0100] rev 9426
[views/workflow/tmppng] fix console crash on nth call to this one-shot view
The underlying design issue is not addressed here, only a cosmetic and
"we understand and document what's happening" note.
Related to #3400448.
Vincent Michel <vincent.michel@logilab.fr> [Tue, 10 Dec 2013 11:44:06 +0000] rev 9425
[dataimport] The subjtype should be the subject of a relation, not the object, closes #3365113
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jan 2014 14:21:47 +0100] rev 9424
[testlib] Fix assertMessageEqual
assertEqual(msg, msg) had a hard time failing.
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 06 Jan 2014 13:45:47 +0100] rev 9423
[doc] Pass field to value callback in FieldsForm example
This avoids a deprecation warning when following the documentation.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 12:34:14 +0100] rev 9422
[pkg] prepare 3.18.2
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 11:57:02 +0100] rev 9421
[migractions] Don't silently ignore errors when installing sql procedures
If we're going to ignore errors, at least be loud about it.
sqlexec already wraps the sql execution in a try/except block, so we
were never going to catch any exceptions in the caller. Check the
return value instead. Closes #3459618.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 10:20:49 +0100] rev 9420
[schema] execute the new stored procs/funcs at migration time (closes #3450368)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 17 Jan 2014 17:30:57 +0100] rev 9419
[schema/stored procs] fix syntax error (closes #3450362)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Jan 2014 10:01:48 +0100] rev 9418
Added tag cubicweb-version-3.18.1, cubicweb-debian-version-3.18.1-1, cubicweb-centos-version-3.18.1-1 for changeset 60322cb8636c
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Jan 2014 09:35:53 +0100] rev 9417
[web/data] Update fullcalendar to version 1.6.4
Fixes compat with jquery 1.10 (closes #3445689)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 15:10:54 +0100] rev 9416
[debian] declare breaks on cubicweb-invoice (closes #3444985)
It tries to access a 'state' attribute on an entity without going
through the IWorkflowable adapter.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 14 Jan 2014 11:14:41 +0100] rev 9415
[hooks/security] silence yams warning (closes #3440707)
If the rdef is not final, yams will complain.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 14:19:04 +0100] rev 9414
[migration/3.18] recover from bad CWSource.in_synchronization default value
The addition of this attribute in 3.13.8 had default=False, which made
no sense, and was fixed in 3.13.9. However no migration was done so
apps that ever saw the 3.13.8 code could still have '' as defaultval for
this attribute.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 11:54:06 +0100] rev 9413
[pkg] prepare 3.18.1
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 13:50:26 +0100] rev 9412
[security] Add comment to check_entity_attributes shortcut
Make it clear that it is only an optimization.
Related to #3444095.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 16 Jan 2014 12:21:05 +0100] rev 9411
Disable security hooks for internal sessions
Fixes semantic change introduced in 96dba2efd16d where internal sessions
started to check attribute permissions.
Closes #3444095
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jan 2014 18:20:25 +0100] rev 9410
[migration/3.18] Explicitly delete constraint on defaultval
Make sure the SizeConstraint on defaultval is removed, and avoid more
unnecessary commits.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jan 2014 18:19:52 +0100] rev 9409
[migration/3.18] Idempotency fixes
Try to make partially-upgraded instances migrate properly.
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 15:05:11 +0100] rev 9408
[migration/3.18] Fix NameError
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 14:42:00 +0100] rev 9407
[migration/3.18] Add add_permission relation definitions earlier
Otherwise sync_schema_props_perms('defaultval') does not work because the
later relation is not in schema.
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 14 Jan 2014 14:02:51 +0100] rev 9406
[migration/3.18] Only commit when we did something
Avoids countless confirmation prompts.
Closes #3438804.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 16:08:38 +0100] rev 9405
[doc/3.19] fix (mostly) grammar
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Jan 2014 15:56:52 +0100] rev 9404
fix version number: we still target cw 3.19
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:56:16 +0100] rev 9403
Fix a couple merge errors
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Jan 2014 13:47:47 +0100] rev 9402
merge 3.18.0 in 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 18:31:07 +0100] rev 9401
Added tag cubicweb-version-3.18.0, cubicweb-debian-version-3.18.0-1, cubicweb-centos-version-3.18.0-1 for changeset db37bf35a147
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 18:01:36 +0100] rev 9400
[book] drop reference to removed cubicweb.predicates.implements
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:18:07 +0100] rev 9399
3.18.0
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:10:51 +0100] rev 9398
[i18n] update French and English translations
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:05:04 +0100] rev 9397
i18n update
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 17:12:20 +0100] rev 9396
merge stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 13:15:53 +0200] rev 9395
[hooks/security] provide attribute "add" permission
As of today, the update permission on attributes is checked at entity
*creation* time. This forbids using update permissions the proper way.
We set it to be checked at entity update time only.
We introduce a specific 'add' permission rule for attributes.
For backward compatibility, its default value will be the same as the
current 'update' permission.
Notes:
* needs a new yams version (ticket #149216)
* introduces two new 'add_permissions' rdefs (attribute - group|rqlexpr)
* if the update permission was () and the bw compat kicks in, the rule
is not enforced, to avoid un-creatable entity types -- this
restriction will be lifted when the bw compat is gone
* small internal refactoring on check_entity_attributes
* one small pre 3.6.1 bw compat snippet must be removed from schemaserial
Closes #2965518.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 16:37:12 +0100] rev 9394
[server/test] reorganize data/migratedapp/schema.py to allow comparison with data/schema.py
Pure reorganization to make it possible to visually compare both schemas.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 16:25:45 +0100] rev 9393
[schema] move definition of RQLExpression classes before default permission dicts
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Jan 2014 15:02:07 +0100] rev 9392
[server] remove old backwards compat for PropagateSubjectRelation*Hook
Those classes were removed from server/hook.py.
Samuel Trégouët <samuel.tregouet@logilab.fr> [Fri, 10 Jan 2014 15:02:19 +0100] rev 9391
[book] replace PropagateSubjectRelation*Hook references
PropagateSubjectRelationHook, PropagateSubjectRelationAddHook and
PropagateSubjectRelationDelHook were deprecated by
PropagateRelationHook, PropagateRelationAddHook,
PropagateRelationDelHook respectively in v3.9, and removed in 3.18.
Closes #3420672
Julien Cristau <julien.cristau@logilab.fr> [Thu, 09 Jan 2014 16:16:34 +0100] rev 9390
[doc] update 3.18 release notes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 09 Jan 2014 15:08:54 +0100] rev 9389
[pkg] bump logilab-common requirement
Necessary since 4b3e657d17ab "[source configuration] silent lgc 0.60
deprecation warning"
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 09 Jan 2014 13:49:32 +0100] rev 9388
update jquery to 1.10 (closes #2786674)
Includes:
* base jquery
* jquery.migrate to help for the transition
* jquery.ui
The jquery.ui.tabs api has slightly changed hance the change
in web/views/tabs.
The autocompletion widget is slightly adapted to follow an API change
and now extends the base functionality in a simpler way.
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 16 Dec 2013 08:45:06 +0100] rev 9387
[notification] Use https url when available in notification view context
Closes #3376252.
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 13 Dec 2013 10:24:10 +0100] rev 9386
[req] Return base-url in case https-url is None in base_url()
Closes #3376322.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:09:08 +0100] rev 9385
[server/session] fix typo in keep_cnxset_mode docstring
Florent Cayre <florent.cayre@logilab.fr> [Thu, 09 Jan 2014 10:53:45 +0100] rev 9384
[breadcrumbs] Small breadcrumb components refactoring
* use `open_breadcrumbs` and `close_breadcrumbs` methods where applicable in
the BreadCrumbEntityVComponent hierarchy
* include the first separator related code in `open_breadcrumbs` to avoid code
duplication
Closes #3223911.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 06 Jan 2014 12:01:35 +0100] rev 9383
[views/dot] use an inlined svg for schema and workflow graphs
These are currently served as "temporary" pngs which are actually consummed immediately.
Which means they cannot be requested twice and any further attempt will yield an error
in the logs and some end-user surprise.
There is no known acceptable workaround for IE-8 (and previous versions). SVGWEB could
be workable but it's not trivial to integrate it properly.
Closes #3400448.
Christophe de Vienne <cdevienne@gmail.com> [Thu, 12 Dec 2013 16:17:25 +0100] rev 9382
[release notes] Documents one() and find() addition
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Jan 2014 16:39:32 +0100] rev 9381
[js] noop is undefined in plain javascript (related to #2786674)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Dec 2013 11:13:45 +0100] rev 9380
[css] drop shadow.gif & use a couple of rules (closes #3381435)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Dec 2013 10:49:17 +0100] rev 9379
[css] replace old rounded corners hack by css rules
Closes #3381426.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Nov 2013 16:06:06 +0100] rev 9378
[views/templates] provide a modal main template (closes #3274672)
The current NonTemplatableViewTemplate may seem to provide the desired
feature if a '__notemplate' is provided in the form, unfortunately,
it:
* wraps the view in a spurious div
* calls view.set_stream(), which has the effect of wiping any js/css
resource recorded until then by the view, leading to hard-to-track
missing resources symptoms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Jan 2014 14:00:31 +0100] rev 9377
[js/widgets] fix the InOut widget with modern jQuery versions
Several things are done there:
* reduction in size and complexity of the code
* the unused defaultsettings are removed
* the initial `unlinked` list is now correctly populated from
python-side
* the unit test is adjusted because it tested an irrelevant
implementation detail which is no longer true (but the widget of
course still handles correctly the linkto information)
Tested with ie7, ie9, chromium, firefox.
Tested with jQuery 1.6 (cw 3.17.x) and 1.10.
Closes #3154531.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 01 Aug 2013 09:39:43 +0200] rev 9376
[autoform] Allow overridding of permissions checks
Closes #3063930
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Jan 2014 12:09:44 +0100] rev 9375
[schema] fix unique together index handling
We now provide a more compact indexname, using the schema constraint
entity type and the position of the columns set in the entity type
unique constraints list.
This avoids a nasty name truncation issue.
The UniqueTogetherError object is made smarter: it computes the
rtypes, abstracting the underlying backend (pg/sqlserver vs sqlite).
The `user friendly` adapter is much simplified since there is no
longer any truncation issue.
Uses a new logilab.database version (ticket #151507) and a new yams
version (ticket #189299)
Closes #2514939
[jcr: disable hooks when temporarily dropping CWUniqueTogetherConstraint entities]
David Douard <david.douard@logilab.fr> [Tue, 07 Jan 2014 17:45:48 +0100] rev 9374
[pyrorql] deprecate pyrorql source (closes #2919299)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Dec 2013 15:46:19 +0100] rev 9373
[web/facet] do NOT drop offset/limit of the base rql (closes #3344579)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 18:25:45 +0100] rev 9372
[webctl] Generate static data directory on upgrade (closes #2167873)
- if the folder already exists, ``upgrade`` asks for deletion,
- add an option (``generate-staticdir``) to allow skipping this task.
- add an option (``staticdir-path``) to specify the static data folder path.
The ``gen-static-datadir`` command allows to specify the target folder but
there is otherwise no way to retrieve this information during upgrade.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 16:18:58 +0100] rev 9371
[cwctl] Don't check for old lgc versions
Support for check_duplicated_command in CommandLine was added in 2011
for 0.55, and we already depend on 0.59.0.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:21:35 +0100] rev 9370
[migration/3.18] add sanity checks before changing symmetric relations
Delete supposedly impossible relations from the db. Related to
#3259713.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Dec 2013 17:09:16 +0100] rev 9369
[migration/3.18] disable all hooks when setting up symmetric relations
This operation is semantically a no-op, so it should be invisible for
the application. Related to #3259713.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 15:38:49 +0100] rev 9368
[devtools] bases for instrumenting / debugging standard propagation hooks
* a class that helps writing command to check propagation, detecting standard
errors and picture the propagation as a graph
* a class to instrument sets used to configure standard propagation hooks
closes #3171980
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Sep 2013 14:15:24 +0200] rev 9367
instrument cwvreg, so we may know what's being loaded by asking the registry store
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jan 2014 16:19:18 +0100] rev 9366
set proper PACKAGE information for yams 0.39
Yams 0.39 adds an unobstrusive API to get the package, or cube, defining a part
of the schema (entity type, relation type/def).
As CubicWeb overrides part of the schema reading process, we have to handle this
information on our side so it will be properly set.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Dec 2013 14:50:29 +0100] rev 9365
[yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 14 Nov 2013 12:26:29 +0100] rev 9364
Make the GROUP_CONCAT aggregate function not repeat values (closes #3223975)
Work on sets instead of arrays, so if the same value appears twice it's
not repeated in the concatenated output.
This patch handles the postgresql and sqlite backends, mysql is left
alone at this point (seems doable, but I don't have time or motivation
to fix and test it).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jan 2014 15:48:31 +0100] rev 9363
[mail] allow to specify SMTP's MAIL FROM address to config.sendmails(). Closes #3373620
Also modify testlib.Email so we don't loose this information and may test it.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Nov 2013 15:58:42 +0100] rev 9362
[mail] format_mail copy/paste fix: we want to test sender-name, not sender-addr
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 14 Nov 2013 17:17:02 +0100] rev 9361
symmetric relations: replace bogus rql2sql translation by a hook
The hook ensures X r Y => Y r X iff r is symmetric.
The rql-no-hook data importer receives a small amendment but note
that:
* there exist no test for it
* its actual semantics are undefined
Hence we cannot prove this hunk breaks nothing, because we cannot
prove anything.
Closes #3259713.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Dec 2013 14:25:24 +0100] rev 9360
[migration] fix handling of default value for boolean attributes
We can't assert that the old value is 'True' or 'False', because False
used to be stored as an empty string in pre-3.18 versions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 12:34:38 +0100] rev 9359
[entity/url publishing] fetch_rqlst should use 'is_instance_of' instead of 'is'
We usually want to get any subclasses as well (think Training subclass of
Workcase). Closes #3210365.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Dec 2013 12:28:43 +0100] rev 9358
[rewriter] fix latent bug: arbitrary etype may be substituted when using is_instance_of type restriction
Note: the test is not deterministic because the bug depends on the iteration
order on a set.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 14:22:39 +0200] rev 9357
[test]Â drop no more used test data file
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 05 Nov 2013 09:51:32 +0100] rev 9356
[doc] Refer to RsetTableView in EntityTableView docstring instead of TableView
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Nov 2013 17:10:16 +0100] rev 9355
Fix use of vreg.config.anonymous_user()
If no anonymous user is declared, anonymous_user() returns 'None, None',
not 'None'.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Dec 2013 19:11:04 +0100] rev 9354
[server] avoid race-condition in timer events
With a granularity of one second, there's a good chance calling
localtime twice will return the same value. We should consider the
event ready immediately if that happens, not wait one second.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Dec 2013 19:14:43 +0100] rev 9353
[server/pyro] try to shutdown the repository properly
If RepositoryServer.trigger_events is not called we might miss a
QuitEvent and thus never shutdown the repository and its looping tasks.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:56:18 +0100] rev 9352
[book] remove broken links to web.views.wdoc.ChangeLog{View,Action}
ChangeLogView and ChangeLogAction were removed in 3.16.0 (changeset
fa044b9157d7, https://www.cubicweb.org/2423532)
Closes #3369687
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 17:36:59 +0100] rev 9351
[book] fix Session.{set,free}_cnxset autodoc
They're Session methods, not bare functions.
Without this building the docs says:
reading sources... [ 39%] devrepo/repo/sessions
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 326, in import_object
obj = self.get_attr(obj, part)
File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 232, in get_attr
return safe_getattr(obj, name, *defargs)
File "/usr/lib/pymodules/python2.7/sphinx/util/inspect.py", line 70, in safe_getattr
raise AttributeError(name)
AttributeError: set_cnxset
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 326, in import_object
obj = self.get_attr(obj, part)
File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 232, in get_attr
return safe_getattr(obj, name, *defargs)
File "/usr/lib/pymodules/python2.7/sphinx/util/inspect.py", line 70, in safe_getattr
raise AttributeError(name)
AttributeError: free_cnxset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Nov 2013 22:16:26 +0100] rev 9350
cwetype is a *class* property, rename its argument accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Nov 2013 22:15:58 +0100] rev 9349
typo
Christophe de Vienne <cdevienne@gmail.com> [Wed, 11 Dec 2013 12:22:52 +0100] rev 9348
[req] New method: RequestSessionBase.find().
This method does what find_entities and find_one_entity did, except it
returns the resultset itself.
In addition, it accepts 'reverse_' arguments and check that the relations
actually exists on the entity before executing the query.
Also, reimplement find_one_entity and find_entity based on the new function
so they benefit from the more complete implementation, and deprecate them.
Note: List of values in kwargs are NOT supported in this initial
implementation.
Closes #3361290
Christophe de Vienne <cdevienne@gmail.com> [Wed, 11 Dec 2013 17:52:54 +0100] rev 9347
[rset] New method: ResultSet.one()
This method will return exactly one entity while enforcing its existence and unicity.
The idea is shamelessly borowed from SQLAlchemy Query.one().
Closes #3352314
[jcr: use len(self) instead of len(self.rows)]
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:45:49 +0100] rev 9346
Added tag cubicweb-debian-version-3.17.11-2 for changeset b02e2912cad5
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Dec 2013 16:01:15 +0100] rev 9345
[debian] add lintian override for a false positive
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Dec 2013 12:36:50 +0100] rev 9344
[predicates] allow multiple transition names in on_fire_transition (closes #3013720)
Also add a warning about the unimplemented from_state_name argument.
David Douard <david.douard@logilab.fr> [Tue, 19 Nov 2013 09:42:48 +0100] rev 9343
[css] add the entypo font as available ressource (closes #2930356)
This provides a standard set of pictograms for use in CubicWeb and cubes.
To use a pictogram, the "cubicweb.pictograms.css"
must be explicitly loaded (using, e.g. view.add_css(...)).
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 10 Dec 2013 11:36:04 +0100] rev 9342
[skeleton i18n] Add PO-Revision-Date header to make emacs po-mode happy
Closes #3276389
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Oct 2013 09:58:26 +0200] rev 9341
[uicfg] give a set_fields_order method to the primary view display control
Hence it is nicely symmetrical with the fields kwargs.
Closes #2741963.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Dec 2013 16:13:10 +0100] rev 9340
merge 3.17.11
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 17:20:59 +0100] rev 9339
Added tag cubicweb-centos-version-3.17.11-1, cubicweb-version-3.17.11, cubicweb-debian-version-3.17.11-1 for changeset 7f67db7c848e
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 15:56:54 +0100] rev 9338
prepare 3.17.11
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Oct 2013 17:53:11 +0200] rev 9337
[devtools] write db config through a temporary file
Avoids other test processes reading partially written config and
exploding in pickle.loads. There are still concurrency issues,
presumably with the database itself. Something for another friday.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 13 Nov 2013 12:39:30 +0100] rev 9336
[server] Add missing indices for undo support (closes #3259691)
The tables used by the 'undo' feature were missing some indices, which
among other things triggered repeated sequential scans when deleting old
transactions.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 Dec 2013 15:02:31 +0100] rev 9335
[sqlutils] fix sqlite group_concat harder (related to #3331906)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Nov 2013 18:55:24 +0100] rev 9334
[sqlutils] avoid a crash with sqlite when using group_concat (closes #3331906)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 18:28:18 +0200] rev 9333
[server/initrepo] show failed sql statements and abort if necessary (closes #3308564)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Nov 2013 16:18:54 +0100] rev 9332
[views/table] use cubicweb.ajax.js for pagination
Else we fail in js-land on a "AJAX_PREFIX_URL is not defined".
Closes #3329072.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Dec 2013 13:23:59 +0100] rev 9331
[rset] Fix regression with rset copying (closes #3344410)
Don't override passed-in descriptions in ResultSet.__init__, even if
they're empty.
Christophe de Vienne <cdevienne@gmail.com> [Wed, 04 Dec 2013 14:26:35 +0100] rev 9330
[doc] Fix a sample request
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Dec 2013 11:26:57 +0100] rev 9329
[tableview] Don't share column renderers between all instances of a table (closes #3351872)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Dec 2013 11:26:20 +0100] rev 9328
[tableview] Add some unique element to AbstractColumnRenderer.__str__ (related to #3351872)
Otherwise different instances look the same which is confusing.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 10:22:18 +0200] rev 9327
add failing test case related to #3013554
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Nov 2013 15:24:57 +0100] rev 9326
[web] make sign_text unicode aware, avoid crash with non-ascii chars. Closes #3289774
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 07 Nov 2013 11:20:59 +0100] rev 9325
[doc] Use string debug mode in debugged docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Oct 2013 12:23:06 +0200] rev 9324
[rql2sql] fix relation table scope when some variable from subquery is used. Closes #3252270
While it feels weird to drop this explicit ColumnAlias handling, hg history has
no clue on its introduction (prior to rev 0) and no older test case fails
without it, so let's drop it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 30 Oct 2013 13:05:00 +0100] rev 9323
[cwctl] backout 5d5b3a865eb1, which breaks interactive shell usage
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 09 Sep 2013 12:43:25 +0200] rev 9322
[ReST] Implement a rql-table reST directive. Closes #3252856
allowing to call table or derivated view specify headers / cellvids. Also, rql
may be split accross several lines which greatly improve readability.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Oct 2013 11:57:47 +0200] rev 9321
[server] drop support for antediluvian lgdb versions
That API was changed in 2010, before logilab-database was moved out of
logilab-common.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 16:56:45 +0200] rev 9320
[doc/book/security] update description of entity update (Related to #2932033)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 15:29:20 +0200] rev 9319
[test] test can_use_rest_path directly
No need to go through the Entity.rest_path if what we want is to
unittest that one function.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 26 Sep 2013 10:46:37 +0200] rev 9318
[ctl] set proper encoding for sys.stdout/sys.stderr. Closes #1669144
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 19 Sep 2013 22:33:52 +0200] rev 9317
[web] typo in config file comment
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 17 Oct 2013 10:10:25 +0200] rev 9316
[book] Typo and formatting fixes in devrepo/entityclasses/application-logic
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 10 Oct 2013 16:56:16 +0200] rev 9315
[cwctl] Only start the instance after upgrade if it was running before
Closes #3207676.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 24 Oct 2013 09:20:45 +0200] rev 9314
[book] Improve match_rtype selector docstring and "Relation modification related events" section
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 24 Oct 2013 11:48:13 +0200] rev 9313
[book] properly escape backslash
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Oct 2013 12:56:20 +0200] rev 9312
[test] use assertIn / assertIsInstance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Oct 2013 11:58:06 +0200] rev 9311
update pylint extension to astroid API
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 17 Oct 2013 15:09:48 +0200] rev 9310
Fix example in cw_set method
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Oct 2013 12:36:12 +0200] rev 9309
[merge] incorporate cw 3.17.10 fixes
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Oct 2013 11:07:57 +0200] rev 9308
Added tag cubicweb-centos-version-3.17.10-1, cubicweb-version-3.17.10, cubicweb-debian-version-3.17.10-1 for changeset fe0e1863a137
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Oct 2013 17:24:19 +0200] rev 9307
[pkg] prepare 3.17.10
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 10:02:29 +0200] rev 9306
[web] don't rename resources in gen-static-datadir
We should use the result from WebConfiguration.locate_resource to know
which file to copy, not what name to copy it to. The destination file
should be the name of the resource, as the client will request it.
This matters in the case of cubicweb.css which locate_resource might
rewrite to cubicweb.old.css.
Closes #3206129
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Oct 2013 14:18:58 +0200] rev 9305
[notification] avoid leaking cnxsets (closes #3243810)
When sending notifications, we get each recipient as either an email
address or a CWUser. In the latter case, we create a temporary session
for that user and use it to send the mail. However, if we later decided
to not send the mail after all, we'd leak the session and its cnxset.
Add a try block inside the loop to make sure the temporary sessions are
closed properly.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 22 Oct 2013 11:59:39 +0200] rev 9304
[book] English fix
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 14:25:05 +0200] rev 9303
[serverctl] complete the schema-diff command with options that will fix & enhance it.
Notably:
- filter out eids (doesn't make sense for the filesystem schema)
- handle permissions, trying to detect the default ones
Needs yams #174042.
Closes #2996547.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Oct 2013 16:58:48 +0200] rev 9302
[server] deprecate the old multi-source system
It is removed in 3.19.
Closes #2919299
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Oct 2013 16:04:23 +0200] rev 9301
[doc] document changed attribute default value storage
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Sep 2013 11:58:40 +0200] rev 9300
defaultval migration for sqlite
Aurélien Campeas <aurelien.campeas@logilab.fr> [Fri, 23 Aug 2013 15:06:27 +0200] rev 9299
[schema] store default attribute values in a Bytes field, allowing python objects as default values
Notes:
* Binary objects grow two methods
* we depend on a newer yams version
* the code is quite simplified as a result of the whole change
* a very old and nasty bug where bool(default values) evaluating to
False not being properly migrated is killed
Closes #2414591.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Oct 2013 16:30:53 +0200] rev 9298
[source/native] fix sqlserver pattern matcher for unique constraints (closes #3227593)
The matcher is used to parse the low-level error message and extract
meaningful information for the end users.
If broken, the users see an alarming and bewildering message.
A full & definitive fix is scheduled for CubicWeb 3.18.
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 17 Oct 2013 10:30:35 +0200] rev 9297
[dbapi] Fix broken inmemory:// URLs parsing (closes #3225832)
ParseResult.path is what comes after the "domain name" in standard URLs.
So in the case of 'inmemory://<instance' URLs, it is always empty.
ParseResult.netloc contains the "domain name" part that we really want.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Oct 2013 11:34:03 +0200] rev 9296
[metadata hook] rename an operation for the sake of readability
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 16 Oct 2013 15:50:04 +0200] rev 9295
[book] Typo fix and rephrasing in devrepo/migration
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 16 Oct 2013 11:38:06 +0200] rev 9294
[cwshell] rename history file to .cwshell_history (erudi is dead, long live cw)
Aurelien Campeas [Thu, 11 Jul 2013 13:32:27 +0200] rev 9293
[entity] Entity.related(): add a targettypes argument (closes #2957313)
This allows to restrict the entity types returned by the method
(passed to cw_related_rql).
When such an argument is given, no caching happens.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 12:14:20 +0200] rev 9292
[source configuration] silent lgc 0.60 deprecation warning
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Oct 2013 14:02:22 +0200] rev 9291
[web] remove action "Got Rhythm" (closes #3093362)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Oct 2013 10:22:21 +0200] rev 9290
[debian] Break old geocoding
It wants cubicweb.interfaces.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Oct 2013 18:02:48 +0200] rev 9289
[wsgi] remove ages old hack to set base_url
Its meaning has been lost in the mist of time.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Oct 2013 18:00:34 +0200] rev 9288
[wsgi] also provide an example using werkzeug (if available)
Related to #3005509.
Aurelien Campeas [Tue, 01 Oct 2013 16:45:58 +0200] rev 9287
[wsgi] add the simplest possible wsgi (debug) server
This server is able to:
* serve on a given port using the stdlib SimpleHTTPServer
* run looping tasks
Closes #3005509.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:46:44 +0200] rev 9286
[querier/security] instrument a bit the querier read security checks
Related to #2920304
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 30 Sep 2013 14:48:59 +0200] rev 9285
[book] Improve PostgreSQL configuration section
* Do not advice for specific PostgreSQL version (point to meta-packages if
available in Linux distros);
* First mention packages from Linux distros, put the link to official postgres
documentation at the end;
Closes #2725302.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 14:02:28 +0200] rev 9284
[js] add a selector string escaping function
will help use id strings in jquery selector expressions, e.g:
"foo.[subject]:42" -> "foo\.\[subject\]\:42"
Related to #3154531.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:26:11 +0200] rev 9283
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 13:16:54 +0200] rev 9282
[test/ldapsource] backout 192a748550c7 which broke RQL2LDAPFilterTC
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 14:45:36 +0200] rev 9281
[rset] make sure rset.description is always a list
It's more consistent, and avoids pylint warning
"Instance of 'tuple' has no 'append' member"
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 16:30:27 +0200] rev 9280
[schema] edit syntax tree instead of playing with strings for RQLExpressions
Lets us support more complex expressions involving e.g. "HAVING" clauses.
Closes #3202855
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 12:40:23 +0200] rev 9279
[py3k] note about future warning on __eq__ vs __hash__
Closes #3179561.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Oct 2013 12:11:00 +0200] rev 9278
[formfields] py3k kill future compat warning
Related to #3179561.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Oct 2013 12:42:10 +0200] rev 9277
[entity] do not raise an AssertionError if the kwargs given to set_relations/attributes is empty
Regression was introduced in 3.16 with the new cw_set API.
Old set_relations and set_attributes methods did not crash on empty
kwargs.
Closes #3104019.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 12:30:35 +0200] rev 9276
[packaging] setup.py: don't exclude skeleton/debian/* from being installed
Closes #3192725.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Sep 2013 18:42:34 +0200] rev 9275
[tests/hooks/integrity] kill old and empty skipped test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Oct 2013 17:42:01 +0200] rev 9274
[server/session] demote log to debug
It can pollute the log very fast.
Closes #3203391.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 13:58:48 +0200] rev 9273
[test] use assertCountEqual instead of assertItemsEqual
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Oct 2013 12:30:02 +0200] rev 9272
[server] fix a number of typos, mostly in docstrings
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 07 Oct 2013 15:13:51 +0200] rev 9271
[skeleton] Install cubes README in Debian packages (Closes #3171971)
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 10 Oct 2013 11:23:01 +0200] rev 9270
[debian] Build-Depends on python-unittest2 | python (>= 2.7)
Closes #3175895.
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 29 Aug 2013 18:28:10 +0200] rev 9269
[doc] typos and reformulation
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 29 Aug 2013 18:26:06 +0200] rev 9268
[doc] additional documentation about pip install
under both Windows and Debian
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 30 Aug 2013 15:34:58 +0200] rev 9267
spelling: rollbacked -> rolled back
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 12:10:44 +0200] rev 9266
Added tag cubicweb-version-3.17.9, cubicweb-debian-version-3.17.9-1 for changeset 5668d210e49c
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Oct 2013 11:13:56 +0200] rev 9265
merge two default heads
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Oct 2013 18:10:20 +0200] rev 9264
[pkg] prepare 3.17.9
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 20 Sep 2013 15:42:04 +0200] rev 9263
Use the list of sources instead of an iterator in update-feeds looping task
This prevents RuntimeError due to dictionary size change that may occur (as a
result of a new source being added) during iteration.
Closes #3155843.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Oct 2013 16:10:42 +0200] rev 9262
[security]Â fix dumb attribute error when inserting read security. Closes #3196891
This has gone undetected because of erroneous tests...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Oct 2013 10:46:06 +0200] rev 9261
[entity] give a default reasonnable __eq__ and __hash__ to Entity
Using the eid.
Closes #3179560.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 18:16:45 +0200] rev 9260
[debian] add some Breaks for backwards compatibility removal
The person and comment cubes used to import the cubicweb.mixins module.
The inlinedit cube relied on String.startsWith in javascript.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:16:22 +0200] rev 9259
[js] remove 3.9 bw compat (where apparently unused)
- cubicweb.ajax.js
- loadxhtml: form.callback support removal
- removal of top-level functions: preprocessAjaxLoad, reloadBox,
replacePageChunk, loadxhtml
- cubicweb.compat.js:
- map is undeprecated (jquery.map being not an acceptable
replacement)
- removal of noop, contains, findValue, filter, addElementClass,
removeElementClass, hasElementClass, KEYS mapping
- htmlhelpers.js: use non-deprecated functions cw.urlEncode
- cubicweb.js:
- removal of startsWith and endsWith monkeypatches
- note deprecated but still used stuff (for action)
- test_utils.js: use cw.utils.sliceList instead of global function
Closes #2782004.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 26 Aug 2013 11:36:19 +0200] rev 9258
Rename cleanup_interface_sobjects into cleanup_unused_appobjects
Interfaces are gone in 3.18
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:15:29 +0200] rev 9257
remove cw 3.9 bw compat (bw compat other than the interface -> adapter changes)
- cwconfig, doc/admin/setup: docstring adjustment wrt 3.9 & virtualenv
- testing/rst: windmill (which is gone from the testing infrastructure)
- other docs: "stuff introduced in 3.9" cleanup, as we don't care
about the version old features were introduced
- server/hooky.py: bw compat for propagation hooks
- server/schemaserial.py: pre CWUniqueTogetherConstraint migration support
- web.__init__.py: dumps bw import
- autoform.py: .action ppty is gone, also deprecate set_action and get_action
- baseviews: CSVView.subvid gone long ago, secondary view removal
- primary.py: _render_attribute & _render_relation signature change
- reledit.py: rvid/default_value bw compat, should_edit_* dropped
- webconfig.py: resourcefile is gone
- formfields.py: old vocabulary handling
- request.py: build_ajax_replace_url, external_resource
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:14:09 +0200] rev 9256
remove 3.9 bw compat
In cw 3.9, interfaces are deprecated and replaced with adapters,
yielding a lot of bw compat in many places -- most if this patch is
concerned with the interface bw compat
- cwvreg: interface cleanup
- doc/adapters.rst: interface cleanup
- entities/adapters.py, wfobjs.py: interfaces bw compat
- entity.py: interfaces bw compat, also get_value, delete,
attr_metadata, has_perm, set_related_cache, clear_related_cache,
clear_related_cache, related_rql
- predicates.py: score_interfaces & implements
- interfaces.py & mixins.py: 100% gone
- view.py: implement_adapter_compat, unwrap_adapter_compat
- calendar.py, editcontroller.py, ibreadcrumbs.py, navigation.py, xmlrss.py:
interface bw compat
- treeview.py: salvage one function from mixins.py
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Aug 2013 16:12:30 +0200] rev 9255
remove 3.8 bw compat
- cwconfig: old keys such as depends_cubes and non-dict dependencies
- cwctl: fall back to docstring if no short descr, forget
'short_descr'
- dbapi: session_data, get_session_data, set_session_data,
del_session_data
- dbapi & testlib, session: eid_key is gone
- migractions: cachekey is gone
- doc/datamodel/definition, schemaserial: BoundConstraint ->
BoundaryConstraint
- formwidgets: separator
- primary view: render_entity_metadata
Related to #2782004.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 04 Oct 2013 17:05:49 +0200] rev 9254
[hooks/security] Defer entity permission checks to an Operation.
Some of these checks may currently happen twice within the same
transaction and be costly.
This should be semantically safe. If people rely on some internal
transaction ordering to be allowed early (thus pass) while the
condition wouldn't be met at precommit time, their application is
broken. It however seems unlikely to happen in the real life (tm).
Closes #2932033
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 04 Oct 2013 15:59:54 +0200] rev 9253
[schema] drop very old bw compat (pre 3.5.10)
Closes #2925085.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Jul 2013 10:50:56 +0200] rev 9252
[devtools,etwist] rename TwistedConfiguration to WebConfigurationBase (follows #2919310)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Jul 2013 10:51:35 +0200] rev 9251
remove "twisted" configuration (closes #2919310)
This was also known as "web only" instances. Not used in production anywhere today.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Oct 2013 14:28:50 +0200] rev 9250
merge 3.17.8 into default
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 15:37:45 +0200] rev 9249
Added tag cubicweb-centos-version-3.17.8-1, cubicweb-version-3.17.8, cubicweb-debian-version-3.17.8-1 for changeset 909eb8b584c4
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 15:13:08 +0200] rev 9248
[pkg] prepare 3.17.8
David Douard <david.douard@logilab.fr> [Thu, 03 Oct 2013 11:10:08 +0200] rev 9247
[date picker] revert #ec65ca70aac9 which breaks the date picker (closes #3182844)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 30 Sep 2013 18:07:51 +0200] rev 9246
[merge] backport 3.17 fixes into the future 3.18
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 19:04:45 +0200] rev 9245
Added tag cubicweb-centos-version-3.17.7-1, cubicweb-version-3.17.7, cubicweb-debian-version-3.17.7-1 for changeset 483181543899
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 15:15:09 +0200] rev 9244
[pkg] prepare 3.17.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 15:12:52 +0200] rev 9243
i18n update
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 15:18:59 +0200] rev 9242
fix typos in workflow constraint error messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Sep 2013 17:44:15 +0200] rev 9241
[migractions] rschema.final.inlined -> rschema.inlined
Closes #3153086.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 26 Sep 2013 11:53:13 +0200] rev 9240
[server] Make internal sessions not reset 'safe'-ness on first commit
Increment the ctx_count when disabling integrity hooks so the next
commit/rollback doesn't reset our transaction and magically turn us into
a safe session.
Closes #3168027
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 23 Sep 2013 11:13:28 +0200] rev 9239
[facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:03:03 +0200] rev 9238
[debian] replace find | xargs rm with find -delete in cube skeleton. Closes #3161797
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:02:45 +0200] rev 9237
[debian] don't require (fake)root to run the clean target. Closes #3161797
It works just fine as a normal user.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:01:59 +0200] rev 9236
[debian] Add ${misc:Depends} to cube packaging skeleton. Closes #3161797
Best current practice is to have that in Depends in all packages using
debhelper.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Sep 2013 11:01:20 +0200] rev 9235
[devtools] fix race when creating backupdir
If somebody else creates backupdir between our stat() and mkdir() (like,
say, another test running in parallel), we shouldn't crash.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Sep 2013 18:11:12 +0200] rev 9234
[staticcontrollers] Raise Forbidden, not Unauthorized
Unauthorized means "log in to get access", as it results in a HTTP 401.
Here, the error is pretty much permanent, and returning 401 instead of
403 confuses things terribly.
(This seems to be a pretty widespread confusion :/)
David Douard <david.douard@logilab.fr> [Thu, 19 Sep 2013 18:03:09 +0200] rev 9233
[web] allow /data/ url again (closes #2464798)
This feature was broken by 65fecbeb9c3a (which fixed another one itself).
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Sep 2013 10:59:59 +0200] rev 9232
[utils] fix typos in make_uid docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 17:15:12 +0200] rev 9231
[c-c i18ncubicweb] fix crash, closes #3096647
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Aug 2013 09:57:38 +0200] rev 9230
[rql2sql] fix bad sql generated when outer joining 'identity' relation and lhs var comes from a subquery. Closes #3099418
The generated SQL was attempting to access table.cw_eid which doesn't exist.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:21:52 +0200] rev 9229
[web]Â stop using deprecated StatusResponse. Closes #3098215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:20:33 +0200] rev 9228
[deprecation] add (approximate) version number to deprecation message and set proper stacklevel
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 12:55:27 +0200] rev 9227
[schema]Â fix spurious warning when rqlexpr/constraint mainvars specify a non predefined variable. Closes #3098165
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 12:47:12 +0200] rev 9226
[repository] properly use IUserFriendlyError when UniqueTogetherError is raised during entity update. Closes #3096638
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 12:08:31 +0200] rev 9225
[deprecation] add cw version number to the deprecation message and help user to understand the change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:56:07 +0200] rev 9224
[datafeed] fix crash due to bad http_timeout handling. Closes #3096585
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:36:44 +0200] rev 9223
[date picker widgets] properly distinguish DOM id and input name. Closes #3096575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:29:58 +0200] rev 9222
[date picker widgets] use bare jquery expression rather than jqNode
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:28:01 +0200] rev 9221
Use return in CnxSetTracker context manager methods
Just in case.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 15 Jul 2013 11:45:37 +0200] rev 9220
[web/views] make PrimaryView.entity_call accept kwargs
It's useful when using this view in a different context to have it not
crash on random arguments.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Sep 2013 12:47:12 +0200] rev 9219
[ldapparser] demote some logs from warning to debug (closes #2713671)
David Douard <david.douard@logilab.fr> [Fri, 09 Aug 2013 10:00:40 +0200] rev 9218
[doc] add a what's new file for 3.18
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 09:02:47 +0200] rev 9217
merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 16:53:53 +0200] rev 9216
Added tag cubicweb-centos-version-3.17.6-1, cubicweb-version-3.17.6, cubicweb-debian-version-3.17.6-1 for changeset 5b9fedf67a29
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 11:49:33 +0200] rev 9215
[pkg] prepare 3.17.6
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 06 Aug 2013 11:20:07 +0200] rev 9214
Do not use cubicweb-card in rest_path tests
Card overrides the rest_path method, so it does not make sense to use it in cw
tests.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 13:55:11 +0200] rev 9213
[inlined form field] fix regression introduced in 3.16.4/570208f74a84. Closes #3064653
In the above changeset, we changed ordered entities to be edited according to
mandatory inlined constraints, though this leads to unpredictable order in
cases where there are no constraint. This leads to case where inlined relation
field may think there is no value related to a mandatory relation, while this
is simply because there is a value specified but to an entity that will be
created later (together with the relation).
To fix this, we've to use the fact that the RelationField.process_form_value
return None in cases where there is some entity to be created, while an empty
set when there are no linked entity. The new no_value() method allows to
differentiate between those different notion of 'no-value'.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 10:59:52 +0200] rev 9212
[testlib] temporary_appobjects should call __registered__ if it exists. Closes #3064075
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 15:51:22 +0200] rev 9211
[entities] properly escape in EmailAddress.printable_value when format is html. Closes #3064025
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 21:59:13 +0200] rev 9210
Added tag cubicweb-version-3.17.5, cubicweb-debian-version-3.17.5-1, cubicweb-centos-version-3.17.5-1 for changeset 15dd5b37998b
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 16:58:44 +0200] rev 9209
[pkg] prepare 3.17.5
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 14:48:34 +0200] rev 9208
[pkg] fix debian packaging (closes #3058542)
- remove useless Python 2.4 reference,
- simplify dh_install configuration to install files consistently instead of
having half in /usr/lib/pythonXX and half in /usr/share/pyshared,
- incidentally, this makes the package work on squeeze.
Regression from eaa58d1c7d5f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 16:04:10 +0200] rev 9207
[testing]Â add missing generate_bigint method to ValueGenerator. Closes #3059327
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 13:56:00 +0200] rev 9206
[rql / querier] fix bad interpretation of some RQL SET query
when some neged relation is involved. Closes #3058527.
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:31:57 +0200] rev 9205
merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:12:20 +0200] rev 9204
Added tag cubicweb-version-3.17.4, cubicweb-debian-version-3.17.4-1, cubicweb-centos-version-3.17.4-1 for changeset c7ba8e5d2e45
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 17:09:02 +0200] rev 9203
[i18n] cleanup dead code
also fix small bug introduced in b0f6e8c14e7f
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 16:48:57 +0200] rev 9202
[i18n test] hack to make i18n tests run using a Python interpreter
they used to work fine when executed via pytest only.
This should be removed as soon as logilab.common.registry is fixed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:06:06 +0200] rev 9201
[i18ncube] fix crash due to duplicated messages in generated schema.pot
Add a test case and fix regression introduced in e713c47a993d.
Relates to #2811282
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:05:58 +0200] rev 9200
[i18n test] load_po: fix bug in case of multi-lines msgid and ensure there are no duplicated messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 08:23:17 +0200] rev 9199
[i18n test] simplify test cube a bit by only providing a views module, no package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:01:18 +0200] rev 9198
[web] consider inlined relations in has_editable_relation. Closes #3049970
In some cases where the user can only add/edit inlined relations (though
actually edit perms of the inlined relation doesn't seem checked), the "modify"
action doesn't appear while it should.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:00:40 +0200] rev 9197
[web test] silent 3.13 warning
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 26 Jul 2013 13:47:52 +0200] rev 9196
[editcontrollers] Account for role in the ordering of entities (Complements #3031719)
Only role='object' was correctly accounted for by 570208f74a84
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:14:56 +0200] rev 9195
[migration.sync_schema_props_perms] ensure all participants to a unique together constraint are there
before adding CWUniqueConstraint. Closes #3038345
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:12:28 +0200] rev 9194
[session commit] save back exception context to avoid potentiel cluttering if some revert operation raise an exception
David Douard <david.douard@logilab.fr> [Mon, 29 Jul 2013 14:22:40 +0200] rev 9193
[pkg] python-central has been removed from Debian
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:46:30 +0200] rev 9192
[pkg] prepare 3.17.4
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:49:53 +0200] rev 9191
[pkg] merge centos 3.17.1-2 in stable (prepare 3.17.4)
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:47:22 +0200] rev 9190
Added tag cubicweb-centos-version-3.17.1-2 for changeset 965f894b63cb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 09:07:25 +0200] rev 9189
[rqlrewrite] fix rqlrewrite unpredictability vs relation sharing. Closes #3036144
The relations index used to determine if relation may be shared only
considered a single relation node per relation type. So when the same
relation type occurs several time, dict order give unpredictable result.
We shall properly consider all relations instead.
Tentative test case included (but bug reproduction is by definition
unpredictable...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:55:24 +0200] rev 9188
[rqlrewrite] rewrite doesn't need a solutions argument, always use the Select'ones
Also, do a copy systematically else it may lead to empty solutions depending on
the rewrite path.
Test case tentative included in the following changeset.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:49:40 +0200] rev 9187
[rql rewrite] equivalent but much simpler flow
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:42:33 +0200] rev 9186
[pkg] Prepare a new RPM release
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:25:49 +0200] rev 9185
[pkg] Add log directory to rpm
David Douard <david.douard@logilab.fr> [Thu, 25 Jul 2013 08:52:15 +0200] rev 9184
[repo] normalize ValidationError on edited entity (closes #2509729)
In CubicWeb, ValidationError.entity MUST be the eid of the involved entity,
not the entity iteself (as done by yams).
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 13:59:08 +0200] rev 9183
[doc] one must now manipulate the req.session.data dict (closes #2842345)
instead of deprecated get/set/del_session_data methods.
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 08:20:22 +0200] rev 9182
[datafeed] add a timeout config option (closes #2745677)
So a HTTP GET do not hang forever in the datafeed looping task.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 11:54:35 +0200] rev 9181
[dataimport] ucsvreader should skip empty lines unless specified otherwise. Closes #3035944
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 22 Jul 2013 12:08:37 +0200] rev 9180
[querier] Add timings to debug prints (DBG_RQL)
this may ease to spot some problematic queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 08:43:16 +0200] rev 9179
[editcontrollers] Ensure entities are created in an order satisfying schema constraints. Closes #3031719
changes below are also necessary to make the whole thing works:
* stop considering InlinedFormFile as eidparam field since they don't
hold any value
* rework 'pendingfields' handling to have separate processing of inlined fields
whose subject entity is created during the edition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 12:07:46 +0200] rev 9178
[editcontroller] extract RQLQuery.set_attribute/set_inlined methods from handle_field/handle_inlined_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:38:48 +0200] rev 9177
[editcontroller] req=self._cw makes things easier to read
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 15:38:11 +0200] rev 9176
[facets,js] fix bogus checkbox icon appearing after the first interaction (closes #2790332)
This is because of the hardcoding of the data/ url.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 22 Jul 2013 14:57:37 +0200] rev 9175
fix typos in docstring, doc and comments
Julien Cristau <julien.cristau@logilab.fr> [Wed, 17 Jul 2013 15:02:28 +0200] rev 9174
[debian] remove workaround for broken sphinx/jquery combination
sphinx in squeeze was updated:
http://packages.qa.debian.org/s/sphinx/news/20130112T154737Z.html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 22:18:50 +0200] rev 9173
[schema] mark CWDataImport as an internal type. Closes #3025536
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 19 Jul 2013 15:52:06 +0200] rev 9172
[pkg] remove deprecated dependency on pysqlite2
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 18 Jul 2013 12:36:56 +0200] rev 9171
Fix two crashes in db-check (closes #3024964)
Also improves various debugging messages.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:09:28 +0200] rev 9170
[rql rewrite] may_be_shared_with should consider relation's scope (closes #3024730)
When a relation's scope is not the current statement, it must not be shared
(instead of comparing the statement).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 10:19:06 +0200] rev 9169
[rql rewrite] fix may_be_shared_with method so that it actually considers all variable infos and not only the first one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 14:26:33 +0200] rev 9168
[schema/security] add __hash__ to rql expression. Closes #3013535
This is required so that when some rql expression participate to a dictionary
key, only the expression is considered (consistent with comparison). This
behaviour is expected in security at least, see the related bug for instance.
This scramble msplanner unit tests a bit.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Jul 2013 10:59:34 +0200] rev 9167
[rql rewrite] move some code from querier to rqlrewrite where it makes more sense.
Also, make some minor cleanup/refactoring on the way and try to enhance
docstrings.
Relates to #3013535
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 10:39:01 +0200] rev 9166
Do not compute actions list in TableLayout view when display_actions attribute is unset
Closes #3007281
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 09:55:26 +0200] rev 9165
Use the list of cubes from the filesystem when reading the schema from the filesystem
Closes #3007259
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 10:55:45 +0200] rev 9164
[migration] when adding a cube, skip infered relations (closes #3005576)
Skipped infered relations are recalculated later.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 17:40:28 +0200] rev 9163
[3.17 migration] when some cube is missing, add_cube raise ConfigurationError, not ImportError. Closes #2981477
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:20:42 +0200] rev 9162
[migraction] rename_entity_type simply warn if old entity type isn't in the schema. Closes #3004069
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:15:25 +0200] rev 9161
[deprecation] fix uihelper deprecation warning, use the rtag name, not the class, so it may be copy/pasted
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 11 Jul 2013 18:43:29 +0200] rev 9160
[test] makes fti test order-agnostic (closes #3005633)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Jul 2013 17:16:49 +0200] rev 9159
[web/views/staticcontrollers] Make ConcatFilesHandler write to a tempfile
In order to be more resistant to errors such as ENOSPC, and against different
threads accessing the same static data, we:
- concatenate data files to a temporary file, and rename it once we're done
- delete the tempfile in case of errors
- protect the creation of the cache_concat file with a lock
Closes #3005547
David Douard <david.douard@logilab.fr> [Fri, 12 Jul 2013 18:03:11 +0200] rev 9158
[test] make unittest_schema.py compatible with cubicweb-file 0.14
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 09:47:56 +0200] rev 9157
merge 3.16.6 branch in 3.17
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 17:34:54 +0200] rev 9156
Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d
Florent Cayre <florent.cayre@logilab.fr> [Sat, 13 Jul 2013 05:10:55 +0200] rev 9155
Prepare 3.16.6
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:13 +0200] rev 9154
[devctl] properly generate i18n messsages for cubes that uses uicfg instances (closes #2811282)
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:03 +0200] rev 9153
[test/devctl] add a test case for i18ncube command
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 10:40:49 +0200] rev 9152
Protect against crash in the `relation_possible` predicate with ambiguous relations.
It was still possible to get a KeyError when using relations that are ambiguous
at both ends, like (Executable, version_of, Program) & (Version, version_of, Project).
Closes #3010148.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Jul 2013 15:03:50 +0200] rev 9151
[test] give a non-ambiguous order to sync_schema assertion (closes #3001959)
Sorting by ordernum alone is unstable since several values have the
same ordernum.
ordernum + name should be stable.
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 17:33:43 +0200] rev 9150
Added tag cubicweb-version-3.17.3, cubicweb-debian-version-3.17.3-1, cubicweb-centos-version-3.17.3-1 for changeset 32b4d5314fd9
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 04 Jul 2013 09:26:59 +0200] rev 9149
[test] typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Jun 2013 12:11:42 +0200] rev 9148
[schema,server] add a security debugging aid (closes #2920304)
- Add a DGB_SEC debugging flag (to be used with set_debug/debugged).
- Add a context manager (tunesecurity) to filter security assertions.
Note: this does not address all read-security mecanisms.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Jun 2013 19:00:40 +0200] rev 9147
[etwist] fix handling of multiple files per field
html5 permits multiple files uploads, which can be expressed as::
<input type='file' multiple='multiple' />
This changeset avoids previous crash. Nothing is changed when a single file is
uploaded (backward compat is thus preserved). When multiple files are uploaded
for a single html input tag, the corresponding web request form key receives a
list of tuples like [('filename-1', IStream1), ('filename-2', IStream2), ...].
closes #2847207.
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:58:26 +0200] rev 9146
[merge] start 3.18 development
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:11:23 +0200] rev 9145
[pkg] prepare 3.17.3
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 20:48:54 +0200] rev 9144
[pkg] Remove obsolete ubuntu hardy packaging
It's been EOL for a while.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 15:24:43 +0200] rev 9143
[book] fix sphinx documentation generation (closes #2991997)
changeset 17994bf95d6a ([doc] update Session documentation) added
cubicweb.server.session.Session autodoc to the book. This caused errors
from sphinx due to a section title not being allowed in the class's
docstring.
David Douard <david.douard@logilab.fr> [Mon, 08 Jul 2013 12:41:08 +0200] rev 9142
[test/ldap] fix ldap tests
- make sure the url is properly updated on database setup (when the test
database already exists and the ldap URI has changed)
- fix the ldapuser test setup process.
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:40:57 +0200] rev 9141
[test] fix unittest_schemaserial.py
A spurious add permission has been added in expected result by d988eec2d5d3
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:35:14 +0200] rev 9140
[test] make unittest_schemaserial.py runnable with python
used to run fine only when launched using pytest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Jul 2013 17:38:10 +0200] rev 9139
[facet] use facet name as input name for text widget (eg has_text)
we need to ba able to distinguish between text-inputs so we can write
a widget for a single facet that uses more than one text input.
This fix consists in the diff in cubicweb.facts.js; modifications in
facet.py result from this former.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:36:20 +0200] rev 9138
[web doctype] don't give through reset_xmldecl to avoid double deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:35:58 +0200] rev 9137
[web doctype test] don't give reset_xmldecl to avoid deprecation warning
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Jul 2013 14:52:10 +0200] rev 9136
[devtool] randomise available ports search in http test
This lowers the chance of parallel tests to race for the same port.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:48:34 +0200] rev 9135
[facet] don't crash if no title specified on a facet and filtered rset is empty. Closes #2587883
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:43:21 +0200] rev 9134
[css, html] add a css_class attribute on Button, allowing to change easily default CSS class for buttons
(think orbui integration)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 27 Jun 2012 11:53:46 +0200] rev 9133
[view] add 2 missing spaces before the previous link
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Jun 2013 09:35:54 +0200] rev 9132
[server/repository] Go through the repo to close pyro sessions
Turns out session.close() doesn't DTRT.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 May 2013 11:13:06 +0200] rev 9131
fix migration from pre-3.13.1 versions (closes #2846978)
Need to check the existence of the asource column before the first call
to eid_type_source.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:33:27 +0200] rev 9130
[constraint] more robust unicity constraint failures reporting for end-users
Postgres or Sqlserver have limits on the index names (around resp. 64
and 128 characters). Because `logilab.database` encodes the `unique
together` constraint rtypes in the index names, we sometimes get
truncated index names, from which it is impossible to retrieve all
rtypes.
In the long run, the way such index are named should be changed.
In the short term, we try to reduce the end-user confusion resulting
from this design flaw:
* in source/native, the regex filtering ``IntegrityError`` message does
not impose an `_idx` suffix, which indeed may be absent (the result being an
UI message that resembles a catastrophic failure),
* also we avoid including a trailing " (double quote) from the error
message
* in entities/adapters, the well-named ``IUserFriendly`` adapter is made a
bit smarter about how to handle missing rtypes.
* the adapter also always produces a global message explaining the
issue (and the fact that sometimes, the user is not shown all the
relevant info)
* i18n is updated
Closes #2793789
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:16:21 +0200] rev 9129
[hooks/security] Streamline attributes default permission check.
The current default permission on attributes delegates the check to
the entity permission update policy.
Since this is already checked it can be skipped.
The equality comparison will work, even with a deserialized schema,
because the default update perm is::
('managers', ERQLExpression(Any X WHERE U has_update_permission X, X eid %(x)s, U eid %(u)s))
which will always be deserialized in this order (groups first).
However this is a slight semantic change: entity type level 'update'
permissions can now be effectively used to encode update-time rules if
the default attribute permissions are used (before this change, the
'update' rules at entity type level were fired at creation time).
Closes #2930861.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Jun 2013 14:22:22 +0200] rev 9128
[test/schemaserial] swap got/expected to get nicer unittest2 diagnostics
Prepares #2965518.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Jul 2013 17:09:04 +0200] rev 9127
[repository] drop safe attribute on ``internal_cnx``
People that need to disable hook can do it explicitly anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:18:54 +0200] rev 9126
[dbapi] deprecated the dbapi
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:26:14 +0200] rev 9125
[repoapi] deprecate dbapi compat method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:14:22 +0200] rev 9124
[testlib] deprecated the older api to access the repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:09:23 +0200] rev 9123
[connection] deprecated free_cnset and set_cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:02:06 +0200] rev 9122
[session] deprecate all Connection related method on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:53:06 +0200] rev 9121
[session] drop dead _current_cnx_id
Not used anymore for a few commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:47:08 +0200] rev 9120
[session] privatise get_cnx and close_cnx
The only user, repoapi now use ``new_cnx``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:14:35 +0200] rev 9119
[doc] add documentation for the new API in test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:28:15 +0200] rev 9118
[testlib] add an default testcase.adminaccess (and use it for default session)
This adminaccess is the new offical way to get connection, and request on a
repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:15:57 +0200] rev 9117
[testlib] introduce a RepoAccess class to easily create connection and request
Each RepoAccess hold a session for a user and three helper function to help
create Connection, ClientConnection of WebRequest related to this session.
related to #2920299
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:13:47 +0200] rev 9116
[repoapi] make ClientConnection.__enter__ return self
This allow the standard idiom::
with repoapi.connect(repo, login='babar', passwork='elephant') as cnx:
cnx.execute(…)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:16:06 +0200] rev 9115
[documentation] describe repoapi and web side change.
Short version explaining what object replace what and that BC existes for a few
version.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:28:17 +0200] rev 9114
[testlib] use internal_cnx instead of internal_session
internal_session is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 14:12:00 +0200] rev 9113
[repository] add an ``internal_cnx`` method to replace ``internal_session``
Accessing the repo through a Session is deprecated. We need an easy replacement
for ``internal_session``.
This API change was a good occasion to stop disabling integrity hook by default.
This is huge source of bug in user-code.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:02:38 +0200] rev 9112
[connection] enforce that a connection must be open to be used
The same than for ClientConnection, we ensure the connection is used inside a
its context.
.. note:: We may rely on that for ClientConnection and remove de dedicated code
in Client Connection but I prefer the current explicite and duplicated
version for now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 15:11:22 +0200] rev 9111
use standalone Connection to Client Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:46:24 +0200] rev 9110
[session] add a new_cnx factory
Having user-code importing cubicweb.server.session.Connection is inconvenient.
We add a simple factory fonction on the session.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:26:06 +0200] rev 9109
[connection] allow simple instantiation of standalone Connection
Such connection will automatically pick a connection id. Note, They are not
automatically closed on session close. But they will fails to grab new cnxset
once the session is closed.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:35:55 +0200] rev 9108
[connection] handle and explicitly life cycle on Connection
Like ClientConnection, Connection object need to be explicitly started and stop.
They aims to be used as context manager.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:00:32 +0200] rev 9107
[sesion] distinction between Connection handled by the session and other.
Not mixing the new and backward compat approach seems a good idea. Let's enforce
it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:58:34 +0200] rev 9106
[session] replace _clear_thread_storage with close_cnx
There is not good reason to keep two distinct method.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:01:07 +0200] rev 9105
[session] explicitly take Connection object in close_cnx
Now that ClientConnection explicitly reference and use the Connection object we
do not need to use connectionid here.
We can safely change this signature, ClientConnection is the only use of
close_cnx for now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:41:53 +0200] rev 9104
[session] drop the Session._clear_cnx_storage method
It is just cnx.clear() now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:41 +0200] rev 9103
[session] wrap too long line
Too long line is too long.
(Confucius 503 BC)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:01 +0200] rev 9102
[session] gather close_cnx with get_cnx and set_cnx
They do the same kind of operation and deserve to be grouped together.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:13:18 +0200] rev 9101
[client-connection] remove the _srv_cnx usage
It does not do anything special now that we use explicite Connection object with
automatic cnx_set handling.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:04:31 +0200] rev 9100
[client-connection] explicitly check that the client-connection is open
The check is also perform by the _srv_cnx property. But we do not need those
property anymore.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:02:30 +0200] rev 9099
[client-connection] handle the lack of connection id while not open
the connection id is computed at opening and forgotten when closing. We can't
rely on it in various messages … like the "connection closed" exception.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:21:39 +0200] rev 9098
[connection] transparent cnx_set handling
Connection object while take cares of there cnxset themself (as dbapi connection
does).
The ``set_cnxset`` and ``free_cnxset`` operation are still available for
backward compatibility purpose. The ``_auto_free_cnx_set`` is introduced to
handle mixed usage.
A new context manager ``connection.ensure_cnx_set`` is added for code that
access ``cnx.cnxset`` directly and are not wrapped in any specific
``Connection`` method.
A ``_with_cnx_set`` decorator is used on all Connection method that need a
cnxset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 10:44:40 +0200] rev 9097
[client-connection] explicit the client part in __repr__
Now that we have real server side connection we need to remove ambiguity.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 19:50:16 +0200] rev 9096
[ClientConnection] directly use the Connection object to access the database
Now that Connection are a full featured standalone object we can directly
reference and use it in the ClientConnection instead of using the session.
The session object is kept around for a while to perform various utility role.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:15:45 +0200] rev 9095
[connection] invert __init__ parameter
Takes session first. At some point, the connection_id will become optional for Connection
created explicitly.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:43:22 +0200] rev 9094
[service] enforce that Service argument and return are json-serialisable
The call_service API need to be able to run through RPC. So we ensure front
start that it is possible serialise both input and output.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:04:08 +0200] rev 9093
[connection] move call_service on Connection
This is the last step toward standalone transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:14 +0200] rev 9092
[connection] move the commit method on Connection object
One step closer of standalone Connection!
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:09 +0200] rev 9091
[connection] move the rollback method on Connection object
One step closer of standalon Connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:46 +0200] rev 9090
[connection] pass a Connection object to RQLRewriter
RQLRewriter can now directly use a Connection object. No need for specific
handling session side.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:14 +0200] rev 9089
[connection] Connection.execute touch Session timestamp
This allow to keep Session alive while using Connection object only for database
access.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:42:12 +0200] rev 9088
[connection] Connection now call _set_user to CWUser object linked to itseld
Session.user is linked to the session.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:13:50 +0200] rev 9087
[server/session] better faking of user for InternalManager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:58 +0200] rev 9086
[connection] move execute
All necessary method are now available on the Connection object. So the
Connection can handle RQL execution itself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:10:52 +0200] rev 9085
[connection] mark Connection as "not a request"
The ORM use this information. Having a wrong value will lead to crash.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:04:46 +0200] rev 9084
[server/session] ensure appobject obtained from the session are linked to the session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 12:25:52 +0200] rev 9083
[connection] have rql_rewriter accession on Connection
Code expecting a session search the RQLRewriter on this attribute.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:42 +0200] rev 9082
[connection] move local_perm_cache management on Connection
It belongs here anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:37 +0200] rev 9081
[session] use a rich object for timestamp
This allows the Transaction to keep a reference to it
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:32 +0200] rev 9080
[migraction] do not access session.data directly
use set_shared_data and get_shared_data instead
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:28 +0200] rev 9079
[connection] move relation management method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:24 +0200] rev 9078
[connection] give access to shared data method
A reference to session data are kept
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:17 +0200] rev 9077
[connection] move relation cache method to Connection
needed for execute (and need execute themself...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 May 2013 16:09:31 +0200] rev 9076
[connection] give access to session execute from connection
This allows multiple function that both requires an execute method and are
required by the execute method.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 May 2013 14:17:46 +0200] rev 9075
[connection] move last part of undo logic in connection
Now that Connection have a reference to the repo it can handle all of it itself
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:28:41 +0200] rev 9074
[connection] initialize connection.user and connection.lang
A RequestSessionBase need a user and lang. For now we use the session ones.
Later the Connection will have it's own.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:43:18 +0100] rev 9073
[Connection] inherit from RequestSessionBase
This contains a lot method. We need them to move more code from Session
to connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:48:18 +0200] rev 9072
[multi-sources] drop multi-sources related test.
another branch is removing the multi-source itself. We do not want to bother
fixing those test.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:21:04 +0200] rev 9071
Use new repoapi for the web stack
The publisher now link repoapi.ClientConnection to request. and explicitly
control there scope.
Web side, appobject._cw.cnx is now a repoapi.ClientConnection.
This actually kill webonly possibility until the repoapi is able to use some
RPC.
The change in the authentication stack is very hasty and need cleanup
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:59:01 +0200] rev 9070
PARTIAL: Using the repoapi in test
Test now use the repoapi.ClientConnection to access the repo. This is very big
change. The current method to access the repo are kept for backward
compatibility. The new methods will be introduced much later.
The TestCase keep a ClientConnection To an admin session for the whole test.
This changeset does not makes all tests pass without the next one that change
set htt without the next one that change the http stack
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:45:16 +0200] rev 9069
[web/test] drop proff of concept Facebook login in test
The authentication stack will change. The change in API will requires rework of
user cube anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:46:35 +0200] rev 9068
[test/dbapi] do not rely on the Testcase provided cnx
We plan to use the repoapi in the test. So we need the DBAPI test to explicitly
create a DBAPI connection.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:45:44 +0200] rev 9067
[dbapi] explicitly use the DBAPI version of CubicwebRequestBase
As we plan to use a ConnectionCubicwebRequestBase by default we better have the
dbapi explicitly asking for a DBAPI implementation.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:33:41 +0200] rev 9066
[web/application] drop unused import
unused since 3c85e734ce00
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:35:22 +0200] rev 9065
[web/test] properly reset the request connection related attribute
A new request does not have those attribute to None. There have special value
that we now properly reinstall.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:23:48 +0200] rev 9064
[web/test] drop two undocumented suspicious regression test
Those two test are not documented and use the API in the wrong way. They do not
raise exception by chance.
the current request signature is::
def request(self, rollbackfirst=False, url=None, headers={}, **kwargs):
So the RQL have nothing to do here.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 19:27:31 +0200] rev 9063
[webrequest] introduce an alternative implementation using the repoapi
DBAPI specific parts of ``CubicWebRequestBase`` are extracted in a
``DBAPICubicWebRequestBase`` decicated class and a new
``ConnectionCubicWebRequestBase`` is introduced that provide the same services
but using a repoapi.ClientConnection as data source. For now the
``DBAPICubicWebRequestBase`` is still used by default.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:18:51 +0200] rev 9062
[repoapi] add an anonymous_cnx function
This function return an anonymous ClientConnection. It aims to replace
``dbapi.anonymous_session``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:40:12 +0200] rev 9061
[repoapi] add a connect function
This function takes a repo and authentication information to open a new Session
and return a ClientConnection associated to it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 17:26:13 +0200] rev 9060
[client-connection] add an auto-close property for ClientConnection
The next commit introduce a connect function that open a new Session and return
an associated ClientConnection. The Session should not be used by anything else
than the created ClientConnection, so we want to close it at the same time than
the ClientConnection. The implementation in this changeset is simplistic. We
probably want to move this notion in the session itself. This be improved once
we have server side Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:08:06 +0200] rev 9059
[cwuser] make CWUser callable, returning self for dbapi compatibility
In the dbapi, Connection and Session have a ``user`` method to
generated a user for a request In the repo api, Connection and Session
have a user attribute inherited from SessionRequestBase prototype. This
ugly hack allows to not break user of the user method.
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:26:03 +0200] rev 9058
[client-connect] drop rqlst on rset returned client side
The DBAPI used to drop the RQL syntax tree on rset to save bandwidth. We could
stop doing it for In-memory client connection. However keeping the syntax tree
leads to multiple tests failures. So we keep dropping it as the DBAPI always
did.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:25:47 +0200] rev 9057
[client-connection] add a repo property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:49:13 +0200] rev 9056
[client-connection] add a connection property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:42:19 +0200] rev 9055
[client-connection] add a sessionid property for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:12:58 +0200] rev 9054
[client-connection] add a cursor() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 11:39:34 +0200] rev 9053
[client-connection] add a request() method for dbapi compatibility
To ease transition from dbapi to repoapi we need the ClientConnection to be as
compatible as possible with the dbapi. Adding this method goes in this
direction.
It'll get deprecated in the deprecation wave that will conclude the repoapi
refactoring.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 11:06:57 +0200] rev 9052
[repoapi] introduce a basic ClientConnection class
This is the new official way to access the repo from client side.
It still access Session object directly as the server side connection is not up
yet (and it's not up because it would have no user).
Multiple follow up commit will install compatibility with the DBAPI. This will
ease the migration from dbapi to repoapi.
ClientConnection has no user yet but later commit will use it in the whole Web
stack.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:25:47 +0200] rev 9051
[req] add a _set_user method
RequestSessionBase usally need to recreate a new CWuser appobject linked to
themself. We add it to the base class to avoid multiple redifinition.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:00:20 +0200] rev 9050
[server/session] add a login property
session.login is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:47:01 +0200] rev 9049
[server/session] allow access to session id using sessionid
session.sessionid is a DBAPISession attribute. Having it on server side session
will helps the rework of the API to access repository. The new schema drop the
concept of DBAPISession and use server side session for the same purpose.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 17:27:08 +0200] rev 9048
[server/session] Implement anonymous_session
Now we have a simple rule to compute if a session is anonymous we can implement
the property for server session too. Having it on server side session will helps
the rework of the API to access repository. The new schema drop the concept of
DBAPISession and use server side session for the same purpose.
Related to #2953943
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:07:45 +0200] rev 9047
[server/session] do not clear session.cnx if unrelated to cnx actually cleared
The cnx parameter may be different from the one actually loaded for the current
thread. This will be possible in future commit when you close a client connection
for example.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:55:26 +0200] rev 9046
[dbapi] move ProgrammingError into cubicweb module
A new ``repoapi`` will be introduced as a replacement for the dbapi. It will
need ProgrammingError too.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 15:00:41 +0200] rev 9045
[repoapi] move get_repository function into a new repoapi module
This new module aims to host the function of the new API replacing the old
DBAPI. `get_repository` is still needed hence moved to the new module.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:19:27 +0200] rev 9044
[testlib] gather all repository access logic in one place
Refactoring of the repository access API in test is imminent. We plan to move
from the "old" dbapi to the new repoapi.
Gathering all impacted method in one place help to understand how all those
method interact and help readability for both patch and resulting code.
No code change is done at all in this changeset. The refactoring will code
later.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:00:07 +0200] rev 9043
[testlib] move repo and related attribute back on Instance instead of Class
The repo and cnx was hold by the TestCase class to work as a cache and avoid
recreation of the repo from scratch of each test. However since bad26a22fe29 the
caching is done by the DatabaseHandler object and it is not necessary have a
second layer of cache on the TestCase itself.
We move the repo and cnx attribute back on the TestCase instance itself and make
several class methods instance methods again.
This will helps to change dbapi access in test from dbapi to repoapi.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:53:19 +0200] rev 9042
[dbapi] makes anonymous_connection a computed property
The current implementation is a boolean flag set manually by client code after
connection creation. This led to different way to decide a anonymous_connection
should be True (eg. different in the test than in the actual application code).
It should not be client responsibility to set this flag.
``cnx.anonymous_connection`` is now a purely computed property. Connection with user in the
"guests" group are anonymous, the other ain't.
``Session.anonymous_session`` is computed from ``cnx.anonymous_connection`` and get
the updated behavior transparently.
Closes #2953943
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:31:47 +0200] rev 9041
[webrequest] simplify set_session code
Thanks to the previous changeset we are assured that session handed to
set_session is full featured one. This allows a simpler code for this method.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:28:16 +0200] rev 9040
[webrequest] set DBAPISession without cnx at initialisation time
Such session are necessary for minimal use of a Request. Setting on by default
allow simplification later linking with a full featured DBAPISession or
equivalent. This was not possible before as all session was tracked by session
manager. They are not tracked anymore since aa709bc6b6c1 and we can safely
create them by default.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:41:27 +0200] rev 9039
[testlib] rework request building in init_authentication
The previous code was building a full authenticated request and tried to undo
the authentication afterward. The new code just create a bare Request with no
authenticated session linked yet.
This is much closer of what the actual authentication process does.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:39:25 +0200] rev 9038
[request] drop the user argument for set_session
I see no code nor test that use this optional argument. removing it help to
clean the session code. The set_session function will soon be deprecated anyway (at the
same time than the dbapi)
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 19 Jun 2013 12:00:54 +0200] rev 9037
[web-request] handle default language earlier
We now read language negotiation header at initialisation time (previously done
during ``set_session``). This simplify the set_session code for later reworking.
There is no change in behavior, the user selected language continue to overwrite
the one picked from the header/default when applicable.
related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Jun 2013 15:12:25 +0200] rev 9036
[etwist] pass the repository to the root resource
This is another step toward a cleaner instantiation scheme for the repo.
The http test now pass an already created object to the etwist server instead of
relying on the config cache.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:03:37 +0200] rev 9035
[repo] move repo.gc_stats to Service API (closes #2951068)
We currently have a method on the repo that anyone can call. `call_service`
gives a similar thing, modulo:
* can be restricted access to manager only (thanks to selection on services),
* less unrelated code on the repository class,
* no need to fetch a reference to a repo object from the client side
* (`req._cnx.repo` is not an API and config.repository() is on its way out).
The old way to access this information (repo.gc_stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:05:35 +0200] rev 9034
[repo] move repo stats to Service (closes #2951067)
We currently add a new method on repo that anyone can call. Call service allows
to reach the same result with:
* Restricted access to manager only (thanks to selection on services),
* Less unrelated code on the repo.
* No need to fetch a reference to a repo object from client side.
`req._cnx.repo` is not an API and config.repository() is on its way out.
The old way to access this information (repo.stats()) is deprecated.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:59:45 +0200] rev 9033
[service] drop the asynchronous execution possibility
Call_service was able of both sync and sync execution making the API confusing.
There is not user of the async case. We drop the async argument in favor of
synchronous execution only.
This makes call_service the official API to call server side code from the
client side. This is a remplacement for the usual monkey patching of the repo
object.
The zmq notification bus is a solid alternative for codes that needs to start an
async execution.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:00:03 +0200] rev 9032
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager
Those object actually need a repo object to connect and create new session
object. They used to retrieve the repo object using
``vreg.config.repository()``. I'm trying to sanitise the initialisation stack
and get ride of ``config.repository()``, a function that mix factory and cache.
Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the
repo object instead of the vreg.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:12:19 +0100] rev 9031
web/application: instantiate the repository outside of CubicWebPublisher
This improves decoupling and allows ``CubicWebPublisher`` user to choose which
argument are used during ``Repository`` instantiation. In particular is allows
caller to provide a ``TaskManager``.
The `vreg` argument of publisher is made mandatory. See CubicWebPublisher
docstring for details.
Related to #2249513
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 17:23:04 +0100] rev 9030
remove vreg argument to CWPublisher
The passing a vreg to CWPublisher was used by test to allow reused of an
existing vreg. We dropped this feature two commit ago and can safely removes it.
Removing this argument allows later cleanup and improvement on the CWPublisher
and Repository front.
closes #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 16:10:38 +0100] rev 9029
[devtools] vreg becomes a class ppty
After multiple devtools refactoring, the vreg used for test is now *always* got
from the repository. Making this explicit is a step toward simplification of the
vreg handling during various initialisation phases.
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:33:00 +0100] rev 9028
[devtools] drop unused `reset_schema` and `reset_vreg` class attribute
They have no effect and no user...
Related to #2944813
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 May 2013 17:50:55 +0200] rev 9027
[connection] move security control logic on Connection
The _security_enabled context manager now operate on connection. We have to keep
a specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:11:42 +0200] rev 9026
[connection] move hook control logic on Connection
The _hook_control context manager now operate on connection. We have to keep a
specific entry point in Session to ensure Connection object are properly
cleaned up when using session to "manage" Connection live cycle.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:10:45 +0200] rev 9025
[session] update _hook_control docstring
pierre-yves [Mon, 27 May 2013 16:43:02 +0200] rev 9024
[connection] reinstall cnx.data as cnx.transaction_data
Too much code expects self._cw.data to be session data.
backout 9b2f68916474
Related to #2503918
Related to #2912807
pierre-yves [Mon, 27 May 2013 16:42:39 +0200] rev 9023
[connection] give access to is_internal_session boolean
Needed if we are to use this object like we currently do with session.
Related to #2503918
pierre-yves [Fri, 14 Jun 2013 13:39:49 +0200] rev 9022
[req] drop from_controller on non WebRequest object (Closes #2901079)
The `controller` concept is purely a web things. It does not belong to generic
`req` object.
The `build_url` code is slightly changed to handle that. This probably requires
extended cleanup later.
This is a barely used and very internal API. No deprecation period
pierre-yves [Tue, 14 May 2013 00:36:43 +0200] rev 9021
[connection] add logging method on connection
If we are to use this object like we currently do with session, we need to have
the logging method as a lot of code use them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 15:12:06 +0200] rev 9020
rename server.session.transaction into server.session.connection
The ongoing rework of the API to access the database include the splitting of
Session in two objects:
The ``Session`` object will only hold credential (user) and global session data.
A new object will publicly emerge to handle a database access. This object is
named ``Connection`` since that the way database accessors with the same property
are named in other system. So we renamed the ``Transaction`` object into
``Connection``. The ``Transaction`` object have already grown in the direction
of something directly usable by generic code, but the name ``Transaction`` is
ill suited as such object can be used for multiple database transaction in a
row.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 13:43:29 +0200] rev 9019
[application] call req.set_session in application.main_handle_request
The Session handling chain is no more responsible for calling req.set_session.
It just returns a valid session and lets the caller link it to the Request.
This opens the way to explicitly creating and closing a connection/transaction
in ``application.main_handle_request``.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:46:39 +0200] rev 9018
[session-handler] use session directly to update last usage
We don't really need the WebRequest for that. Not using the WebRequest to access
the cubicweb repository here will allow a delayed set_session.
Related to #2503918
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:50:19 +0200] rev 9017
[application/connect] simplify connection logic
``application.connect`` now either sets a full featured ``DBAPISession`` to the
``WebRequest`` object or raises ``AuthenticationError``. The creation and usage
of a fake DBAPISession is now handled by ``main_handle_request`` when needed.
This means that fake DBAPISession are no longer tracked by the session manager
and that user are not given anyway to retrieve them for a later request.
This fake DBAPISession is still passed to ``core_handle`` because multiple cubes
like registration or forgotten password need this behavior. We would like to get
ride of it in the future.
This clarification of the connection API greatly simplifies ``DBAPISession``
retrieval//creation process opening the
way to improvements in this area.
Related to #2503918
pierre-yves [Thu, 13 Jun 2013 15:36:10 +0200] rev 9016
Drop hijack user (closes #2901093)
Deprecated since 3.17.0. Dropping this function help the session cleanup
business.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 17:27:43 +0200] rev 9015
[sources] drop support for ldapuser source (closes #2936496)
The ldapfeed source is a replacement for ldapuser. Use it instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 17:13:17 +0200] rev 9014
merge stable back into default
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:26:25 +0200] rev 9013
3.17 is the new stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:13:24 +0200] rev 9012
Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:02:39 +0200] rev 9011
[pkg] prepare 3.16.5
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 14:41:50 +0200] rev 9010
Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
David Douard <david.douard@logilab.fr> [Thu, 13 Jun 2013 17:32:49 +0200] rev 9009
[pkg] prepare 3.17.2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Jun 2013 11:53:40 +0200] rev 9008
repository: make tests pass again
The tests use mono-threaded pyro, which breaks assumptions made in
e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict
when they're closed, and force the test pyro client to actually
disconnect when it's done.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 18:33:50 +0200] rev 9007
repository: monkey patch pyro connection handling to detect clients going away
When a pyro client goes away we need to close their session (to release their
cnxset). Add a dict to the repository mapping pyro client threads to session
object.
Closes #2932058
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:01:23 +0200] rev 9006
notification: use viewargs for notif_entity_updated instead of transaction_data
Now that notifications use separate sessions, they can't rely on the
original transaction_data being around, so pass the data through view
arguments instead, so the notification view knows what changed on
updated entities.
Closes #2936180
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:03:59 +0200] rev 9005
notification: properly handle cnx and lifetime of the hijacked session
When we create a session for the notification rendering, we need to
1) give it a cnxset
2) commit and close it after we're done
3) restore the original session for subsequent notifications
This changes the ordering of actual mail sending, since there are
several different commits involved, but I don't see a way to fix that
short of restoring hijack_user.
Related to #2934523
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:27:00 +0200] rev 9004
notification: fix session creation (closes #2934523)
Session() takes a user and repo, not repo and user.
David Douard <david.douard@logilab.fr> [Fri, 07 Jun 2013 16:48:20 +0200] rev 9003
Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 13:00:28 +0200] rev 9002
[cwctl] add configure command to cw-ctl (closes #2709702)
usage: cw-ctl configure <appid> --param key=value,key2=value2 --param key3=value3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:02:45 +0200] rev 9001
[cwctl] rename option no-post-create to no-db-create
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 16:02:46 +0200] rev 9000
[pkg] version 3.17.1 for rpm packages
pierre-yves [Mon, 27 May 2013 15:48:03 +0200] rev 8999
[session] upgrade session closed error from Exception to SessionClosedError
Exception is far too wide and we already have a SessionClosedError anyway.
Closes #2897696
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 12:29:44 +0200] rev 8998
[pkg] prepare 3.17.1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 May 2013 14:46:32 +0200] rev 8997
[web/application] add some minimal documentation
Some documentation to the Application main entry point.
pierre-yves [Thu, 23 May 2013 19:25:24 +0200] rev 8996
[session] raise proper exception with get_tx is called on a closed session
Prevent attribute error on _txs
Closes #2897836
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 09:44:37 +0200] rev 8995
[view] typo in a docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:07:46 +0200] rev 8994
[cwctl] pass missing inputlevel argument to postcreate() (closes #2901037)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 May 2013 11:41:39 +0200] rev 8993
[server] fix documentation of ZMQ options harder
The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 29 May 2013 16:44:16 +0200] rev 8992
merge with 3.16.x fixes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 27 May 2013 15:39:56 +0200] rev 8991
[server] fix documentation of ZMQ options
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 May 2013 11:16:09 +0200] rev 8990
[zmq] set order for ZMQStartHook so other hooks don't need to
If an application wants to subscribe to some messages on the zmq bus,
that needs to happen after ZMQStartHook.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 17:32:56 +0200] rev 8989
import merge_options directly from logilab.common
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 15:10:50 +0200] rev 8988
[server] fix error messages in write_sources_file()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 May 2013 12:22:14 +0200] rev 8987
[doc] a couple almost-typos
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 May 2013 17:26:23 +0200] rev 8986
[schemaserial] mitigate critical message during migration
We can't fetch extra_props because it is not yet there.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Wed, 22 May 2013 06:30:16 +0200] rev 8985
[doc] typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 18:57:25 +0200] rev 8984
[cw-ctl] fix help message for schemadiff In global help (closes #2888538)
The leading space make it appears on multiple line. The help content is a bit
improved in the process.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 May 2013 18:02:24 +0200] rev 8983
[dbapi] fix connect backwards compat harder
Passing None as group and host should result in
"pyro:///cubicweb.appid", not "pyro://None/None.appid". Followup for
2091d275fe5c. Closes #2882666.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 12:35:02 +0200] rev 8982
[zmq] make publish address optional
It should be possible to use the zmq communication bus in a read-only
manner. Allow setting zmq-address-sub without zmq-address-pub.
Closes #2897178.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 14:38:43 +0200] rev 8981
Fix documentation for zmq pub/sub hooks and configuration
Closes #2897177
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 17 May 2013 16:25:48 +0200] rev 8980
[entity] improve deprecation messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:42:50 +0200] rev 8979
[devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 16:21:23 +0200] rev 8978
[testlib] fix page validator selection. Closes #2869456
* use a validator that checks XML well-formness for the html5 doctype
(as a convenient side-effect, it does not choke on e.g. a canvas tag
like the HTMLParser does)
* use a DTD validator if there is an xml declaration
* else use the HTMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:22:51 +0200] rev 8977
[testlib] introduce a validator that check xml-well formness
This validator simply check XML is well formed and accept any entities
(think HTML defines much more entities than bare XML)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 15:37:22 +0200] rev 8976
[view] return HTML5 doctype. Closes #2869426
We dropped xhtml support in 3.17 but we kept providing documents using the
XHTML strict doctype, while our content wasn't conform to the DTD since we
dropped proper namespaces definition as well as declaration of cubicweb DTD
extensions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:16:45 +0200] rev 8975
[testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481
the context is calculated using position information relative to a preprocessed content,
not the original source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 15:58:52 +0200] rev 8974
[web request] drop no more necessary request.document_surrounding_div method
This is awful and no more necessary since we dropped xhtml support
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:13:43 +0200] rev 8973
[testlib] unspaghettify Validator / PageInfo api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 16:05:51 +0200] rev 8972
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:26:16 +0200] rev 8971
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 14 May 2013 15:26:24 +0200] rev 8970
[dataimport] minor typo in error handling
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 07 May 2013 00:29:42 +0200] rev 8969
[views] attempt to clarify the inline help system documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 May 2013 19:40:15 +0200] rev 8968
[sobject] fix notification operation
regression introduced in bf4003760e02 Operation use self. session. not self._cw.
I'm a bit surprised that its not tested.
closes ##2870077
David Douard <david.douard@logilab.fr> [Fri, 03 May 2013 16:36:42 +0200] rev 8967
Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:27:34 +0200] rev 8966
[pkg/debian] prepare release 3.17.0-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:24:42 +0200] rev 8965
[pkg/debian] update yams runtime depends
Only the built depends were updated to 0.37.0.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:23:08 +0200] rev 8964
[pkg/debian] expand all depends and co on multiple line
This is more readable and simplifies patching.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:22 +0200] rev 8963
Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:21 +0200] rev 8962
Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 02 May 2013 15:58:57 +0200] rev 8961
[test/view] exclude some Blog entity from automatic view testing
Some Blog view requires the sioc cubes that we extracted in 3.17
we do not really want to test cubes view here. So we exclude
CWEtype
that really requires the sioc cubes.
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 14:30:36 +0200] rev 8960
[doc] fix: cubicweb.gmap.js has moved to the geocoding cube
David Douard <david.douard@logilab.fr> [Tue, 30 Apr 2013 08:17:10 +0200] rev 8959
[test/ldap] do not assume order
Do no assume a specific order is stable when testing group members
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 14:49:43 +0200] rev 8958
Added tags for version 3.16.4 on changeset 041804bc48e9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:34:23 +0200] rev 8957
[notification] ensure official API is test
By using the official API in the hook we ensure it is tested.
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 29 Apr 2013 09:47:23 +0200] rev 8956
fix typo in notification causing NameError
introduced by: f5b40b66d36e
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:29:59 +0200] rev 8955
[test/notification] merge related test classe
They have no reason to be distinct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:43:36 +0200] rev 8954
merge with stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 16 Apr 2013 16:51:18 +0200] rev 8953
[server] add a looping task to free unused cnxsets capture by dead pyro
When a pyro client disconnects, we're not necessarily notified so they
can hang on to their session/cnxset forever. Don't let them do that.
The hacky looping task is only installed when pyro is enabled. This optional
activation save this very hacky patch from being rejected.
closes #2825380
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:22:21 +0200] rev 8952
[pkg/debian] update changelog to 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:06:28 +0200] rev 8951
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator
The renaming was introduced in 198fdadafed6.o
This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:47:36 +0200] rev 8950
[pkg] update changelog
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:37:47 +0200] rev 8949
[pkg] prepare 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:21:18 +0200] rev 8948
[pkg] prepare 3.16.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Apr 2013 18:06:44 +0200] rev 8947
[repo] straightforward bootstrap sequence. Closes #2841188
* kill fill_schema method which was doing to much different things, in favor of
a deserialize_method which is simply reading schema from the db and returning
it
* set_schema doesn't bother with cubes
This allows to easilly follow what's going on and so to cleanup init_cnxset_pool
to get the following boostrap order:
1. load cubes (implies loading site_cubicweb)
2. load schema
3. init data sources
4. init cnx sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:49:49 +0200] rev 8946
[repo] minor cleanups to bootstrap sequence
* fix some docstring/comments
* move initialization of HooksManager to the __init__.py, this has nothing to
do with pool initialization / boostraping
Vincent Michel <vincent.michel@logilab.fr> [Fri, 26 Apr 2013 17:46:56 +0200] rev 8945
[schemaserial] serialize additional yams parameter for customs type
Yams have a new custom type feature. We add support for extra parameter on
CWAttribute in schema serialization handling.
Closes #2847151
Vincent Michel <vincent.michel@logilab.fr> [Tue, 23 Apr 2013 14:13:58 +0200] rev 8944
[sql] preprocess_entity uses lgdb helper's SQL converters.
The preprocess_entity does not yield anymore the conversion logic for different
base types, but relies on a new SQL_CONVERTERS dictionary of the db helper.
This will allow later inclusion of new base types.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:42:43 +0200] rev 8943
[repo] kill rebuildinfered feature from Repository.set_schema
This clutters thing and is useless in most cases: when schema just have been
readen from the database or from the file-system, infered relations have just
be calculated.
The only use-case where it should be rebuilt is on migration (ie schema
modification by editing the meta-model using rql), so move this feature there.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:51:06 +0200] rev 8942
[test] stop deepcopying for nothing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Apr 2013 12:10:37 +0200] rev 8941
drop xhtml content-type support (closes #2065651)
* HTMLStream does not care about xml any more
* reqquest.demote_to_html and .xhtml_browser are deprecated
* web config: drop force-html-content-type option
* adjust tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:53:47 +0200] rev 8940
[htmlparser] exclude <script> tag from html source
lxml are confused by them :-(
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:52:35 +0200] rev 8939
[htmlparser] store unaltered source in pageinfo.source
Do not store the parser to preserve the source aspect. Store the initial input
in the source argument instead.
This is very useful when parsing html. In such case we need to drop ``<script>``
tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 18:38:47 +0200] rev 8938
[htmlparser] rename SaxOnlyValidator to XMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 17:46:28 +0200] rev 8937
[htmlparser] add missing deprecation message
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 16:55:12 +0200] rev 8936
[form] remove hard coded id
html id should be unique. It is clearly not achieved here.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:08:06 +0200] rev 8935
[server/test] use server config in migration
This allows a lighter initialisation (no rtag needed).
Execution of those test move from 300 secondes to 220 seconds here. A 25%
speedup
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:57:46 +0200] rev 8934
[session] deprecate `hijack_user` method
The semantic of this method is wicked and lead to very hard violation of sanity.
(multiple transaction using the very same cursors). We deprecated the API to be
able to drop it as soon as possible.
The method was added long ago for some notification trick. It is not needed
since we sent notification on ``postcommit_event``.
(closes #2781782)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 12:24:26 +0200] rev 8933
[mail] drop hijack_user usage
The transaction is now commited before notification. We can create a new session
directly and drop `hijack_user` usage.
This prepare #2781782
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:35:02 +0200] rev 8932
[notification] merge BaseNotificationView and NotificationView
They are in the same module now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:34:48 +0200] rev 8931
[notification] move notification view in ``sobject.notification``
It has no user outside this module. This enforce serversideness of
notification and allow future cleanup.
No backward compat is set up to prevent circular import. The class has no other user
anyway.
(closes 2845144)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 14:10:55 +0200] rev 8930
remove unused import
pyflakes say they are unused. Tests suite confirms.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 17:30:09 +0200] rev 8929
one more merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 16:10:56 +0200] rev 8928
[notification] introduce an official `notify_on_commit` function
It provides a proper notification api instead of replacing it by yet another
clumsy one.
Closes #2837251
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 25 Apr 2013 10:57:01 +0200] rev 8927
[cubicweb/doc] Replace dc_type() by cw_etype
dc_type() is may be translated. Leading to terrible terrible damage.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 04 Apr 2013 11:58:41 +0200] rev 8926
[dataimport] backout 6947201033be (related to #2788402)
(and add a try: except to cache the intended error)
The problem actually comes from the ``MassiveObjectStore``
in the ``dataio`` cube, so it should be corrected there.
Here, we only protect it with a ``RuntimeWarning`` so that
the user can see the problem.
``value`` is set to ``None`` (whence to ``NULL`` from
a database standpoint), so that the data can be nevertheless
inserted in the database. However, only the keys present in
``row`` are actually non-'``NULL``'.
The real solution is to work out the issue in ``MassiveObjectStore``
directly.
The current try/except should only be a temporary hack.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 15:45:38 +0200] rev 8925
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Apr 2013 14:44:03 +0200] rev 8924
[c-c serverctl] import locally to speed up c-c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 12:12:15 +0200] rev 8923
[facet js] minor refactoring and cleanups
* extract facetCheckBoxSelect and facetCheckBoxUnselect
* use $ as prefix for jQuery variable (facet -> $facet)
* other minor rephrasing
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 18:11:37 +0200] rev 8922
[ldapfeed] Add support for LDAP groups (closes #2528116)
Groups from the LDAP server are imported as CWGourp entities, and in_group relationships are created between existing CWUsers and CWGroups
Unit tests have been refactored a bit, especially ti add helper methods to manage LDAP database.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:57:14 +0200] rev 8921
[test/ldap] small improvement to ldapfeed unit tests
better group testing and further testing of imported user life cycle.
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 17:48:08 +0200] rev 8920
[ldap] prepare import of CWGroup
All CWUser specific code is put in dedicated sections.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:40:49 +0200] rev 8919
[ldap] handle modification date
We are now able to import modification date from ldap.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:39:10 +0200] rev 8918
[ldap] refactor attributes mapping handling
* use explicit attributes lists when calling ldap search
* direct and reverse attributes maps contains now the same elements.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 14:00:52 +0200] rev 8917
[ldapfeed] add support for multiple email addresses from ldap
Multiple emails case was ignored before this change.
email test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:37:43 +0200] rev 8916
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:33:49 +0200] rev 8915
[session] fix hooks_control backward compat
Session object have no ``hooks_control`` control method. it has
``allow_all_hooks_but`` and ``deny_all_hooks_but`` ones.
Regression introduced in bd5b5759c9b3.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 16:25:45 +0200] rev 8914
[facet js] fix reordering of facet check boxes. Closes #2732947
Before this patch, when one select an element, it's moved to the top of
the select content. Fine. But when it's later deselected, it stays there
instead of moving back to its original location.
This patch fixes that by introducing a facetCheckBoxReorder function which
properly reorder the whole facet, instead of buggy attempt to locally reorder.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:40:09 +0200] rev 8913
[vreg]Â (re)build entity classes cache after registry initialization.
This fix potential memory fragmentation issue.
Closes #2719113
Julien Cristau <julien.cristau@logilab.fr> [Wed, 24 Apr 2013 12:10:12 +0200] rev 8912
[task] allow negative intervals for add_looping_task (closes #2818280)
Instead of rejecting values < 0 with a ValueError, we ignore tasks with
a negative interval. This introduce a simple way to disable task from
configuration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 11:58:49 +0200] rev 8911
[task] allow interval=0 for looping tasks
There is valid usecase for perpetual running task.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:45:13 +0200] rev 8910
[portable dump] skip virtual relations, they have no table associated. Closes #2841199
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:37:48 +0200] rev 8909
[test] fix skipIf import, currently failing if unittest2 is not there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:36:41 +0200] rev 8908
[test] fix bad merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 18:15:10 +0200] rev 8907
merge with other default head
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:07:02 +0200] rev 8906
[ldap] an empty 'user-base-dn' disable the user importation process,
The same semantic will be used for group. We start by using it for user for the
sake of consistency.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:46:09 +0200] rev 8905
drop commented print
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:50:18 +0200] rev 8904
[ldap] Major test refactoring
Mostly fix tests (previous refactoring), but also refactor a bit the base class
to have better/simpler interaction with the slapd server.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 17:58:20 +0200] rev 8903
[test/ldap] have RQL2LDAPFilterTC use its own database
I do not know what RQL2LDAPFilterTC is about and why it does this strange reuse
of LDAPUserSourceTC pre_setup_database but it is certainly a good idea to have it
use a dedicated database-cache.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:25:56 +0200] rev 8902
[ldap] quieter tests
Capture slapadd and slapd output if everything goes well.
Jérôme Roy [Wed, 10 Apr 2013 17:50:11 +0200] rev 8901
[test/ldap source] better source naming, some cleanups (prepares #2528116)
ldap uri becomes "ldap" in all cases
prepare separation of CONFIGs by source type
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:33:50 +0200] rev 8900
use cw_etype instead of __regid__
We have a clean public API now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:16:36 +0200] rev 8899
[entity] add an official ``cw_etype`` property for entity
This property holds the CWEtype id of the entity. This information was previously
available through __regid__ but this is an ugly public API. So we have a new
clean public API. The ``dc_type()`` method could not be used as it is
translated.
(closes #2793792)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:38:27 +0200] rev 8898
[notification] use new style operation for notification
This results in far less operations created. Operation creation is expensive.
We keep some compatibility with the previous API because some cubes have been
reported to use it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:16:02 +0200] rev 8897
[cleanup] drop code deprecated since 3.6
The 3.6 API have been dropped some time ago. Those three lines survived the
purge. One of them is even deprecated since 3.5.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 15:25:04 +0200] rev 8896
[notification] fix documentation
The doc say precommit, the code says postcommit. The code is right.
We also clarify the documentation of another related operation looking suspiciously
wrong but actually correct.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:01:14 +0200] rev 8895
[ldapuser] Deprecated the source
We have ldapfeed for some time. maintaining both is cumbersome. This old style
source will be dropped in 3.18.
closes #2567712
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:44:42 +0200] rev 8894
[rql2sql] Remove an XXX by explaining why Int non-substitution is desired
(in the current state of the API)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:41:56 +0200] rev 8893
[rql2sql] Boolean values should be substitued like others. Closes #2829481
Furthermore lgdb 1.10 deprecate boolean_value method and this simplify
testing.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Apr 2013 14:54:22 +0200] rev 8892
[toward-py3k] rewrite __cmp__ (closes #2715115)
In Python 3k `__cmp__` special method is no longer supported. So we split
it in `__lt__` and `__eq__`.
details on Python3k behavior here:
http://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:33:49 +0200] rev 8891
skeleton: add RPM spec template (closes #2800884)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Apr 2013 13:44:01 +0200] rev 8890
[clean_session] revert itervalues usage from 0bb18407c053
self.close(session) changes the self._sessions content. We need to create a full
list of value before starting closing them.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 15 Apr 2013 13:18:01 +0200] rev 8889
merge 3.16.x fix
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:46:18 +0200] rev 8888
[ldap] Use correct API for logging message
The good practice cat prefer logging to do the substitution himself.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 12 Apr 2013 11:39:10 +0200] rev 8887
Fix obsolete docstring for add_looping_task
The docstring was telling lies since changeset cae198371548
"add_looping_task can be used any time"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Apr 2013 10:32:00 +0200] rev 8886
[devtools] prevent Xvfb resets
Seems like firefox opens more than one connection to the X server in
some cases, and things get utterly confused.
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:22:48 +0200] rev 8885
[LDAP] rename unittest ldapuser to ldapsource (prepares #2528116)
the tests involved are not only for ldapuser module but also for the more
general ldapfeed
Necessary to prepare LDAP patch for CWgroup
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Apr 2013 15:34:18 +0200] rev 8884
[devtools] protect xvfb-run.sh against clean_up being called twice
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:44:55 +0200] rev 8883
Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:39:15 +0200] rev 8882
3.16.3
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 14:23:24 +0200] rev 8881
[service] make sure synchronous call_service has a cnxset
Fixes regression in 3.16.2 (closes #2807720)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:56:27 +0200] rev 8880
Merge testfunc testfunc resurrection Closes #2535377
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:40:45 +0200] rev 8879
[web] move qunit test back into web and fix the hanging
qunit test can not work outside web. a lot of try/finally clause have been added
to prevent qunit to hang on error.
A not a test a indeed broken. But we at least put in them a running state again..
William Wordsworth [Mon, 08 Apr 2013 17:34:25 +0200] rev 8878
[test] drop forsaken windmill test (Closes 2535376)
* not run since multiple years
* windmill itself is in poor shape not even packaged in Debian.
The peace which other seek they find;
The heaviest storms not longet last;
Heaven grants even to the guiltiest mind
An amnesty for what is past;
When will my sentence be reversed?
I only pray to know the worst;
And wish as if my heart would burst.
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:12 +0200] rev 8877
Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:11 +0200] rev 8876
Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 19:30:42 +0200] rev 8875
3.16.2
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 18:38:20 +0200] rev 8874
[server/test] remove dependency on a pyro name server (closes #2801737)
Use a direct pyroloc:// url instead of going through a NS.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:30:53 +0200] rev 8873
[packaging] add spec file to build RPMs (closes #2800850)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 08 Apr 2013 17:12:53 +0200] rev 8872
[predicates] keep making `yes` predicate importable from cubicweb (closes #2790319)
The `yes` predicate was moved out in CubicWeb 3.15 but it should have
remained importable from the cubicweb.predicates module, for bw compat
reasons and also because logilab.common.registry is an implementation
detail.
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 16:53:03 +0200] rev 8871
[views/tables|css] backout rev 895e34d9ae0d
This changeset introduced a GUI behaviour change that has usability side-effects
(eg. shows a non-undoable massive action as a first-class action).
The idea is good, but it requires a better implementation; tabs are not the proper
GUI solution to the original usability issue.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:43:26 +0200] rev 8870
[webconfig] cleanly handles ``fckeditor_installed`` when no uiprops
The previous version of the code relied on a default value with a dummy
``FCKEDITOR_PATH`` entry. The new code check if uiprops is initialized or not.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:19:29 +0200] rev 8869
[webconfig] fallback to default configs if https ones are not defined
When cubicweb serves a request with an https scheme, it tries to access
``https_uiprops`` and ``https_datadir_urls``. However if those are not defined we
should fallback to unsecure url instead of crashing with a traceback.
There are very valid usecases for undefined https url. For example if your
``base_url``, ``datadir_url`` and uiprops content are already https urls.
Closes #2786643
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:13:03 +0200] rev 8868
[webconfig] explicit some webconfig attribute
Explicit declaration of attribute are much clearer. Just do it.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:45:10 +0200] rev 8867
merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:18:32 +0200] rev 8866
merge with 3.15.x fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:56 +0200] rev 8865
Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:46 +0200] rev 8864
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:55:56 +0200] rev 8863
[querier] improve 'Password selection not allowed' error message
to report the involved variable name whose type is Password,
it usually help understanding the problem.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 11:09:50 +0200] rev 8862
[predicates] use select_or_none rather than select+try/except, expected to be more efficient
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:43:57 +0200] rev 8861
[pkg] prepare version 3.15.11 ?
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:42:36 +0200] rev 8860
merge 3.14.x fix into 3.15.x
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:51:15 +0200] rev 8859
[facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Feb 2013 14:39:55 +0100] rev 8858
[predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Apr 2013 14:33:20 +0200] rev 8857
[cmd] fix exlog documentation (closes #2715913)
The table documentation was out of sync since 8a075bc94563.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:39 +0200] rev 8856
Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:28 +0200] rev 8855
Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:19:24 +0200] rev 8854
[pkg] prepare 3.14.10 release
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Apr 2013 11:09:50 +0200] rev 8853
[querier] fix eid relations handling in SET queries (closes #2797052)
_extract_eid_consts() implementation must consider arithmetic operators
when trying to associate rql variables to specific eids.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Apr 2013 17:45:09 +0200] rev 8852
[ext/rest] add directive bookmark to rest (closes #2545595)
David Douard <david.douard@logilab.fr> [Wed, 03 Apr 2013 12:17:24 +0200] rev 8851
[c-c create] make post-create step optional (closes #2712041)
In this context the "post-create" step refers to the database's creation and
initialization. We want to be able to create a new instance but skip the
database creation (`db-create` and `db-init` commands) in automatic setup.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 15 Mar 2013 12:11:29 +0100] rev 8850
[cwconfig] Add optional configuration param to load a UI cube before other cubes
Needed later on to load UI cubes such as legacyui, and one day squareui.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 02 Apr 2013 12:13:06 +0200] rev 8849
[web/views] Move massmailing to its own cube (closes #2788086)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 18:15:24 +0200] rev 8848
merge with stable fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:06:22 +0200] rev 8847
[req] explicit `user` attribute
The `RequestSessionBase` object needs a `user` attribute. It is initialized by
sub class, but having it explicitly declared is much cleaner.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:02:52 +0200] rev 8846
[test] use the right order in some assertEqual
The unittest2 function use ``(expected, got)`` order.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:00:37 +0100] rev 8845
[session/transaction] move resource accessors on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:39:14 +0100] rev 8844
[session/transaction] move multiple utility on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:25:56 +0100] rev 8843
[session/transaction] handle cnxset repository logic in transaction
Interacting with the repo is now handled by the Transaction code directly.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:34:53 +0100] rev 8842
[transaction] keep a reference to the repo object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:57:13 +0100] rev 8841
[session] make security_enabled API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:47:04 +0100] rev 8840
[session] make hook_control API private
The doc already says "internal API". The old entry point is now officially
deprecated and the context manager have been made private.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution
Internal session are not tracker by the repository and can not be retrieved
using _getsession. Moreover their session id is not unique…
Closes #2735700
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only
The service may be called by a session, we really do not want the call to
service to mess with the transaction state.
This does not apply to async were thread magic ensure a dedicated transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure
The session was retrieved there because `set_cnxset` must be called in the same
thread as the code using it. We now retrieve the session beforehand and
explicitly call `set_cnxset`.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 12 Mar 2013 18:31:15 +0100] rev 8836
[cubicweb/doc] Add tutorial on data import in CubicWeb.
This involves creating the "tutorials/dataimport" directory
structure under "cubicweb/doc" and, inside the "dataimport" directory,
putting several files:
- a ResT file containing the tutorial *per se*; this tutorial addresses
the following issues:
* creating a CubicWeb schema for representing a given data set (here,
the Diseasome RDF data, for illustration purposes);
* parsing the data;
* importing the data, by using several stores:
+ the ``RQLObjectStore``, ``NoHookRQLObjectStore`` and
``SQLGenObjectStore`` from the ``dataimport`` module in CubicWeb;
+ the ``MassiveObjectStore`` from the ``dataimport`` module
in the ``dataio`` cube.
The tutorial also provides timing benchmarks of the various stores.
- a set of Python files illustrating the data import, in the context
of Diseasome RDF data parsing:
* a Diseasome RDF data parse module,
* a Diseasome data import module,
* a CubicWeb schema for representing Diseasome data.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:04:22 +0200] rev 8834
[dataimport] Handle various data formats when creating buffers from data.
:note: On the long run, this should be addressed before, when these data are
created.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:12:41 +0200] rev 8833
[dataimport] Add a ``flush`` method for all stores.
For ``ObjectStore``, ``RQLObjectStore`` and ``NoHookRQLObjectStore``
the method tries to call the ``commit`` method.
For ``SQLGenObjectStore``, the ``flush`` method is basically
unchanged with respect to previous changesets.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:11:44 +0200] rev 8832
[dataimport] Uniformize the API across the different stores.
This is achieved by modifying the ``relate`` method
so that it takes an extra ``**kwargs``.
More specifically, ``SQLGenObjectStore``'s ``relate`` method
needs the the type of the subject entity which is passed through
``**kwargs`` as the ``subjtype`` keyword argument.
Actually, it is the ``add_relation`` method of the
``SQLGenObjectStore`` who needs this argument. However, as
this method is not called directly (but via the ``relate``
method), the ``subjtype`` argument is passed to
``add_relation`` via ``relate``.
The other stores' ``relate`` methods do not need this
extra argument, hence for the other stores ``**kwargs``
is empty.
In this manner, the API is unified across the different stores.
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 28 Mar 2013 15:43:23 +0100] rev 8831
[data] Add a CSS for undo UI rendering
The nesting of ordered list and unordered list was badly handled. This has gone
unoticed becaused it was not used. But the undo feature use this markup to
render the changesets. That's why this minor change to ths CSS is introduced.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
David Douard <david.douard@logilab.fr> [Mon, 11 Feb 2013 11:47:50 +0100] rev 8829
[c-c list] add an optional argument to the list command (closes #2709703)
This optional argument allows to restrict listing to only
a given type of items (cubes, instances, configurations).
Florent Cayre <florent.cayre@logilab.fr> [Wed, 13 Mar 2013 18:17:16 +0100] rev 8828
default base-url now uses fdqn instead of hostname only (closes #2542815)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:41:14 +0100] rev 8822
merge 3.16.x fix in 3.17.x
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:32:26 +0100] rev 8821
merge 3.15.x into 3.16.x
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 12:31:39 +0100] rev 8820
server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641)
Fixed an .rstrip(...) for the general case (untested).
Fixed an .lstrip(...) for the sqlite path (tested).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:40:19 +0100] rev 8819
[doc] update 3.17 release note
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:45:17 +0100] rev 8818
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event`
The `rdefdef` attribute is set during the operation execution. In some the
operation crash before this assignment. In such case `revertprecommit` raise an
attribute error crashing the whole process and shadowing the original error.
This changeset detect and Avoid this situation.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:41:45 +0100] rev 8817
[session] security context directly use transaction object when applicable
Most of the security logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:43:34 +0100] rev 8816
[session] move context manager logic in the security context manager
The `init_security` and `reset_security` method have no other user that the context manager itself. Having dedicated public function is not useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:42:18 +0100] rev 8815
[session] hook control context directly use transaction object when applicable
Most of the hooks control logic have been moved on Transaction anyway.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:17:21 +0100] rev 8814
[session] move context manager logic in the hook controls context manager
The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other
user that the context manager itself. Having dedicated public function is not
useful.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:05:14 +0100] rev 8813
[session] drop the useless set_hooks_mode method
It has not external user and trivial code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:09:55 +0100] rev 8812
[session/transaction] move most undo support into transaction
A small part that need repo access has not been moved into transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:42:13 +0100] rev 8811
[session] simplify mode property
We can delegate very thing to transaction utility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:01:40 +0100] rev 8810
[session/transaction] pass the session object to the Transaction __init__
This simplify access to variables. As we are moving more and more logic and
states in the Transaction it will greatly helps in future commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:54:36 +0100] rev 8809
[session] use a dedicated class to track cnxset
We introduce a new CnxSetTracker to track `cnxset` used by Transaction and
allows to wait for them. This new class does not use Thread ID not thread
joining to work. This allows to use multiple transaction per thread and a
transaction in multiple thread.
The class itself is totally threadsafe by the Transaction is still not
thread safe.
The old _threads_in_transaction attribute is dropped in favor of a new logic
based on this object. The registration of cnxset used is not done by the
Transaction itself. tx.cnset is a property handling the Consistency of its value
with the CnxSetTracker instance.
Note: The CnxSetTracker instance only track transaction id, not transaction
itself, So not reference cycle are created.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Mar 2013 15:26:29 +0100] rev 8808
[session] cleanup Transaction.cnxset
The attribute should always be there. It is None when not cnxset exists.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 17:50:11 +0100] rev 8807
[session] drop useless getter and setter for security
Those function have very few user and does not anything fancy. Internal user now
access tx.read/write_security directly. External user have been blessed with a
writable property. They are only interested in the write part of they did not
used the return of the removed function. They access it through the session
since I prefer the external world to not be aware of Transaction yet.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:40:09 +0100] rev 8806
[session/transaction] move read_security subtlety in transaction
This is transaction data, itshould be handled by the transaction itself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:02 +0100] rev 8805
[transaction] initialize dbapi_request in __init__
There is not reason to have it implicitly declared.
The attribute is renamed to match its public name.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:00:25 +0100] rev 8804
[whatsnew] notify drop of deprecated code
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 27 Mar 2013 16:33:48 +0100] rev 8803
[web/views] extract cube embed (closes #1916015)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 26 Mar 2013 12:26:12 +0100] rev 8802
[skeleton] Update debian packaging to support only python 2.6 and up
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 16:58:13 +0100] rev 8801
Drop iprogress code (closes #2777628)
Simon Chabot <simon.chabot@logilab.fr> [Wed, 27 Mar 2013 16:36:47 +0100] rev 8800
[web/views] extract cube sioc (closes #1916018)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 15:36:41 +0100] rev 8799
[doc] Add 3.17 release notes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:38:05 +0100] rev 8798
[migration] mark all version prior 3.7 as non-migrable
API possible used by such old migration script are not supported in recent
Cubiweb.
Closes #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:40 +0100] rev 8797
[dataimport] drop checkpoint backward compat API
Deprecated since 3.7. See #2772958 for details.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:06 +0100] rev 8796
[dataimport] drop index support deprecated since 3.7
Dropping of pre-3.7 API decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:51:42 +0100] rev 8795
[utils] drop pre-3.7 compat in util
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:58 +0100] rev 8794
[migration] drop pre-3.7 utility
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:10 +0100] rev 8793
[entity] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:49:12 +0100] rev 8792
drop dubious comment
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:03:14 +0100] rev 8791
[req] drop pre-3.7 api on request
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:46:55 +0100] rev 8790
[session] drop pre-3.7 api on session
Dropping of API deprecated since 3.7 decided in #2772958
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:35:18 +0100] rev 8789
[transaction] use set operation in the hook control code
We use direct operator on set instead of looping by hand, This simplify the
codes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:48 +0100] rev 8788
[session/transaction] move hook management in transaction itself
This is transaction level code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 15:28:18 +0100] rev 8787
[session] allow writable tx_attr and use it for commit_state
This keep clarifying the code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:12:39 +0100] rev 8786
[session/transaction] move add operation in session code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:13:34 +0100] rev 8785
[session/transaction] move entity life utility on transaction
This access transaction related data and therefor should live in transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:20:25 +0100] rev 8784
[transaction] small simplification in ecache code
A single assignation is simpler.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:16:16 +0100] rev 8783
[session/transaction] move entity cache management on session
A new utility method is added for that. It is similar to the one used for
attribute access. code is copy pasted as his. Function documentation is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:17:31 +0100] rev 8782
[session] have a nice helper function to forward access to session
This allows a lighter and clearer code. This will also ease the addition of
deprecation warning in the future.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 12:41:13 +0100] rev 8781
[session] drop dead code
session._tx is never None. New transaction are created if necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:14:08 +0100] rev 8780
[session] use tx.data directly in session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:11:17 +0100] rev 8779
[transaction] rename transaction_data to data
Transaction.transaction_data is redundant. A transaction_data property is left
for backward compatibility. Deprecation mechanism will come in later changeset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:58:43 +0100] rev 8778
[session] document Session._tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:05:49 +0100] rev 8777
[session] split session creation from default session assignation
This is the first step for more independence for Transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:04:43 +0100] rev 8776
[session] make session lock reentrant
We are going to use it for other session related business. It is renamed from
_closed_lock to _lock in the same move.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:51:50 +0100] rev 8775
[session] document set_tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:49:57 +0100] rev 8774
[session] rename txstore variable to tx
This is a more accurate name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:10:19 +0100] rev 8773
[session] rename `_threaddata` to `_tx`
The returned object is a Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:37:51 +0100] rev 8772
[session] rename self.__threaddata.txdata to self.__threaddata.tx
This is Transaction object now.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:42:33 +0100] rev 8771
[session] rename _tx_data into _txs
The object inside are now Transaction object. Not TransactionData object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:32:25 +0100] rev 8770
[transaction] relocate method building transaction context manager
It is in the middle of methods going to be refactored.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:49:48 +0100] rev 8769
[transaction] move RQLRewriter in Transaction
This remove the last ``AttributeError`` magic. The ``RQLRewriter`` needs a Session. Its
reset is handled in ``Session`` code to handle that
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:38:56 +0100] rev 8768
[transaction] initialize security control attribute in Transaction
There is no reason to not initialize them in __init__ time. This simplify the
Session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:33:53 +0100] rev 8767
[session] move security constant out of the class
There is no reason for it to not be global. This will ease it use by
``Transaction object``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:27:34 +0100] rev 8766
[transaction] initialize hook control attribute in Transaction
There is no reason to not initialize them in __init__ time. this simplify the
transaction code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:34:04 +0100] rev 8765
[session] Move hook control constants out of the class
There is no reason for them to not be global. This will ease they use by
Transaction object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:20:10 +0100] rev 8764
[transaction] initialize transaction data and state related attribute.
There is not reason to not explicitly declare and initialize attribute in
Transaction.__init__. This change requires the introduction of a
Transaction.clear() method to get ride of some wicked ``AttributeError`` based
logic.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:51:03 +0100] rev 8763
[transaction] handle ``mode`` default value in Transaction
The transaction mode is now explicitly passed at creation time and always read
from the Transaction object.
Note that there is a slight behavior change. The transaction mode is now set at
the creation of the transaction. Changes made to the default value have no
longer any effect on existing transaction.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:47:45 +0100] rev 8762
[transaction] explicit Transaction cnxset attribute
The Transaction object have a lot more attribute that those previously declared
in __init__. They are just dynamically assigned in Session code.
This changeset explicit the ``cnxset`` and ``mode`` attribute declaration.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:09:49 +0100] rev 8761
[server] rename TransactionData to Transaction
Transaction will become a full featured object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:31:21 +0100] rev 8760
[doc] update Session documentation
A major refactoring of Session/Transaction handling is commit. This is a good
occasion to improves the documention.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 19:08:07 +0100] rev 8759
merge 3.16 fix in default
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:52:13 +0100] rev 8758
[devtools] fix a couple issues with xvfb-run
xvfb-run didn't quite clean up correctly after itself, because:
- dash doesn't run EXIT traps on signals
- if we don't run the command in the background, a TERM handler doesn't run
until the command exits
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:37:06 +0100] rev 8757
[devtools/qunit] don't open-code subprocess.Popen.terminate
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:01:05 +0100] rev 8756
[devtools/qunit] get rid of unused variable
Alain Leufroy <alain.leufroy@logilab.fr> [Tue, 18 Oct 2011 16:55:16 +0200] rev 8755
[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743)
So, tables are dropped even if the schema was changed.
:note: if mssql, drop views before tables.
:note: because of table dependencies we try a second drop sequence
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 18 Oct 2012 15:52:05 +0200] rev 8754
[book] remove XXX to an old discussion about appengine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Feb 2013 12:20:59 +0100] rev 8753
[web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Mar 2013 12:34:07 +0100] rev 8752
Add CubicWebRequestBase.content (closes #2742453)
This is the body of the HTTP request (stream)
David Douard <david.douard@logilab.fr> [Thu, 17 Jan 2013 14:55:07 +0100] rev 8751
add the match_http_method predicate (closes #2559932)
This aim at creating views which are selected on other HTTP methods
(PUT, DELETE, ...)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:35:19 +0100] rev 8750
[pkg] the previous commit requires new feature in yams.
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 30 Nov 2012 16:43:36 +0100] rev 8749
add a command to compare db schema and file system schema (closes #464991)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Mar 2013 12:50:05 +0100] rev 8748
drop typed_eid() in favour of int() (closes #2742462)
typed_eid was introduced to abstract the eid type when running on Google AppEngine.
It is not used anymore and can be removed. Let's use int() instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:58:14 +0100] rev 8747
merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:13:31 +0100] rev 8746
3.15 is the new old stable
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 17 Sep 2012 14:39:29 +0200] rev 8745
[web] don't link to None in author box (when author has been deleted) (closes #2409855)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 19 Mar 2013 18:20:57 +0100] rev 8744
dbapi: try to restore compatibility of the connect api with 3.15
A few issues here:
- urlparse('foo').scheme is '', not None
- cnxprops is an optional argument
Regression from 62213a34726e ("[db-api/configuration] simplify db-api
and configuration so that all the connection information is in the
repository url, closes #2521848")
Closes #2754322
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:40:25 +0100] rev 8743
3.16 is the new stable
After discussion with David Douard I'm merging 3.16.x branches in stable and
starting 3.17 feature on default.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:46 +0100] rev 8742
Added tag cubicweb-debian-version-3.15.10-1 for changeset feca12e4a618
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:45 +0100] rev 8741
Added tag cubicweb-version-3.15.10 for changeset 89bdb5444cd2
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:28 +0100] rev 8740
prepare 3.15.10
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:32 +0100] rev 8739
Added tag cubicweb-debian-version-3.16.1-1 for changeset 84fbcdc8021c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:31 +0100] rev 8738
Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:53:57 +0100] rev 8737
prepare 3.16.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:30:06 +0100] rev 8736
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110)
Today, it is possible to call .related and get a huge unlimited
database-dos-inducing resultset that will be nevertheless limited a
bit further in pure python in the `autolimited` view.
While we cannot completely avoid potential denial of services such as
these we mitigate the problem with the default ui settings: if the
inner vid is `autolimited`, then the relation result sets is computed
using the user-defined limit.
This change respects the semantics of the `autolimited` view and
shouldn't break anything.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:18:22 +0100] rev 8735
[entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994)
As of today, such a call will always fill the relation cache by
calling .entities() on every single related rset entry.
As a consequence, the `limit` parameter handling also had to be fixed.
It was bogus in the following ways:
* not used in the related_rql, hence potentially huge database
requests, but also actually
* foolishly used in the .entities()-calling cache routine we now
bypass (this changeset ticket's main topic)
Now:
* we set a limit on the rql expression, and
* forbid caching if given a non-None limit (as we don't want to make
the cache handling code more complicated than it is already)
With this, entity.unrelated gets a better limit implementation (so the
code in related/unrelated is nice and symmetric)
Risk:
* _cw_relation_cache disappears completely, which is good, but this is
Python, so you never know ...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:17:34 +0100] rev 8734
[test/web] fix invisibly bogus test (prepares #2755994)
The test was wrong but that was cancelled out by a cache effect and
fuzzy naming.
Wiping the entity caches restores sanity: the choices list are the
same before and after the SET.
Also field.choices uses entity.unrelated but always returns related +
unrelated elements.
Hence `choice` replaces `unrelated` where it makes sense.
AssertIn is used in place of AssertTrue.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 08 Mar 2013 11:03:28 +0100] rev 8733
[cwconfig] Fix exception handling when building the cube dependency graph
UnorderableGraph exceptions do not have a 'cycles' property. A simple
cast to str does the job.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 12:25:18 +0100] rev 8732
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Mar 2013 16:38:57 +0100] rev 8731
[test/sobject] fix test regression
Was complaining:
- * updated comment #EID (#EID)
? ^^^^
+ * updated comment #EID (duh?)
? ^^^^
in sobjects/test/unittest_supervising.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 18:36:49 +0100] rev 8730
[web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130)
If 'pageid' is given through extraparams, it is sent twice to the
browser. On the JS side, the final URL loadxhtml() will end up using
will have 'pageid' set twice which CubicWeb will readily accept as a
list.
Pruning this parameter makes sure it is exactly once.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 19:23:22 +0100] rev 8729
[web/component] Use global variable to point to ajax controller (part of #2758254)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 19 Mar 2013 12:24:40 +0100] rev 8728
[web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254)
5a81fa526b30 took care of all the JS code, this patch cleans up the
remaining python bits.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 10:08:20 +0100] rev 8727
[devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 12 Mar 2013 19:24:43 +0100] rev 8726
[component] Fix URL generation for navigation component (closes #2464832)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:08:22 +0100] rev 8725
merge with another default heads
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:04:51 +0100] rev 8724
Merge stable into default (NON-TRIVIAL)
- dropping __future__ statement added by d2472948da9c
- added migration from 407acc41beb5 to migration file for 3.16.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 08 Feb 2013 18:36:00 +0100] rev 8723
maintain python2.5 compatibility
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Jan 2013 11:36:21 +0100] rev 8722
[schema/workflow] one more typo fix
Also add proper migration.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 11:17:02 +0100] rev 8721
[devtools] add http_publish to CubicWebTC (closes #2565882)
Fakes a http request, without overriding the normal error handling.
Returns the request object so the caller can check for errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jan 2013 12:47:40 +0100] rev 8720
[testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468
Also, url_publish now accepts a `data` argument to simulate POST of values.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 22 Feb 2013 19:36:40 +0100] rev 8719
[towards py3k] import reduce() from functools (part of #2711624)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 11 Mar 2013 18:37:01 +0100] rev 8718
merge stable fix into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 18:37:48 +0100] rev 8717
[doc] document dbapi.Connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Mar 2013 09:15:09 +0100] rev 8716
[c-c shell] fix command description (-P option is gone long ago)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Mar 2013 14:46:09 +0100] rev 8715
[hooks/syncschema] do not crash when adding a new entity type (closes #2741643)
The previous version assumed META_RTYPES provide relation definitions
for all entity types.
pwatteyne [Tue, 29 Jan 2013 16:57:44 +0100] rev 8714
[views/debug] Do not show all web sessions without CNX, just count them (closes #2602161)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Mar 2013 15:37:37 +0100] rev 8713
[facets js] use $ instead of jQuery and other small cleanups
Julien Cristau <julien.cristau@logilab.fr> [Thu, 17 Jan 2013 15:42:09 +0100] rev 8712
[devtools/httptest] allow sending other types of requests besides GET
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 08 Mar 2013 18:43:42 +0100] rev 8711
merge with stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 04 Mar 2013 17:22:57 +0100] rev 8710
[ext/rest] fix docstring of rql_role()
Vincent Michel <vincent.michel@logilab.fr> [Fri, 08 Mar 2013 18:04:40 +0100] rev 8709
[web application] Fix missing self. in error_handler
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:42:56 +0100] rev 8708
[ldapfeed] all options of a source should be in the same group, else you get AssertionError on c-c add-source. Closes #2538398
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Feb 2013 16:13:21 +0100] rev 8707
[sources] fix classes that inherit from AbstractSource (closes #2718669)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jan 2013 10:28:49 +0100] rev 8706
[login] don't redirect to http url if we allow anonymous on https
Closes #2583913
Jérôme Roy <jerome.roy@logilab.fr> [Mon, 25 Feb 2013 11:34:58 +0100] rev 8705
Correct typo in example
Julien Cristau <julien.cristau@logilab.fr> [Mon, 25 Feb 2013 18:02:11 +0100] rev 8704
[testlib] make test_view load the json data
Closes #2721472
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 12:06:16 +0100] rev 8703
[etwist] Properly escape traceback output (closes #2712042)
Stop using StringIO in the process as well.
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 11:26:08 +0100] rev 8702
[dbapi] Stop shadowing exceptions in get_repository() (closes #2710515)
Exceptions are already handled higher up in the stack so there's no
reason to handle them here. Furthermore, non-ConnectionError exceptions
would get hidden, making debugging harder.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 25 Feb 2013 11:18:14 +0100] rev 8701
[cwvreg] complete cw.web.uicfg cleanup callback (closes #2718217)
1dd655788ece introduced insufficient backward compat support
When cubes directly import uicfg from cubicweb.web (or uihelper) this
also creates a reference in the parent cubicweb.web namespace. This
must be cleaned up as reloaded cubes will take back this reference and
the old versions of its appobjects.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Feb 2013 11:19:36 +0100] rev 8700
[book] fix typo.
remove spurious `i`
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 16 Feb 2013 21:46:24 +0100] rev 8699
[towards py3k] fix bug introduced by 0bb18407c053
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 21 Feb 2012 18:23:23 +0100] rev 8698
[doc] Book entry for the undo functionnality.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:45:07 +0100] rev 8697
[toward py3k] rewrite has_key() (part of #2711624)
The `has_key` method is not in Python3K but dict supports __contains__ check for
ages.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:01:24 +0100] rev 8696
[toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)
Python 3K will only expose iterators.
http://docs.python.org/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:38:25 +0100] rev 8695
[toward-py3k] rewrite to "except AnException as exc:" (part of #2711624)
The older form is not necessary since we dropped python 2.5 compability. This
will help Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:39:23 +0100] rev 8694
[toward-py3k] remove import with_statement (part of #2711624)
They are unneeded since we dropped python 2.5 compatibility. This will help
Python 3.3 experimentation.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:29:20 +0100] rev 8693
pkg: drop python 2.5 compatibility (closes #2711624)
2.5 is not common anymore. Dropping compatibility will help moving to a code
base compatible with Python 3.3
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 15:21:23 +0100] rev 8692
devtools: improve qunit timeout message
Make the message clearer, shorter and properly wrapped.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 14:26:33 +0100] rev 8691
merge default into stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Feb 2013 11:35:15 +0100] rev 8690
[devtools] fix broken windmill test case
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:31 +0100] rev 8689
Added tag cubicweb-debian-version-3.15.9-1 for changeset 29fbc632a696
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:30 +0100] rev 8688
Added tag cubicweb-version-3.15.9 for changeset 8bfc0753f1da
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:15 +0100] rev 8687
Added tag cubicweb-debian-version-3.16.0-1 for changeset 853237d1daf6
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:14 +0100] rev 8686
Added tag cubicweb-version-3.16.0 for changeset 6c7c2a02c9a0
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:52:02 +0100] rev 8685
3.15.9
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 16:44:07 +0100] rev 8684
[ldap test] fix bad merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 14:33:40 +0100] rev 8683
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 13:28:23 +0100] rev 8682
[cwctl] fix cubicweb-ctl shell command (closes #2583919)
* add an uri parsing utility that documents a bit the uri cubicweb
supports out of the box
* cwctl: use this utility and refactor a bit for clarity (the novelty
here being real support for old style 'myapp', or:
* 'inmemory://myapp'
* 'pyro://pyro-ns-host:pyro-ns-port/myapp' (pyro access through a
pyro concentrator)
* 'pyroloc://host:port/pyro-instance-id' (direct access to a pyro
repository)
* 'zmqpickle-tcp://host:port'
* dbapi: refactor to sort out some of the complexity and restore
functionality lost in 62213a34726e
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:13:40 +0100] rev 8681
[ldap test] move the slapd database directory to a tempdir (closes #2583993)
This is required to be sure we are not hurt by NFS or such...
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:10:31 +0100] rev 8680
[ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994)
When a user is imported from an LDAP source (in ldapfeed or when converting a
user from an ldapsource to system one), we may import a clear-text password,
which we do not want to do in our system database.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:25:08 +0100] rev 8679
[ldapfeed] don't crash if one specify an unexisting group in the configuration. Closes #2538399
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:27:51 +0100] rev 8678
[doc/ldap] update the ldap chapter wrt the ldapfeed source type (closes #2551863)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 17:58:49 +0100] rev 8677
prepare 3.16
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 18:20:05 +0100] rev 8676
[doc/3.16] complete description of what changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:39:52 +0100] rev 8675
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
instead of extra configuration parameters. Follows modification of dbapi.connect api.
Closes #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:18:44 +0100] rev 8674
[repo sources] move handling of source's url into abstract source as this becomes shared by most sources
prepare #2539822
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:52:47 +0100] rev 8673
[db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:51:10 +0100] rev 8672
[repository sources] copy source configuration: source's __init__ modify it while config.sources() return a cached dictionary which shouldn't be modified
This causes pb since f8aa87a773b2 (though it's unclear why it hasn't been a problem before).
Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:50:34 +0100] rev 8671
cleanup repository connect doc: cnxtype is now deprecated / base_url has never been given that way. Follow #2521848
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Jan 2013 18:16:20 +0100] rev 8670
prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114)
* it turns "tcp://" into "zmqpickle-tcp://"
* will leave room for future non-pickling communications using zmq
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jan 2013 18:01:25 +0100] rev 8669
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
eg no more specific option of pyro ns host, group, etc. This also fixes broken ZMQ
sources.
Changes:
* dropped pyro-ns-host, pyro-instance-id, pyro-ns-group from client side config, in
favor of repository-uri. No migration done, supposing there is **no web-only config**
in the wild. Also stop discovering the connection method through the repo_method class
attribute of the configuration, varying according to the configuration class. This is
a first step on the way to a simpler configuration handling. Notice those pyro options
are still available for repository only / all-in-one configurations as they are needed
to configure the pyro server.
* stop telling connection method using ConnectionProperties, this is so boring. Also,
drop _cnxtype from Connection and cnxtype from Session. The former is replaced by a
is_repo_in_memory property and the later is totaly useless.
* deprecate in_memory_cnx which becomes useless, use _repo_connect instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 23:05:45 +0100] rev 8668
[ldap test] ensure slapdd launch went fine and move ldapfeed setUp to parent class, as all ldap sources deal with url
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:11:33 +0100] rev 8667
[web/uihelper,uicfg] transform uihelper functions into uicfg objects methods (closes #2543949)
Florent Cayré <florent.cayre@logilab.fr> [Mon, 21 Jan 2013 16:34:09 +0100] rev 8666
make ui configurations selectable (closes #2406609)
* introduce a new 'uicfg' registry (storing instances)
* use the relevant new APIs from lgc.registry to manage the new
registrable uicfg objects
* cw event manager useage is gone; instead thze standard registry
reloading mechanism is used
* ensure i18n commands still work (devctl)
* introduce dynamic uicfgs use whenever possible (various views), even
though sometimes the classic 'static' usage remains
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:34:10 +0100] rev 8665
[uicfg] uicfg.py moves from web/ to web/views/ (prepares #2406609)
We are about to make uicfg selectable. Registrable / selectable views
and helpers live in web/views. Hence the move.
Backward compat is put in place. However CubicWeb imports of uicfg are
updated to the new location.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 13:03:38 +0100] rev 8664
[appobject] introduce RegistrableObject base class (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Jan 2013 13:55:25 +0100] rev 8663
[cwvreg] introduce lgc version 0.59 and remove unneeded method redefinition (prepares #2406609)
The new logilab.common.registry makes this moot.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 18:27:35 +0100] rev 8662
[BFSS] mark fs_imported value as uncachable
This will finally fix the `test_bfss_fs_importing_transparency` pass again.
Regression was introduced by 4ba11607d84a
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jan 2013 18:48:15 +0100] rev 8661
[entity] add a "repo_side" parameter to `_cw_dont_cache_attribute`
This parameter (defaulting to `False`) is used to inform cubicweb that we really
really do not want to cache a value during creation or update. This will be used
by a storage that may do very specific processing on attribute values that result
in a stored value different than the provided one (e.g. BFSS `fs_importing`
mode).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:51 +0100] rev 8660
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:25 +0100] rev 8659
[entities] fix test failures introduced by fixes in workflow related message strings (completes 9bb93efa1952)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 18 Jan 2013 16:40:11 +0100] rev 8658
[doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 17:37:35 +0100] rev 8657
[entity,views/json] backout 353bbd17a8b6 (reopens #2559931)
Calling .complete() unconditionnally from the json encoder is unsafe
since on entity creation validation:
* an eid may have been drawn (hence even .has_eid() would not help)
while processing form data in the edit controller
* a ValidationError may have been raised and the entity-creating
transaction rollbacked
This leads to a crash on the return path from the validation to the
browser, where the json_dumps((status, args, entity)) call will
stumble upon the .complete() call which will fail because the entity
does not (any more) exist in the database.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jan 2013 20:17:09 +0100] rev 8656
[schemas] fix typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 18:30:08 +0100] rev 8655
merge with stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:31:43 +0100] rev 8654
[appobject] cleanup module (prepares #2406609)
* remove unused imports
* break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jan 2013 14:29:12 +0100] rev 8653
[uicfg] remove pre 3.6 bw compat structure (prepares #2406609)
This should have been done in a673d1d9a738.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 17:12:06 +0100] rev 8652
[testlib] test_view now parse json data, closes #2557467
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:39:51 +0100] rev 8651
Improve entity json export (closes #2559931)
Make output from __json_encode__ predictable; use it in the ejsonexport
view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:40:57 +0100] rev 8650
[web/application/test] drop useless code
This is already done in CubicWebTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 15:11:37 +0100] rev 8649
[test] precheck initial condition
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:42:16 +0100] rev 8648
[packaging] Fix search in squeeze cubicweb-documentation package (closes #2558496)
Work around broken combination of jquery 1.4 and sphinx 0.6 in squeeze by
patching up doctools.js.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:41:45 +0100] rev 8647
[packaging] don't compress txt files (closes #2558496)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 21:48:59 +0100] rev 8646
[wf/test] fix tests broken by changes from another patch which have slipped there
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:06:20 +0100] rev 8645
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:46:05 +0100] rev 8644
[web/test] fix stale reference to the changelog view (closes #2423532)
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8643
Added tag cubicweb-debian-version-3.15.8-1 for changeset 4ef457479337
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8642
Added tag cubicweb-version-3.15.8 for changeset 459d0c48dfaf
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:04:26 +0100] rev 8641
[test] fix possible views test (closes #2544358)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:40:41 +0100] rev 8640
prepare 3.15.8
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:29:29 +0100] rev 8639
[ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776)
* cwusers that see their ldap source counterpart disappear are
deactivated
* until now they were not activated again on reappearance
* note this behaviour in the doc
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Jan 2013 15:53:22 +0100] rev 8638
[ldaputils,ldapparser] correctly compute "deleted" users (closes #2542083)
* in ldaputils.py, removal of an unneeded method (checking existence
of an object in the ldap, but not using the configuration filters)
* in the ldapparser, memoize the (filtered) search so as to serve both
.process and .is_deleted
* add a non regression test for the 'user-filter' source config entry
+ deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jan 2013 23:27:56 +0100] rev 8637
[dataimport] new ignore_errors argument to ucsvreader, default to False. Closes #2547200
David Douard <david.douard@logilab.fr> [Tue, 18 Dec 2012 11:40:51 +0100] rev 8636
[ldapsource] keep python 2.5 compatibility (closes #2541602)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 18 Dec 2012 10:42:11 +0100] rev 8635
[ldapuser2ldapfeed] .values -> .iteritems (closes #2542872)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:40:03 +0100] rev 8634
[ldap tests] cleanup in preparation of #2542083
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:26:41 +0100] rev 8633
[ldapparser] demote warning level (actually important user info can leak there) (prepares #2542083)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 03 Jan 2013 23:10:50 +0100] rev 8632
Remove changelog view (closes #2423532)
Vincent Michel <vincent.michel@logilab.fr> [Wed, 02 Jan 2013 18:17:02 +0100] rev 8631
[dataimport] Allow to replace escape char in the create_copyfrom_buffer
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 Dec 2012 22:31:10 +0100] rev 8630
[doc] fix function name FTIRANK
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:15:57 +0100] rev 8629
[json] enable jsonexport selection on empty rsets (closes #2544358)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:14:14 +0100] rev 8628
[test] fix req default value handling in CubicWebTC.view (closes #2544376)
It's no more than the standard ``if rset`` vs. ``if rset is None`` error.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Sep 2012 17:16:04 +0200] rev 8627
[ajax] fix attribute lookup (closes #2491038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 11 Dec 2012 18:20:00 +0100] rev 8626
[server] add debugging for Hooks & Operations (closes #2470048)
Vincent Michel <vincent.michel@logilab.fr> [Fri, 14 Dec 2012 14:08:14 +0100] rev 8625
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
This store will use:
- copy from for massive insertions.
- execute from for update.
The API of this store is similar to the other stores.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 12:52:33 +0100] rev 8624
[test] swap order in assert of `test_users_and_groups_non_readable_by_guests`
unittest2 order is (expected, got), not the opposite. This help test report
readbility.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 19:47:12 +0100] rev 8623
[test] fix server/querier/build_descr1 test.
There is no self.transaction of TestCase. I assumed the test writer meant a
session. This seems to make the test pass.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 12:36:33 +0100] rev 8622
[server] make `test_bfss_fs_importing_transparency` less verbose on failure
Dumping the whole content of a file on failure is a bit annoying. We only print
the bad version here (it's usually the file path).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 17:12:58 +0100] rev 8621
[entity] drop redundant cache update
This ``cw_attr_cache`` update is redundant, ``_cw_update_attr_cache`` already do this step.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 13:22:10 +0100] rev 8620
[cw-ctl] silence msgcat and msgfmt (closes #2527594)
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:38 +0100] rev 8619
Added tag cubicweb-debian-version-3.15.7-1 for changeset c5400558f370
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:37 +0100] rev 8618
Added tag cubicweb-version-3.15.7 for changeset d8916cee7b70
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:11:52 +0100] rev 8617
prepare 3.15.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Dec 2012 13:41:20 +0100] rev 8616
[migration] fix crash when adding a new meta relation type. Closes #2532483
David Douard <david.douard@logilab.fr> [Mon, 10 Dec 2012 11:50:42 +0100] rev 8615
[ldapfeed] fix connection leak (closes #2532528)
David Douard <david.douard@logilab.fr> [Tue, 04 Dec 2012 16:16:08 +0100] rev 8614
[zmq] add an introductive docstring on ZMQComm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Dec 2012 16:14:57 +0100] rev 8613
[server config] on quick start, system source is still activated. Closes #2535714
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.
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`
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/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 00:03:03 +0100] rev 8609
merge fixes from 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
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
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:18:05 +0100] rev 8606
prepare 3.15.6
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.
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)
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 27 Nov 2012 17:16:23 +0100] rev 8603
[doc] fix of personnal etc directory in book
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)
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.
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)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Nov 2012 11:18:42 +0100] rev 8599
docstring typo
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
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Nov 2012 12:28:30 +0100] rev 8597
[doc] ubuntu LTS is now Precise Pangolin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:53:17 +0100] rev 8596
backport stable
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)
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.
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`
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.
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
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
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
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
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
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
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)
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
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
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
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.
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
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
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
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)
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport 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)
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
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
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)
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)
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)
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)
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
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.
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".
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
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
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
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
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.
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.
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:23 +0200] rev 8552
Added tag cubicweb-version-3.15.4 for changeset 63260486de89
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 17 Sep 2012 17:48:02 +0200] rev 8551
[facets] add link 'focus on selection' (closes #525277)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:08:55 +0200] rev 8550
[server/utils] catch ValueError from password verification
passlib can raise ValueError when it can't recognized a hash. Treat
that as a wrong password.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:59:25 +0200] rev 8549
[test] reindent and use request() rather than bare session
this avoid error due to implementation details of session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Sep 2012 15:03:52 +0200] rev 8548
[repo] fix debug code in DBG_REPO mode (closes #2469942)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Sep 2012 17:26:15 +0200] rev 8547
[datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:17:10 +0200] rev 8546
[sources/native] automatically update passwords using deprecated hashes on login
Closes #2465904
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 17:42:24 +0200] rev 8545
[repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 21:51:54 +0200] rev 8544
massive copyright update to avoid clutering later patches
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:50:28 +0200] rev 8543
minor cleanups/typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:36:22 +0200] rev 8542
[session / querier] reorganize code to building result set descriptions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:44:33 +0200] rev 8541
[web] search state doesn't need cnx, remove useless test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:31:07 +0200] rev 8540
[schema] rename schema permissions function: session may also be a request, use _cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:02:06 +0200] rev 8539
[repo initialisation] during repo creation, load all hooks and entities code
this simplify code and make it more consistent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:53:59 +0200] rev 8538
[request/session] refactor language handling: don't attempt to sync web/repo languages
This decouple thing and make code easier to understand. Previous behaviour was fine
w/ validation error that were translated on the server side, but isn't satisfying for
notification and all. Now:
* translations should be done on the ui side (see previous validation error
refactoring)
* consistent behaviour: each side (web/repo) is responsible to deal with its
request/session of language, no weird interaction between them on this topic
* drop on the way the 'session properties' api, used only for that matter.
-> much simpler/cleaner/saner api
The thing missing being a way for user to tell "My favorite language is xxx but I also
want cw to consider my http language header)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:00:09 +0200] rev 8537
[config] turn internal configuration methods building appobjects search path into normal method rather than class method
as this is useless and make path filters difficult to override (we had to
override the class attribute, as instance attributes were not seen).
Also rename related methods for consistency with current vocabulary
David Douard <david.douard@logilab.fr> [Mon, 03 Sep 2012 12:26:20 +0200] rev 8536
fix missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Sep 2012 14:01:59 +0200] rev 8535
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 07 Sep 2012 13:48:55 +0200] rev 8534
[hooks/syncshema] fix logging level and nicer message (wrong changeset published previously)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 13:19:39 +0200] rev 8533
[hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Aug 2012 11:43:43 +0200] rev 8532
[cwctl] show a better diagnostic message on version violation (closes #2464800)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:07:59 +0200] rev 8531
[tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657
also do a small cleanup on the way, and properly implements render_entity rather than cell_call,
as one would expect regarding default PrimaryView code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:52:41 +0200] rev 8530
[migration]Â fix backward compat for rename_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:09:17 +0200] rev 8529
[datafeed] make cnxset handling of datafeed source more robust
currently we may run in some cases where the session has no more cnxset
depending on errors and parser's handling of the cnxset.
Also, free the cnxset and reacquire it later, letting a chance to other
threads to run.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:38:43 +0200] rev 8528
don't use rset.rowcount in predicates, this makes them usable with other types such as lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:11:05 +0200] rev 8527
[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Aug 2012 11:19:44 +0200] rev 8526
[ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Aug 2012 13:29:37 +0200] rev 8525
[entity edition] don't remove values from attribute cache on the repository side
This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a.
closes #2423719 ?
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 18:11:24 +0200] rev 8524
fix ldapuser test
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 16:50:28 +0200] rev 8523
Prepare 3.15.4
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 13:55:59 +0200] rev 8522
migration: replace empty passwords with random ones on upgrade
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 12:52:45 +0200] rev 8521
ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 16:58:08 +0200] rev 8520
[source/native] only system source users should be authenticated by the native source (closes #2465883)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 17:20:06 +0200] rev 8519
[web test] fix test broken by 199fefe396ab
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Aug 2012 14:19:30 +0200] rev 8518
[fti] add some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 14:17:22 +0200] rev 8517
[form] add assertion to ensure field has a name when `role_name` is called
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:29 +0200] rev 8516
Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:28 +0200] rev 8515
Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Aug 2012 14:20:08 +0200] rev 8514
[pkg] prepare 3.15.3 release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 19:00:22 +0200] rev 8513
[entity edition]Â stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)
Rely on a changes in yams instead where we have guarantee to have only comparable objects.
This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly
closes #2423719
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Aug 2012 09:42:36 +0200] rev 8512
[tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038
This is useful for tabs holding a self-posted form for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 18:52:27 +0200] rev 8511
[web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040
(eg if you want to use them in .session_key)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 10:09:11 +0200] rev 8510
[test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout
This repairs test introduced by dcd9bc1d1bca which closes #2439846
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Aug 2012 10:47:27 +0200] rev 8509
[entity] fix deprecation warnings (closes #2423719)
David Douard <david.douard@logilab.fr> [Thu, 02 Aug 2012 12:48:31 +0200] rev 8508
merge oldstable in stable
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:48 +0200] rev 8507
Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:47 +0200] rev 8506
Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 18:30:36 +0200] rev 8505
[ui] provide an autocomplete RQL bar (closes #2439846)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 01 Aug 2012 09:20:47 +0200] rev 8504
[ajax] improve backward compatibility for redefined ajax functions (closes #2447189)
If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube,
the cube version should still takes the precedence<
=> check for existing ajax function on deprecated controller _before_ checking
ajax function availability on the new one.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 16:16:50 +0200] rev 8503
prepare version 3.14.9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:32:54 +0200] rev 8502
[composite] apply composite on new enty too (closes #2450679)
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:25:28 +0200] rev 8501
[storage] relies on event=='deleted' to detect "delete" event (closes #2450680)
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 11:04:45 +0200] rev 8500
[composite] apply composite on new enty too
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 10:57:03 +0200] rev 8499
[storage] relies on event=='deleted' to detect "delete" event
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jul 2012 11:19:11 +0200] rev 8498
[web navigation] previous / next icons are missing mandatory alt attribute
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 31 Jul 2012 10:12:06 +0200] rev 8497
[testlib] consider rset for template / view selection (closes #2447183)
The original code did something like:
kwargs['rset'] = rset
viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs)
kwargs.pop('rset')
return self._test_view(viewfunc, view, template, kwargs)
meaning that by the time ``viewfunc`` (i.e. the lambda function) is called,
``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 17:51:00 +0200] rev 8496
[documentation] fix some ReST compilation problems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 15:06:55 +0200] rev 8495
[test] remove no more necessary attribute cache manipulation to repair test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 11:19:16 +0200] rev 8494
[entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression
* when an attribute is listed in dont-cache-attrs, purge any previous value
* test value is actually modified in EditedEntity.__setitem__ before adding
attribute to dont-cache-attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 10:16:25 +0200] rev 8493
[entity/hooks] fix regression introduced by 4ba11607d84a
on create_entity, attributes weren't cached, but they are since 4ba11607d84a
and this triggered a bug: used values may be transformed by hooks (e.g.
TidyHtmlFields), ending in invalid value in the cache. This is the regression.
Now, set_attributes used to update the attributes cache while suffering from
the very same pb. This is the now fixed old bug.
Transformed attributes are now recorded in a transaction shared variable, and
those are omitted from the client cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:11 +0200] rev 8492
[doc] use :meth: and remove doc to deprecated methods
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 Jul 2012 22:45:32 +0200] rev 8491
[doc] add passlib to list of dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:09 +0200] rev 8490
Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:08 +0200] rev 8489
Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 14:50:44 +0200] rev 8488
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 12:45:43 +0200] rev 8487
[web test] fix tests broken by 8de41063d629
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 15:17:32 +0200] rev 8486
3.15.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 11:31:34 +0200] rev 8485
[web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:57:48 +0200] rev 8484
[config] load_configuration should not crash because of fs errors. Closes #2286215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:46 +0200] rev 8483
[entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719
Allowing similar usage as create_entity/cw_instantiate.
Update cw code base to remove deprecated calls.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 09:01:54 +0200] rev 8482
[workflow ui] fix state/transition edition form on existing entity. Closes #2423531
It should not return unrelated entities only in case where the entity
exists.
Also fix a deprecation warning, vocabulary values should be an
unicode string.
Florent Cayré <florent.cayre@logilab.fr> [Fri, 20 Jul 2012 11:42:59 +0200] rev 8481
[predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:25:55 +0200] rev 8480
[book] fix build warnings/errors. Closes #2430042
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:46:27 +0200] rev 8479
[ldap feed] add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 16:41:10 +0200] rev 8478
[ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:22:51 +0200] rev 8477
[config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:31:15 +0200] rev 8476
[book] Some tweaks to fix cubicweb-documentation package generation
- Fix up PYTHONPATH setting to make sure sphinx can find cubicweb modules
- Add a few missing build-dependencies
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 Jul 2012 10:27:04 +0200] rev 8475
[webconfig] debug mode should not be special wrt data_url handling (closes #2405487)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 10:25:22 +0200] rev 8474
[test] missing future import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Jun 2012 12:30:57 +0200] rev 8473
[ldap] allow working connection to some ADs (closes #2408829)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Jul 2012 17:26:59 +0200] rev 8472
[entity] fix unrelated_rql for creation form vocabulary for relation with specific permissions (closes #2423854)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:06:52 +0200] rev 8471
[form widgets]Â fix JQueryDatePicker and JQueryTimePicker so they consider widget custom attributes. Closes #2423720
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jul 2012 15:58:20 +0200] rev 8470
[web app] handle Redirect raised during session establishment, as this may be used by eg openid authentication. Closes #2430018
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 17:16:28 +0200] rev 8469
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jul 2012 15:32:40 +0200] rev 8468
[ldapuser2ldapfeed] fix confusing script structure and decode the extid to avoid an UnicodeDecodeError (closes #2413437)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 11:08:36 +0200] rev 8467
[migraction] rename rename_relation method to rename_relation_type for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Jul 2012 14:29:52 +0200] rev 8466
[web app] only log tb when explicitly asked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jul 2012 13:42:27 +0200] rev 8465
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 12:38:06 +0200] rev 8464
[views/tables|css] show actions in small tabs instead of menu indirection (closes #2004109)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:52 +0200] rev 8463
stable is now 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:23 +0200] rev 8462
oldstable is now 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 10:33:19 +0200] rev 8461
[test] update server security test using login and new temporary_permissions context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 11:11:15 +0200] rev 8460
[testlib] introduce temporary_permissions context manager
Fix a test failure due to cached method on the way as usage of the context manager
enforce proper interaction with schema objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 13:57:23 +0200] rev 8459
[rql2sql] remove debug print and fix bug introduced in 8469:69ad9a509bc3
Florent Cayré <florent.cayre@logilab.fr> [Mon, 09 Jul 2012 12:24:05 +0200] rev 8458
[html form] use __linkto url parameter value as a default value of the corresponding field in a creation form (closes #2407770)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 12:22:43 +0200] rev 8457
[rql2sql] fix generated SQL when an attribute relation with a variable is ored with another attribute relation. Closes #2410405
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:01:09 +0200] rev 8456
[repository] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 09:47:28 +0200] rev 8455
[ui] actions box should be displayed if there are some actions, not if context is an entity. Closes #2419040
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:31:13 +0200] rev 8454
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Jun 2012 15:57:05 +0200] rev 8453
[packaging] bump rql dependency to 0.29 (closes #2410042)
Needed for add_eid_restriction with 4 args, usage of which was
introduced in changeset aed065b97f12 (refactor entity fetch_rql method
to use a RQL syntax tree instead of RQL strings)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 04 Jul 2012 17:56:46 +0200] rev 8452
[rql security] fix rql bug when using yams inheritance and read permissions (closes #2410156)
problems occurings when querying using is_instance_of while a subtype has some permissions
not shared by the parent type
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Jul 2012 09:01:42 +0200] rev 8451
[c-c schema] devtools: the output file for cw-ctl schema is not supposed to exist
When using the 'file' type, logilab-common errors out if the file
doesn't exist. Which, if the option refers to an output file, is not so
useful. Use 'string' instead.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:33 +0200] rev 8450
[fti] allow usage of custom RQL to fetch entities to index (closes #2410509)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:32 +0200] rev 8449
[fti] make db-rebuild-fti accept etypes on command line (closes #2410508)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 09:00:30 +0200] rev 8448
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 08:59:28 +0200] rev 8447
[fti] drop entity cache once an etype is indexed (closes #2410507)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jul 2012 11:01:51 +0200] rev 8446
[server/utils] add_looping_task can be used any time (closes #2408814)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Jun 2012 18:10:59 +0200] rev 8445
[formrenderers] if a tag object gets there, it blows (closes #2410462)
- cwtags monkeypatches cubicweb's UStringIO's .write and .getvalue methods
- but it cannot monkeypatch list.append ...
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:21:12 +0200] rev 8444
[login] redirect to real instance root if no postlogin_path is provided
When not postlogin_path is provided, the login form issue a redirect to "/".
The instance root may not be at "/" on the server. Then issuing a redirect to
"/" send the user to the wrong location.
We now redirect to "." which works fine because the "login" controller a direct
children of instance root (http://babar.com/instance/login).
All other redirection of the login controller use relative path too and then
rely on this relative path from the login controleur to the instance root. This
mechanism may be considered fragile and may deserve a proper fix. but this is to
be discussed and implemented in another changeset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:55:03 +0200] rev 8443
[web/application] declare default 'content' value sooner (closes #2406560)
It may be used while processing AuthenticationError. Such error may be raised
before the former declaration.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 10:06:11 +0200] rev 8442
[views/tabs] fix rql/eid param conflict when either one is already in the request form (closes #2405249)
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:23 +0200] rev 8441
Added tag cubicweb-debian-version-3.15.1-1 for changeset fe5e60862b64
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:22 +0200] rev 8440
Added tag cubicweb-version-3.15.1 for changeset 783a5df54dc7
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 10:00:02 +0200] rev 8439
[debian] prepare 3.15.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Jun 2012 09:22:11 +0200] rev 8438
[server/tests] fix tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Jun 2012 16:47:07 +0200] rev 8437
[registry|ajaxcontroller] the @ajaxcontroller decorator ought to return a compatible object (closes #2385155)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:33:53 +0200] rev 8436
[cwconfig] shutup on absent i18n/ mo files when in operating in tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:24:37 +0200] rev 8435
[datafeed] correctly distinguish checked/updated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:30:54 +0200] rev 8434
[ldapfeed] do not crash on ldap user deletion + pull + already deactivated users, cleanups (closes #2392933)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:26:34 +0200] rev 8433
[server/session,repo] turn InternalSession, hence repo.internal_session, into a context manager (closes #2393651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 18:07:46 +0200] rev 8432
[ldapparser] missing return
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 17:05:32 +0200] rev 8431
[ldapparser] remove spurious print
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 15:56:21 +0200] rev 8430
fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 17:18:00 +0200] rev 8429
[ldapfeed] fix crash on sql cursor usage (closes #2380246)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:51:24 +0200] rev 8428
[sources/ldapfeed] do not user cwuri as url (closes #2380324)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:19:21 +0200] rev 8427
[web/views/staticcontroller] safety belt for unguessed mimetypes (closes #2380304)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 May 2012 14:01:05 +0200] rev 8426
[server/hook] fix identation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:17:46 +0200] rev 8425
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:26 +0200] rev 8424
Added tag cubicweb-debian-version-3.14.8-1 for changeset 81394043ad22
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:25 +0200] rev 8423
Added tag cubicweb-version-3.14.8 for changeset 15fe07ff6872
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 12:27:43 +0200] rev 8422
[css] do not use display:block for all images, but only for rest generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 11:43:11 +0200] rev 8421
3.14.8
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 11:41:27 +0200] rev 8420
[css] make ReST align statement works for images (closes #1280176)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2011 14:33:26 +0100] rev 8419
[doc] cubicweb.view documentation (closes: #2099962)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:05:03 +0200] rev 8418
[docstrings] typos corrected
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:04:00 +0200] rev 8417
[views] enable paginate toggle on RsetTableView (closes #2200675)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:00:29 +0200] rev 8416
[ui] display author name in box instead of login (closes #1529147)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 10:52:42 +0200] rev 8415
[doc] remove deprecated doc (wrong link) (closes #2329206)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 17:37:49 +0200] rev 8414
Fixes for compatibility with passlib 1.6 (closes #2356393)
Somebody missed the memo about API backwards compatibility:
- calc_checksum is renamed _calc_checksum
- passlib.utils.handlers.GenericHandler strict keyword removed
- bytes vs str vs unicode issues
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 22 May 2012 18:51:09 +0200] rev 8413
[formrenderers] Factor-out render_title to ease customisation in derived classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 May 2012 12:41:18 +0200] rev 8412
[IE] use document.createStyleSheet to add CSS dynamically (closes #2356261)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 May 2012 14:17:09 +0200] rev 8411
[pkginfo] the before_shutdown event was not in 3.15.0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 16 May 2012 09:57:57 +0200] rev 8410
[migration] do not crash if the conf file is already migrated (closes #2361061)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:44:45 +0200] rev 8409
[datafeed] fix/finish cleanup started by auc in 8393:c25b96ae4f8a: parser.process prototytpe is (url, raise_on_error=False). Drop partialcommit argument which were never specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:30 +0200] rev 8408
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:25:41 +0200] rev 8407
[logs table view] properly translate level buy using the correct msgid. Closes #2356329
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:24:07 +0200] rev 8406
[data import] don't crash if value isn't in the file, simply no key/value in the output dict. Closes #2356328
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:08 +0200] rev 8405
[logs table view] only put values starting with http in <a> tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:57:14 +0200] rev 8404
[db-api] fix typo leading to crash on client connection (config has no translations). Closes #2357044
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:36:02 +0200] rev 8403
[data import] allow a request to be given as argument, ease use from web ui
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 10:34:34 +0200] rev 8402
[datafeed] allow the xml datafeed parser to work with client-side connections
Florent Cayré <florent.cayre@logilab.fr> [Tue, 17 Apr 2012 12:28:51 +0200] rev 8401
small doc updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:32:53 +0200] rev 8400
[ldapfeed] properly mark email address as encountered during import to avoid deleting them
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:14:51 +0200] rev 8399
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 May 2012 10:08:58 +0200] rev 8398
[server/utils] passlib 1.6 is now less tolerant wrt handler names (closes #2349330)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:37:28 +0200] rev 8397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:31:53 +0200] rev 8396
[web] remove some unused imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 May 2012 10:33:42 +0200] rev 8395
[selectors] make multi_columns_rset work with a simple list of lists
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 17:15:44 +0200] rev 8394
[server/hook] a tiny bit of doc about before_server_shutdown
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:43:48 +0200] rev 8393
[events] add a new before_shutdown event (closes #2345728)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:35:46 +0200] rev 8392
[ldapparser] cleanup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:31:03 +0200] rev 8391
[ldapparser] reapply dropped fix
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 May 2012 16:23:21 +0200] rev 8390
[app] turn these info into debug logs (this being too chatty for .info)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Apr 2012 12:01:31 +0200] rev 8389
fix static file serving when url has parameters (like cache busters do)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 May 2012 15:06:43 +0200] rev 8388
[repo test] Avoid hangs in zmq repo unit test
- interaction through the zmq event loop from a different thread is only
allowed through add_callback
- notify the background thread when the client dies with an exception so it
doesn't spin forever
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:52:01 +0200] rev 8387
[ldap] we may actually get back password from ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:23 +0200] rev 8386
[ldapfeed, test] use default source config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:50:03 +0200] rev 8385
[ldapfeed, test] use a safe internal session, as in real life
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:48:54 +0200] rev 8384
[datafeed] give a dictionary as sourceparams to avoid crash if attempt to import the user is done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:47:29 +0200] rev 8383
[yams] Binary instance passwords should not be given to str()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 May 2012 15:45:58 +0200] rev 8382
[ldapfeed] don't crash if entity is None. Closes (superficialy) #2341266
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:13:39 +0200] rev 8381
[merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 May 2012 10:12:02 +0200] rev 8380
[bin/clonedeps] fix NameError (closes #2334080)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 15:09:27 +0200] rev 8379
[sources/native] do not let a log message crash on us
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:22:38 +0200] rev 8378
[merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Apr 2012 14:10:04 +0200] rev 8377
[cwconfig] impose an order on appobject paths processing: entities first (closes #2330799)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 Apr 2012 11:39:14 +0200] rev 8376
[serverctl] avoid a crash if zmq-address is not defined/empty (config.get is a false friend wrt dict behaviour)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 Apr 2012 10:31:46 +0200] rev 8375
fix an horrible typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 23 Apr 2012 18:01:30 +0200] rev 8374
[migration/3.14.4] prevent migration crash when there are NULLs in asource
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:30 +0200] rev 8373
Added tag cubicweb-debian-version-3.15.0-1 for changeset 925db25a3250
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 19:08:29 +0200] rev 8372
Added tag cubicweb-version-3.15.0 for changeset 0642b2d03aca
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:58:55 +0200] rev 8371
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Apr 2012 13:52:23 +0200] rev 8370
3.15.0
Florent Cayré <florent.cayre@logilab.fr> [Thu, 12 Apr 2012 13:55:18 +0200] rev 8369
[static web] fix fckeditor static files delivery: remove leading subpath and url parameters from computed file path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 16:47:30 +0200] rev 8368
[doc] 3.15 services api description
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 14:36:19 +0200] rev 8367
[service-api] Add unified service API on `_cw` attribute
This will allow writting generic entity code that could run on both client and
repo side.
This addition have been discussed with Sylvain Sylvain Thenault.
Florent Cayré <florent.cayre@logilab.fr> [Wed, 11 Apr 2012 14:43:51 +0200] rev 8366
fix ``call_service`` API and add test service API
``call_service`` was taking a session argument. But Service is an AppoObject and
already has the same session accessible as ``self._cw``.
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 14:16:27 +0200] rev 8365
[skel] update newcube skeleton (closes #2312509)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 15:48:12 +0200] rev 8364
[doc] improved 3.15 blog using developpers'contributions
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 11 Apr 2012 13:28:10 +0200] rev 8363
[devtool-testlib] add deprecated entry point for publish method
6c2119509fac renamed ``publish`` to ``handle_request``. And removed the older testlib
function (because the semantic of handle_request is quite different from the
publish one). However it seems to do more harm that good and I'm adding proxy with
deprecation warning for those.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Apr 2012 13:22:47 +0200] rev 8362
[doc] improve 3.15 release blog
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Apr 2012 12:18:33 +0200] rev 8361
[web/views/staticcontrollers] restore windows compat
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8360
Added tag cubicweb-debian-version-3.14.7-1 for changeset 20ee573bd237
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:40:11 +0200] rev 8359
Added tag cubicweb-version-3.14.7 for changeset 3ba3ee5b3a89
David Douard <david.douard@logilab.fr> [Wed, 11 Apr 2012 09:37:41 +0200] rev 8358
3.14.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 21:52:23 +0200] rev 8357
[3.15 migration] repo-uri is a c-c command option and does not need migration since it doesn't exist in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 18:14:16 +0200] rev 8356
[remote rql source] fix super call
Vincent Michel <vincent.michel@logilab.fr> [Wed, 04 Apr 2012 17:46:34 +0200] rev 8355
[zmq] Add a new ZMQ-based RQL source (closes #2290203)
Vincent Michel and Alain Leufroy [Wed, 04 Apr 2012 17:47:58 +0200] rev 8354
[pyro] Refactor the pyrorql source
Extract most of the code that is not related to Pyro from PyroRQLSource
in a new RemoteSource abstract class.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 10:57:03 +0200] rev 8353
[zmq] add unit tests for ZMQ-based repository (server and dbapi)
Vincent Michel <vincent.michel@logilab.fr> [Tue, 10 Apr 2012 17:09:04 +0200] rev 8352
[dbapi] add possibility to connect to a remote ZMQRepository (closes #2290126)
David Douard <david.douard@logilab.fr> [Tue, 10 Apr 2012 17:07:03 +0200] rev 8351
[repository] fire 'server_shutdown' hooks before waiting for theads
This is required for threaded tasks that use the 'server_shutdown' hook to die properly,
as for example the ZMQ server in an all-in-one configuration
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 16:51:09 +0200] rev 8350
[zmq] Implement a ZMQ-based Repository (closes #2290125)
This Repository server behave mainly like the Pyro-based repository.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 17:03:19 +0200] rev 8349
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:50 +0200] rev 8348
[test] update create_user call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 16:59:27 +0200] rev 8347
[test] use setUpClass rather than setUpModule to avoid inter-dependency pb with CubicWebTC sub-classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 14:29:42 +0200] rev 8346
[test] with yams#stable, ordernum is different than with yams#default
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 10 Apr 2012 10:45:40 +0200] rev 8345
[bin] Force clone_deps.py to use mercurial command-line interface - closes #2296057
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Apr 2012 10:42:23 +0200] rev 8344
[table view] EntityTableView should accept **kwargs as RsetTableView
David Douard <david.douard@logilab.fr> [Thu, 05 Apr 2012 22:42:40 +0200] rev 8343
Fix a Python 2.5 regression introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:11:48 +0200] rev 8342
[rql annotation] fix has_text_query detection (if coming from sub-query and if has_text on a column aliases. Closes #2275322
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 Apr 2012 14:44:00 +0200] rev 8341
[etwist] fix static directory serving; closes #2174797
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 14:20:41 +0200] rev 8340
[form renderer] refactor inline form renderer to ease overriding. Closes #2282662
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Apr 2012 18:44:07 +0200] rev 8339
[devtools] fix bashism in xvfb-run.sh
bash's trap builtin accepts SIGUSR1, whereas dash complains. So use USR1 instead.
David Douard <david.douard@logilab.fr> [Wed, 04 Apr 2012 15:04:16 +0200] rev 8338
[devtools] fix xvfb-run.sh permissions (exec bit)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 11:01:24 +0100] rev 8337
[form] add a new property telling if the form is being generated or posted. Closes #2262340
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:25:51 +0200] rev 8336
[workflow] set default test/plain option for workflow default comment (closes #993083)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 29 Mar 2012 14:24:49 +0200] rev 8335
[js] get rid of `partial` function (closes #1972794)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 15:23:47 +0100] rev 8334
[css] change `h3` and `h4` styles(closes #893244)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 21 Mar 2012 18:33:12 +0100] rev 8333
querier: Improve error message when ERQLExpression fails on some entity (closes #2267081)
When an RQL variable is indeed "constant" (we know it's eid) ERQL expression are
not inserted but checked prior query execution. If the session have no read
access to the entity an `Unauthorized` exception is raised.
This changeset add a meaningfull message to this exception::
No read acces on "X" with eid 42.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Mar 2012 12:13:40 +0200] rev 8332
[js] fix error in loadRemote docstring
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 23:30:19 +0200] rev 8331
[doc] add missing section titles
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Mar 2012 22:24:55 +0200] rev 8330
[doc] fix bad indentation
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Mar 2012 13:29:27 +0200] rev 8329
[server/ldaputils] do not allow ldap.server_down to crash on us
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:34 +0100] rev 8328
Add missing with_statement import for python2.5 compat
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Mar 2012 11:50:43 +0100] rev 8327
[devtools] make xvfb-run not wait 3s each time (closes #2265710)
Ask Xvfb to tell us when it's ready instead of unconditionally waiting 3
seconds.
Sync from
http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=blob_plain;f=debian/local/xvfb-run;hb=HEAD
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 21 Mar 2012 11:08:31 +0100] rev 8326
[view] breadcrumbs layout broken with long elements (closes #1347486)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:29:13 +0100] rev 8325
[static-file] return Unauthorized on blocked directory listing
This is more appropriate than 404 NOT FOUND
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:28:24 +0100] rev 8324
[login redirect] only add postlogin_path argument when meaningful
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 19 Mar 2012 14:37:43 +0100] rev 8323
static-file: properly set/use cache header for static file (closes #2255013)
This changesets enables the standard http cache mechanism where the static
controller may reply "304 Not modified" based on `last-modified` in HTTP
response and `if-modified-since` in HTTP query. The last modified time is
computed using the file-system information.
The pre-existing logic using an `Expires` header to prevent client from sending
request stay in place. The new logic just prevents sending the file again if not
necessary.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:25:06 +0100] rev 8322
[repository] move task manager instantiation outside repository.
Repository callers are in charge of providing a task manager.
The task manager is optional when the repository is not a server. This
part is not really expected to work well yet. But we aim to remove all task
management responsibilities from the Repository object.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:46 +0100] rev 8321
[repository] split repo initialization from starting looping task (closes #2204047)
This separation highlights that two distinct operations are done. This is a step
towards a full distinction between repo, server and looping tasks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 20 Mar 2012 18:24:35 +0100] rev 8320
[repo looping task] move looping task logic in a dedicated object (progress #2204047)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Mar 2012 18:20:20 +0100] rev 8319
[manage / default index views] discard login/logout templates
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 16 Mar 2012 14:23:58 +0100] rev 8318
devtools-request: transmit the headers keyword argument to the request class
Otherwise the headers kwargs end up in the form.
This is very useful for testing publish logic related to http header (as cache).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 17:59:48 +0100] rev 8317
[security] use a stronger encryption algorythm for password, keeping bw compat
Administrator should ask their users to reenter new password so they
benefit from the new encryption.
Also, new encryption is cross-platform compatible, eg you may now move an instance
from windows to linux painlessly
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 15 Mar 2012 17:59:27 +0100] rev 8316
[cache] factorize _validate_cache() logic implemented in wsgi and twisted handlers
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:57:40 +0100] rev 8315
[fake-request] support `http_method()`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 18:34:59 +0100] rev 8314
[Web-Request] Use rich header (closes #2204164)
Unify header management. All web request use the Headers class now (imported
from twisted). Code dedicated to header management have been merged into the
base WebRequest class.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:54:40 +0100] rev 8313
http-header: support __contains__ in Headers
You can now use::
>>> 'expires" in headers
True
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:48:20 +0100] rev 8312
[web] Move request handling logic into cubicweb application. (closes #2200684)
We improve http status handling in the process:
``application.publish`` have been renamed to ``application.handle`` to better
reflect it's roles.
The request object gain a status_out attribute to convey the HTTP status of the
response.
WSGI and etwist code have been updated.
Exception gain status attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:42:31 +0100] rev 8311
[login] split authentication logic from post authentication logic (closes #2200755)
* The Session manager is now only in charge of providing a valid session.
* LoginControllers are now used in all case but wrong credential.
* The LoginControllers are in charge of redirecting the user to the page wanted
to see in the first place, expected to see.
* The login form is now always submitted to the login controller with an extra
argument pointing to the url we should redirect too after successful
authentication.
The ``"log out first logic"`` logic on login controller is removed because:
1. Other web actor do not do that.
2. Removed code do not need to be reimplemented.
3. We can only get it to work again in a single case: use do a GET request on
http://www.my-cw-stuff.io/login
4. I do not see it's purpose.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 12:08:35 +0100] rev 8310
[LoginForm] refactor to ease other implementation
An Abstract BaseLoginForm is created. It is intended to be used by cubes who
want to implement new login form. It gather common login form elements in
particular the form action.
This will ease redefinition of this form action in later commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 15:24:14 +0100] rev 8309
[request] gather all base_url logic in a single place (closes #2200756)
* Handle ``https base-url`` in the core code: ``./req.py`` and ``web/request.py``
* Remove custom ``base_url`` handling if web request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 15 Mar 2012 17:30:28 +0100] rev 8308
[http] drop use-request-subdomain feature (closes #2251986)
This feature do not have any user nowaday and lays in the path to WSGI.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Mar 2012 10:29:15 +0100] rev 8307
backport stable
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 15 Mar 2012 14:26:12 +0100] rev 8306
[config, undo] Fix undo-support option migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8305
Added tag cubicweb-debian-version-3.14.6-1 for changeset 75364c099490
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 15:27:30 +0100] rev 8304
Added tag cubicweb-version-3.14.6 for changeset db021578232b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:21:11 +0100] rev 8303
3.14.6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:28 +0100] rev 8302
[debian] add a watch file
Allows tools like uscan to find the tarball for new debian revisions.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 13 Mar 2012 14:20:16 +0100] rev 8301
[uilib] don't print timedeltas between 0 and 23h as negative (closes #2236352)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:16:44 +0100] rev 8300
[storage/bfss] ensure bfss never remove a cw_edited item (closes #2236287)
When the <old value> == <new value> (not really and update but can happen), the
value was popped but never restored. The cw_edited attribut had wrong content
for a small time lapse.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Mar 2012 14:11:40 +0100] rev 8299
[datafeed xml parser] fix typo
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 27 Feb 2012 17:02:31 +0100] rev 8298
[twisted] move out url logic from twisted (closes #2200593)
Data, fck and static file are now served by cubicweb controller by default.
Some hackish url rewriting is necessary to have them selected. This is necessary
because cubicweb does not selection controller on multi level path.
- 'Expires' header seems to conflict with Cache-Control set by HTTPCacheManger
(don't know yet why HTTPCacheManager is involved here)
mod_wsgi is now usable in simple cases (e.g. still requires persisten sessions).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 01 Mar 2012 17:22:56 +0100] rev 8297
[cwconfig] improve assert error message.
Single tuple element are processed in a non trivial way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 07 Mar 2012 16:09:55 +0100] rev 8296
rqlrewrite: remove element in rewritten when we remove them from the select (closes #2236985)
update _cleanup_inserted to avoid leaving rewritten variable behind when
removing a snipset.
insert_varmap_snippets was impacted too for unclear reason
---
Before
A KeyError was raised when:
* multiple snipset is to be inserted on a statement
* some *supported* snipset adds ambiguity (increase the number of solution)
* some *unsupported* snipset adds new variable
* The new variable require rewritting
::
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 185, in rewrite
newsolutions = self.remove_ambiguities(snippets, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 436, in
remove_ambiguities
variantes = self.build_variantes(newsolutions)
File "/home/pyves/src/fcw/cubicweb/devtools/repotest.py", line 340, in
_build_variantes
variantes = _orig_build_variantes(self, newsolutions)
File "/home/pyves/src/fcw/cubicweb/rqlrewrite.py", line 470, in
build_variantes
variante.append( (key, sol[newvar]) )
KeyError: u'D'
This happen because the mechanism removing unsupported snipset does not remove
entry in ``self.rewritten`` when it removes entry from
``self.select.defined_vars``.
Iteration on ``self.rewritten`` then crash because values of ``rewritten`` are
expected to
be found in solution.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 02 Mar 2012 15:15:20 +0100] rev 8295
[js] fix $.fullCalendar.regional call (closes #2232028)
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:47 +0100] rev 8294
Added tag cubicweb-debian-version-3.14.5-1 for changeset 55fc796ed5d5
David Douard <david.douard@logilab.fr> [Fri, 02 Mar 2012 09:57:46 +0100] rev 8293
Added tag cubicweb-version-3.14.5 for changeset f559ab9602e7
Florent Cayré <florent.cayre@logilab.fr> [Fri, 02 Mar 2012 09:44:58 +0100] rev 8292
[undo, test] fix undohistory selector et related tests
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 15:31:21 +0100] rev 8291
prepare version 3.14.5
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 01 Mar 2012 15:00:58 +0100] rev 8290
fix events display in calendar (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 14:32:42 +0100] rev 8289
[repo test] fix test regression introduced by 8286:8b0146e31baa
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 01 Mar 2012 13:42:30 +0100] rev 8288
[css] in old css, more space around the text, and try to make it centered
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 28 Feb 2012 10:46:38 +0100] rev 8287
[js] translate calendar in french (closes #2167866)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:44:44 +0100] rev 8286
[entity url] rest path fallback should be the url used as cwuri. Closes #2186039
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Mar 2012 13:39:43 +0100] rev 8285
[migration] fix add_relation_type in case it already exists, broken by 67660d5f1916
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:55:14 +0100] rev 8284
backport 3.14.4-2
David Douard <david.douard@logilab.fr> [Thu, 01 Mar 2012 08:51:32 +0100] rev 8283
Added tag cubicweb-debian-version-3.14.4-2 for changeset 4c8cb2e9d0ee
David Douard <david.douard@logilab.fr> [Wed, 29 Feb 2012 17:10:31 +0100] rev 8282
[debian] prepare 3.14.4-2
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Feb 2012 17:10:27 +0100] rev 8281
[debian] add missing build-deps to generate the documentation (closes #2223062)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 18:15:23 +0100] rev 8280
[repo services] set cnxset before calling the service then ensure it's freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:43:04 +0100] rev 8279
[migration] fix migration jumping from pre 3.12 to post 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 17:40:56 +0100] rev 8278
[migration] add schema obj into assertion failure message so we get a chance to understand the pb
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 13:00:36 +0100] rev 8277
{repository] add documentation explaining ``fix_user_classes`` hook
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 12:47:24 +0100] rev 8276
[devtools/fake] add some https related properties to FakeRequest
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 15:39:19 +0100] rev 8275
[typo] "lod" --> "load"
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:54:14 +0100] rev 8274
[dbapi] some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Feb 2012 11:53:24 +0100] rev 8273
[undo view] fix wrong set operator
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:51:09 +0100] rev 8272
[web application] move default path logic inside url publisher
Previously, this logic was handle by:
* etwist server
* wsgi handler
* web application
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 Feb 2012 11:50:04 +0100] rev 8271
[req, doc] add some documentation of CubicWebRequestBase attributes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:53:34 +0100] rev 8270
[test] more standalone test
add a __main__ section to `etwist/test/unittest_server.py`
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:12:25 +0100] rev 8269
[web templates] fix invalid html in main-no-top template; closes #2174806
Florent Cayré <florent.cayre@logilab.fr> [Mon, 27 Feb 2012 10:11:04 +0100] rev 8268
[repository] implement a generic way to call repo-side services; closes #2203418
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 10:03:31 +0100] rev 8267
[web] Exposes the undo feature to user through a undo-history view (closes #893940)
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:45:48 +0100] rev 8266
[undo, transactions] Adds a property in the transaction API. (closes #2202953)
Required by forthcoming changes in undo_web.diff
Anthony Truchet <anthony.truchet@logilab.fr> [Mon, 27 Feb 2012 09:43:15 +0100] rev 8265
[repo, undo] Finish repository-side implementation of the undo feature (closes #893940)
1) Changes API for undo_transaction in order to raise an exception:
the previous API returned a sequence of error, the user of the API
needed to be careful to check explicitly. We change this for it to
raise an UndoException with the list of errors as an attribute.
2) The server-side support for undoing update actions is finished
3) The configuration for `undo-support` is now a simple boolean
Beware of the costs, both in DB space and in number of requests
on the RDBMS backend, once this feture is activated.
4) Adds a txuuid param/attribute to the existing NoSuchTransaction
exception.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Feb 2012 12:35:24 +0100] rev 8264
[rql rewrite] when a subquery has to be introduced, properly return the snippet expression so that further expressions are properly ored. Closes #2207180
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Feb 2012 12:44:28 +0100] rev 8263
[migration/3.14.4] use the right API else we break sqlserver instances (closes #2211248)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 19:06:14 +0100] rev 8262
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Feb 2012 19:05:36 +0100] rev 8261
[devtools] make a copy of the xvfb-run script so we can kill it properly
Since changeset a3d3bdd46463 we don't run firefox directly but through a
wrapper script. This meant that on stopping the test, we would kill
that wrapper script but leave the Xvfb server and firefox processes
running. So make a local copy of xvfb-run, and make it kill Xvfb when
it goes down, not just when its client exits.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 23 Feb 2012 12:15:52 +0100] rev 8260
[ajax] use AJAX_BASE_URL instead of JSON_BASE_URL
JSON_BASE_URL / 'json' should be replaced by AJAX_BASE_URL / 'ajax'
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Feb 2012 16:58:43 +0100] rev 8259
[web/config] refactor initialization of the data url
Common logic have been moved in a dedicated `data_relpath` function.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2012 11:58:16 +0100] rev 8258
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 Feb 2012 11:57:35 +0100] rev 8257
[test] create temporary directory with meaningfull prefix
It will help cleanup temporary directory when cubicweb test failed to cleanup
themself.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 20 Feb 2012 15:16:55 +0100] rev 8256
[schema] make cubicweb 3.14 compatible with yams 0.35
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2012 18:22:02 +0100] rev 8255
[test] fix ReST extensions tests
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 09:33:43 +0100] rev 8254
[web/controller] fix some cases where _cwmsgid may appears twice
the Way the URL was build led to double _cwmsgid parameter in the
URL query, which led in turn to a crash.
We use _cw.rebuild_url to update new params instead of
append_url_params which merely does a textual concatenation.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Feb 2012 09:31:54 +0100] rev 8253
[reledit, autoform] move reledit_form definition in reledit.py
No deprecation handling needed, reledit_form is new in CW 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:14:19 +0100] rev 8252
[hg] ignore ldap database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 16:13:36 +0100] rev 8251
[ldap migration] use unicode strings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:33:59 +0100] rev 8250
[ldapfeed] fix synchronisation crash: ldap attributes are given while we want cw attributes
and name errors in method checking if a dn still exists in ldap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 11:46:28 +0100] rev 8249
backport stable
Damien Garaud <damien.garaud@logilab.fr> [Mon, 20 Feb 2012 11:45:16 +0100] rev 8248
Fix bug about missing Interval field (closes #1463996).
Implement Field and Widget dedicated to the yams entity 'Interval':
- TimeIntervalField
- IntervalTimeWidget
Allow to set an integer with a character as a period of time '20s', '48h' or
'3d' for instance (turn into seconds).
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 Feb 2012 18:12:38 +0100] rev 8247
[cubicweb-ctl] i18ncube return 2 (failed command) on failure (closes #2192336)
i18ncube command previously returned 0 even on failure. Bisect i18n breakage was
hard.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:55 +0100] rev 8246
[book] document the WEEKDAY rql function
Added in 3.14.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 20 Feb 2012 11:32:06 +0100] rev 8245
[rql2sql] correctly handle modulo operator (closes #2192457)
rql has % as a modulo operator. The string we output gets passed to a
substitution function so the % needs to be escaped.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:17:53 +0100] rev 8244
[web-repo] use transaction data, not session data to inform ui about sources error. Closes #2192577
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8243
Added tag cubicweb-debian-version-3.14.4-1 for changeset bc40991b7f13
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 14:41:28 +0100] rev 8242
Added tag cubicweb-version-3.14.4 for changeset 508645a54287
David Douard <david.douard@logilab.fr> [Fri, 17 Feb 2012 13:08:49 +0100] rev 8241
prepare version 3.14.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:23:24 +0100] rev 8240
[vreg] restore bw compat, eg container expect to find Selector in appobject module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:15:37 +0100] rev 8239
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Feb 2012 14:14:52 +0100] rev 8238
[spelling] fix dictionnary -> dictionary typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:39:44 +0100] rev 8237
[tabs] use eid parameter instead of rql when an eid is given. Closes #2186288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:16:42 +0100] rev 8236
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 17:57:07 +0100] rev 8235
[system source]Â fix authentication: don't allow login whatever the given password if user password is NULL in database. Closes #2186099
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 14 Feb 2012 15:15:59 +0100] rev 8234
[binary] use seek(0) in `from_file` Binary creation method (closes #2189183)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:15:09 +0100] rev 8233
[c-c] use subprocess instead of os.system to start repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 15:14:40 +0100] rev 8232
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 14 Feb 2012 15:14:22 +0100] rev 8231
[bfss, migration] fix storage migration (closes #2189206)
The storage migration intend to clean the attributes cache but in practice it
was trying to discard attribut edition. As no attribut were edited this lead to
a crash.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 11:34:53 +0100] rev 8230
[datafeed] fix dumb name error introduced by recent deletion handling refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Feb 2012 09:49:13 +0100] rev 8229
[ldapfeed] make authentication actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 15:15:24 +0100] rev 8228
[sources] include source's class in its repr
Alexandre Richardson <alexandre.richardson@logilab.fr> [Mon, 13 Feb 2012 12:49:49 +0100] rev 8227
[email notifications] send notification at post-commit time (closes #2119248)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 13 Feb 2012 12:47:59 +0100] rev 8226
[devtools] Use Xvfb to run firefox in js tests on posix platforms
This way we don't require running tests under X.
Florent Cayré <florent.cayre@gmail.com> [Mon, 13 Feb 2012 12:45:21 +0100] rev 8225
[i18n] fix pb with non-ascii chars in cwd. closes #2149063
David Douard <david.douard@logilab.fr> [Mon, 13 Feb 2012 12:41:04 +0100] rev 8224
[repository] add a ``gc_stats`` method and 2 more cache size for ``stats`` (closes #2179735)
This method returns memory informations in a dictionnary (same informations
as the content displayed by the GCView).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:37 +0100] rev 8223
[test] fix test broken by RichString handling changes in yams #default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 12:16:21 +0100] rev 8222
[test] fix test broken by EmailAddress read permissions change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:50:44 +0100] rev 8221
[test] fix test broken by renaming of module containing the cwxml parser and handling of vid in urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Feb 2012 11:47:07 +0100] rev 8220
[test] fix test broken by selectors/predicates changes coming with the move of registry to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:31:56 +0100] rev 8219
[repo test] fix test broken by recent changes on EmailAddress read permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:47 +0100] rev 8218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 17:20:38 +0100] rev 8217
[server test] fix test broken by recent changes in lgdb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:52 +0100] rev 8216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:53:17 +0100] rev 8215
[schema sync hooks] fix format string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Feb 2012 16:31:39 +0100] rev 8214
[event bus] event has been renamed to publish
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:23:26 +0100] rev 8213
[schema view] properly display inheritance (closes #870073).
Damien Garaud <damien.garaud@logilab.fr> [Fri, 10 Feb 2012 16:22:38 +0100] rev 8212
[workflow view]Â Display a non-localized version of state/transition names (closes #1912537).
Julien Cristau <julien.cristau@logilab.fr>, Quentin Roquefort <quentin@kpsule.me> [Fri, 10 Feb 2012 16:20:35 +0100] rev 8211
[repo] Add a publish/subscribe mechanism for inter-instance communication using zmq
Each repo can have a publishing and any number of subscribing sockets
whose addresses are specified in the instance's configuration. An
application or cube can subscribe to some 'topics', and give a callback
that gets called when a message matching that topic is received.
As a proof of concept, this introduces a hook to clean up the caches
associated with the repository when an entity is deleted.
A subscription is added using Repository::zmq::add_subscription;
the callback receives a list representing the received multi-part
message as argument (the first element of the message is its topic).
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 10 Feb 2012 10:45:17 +0100] rev 8210
[migration] fire hooks in postcreate by default (closes #1417110)
also turn usage of hooks_control to relevent session's method
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 09:52:02 +0100] rev 8209
[migration] `add_relation_type` warns and add missing definitions on already existing rtypes (closes #2121979)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:36:40 +0100] rev 8208
[i18n] fix translations of login actions in french (closes #1546397)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 09 Feb 2012 18:11:30 +0100] rev 8207
([config] add file encoding information to python files (closes #1942655)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:07:31 +0100] rev 8206
[primary view] delete PrimaryView.skip_none attribute (closes #2093250)
it was already broken anyway, since introduction of reledit (a while ago)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 10 Feb 2012 10:06:19 +0100] rev 8205
[entities system table] change asource and source column size (closes #1951819)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 10 Feb 2012 10:01:04 +0100] rev 8204
[view] fix error messages of NotImplementedError
Julien Cristau <julien.cristau@logilab.fr> [Fri, 10 Feb 2012 10:00:00 +0100] rev 8203
kill dead code in Workflow view
This looks like it's been missed in r5224:34e669b6fd95.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Feb 2012 13:22:49 +0100] rev 8202
[bw compat] add compatibility for import of former VRegistry
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 08 Feb 2012 14:30:51 +0100] rev 8201
[views/attribute] role parameter must default to "subject" (closes #2175427)
patwat [Wed, 08 Feb 2012 14:32:35 +0100] rev 8200
[windows service] Copied the 3 lines from etwist/twctl into etwist/service in order to also clean the cache in Windows service mode.
Could be factorised with etwist/server.run
Florent Cayré <florent.cayre@gmail.com> [Wed, 08 Feb 2012 14:22:48 +0100] rev 8199
[entity] fix crash when using cw_instantiate with empty related entity list; closes #2094462
David Douard <david.douard@logilab.fr> [Wed, 08 Feb 2012 14:17:09 +0100] rev 8198
[pylint] correctly detect uiprops module when it's not in a package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 18:35:11 +0100] rev 8197
backport https-deny-anonymous option type fix done in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:53 +0100] rev 8196
Added tag cubicweb-debian-version-3.14.3-1 for changeset 4d0f5d18e8a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:53:52 +0100] rev 8195
Added tag cubicweb-version-3.14.3 for changeset 60efdbb45520
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 16:54:01 +0100] rev 8194
3.14.3
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 16:34:57 +0100] rev 8193
[web/formwidgets] make default_size a tunable, fix code layout (closes #2165936)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Feb 2012 14:32:11 +0100] rev 8192
[hooks/syncschema] do not crash if the schema did not learn (yet) some new META rtype (closes #2171313)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 02 Feb 2012 17:59:52 +0100] rev 8191
[js] better support for no js in tabs (closes #2162092)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 13:25:02 +0100] rev 8190
[vreg] move base registry implementation to logilab.common. Closes #1916014
A new logilab.common.registry module has been created with content from
* cw.vreg (the whole things that was in there)
* cw.appobject (base selectors and all).
In the process, we've done some renaming:
* former selector functions are now known as "predicate", though you still
use predicates to build an object'selector
* hence `objectify_selector` decorator is now `objectify_predicate`
* the top level registry is now `RegistryStore` (was `VRegistry`)
Also there is no more need for the @lltrace decorator.
On the CubicWeb side, the `selectors` module has been renamed to `predicates`.
There should be full backward compat with proper deprecation warnings.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:33:30 +0100] rev 8189
[datafeed] when checking for deletion using cwentity xml parser, use vid=xml to limit resources consumption
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 21:43:24 +0100] rev 8188
[repository] ldap-feed source. Closes #2086984
datafeed based source which copy a subtree of the ldap directory
into the system database. Authentication still go through ldap though.
Pros:
* don't need temporary tables and such for multi-sources RQL queries execution
* much more flexible to enhance / configure behaviour (you simply have to
replace the parser)
* run better when ldap isn't reachable
Cons:
* no more 'on the fly' discovery of users (though a user authenticating
itself will be automatically added if it doesn't exist in the db yet)
* synchronization may be heavy if there are a lot of users
A new cw.server.ldaputils containing code in common between former ldapuser
and new ldapfeed sources has been introduced. Also ldapuser source now
uses url instead of custom host/protocol option so it looks like a datafeed
source (could be improved).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Feb 2012 14:30:07 +0100] rev 8187
[datafeed] set delete-entities=yes is now safer, by checking each entity actually seems deleted. Closes #2165381
Parsers now have to implement the `is_deleted(extid, etype, eid)` method that
should return a boolean telling if the given entity exists in the external
source or not.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jan 2012 11:49:15 +0100] rev 8186
[config, migration] fix https-deny-anonymous option type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 Jan 2012 20:56:00 +0100] rev 8185
[js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489
Julien Cristau <julien.cristau@logilab.fr> [Mon, 30 Jan 2012 20:57:05 +0100] rev 8184
[book] Fix typos in rql datetime functions documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 14:58:38 +0100] rev 8183
[search box] allow to specify domid in select arguments. Closes #2162166
needed when one want to display search box twice in a page (eg logilabfr)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 27 Jan 2012 12:15:57 +0100] rev 8182
[config] fix rql-cache-size initial values (closes #2162160)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Jan 2012 15:55:27 +0100] rev 8181
[migractions] fix comment to avoid ambiguity. Closes #2015260
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 18 Jan 2012 15:27:08 +0100] rev 8180
[storage] BFSS now create read only file (closes #2151672)
In the process binary.to_file now takes a file instead of a file-path. As
storage was currently the only user it should not impact anyone.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:39:21 +0100] rev 8179
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 18:44:41 +0100] rev 8178
[schema synchronization] don't use sql for TODAY/NOW in keyword arg. Closes #2154815
Also consider TZDatetime on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jan 2012 12:36:33 +0100] rev 8177
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2012 12:57:02 +0100] rev 8176
[req cookie] fix remove_cookie expires which was leading to expires computed to 0 in set_cookie and the Cookie class interpret that has no expires. Closes #2154654
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:14:01 +0100] rev 8175
[testlib, postgres] take care, _repo is None when backuping postgres test db, crashing database generation
Florent Cayré <florent.cayre@gmail.com> [Wed, 18 Jan 2012 17:27:11 +0100] rev 8174
[base views] make it easier to override EntityStartupView behaviour when the rset is empty; closes #2126364
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jan 2012 16:14:34 +0100] rev 8173
[excanvas js] missing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 11:55:32 +0100] rev 8172
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8171
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8170
[facets] Make hiding facet body optional (closes #2105862)
Florent Cayré <florent.cayre@gmail.com> [Tue, 17 Jan 2012 14:26:18 +0100] rev 8169
[manage/index view] fix sources management view appearing in index view although it should not; closes #2126335
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:05:04 +0100] rev 8168
[book] add doc about request, session and connection management you need to know when writing tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2012 14:04:56 +0100] rev 8167
[test] test/demonstrate relation permissions overriding
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:49:23 +0100] rev 8166
[datafeed] Don't pretend all columns are sortable in datafeed sources import log view. Closes #2146387
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:48:25 +0100] rev 8165
[facets] Make hiding facet body optional (closes #2105862)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8164
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jan 2012 11:47:14 +0100] rev 8163
gmap: fix regression from 151058945234
Send zoomlevel as an int, and move closing brace to the right place.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:19 +0100] rev 8162
[deprecation] add cw version number to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jan 2012 18:17:07 +0100] rev 8161
[test] fix test broken by 8158:2ee254e74382 and add a test for that change
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 12 Jan 2012 13:04:59 +0100] rev 8160
[doc] Add a small docstring to RQLExpression constructor
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:33 +0100] rev 8159
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:29:21 +0100] rev 8158
[schema] restrictive email address read permission. Closes #2148141
You may have to update your application schema if you were based on previous settings!
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2012 18:28:17 +0100] rev 8157
[tableview] drop useless code: cellvid systematically given by RsetTableView, according to its .[non]finalview attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 Jan 2012 16:33:27 +0100] rev 8156
[tableviews] use ``select_or_none`` instead of ``try: select() except:``
select_or_none is here to avoid multiplying try: except: context in the code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:43 +0100] rev 8155
[bw compat] json_request setter is necessary for some cubes which has json_request (eg preview)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Jan 2012 16:20:49 +0100] rev 8154
gmap: set center and zoomlevel automatically (closes #2144255)
Instead of hardcoding the default zoomlevel and setting the center to
the average of all markers, let gmap compute them so all markers fit in
the map.
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 04 Jan 2012 17:21:14 +0100] rev 8153
[views] calendar id in CalendarView must be unique (closes #2143864)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:23:57 +0100] rev 8152
[debian] cubicweb works with python 2.7 (which become the standard on some distros). Closes #2142050
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jan 2012 22:40:07 +0100] rev 8151
[multi-sources] call doexec rather than sqlexec since we do not want to call process_result (as there aren't any and this breaks with lgdb default)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2012 18:44:52 +0100] rev 8150
[sources] hide some attributes from source edition form. Closes #2144160
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 03 Jan 2012 17:59:31 +0100] rev 8149
[https] Allow configuration of anonymous access on https (closes #1971992)
For now any anonymous access in denied on secured connection (https-url). This patch
introduce a configuration option to control this behaviour.
New instance will allow it.
Old instance should stay as is during migration.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 03 Jan 2012 17:00:43 +0100] rev 8148
[bfss] convert root BFSS directory to str in constructor (closes #2137793)
otherwise you can get crashed with AssertionError: Binary objects must use raw strings, not <type 'unicode'>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 Jan 2012 12:21:44 +0100] rev 8147
[rql, security]Â fix buggy rqlstr cleanup when some introduced snippet create an unresolvable query. Closes #2142041
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 19:05:55 +0100] rev 8146
[ldap test] test actual ldap authentication instead of monkey-patching
also drop usage of not-anymore-necessary constants.
Alexandre Fayolle [Thu, 22 Dec 2011 17:56:04 +0100] rev 8145
[book] Add some details about usage of EXISTS
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:46:55 +0100] rev 8144
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8143
Added tag cubicweb-debian-version-3.14.2-1 for changeset 17ebd836cee3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 17:44:50 +0100] rev 8142
Added tag cubicweb-version-3.14.2 for changeset 049a3819f03d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:14:01 +0100] rev 8141
3.14.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Dec 2011 15:13:47 +0100] rev 8140
[i18n] fix french for 'action menu'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 21 Dec 2011 18:26:35 +0100] rev 8139
[server] use lgd.process_cursor to optimize processing of large resultsets
update lgdb dependency to ensure we've a fix necessary for proper behaviour of the previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:04:07 +0100] rev 8138
[css] fix typo in uiprops/css
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 18:01:48 +0100] rev 8137
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2011 12:13:28 +0100] rev 8136
[sources management] fix crash mapping tab because chain() is not indexable. Closes #2124077
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:01:15 +0100] rev 8135
[css] use listingHeaderBgColor in old css
this also fix inconsistency between background image / bg color
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Dec 2011 17:59:37 +0100] rev 8134
add instance to not implemented error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Dec 2011 09:32:27 +0100] rev 8133
[repo cache] fix cache clearing for an eid: keys are now always a tuple
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2011 19:15:49 +0100] rev 8132
missing import statement
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 19 Dec 2011 19:03:27 +0100] rev 8131
fix potential problems when BFSS uses a Windows SMB share (closes #2131435)
files on windows network share must be read / written by chunks of reasonable size
or you get some unusual os level errors.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:25 +0100] rev 8130
[views] (in/outof)context views now use directly dc_(long)_title() (closes #2110235)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 14:35:20 +0100] rev 8129
[table] use cell text content when cubicweb:sortvalue is not defined (closes #2093183)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 Dec 2011 12:30:12 +0100] rev 8128
[controllers] deprecate JSonController and implement AjaxController / ajax-func registry (closes #2110265)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Dec 2011 12:09:49 +0100] rev 8127
[rql2sql] None for attributes in kwargs generate IS NULL, so should be considered in sql cache key. Closes #2116693
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:57:22 +0100] rev 8126
[tableview] cubicweb:sortvalue should not have 'json:' in its value anymore. This breaks old tables.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Dec 2011 12:14:11 +0100] rev 8125
[schema] React to yams improvement of metadata attribute handling.
* Change the way RichString is deprecated.
* Add documentation about metadata attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:44 +0100] rev 8124
stable is 3.14.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Dec 2011 12:08:27 +0100] rev 8123
oldstable is 3.13.X
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:48:00 +0100] rev 8122
Added tag cubicweb-debian-version-3.14.1-1 for changeset 6928210da4fc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 16:47:59 +0100] rev 8121
Added tag cubicweb-version-3.14.1 for changeset 793d2d327b3e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:33:38 +0100] rev 8120
3.14.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:32:57 +0100] rev 8119
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8118
Added tag cubicweb-debian-version-3.13.10-1 for changeset 2eab9a5a6bf8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 14:29:48 +0100] rev 8117
Added tag cubicweb-version-3.13.10 for changeset 2ad4e5173c73
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Dec 2011 14:30:00 +0100] rev 8116
[ajax] make navigation component appear both above and below the view (closes #2110266)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:22:23 +0100] rev 8115
3.13.10
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Dec 2011 13:17:25 +0100] rev 8114
Link to python docs about strftime instead of pointing at "man" (closes #2106415)
Not ideal, but better than pointing all users at Unix command-line tools.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2011 13:16:10 +0100] rev 8113
[test]Â reindent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Dec 2011 10:53:05 +0100] rev 8112
[rqlrewrite]Â fix comment
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 16:59:20 +0100] rev 8111
[server test] Fix tests regression from changeset 7980b36fb1aa
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 15:11:22 +0100] rev 8110
Tweak message to clarify it gets the pagination back
http://www.cubicweb.org/task/2106487
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Dec 2011 15:20:21 +0100] rev 8109
fix tests broken by lgdb update
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:43 +0100] rev 8108
[migration] Ignore IOError from readline.write_history_file (closes #2106621)
We already ignore them when reading the histfile, no reason writing it
back should be any different.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 14:31:41 +0100] rev 8107
[migration] make remove_cube('foo') not fail if foo is already removed. Closes #2106532
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Dec 2011 13:42:23 +0100] rev 8106
[cwconfig] absolute import (closes #2091068)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 05 Dec 2011 13:37:40 +0100] rev 8105
[schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
When an entity type is renamed as part of a migration, it leaves stale
entries in repo._type_source_cache, which makes subsequent operations on
those entities fail (they look for the old entity name instead of the
new one).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 01 Dec 2011 12:48:46 +0100] rev 8104
[facets] forcing a fixed height to the group is a bad idea: the container will not properly overflow
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 29 Nov 2011 12:06:35 +0100] rev 8103
[views/tabs] tests absolutely want an alt attribute (even if meaningless)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 29 Nov 2011 11:18:46 +0100] rev 8102
[navigation] provide a link back from the full view to the paginated one
provide a better marker for navigation induced call detection
Closes #2103687
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 17:00:09 +0100] rev 8101
[sorted navigation] refactor code so that when an attribute is found, nb_chars may be recomputed anyway according to variable type
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:32 +0100] rev 8100
[reledit] implements entity_call instead of cell_call
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Nov 2011 16:59:15 +0100] rev 8099
[merge] backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Nov 2011 16:57:31 +0100] rev 8098
[skel] default debian/rules use pysupport to compile python files
Drop the unused python-dev build-dependency (only necessary for binary extensions)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:58:18 +0100] rev 8097
use dbhelper functions to get default date / datetime (closes #2094544)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:26:06 +0100] rev 8096
actually a bad idea, sorry
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 23 Nov 2011 11:23:51 +0100] rev 8095
[web/views/tabs] improve non graphical experince with tabs (closes #2097405)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 14:45:13 +0100] rev 8094
[tableview] fix action menu layout (closes #2099011)
* on the left instead of the right of the table
* remove the arrow and the bullets
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 12:30:05 +0100] rev 8093
[facets] do no stretch to the right when there are many facets; instead use a floating layout (closes #2093160)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Nov 2011 11:46:30 +0100] rev 8092
[views/table] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Nov 2011 11:20:36 +0100] rev 8091
fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Nov 2011 17:53:14 +0100] rev 8090
added log when operation precommit fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:19:56 +0100] rev 8089
[EntityTableView] smarter header for MainEntityColRenderer: use plural form only when necessary. Closes #2093182
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2011 18:21:04 +0100] rev 8088
[tableview] enhance RelationColRenderer. Closes #2093184
* subvid should only be explicitly specified, or default when main view (vid)
is known to support it (eg 'list' / 'csv')
* new is_rtype_view boolean flag to ease usage of view based on original
entity with a relation name and role, as the 'reledit' view for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:51 +0100] rev 8087
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:32 +0100] rev 8086
[reledit] default label should be translated, I don't thing we've an opportunity to do it another way as uicfg objects are static
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2011 22:07:27 +0100] rev 8085
[rset] fix crash while building entity from rset w/ some subquery. Closes #2089055
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:23:14 +0100] rev 8084
[email bug report] _cw.config bw compat has been dropped, use _cw.vreg.config (+ small cleanup). Closes #2086985
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2011 22:22:18 +0100] rev 8083
[users management view] return None if no entity related, not an empty tuple. Closes #2089085
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Nov 2011 12:13:48 +0100] rev 8082
merge stable changes to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Nov 2011 23:18:56 +0100] rev 8081
[http, windows] fix remove_cookie trying to expire a cookie before the Epoch (closes: #2087998)
time.gmtime on windows will raise a ValueError if a negative argument is supplied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:13:40 +0100] rev 8080
[etype restriction component] rql 0.31 doesn't accept anymore a variable ref as add_type_restriction argument. Closes #2086983
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2011 10:12:37 +0100] rev 8079
[3.14 migration] strip constraint value to avoid extra new lines
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:19:24 +0100] rev 8078
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8077
Added tag cubicweb-debian-version-3.14.0-1 for changeset 0bfe22fceb38
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 19:16:08 +0100] rev 8076
Added tag cubicweb-version-3.14.0 for changeset 5c4390eb10c3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:43:01 +0100] rev 8075
[test] add some tests for rql's add_type_restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 18:41:12 +0100] rev 8074
add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:34:08 +0100] rev 8073
[packaging] common subpackage has been dropped
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 17:17:54 +0100] rev 8072
3.14
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 16:42:33 +0100] rev 8071
[js/tablesorter] work around tablesorter deficiencies (bool handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:55:25 +0100] rev 8070
[tableview] fix __init__ logic of sortfunc/sortable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 15:13:13 +0100] rev 8069
[datafeed log]Â properly log errors catched at the source level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:03 +0100] rev 8068
[data import log] log on the source so we properly have source name information
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Nov 2011 15:06:03 +0100] rev 8067
[facets] reenable facet hiding (was lost in the previous refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2011 14:34:41 +0100] rev 8066
[tableview] drop comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:16:53 +0100] rev 8065
[tableview] deepcopy of colrenderer was actually broken with py < 2.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:09:13 +0100] rev 8064
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 18:08:40 +0100] rev 8063
[html, ajax] demote_to_html don't crash anymore if force-html-content-type is activated. Closes #712309
Anthony Truchet <anthony.truchet@logilab.fr> [Fri, 04 Nov 2011 17:29:39 +0100] rev 8062
[doc] fix data hooks parent class in Hooks doc.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:56:39 +0100] rev 8061
[pylint] enhance plugin: define 'data' function in uiprops module
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 07 Nov 2011 10:55:15 +0100] rev 8060
[table] display navigation component both above and below the table
+ add the ``show_all_option`` class parameter on TableLayout
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Nov 2011 10:54:17 +0100] rev 8059
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 17:16:15 +0100] rev 8058
[table view] some new table view enhancements
* rewrite entiy table view column renderers to use default_* methods instead
of lambda so that column_renderers may be properly deep-copied
* new RelatedEntitiesColRenderer
* default addcount to false on RelatedEntityColRenderer
* more doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 14:57:41 +0100] rev 8057
[navigation] extract method from SortedNavigation.call to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:56 +0100] rev 8056
[cleanup] drop some appengine support junk
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:52 +0100] rev 8055
[table view] properly handle show/hide filter actions so we get proper action displayed even when recalled from pagination
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:03:35 +0100] rev 8054
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:33 +0100] rev 8053
[pagination] closes #2072029: add css class to div for "see them all" link for pagination.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Nov 2011 13:00:30 +0100] rev 8052
[prev/next] properly translate previous/next links' title, closes #2072158
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Nov 2011 16:01:41 +0100] rev 8051
[rql, integrity] let ValidationError and Unauthorized pass during composite deletion (closes #2070042)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 28 Oct 2011 17:54:24 +0200] rev 8050
[table view, workflow] fix the display of wf history table (closes: #2065652)
was relying on no more used 'cell' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:28:30 +0100] rev 8049
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 15:27:31 +0100] rev 8048
[rset] replace entity cw_rset on .limit(inplace=True) will avoid pb if the entity is still referenced by some other entity relations cache. Closes #2065643
Also, drop '_resultset' from some test names on the way (redundant information, we're
in ResultSetTC...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:44:02 +0100] rev 8047
[instance creation] properly search for sql extension in the schema directory. Closes #2068117
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:37 +0100] rev 8046
[entity table view] add count default to true on main entity column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:35 +0100] rev 8045
[table sort] should eval cubicweb:sortvalue to make it works properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2011 11:18:21 +0100] rev 8044
[rqlinput] cleanup (use req everywhere) and fix html validation issue (input outside fieldset)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:37:04 +0100] rev 8043
[js table sort] use lower cased tag names since HTML is case insensitive and XHTML is case sensitive and wants lower case tag names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:50 +0100] rev 8042
[old table view] drop duplicated method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:33:33 +0100] rev 8041
[edit controller] only display warning on specific adapters
also drop buggy @deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Nov 2011 10:31:18 +0100] rev 8040
[wysiwyg editor] disable server browsing by default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 12:07:37 +0200] rev 8039
[doc] add some documentation on url path evaulators
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:44:50 +0200] rev 8038
fix typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:26 +0200] rev 8037
[diet] move iprogress to its own cube. Closes #1916016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:25 +0200] rev 8036
[facetable views] allow extra hiddens to be specified when selecting the facets form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Oct 2011 11:33:24 +0200] rev 8035
[export views] uniformize titles, much nicer when listing possible views. Closes #2060944
Florent Cayré <florent.cayre@gmail.com> [Fri, 28 Oct 2011 11:31:11 +0200] rev 8034
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:34:12 +0200] rev 8033
[uihelper] fix bad variable renaming
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 28 Oct 2011 10:32:48 +0200] rev 8032
[doc] fix most of ReST compilation errors and warnings
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 12 Oct 2011 15:56:40 +0200] rev 8031
Update documentation about resource mode.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 27 Oct 2011 18:19:00 +0200] rev 8030
[uicfg] add uihelper module with high-level helpers (closes #1809414)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:16 +0200] rev 8029
[ui lib] facet and form widget for Integer used to store binary mask. Closes #2054771
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:03 +0200] rev 8028
[tableview] .entity method is useful on EntityTableView as well, move it there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Oct 2011 10:38:02 +0200] rev 8027
[schema, old instance] restore some pre 3.5.10 bw compat as some old instances may still have this, and add migration so we can remove it at some point
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:59:06 +0200] rev 8026
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Oct 2011 17:58:21 +0200] rev 8025
[views/facets] backout 82d76492e21e - this was not actually needed and caused some problems ...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:12:35 +0200] rev 8024
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Oct 2011 14:11:30 +0200] rev 8023
[test, facets] fix prepare_rqlst arguments, it wasn't actually testing baserql due to name conflicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:59:15 +0200] rev 8022
[test] specify X type, as this is not infered from NOT identity with rql#default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:57:51 +0200] rev 8021
useless debugged breaks test with python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:22:19 +0200] rev 8020
[rql2sql]Â fix regression introduced in 8018:f01c80513274 leading to bad execution of DELETE queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 18:21:45 +0200] rev 8019
[test] unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2011 14:03:52 +0200] rev 8018
[rql] closes #2054468: support for HAVING in SET/DELETE queries
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 25 Oct 2011 14:03:32 +0200] rev 8017
[book] Some minor fixes to the CubicWeb doc (typos, invalid ReST, ...)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Oct 2011 13:51:27 +0200] rev 8016
[tableview,jsoncontroller] the json controller must check view.handle_pagination as well & the old table view also handles pagination internally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:52:24 +0200] rev 8015
[ui, pagination] when sorted in some date type, auto-set max characters (closes #2053038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 13:51:39 +0200] rev 8014
[tableview] extract two methods from render_table to ease subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:19:23 +0200] rev 8013
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Oct 2011 13:18:58 +0200] rev 8012
[deprecated] TableView: update some documentation
All parameters that can be passed through the req.form are now handled at the
beginning of the call method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:13:45 +0200] rev 8011
[column labels] full display_name prototype compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2011 13:09:05 +0200] rev 8010
[book] update copyright
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Oct 2011 08:55:07 +0200] rev 8009
[tableview,basetemplates,pagination] some views internally handle the pagination, in which case the base template should not try to paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:59:42 +0200] rev 8008
check entity's cwuri and remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 22 Oct 2011 11:16:14 +0200] rev 8007
[tableview]Â fix bad attribute name
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 18:37:30 +0200] rev 8006
[tableview] sortvalue truncation should be somewhat configurable
Florent Cayré <florent.cayre@gmail.com> [Fri, 21 Oct 2011 18:10:50 +0200] rev 8005
fix broken tests (at least by #1800002)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 18:02:40 +0200] rev 8004
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:52:37 +0200] rev 8003
undo garbage shipped in 9a73d5e762b0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:50:56 +0200] rev 8002
[test] one more base etype...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:48:56 +0200] rev 8001
[test]Â limit size is now done by the layout
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 21 Oct 2011 17:42:56 +0200] rev 8000
[facets] fix context passing + a note for later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 17:14:05 +0200] rev 7999
[table view] fix regression in old table view leading to malformed html
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:25:32 +0200] rev 7998
[utils] add a ``js_href`` function to generated proper javascript href
The main gain is the escaping of %
* * *
[pagination] use js_href for building javascript link (closes #2035033)
This prevent snicky error with url unquoting of javascript code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7997
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7996
[facets] view should be propagated up to facet selection, so we can get different facets according to the view. Closes #2036527
Julien Cristau <julien.cristau@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7995
Record a log of datafeed source imports (closes #2026097)
Formatting, css and js stolen from narval.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7994
[management table] upgrade sources groups management table to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7993
[management table] fix and upgrade users and groups management tables to new api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7992
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
See the tickets for a description of the why.
* one should now use RsetTableView instead of TableView and EntityTableView
instead of EntityAttributesTableView.
* a flexible layout object has been extracted, TableLayout
* PyVaTableView has been rewritten using the same base class / renderer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7991
[web component architecture] extract LayoutableMixIn from components
in the intend to use it in the table refactoring to come.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:37 +0200] rev 7990
[diet]Â drop pre 3.6 API compatibility (but attempt to keep data cmopatibility). Closes #2017916
notice drop of the .paginable property necessary for 'paginable' affectation as done in the
forthcoming table views refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 14:32:18 +0200] rev 7989
[test] restore support for python < 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:45 +0200] rev 7988
[forms] update code broken by linkto refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 13:05:26 +0200] rev 7987
[rdf] drop buggy (name error) try/except (done using related(safe=True))
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:36:30 +0200] rev 7986
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:04 +0200] rev 7985
Added tag cubicweb-debian-version-3.13.9-1 for changeset 0a3cb5e60d57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:32:03 +0200] rev 7984
Added tag cubicweb-version-3.13.9 for changeset 07afe32945aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 11:03:54 +0200] rev 7983
3.13.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 10:59:57 +0200] rev 7982
[selectors] EClassSelector (eg is_instance & all) should check for None value (possible w/ outer join) when a row is specified. Closes #2033165
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:51 +0200] rev 7981
[test] fix failure introduced by localperms cube introduction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:48 +0200] rev 7980
[test] fix failures introduced by 7951:b7c825b00f64
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:24:29 +0200] rev 7979
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7978
[test] fix datafeed test, we have to use an internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7977
[test] drop some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7976
[ibreadcrumbs] missing xml_escape on latest path part (usually view's title). Closes #2037506
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7975
[test] fix test failure caused by 7922:d307c3817782
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2011 09:23:43 +0200] rev 7974
[test] fix regression introduced in 7915:a7f3245e1728 leading to test's postcreate not being executed anymore
Florent Cayré <florent.cayre@gmail.com> [Thu, 20 Oct 2011 16:03:51 +0200] rev 7973
[entity] restrict creation form field vocabulary using __linkto information (closes #1799997)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Oct 2011 12:22:48 +0200] rev 7972
Add generated documentation to .hgignore.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Oct 2011 14:22:16 +0200] rev 7971
[uilib] add missing printer for integers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:20:46 +0200] rev 7970
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2011 14:17:52 +0200] rev 7969
[rset] don't only consider a sample select node / solution to compute rset description. Closes #2036499
those particular ones may miss information that we may found in another select or solution
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2011 17:08:05 +0200] rev 7968
[rset] use .iteritems() instead of items()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:50 +0200] rev 7967
merge back stable change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 18 Oct 2011 15:52:12 +0200] rev 7966
remove stale debugging statement
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 29 Sep 2011 16:44:55 +0200] rev 7965
[server] fix integrity checks that destroy data (closes #1972842)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 19:27:54 +0200] rev 7964
[entity related rql] 'is' relation target constant should have 'etype' type, not String
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2011 15:08:25 +0200] rev 7963
[entity] fix dumb name error introduced by 3.14 entity refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 16:42:10 +0200] rev 7962
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 15:19:25 +0200] rev 7961
[js]Â missing trailing comma
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:42:00 +0200] rev 7960
[test] map pgettext to unicode as _
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 14:41:44 +0200] rev 7959
[table view] fix bug introduced in 7938:80c6e2155c3d leading to not translated table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:51:54 +0200] rev 7958
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:50:46 +0200] rev 7957
[test]Â fix some failures recently introduced
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 13:36:39 +0200] rev 7956
add missing imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 10:34:08 +0200] rev 7955
[selectors]Â match_kwargs and match_form_params selectors both accept a new `once_is_enough` argument (closes #1990438)
also fix docstring of match_exception and references to selectors in the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Oct 2011 10:33:31 +0200] rev 7954
[cache] replace lgc.cache with something more appropriate (closes #1921713)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 09:21:45 +0200] rev 7953
merge and fix cubicwebSortValueExtraction pb which disappeared when tablesorter.js has been updated
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Oct 2011 09:04:39 +0200] rev 7952
[table] use explicit add_onload() to setup table sorting (closes #2013493)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:51:24 +0200] rev 7951
[schema display] display_name shouldn't call .lower(). Note the only proper way is to have different msgid for upper/lower cases. Closes #1105433
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:50:09 +0200] rev 7950
[ms repository] when an exception is raised during extid2eid and no rollback is done, some manual cleanups have to be done (closes #1993420)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2011 08:49:58 +0200] rev 7949
[facets] on the way to vidargs removal
our roving on the table view, which leads to introduction of this feature,
proved it was not the way to go.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 13 Oct 2011 11:49:19 +0200] rev 7948
[migraction] fix cmd_change_attribute_type command (closes #2015073)
use dbhelper to avoid issuing unsupported SQL
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2011 10:24:27 +0200] rev 7947
[action] has_editable_relation first argument is once_is_enough flag, not an action name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:52 +0200] rev 7946
[table] Only apply sorting event on the first row of a table header (closes #1988780)
We use the new selectorHeaders from table-sorter 2.0.5
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Oct 2011 18:30:29 +0200] rev 7945
[table js]Â Update jquery-tablesorter to 2.0.5 (closes #1989018)
The cubicweb specific code is moved to the table view.
This version add a new useful option for #1988780
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Oct 2011 09:44:14 +0200] rev 7944
init_facets: Add documentation
init_facets is not included in the default sphinx documentation but this
docstring should help people digging into cubicweb core. This could go in an
Advanced developer section of the book.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Oct 2011 09:25:26 +0200] rev 7943
[facets] try to get rid of arbitrary constants, be prettier and eat less space (closes #1988706)
Florent Cayré <florent.cayre@gmail.com> [Thu, 13 Oct 2011 09:15:16 +0200] rev 7942
[edit controller]Â add form to pre_web_edit signature to ease linkto usage (used by vcsfile cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:22 +0200] rev 7941
pylint extension
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2011 19:06:15 +0200] rev 7940
[printers] fix bug introduced by final view refactoring:   shouldn't be escaped.
Also remove some msgids which should have been removed during this refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 16:01:44 +0200] rev 7939
Add a hidden input:submit field in facets form (closes #1988784)
<Enter> is supposed to submit the form only if there is a single
input:text field. However most browsers will submit the form
on <Enter> anyway if there is an input:submit field.
see: http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2
Firefox 7.0.1 does not submit form on <Enter> if there is more than a
input:text field and not input:submit but does it if there is an
input:submit.
IE 6 or Firefox 2 behave the same way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:18:14 +0200] rev 7938
AnyRsetView: Refactor the columns_name method and update doc.
We drop the 'label_column_%s' % colidx pattern and add a clean column_label
method that might be overwritten by children class to alter the way default
columns headers are computed.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 18:16:06 +0200] rev 7937
[facets] FacetFilterMixIn: add documention for class and generate_form
There is also a small refactoring to make the code clearer. An intermediate
variable is introduced and the call is reindented to make it clearer. No logic
change.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Oct 2011 14:04:18 +0200] rev 7936
[facet] Add infered type restriction to Filtered result set (closes #1988776)
This does not alter the result while allowing more selection option on other
variable than the filtered one.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 14:28:48 +0200] rev 7935
[source] remove uicfg rule for dropped synchronizing attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:55:58 +0200] rev 7934
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:54:17 +0200] rev 7933
[datafeed] remove remaining uses of 'synchronizing' attribute replaced by 'in_synchronization' in 3.13.8. Closes #1989131
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 13:50:32 +0200] rev 7932
[datafeed parser] only update an entity attributes when needed. Closes #1989142
This may avoid error with some entities which have immutable attributes
and don't check something actually changed.
Also, avoid modifying the cached item representation, this may cause pb
when an item is seen several times during an import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 11:00:24 +0200] rev 7931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2011 10:59:35 +0200] rev 7930
[schema]Â drop erroneous default on CWSource.in_synchronization. Closes #1990585
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Oct 2011 16:15:55 +0200] rev 7929
[forms] fix bug in linkto refactoring (misordered arguments)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:29:14 +0200] rev 7928
[migration] update old yams api in change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 17:18:10 +0200] rev 7927
[schema] add missing import (trigger warning)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7926
Added tag cubicweb-debian-version-3.13.8-1 for changeset 43f83f5d0a4d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:58:29 +0200] rev 7925
Added tag cubicweb-version-3.13.8 for changeset 249bd4169339
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 16:21:04 +0200] rev 7924
3.13.8
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 07 Oct 2011 15:55:49 +0200] rev 7923
[facets] use encodeURIComponent instead of escape to encode url paremters (closes #1984727)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:15 +0200] rev 7922
[repository] use utcnow instead of now for some internal timetamps (closes #1988458)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 15:55:14 +0200] rev 7921
[datafeed] add max-lifetime for concurrent synchronization lock (closes #1908676)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:59:20 +0200] rev 7920
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:56:04 +0200] rev 7919
[view, plot] deprecate flot and encourage usage of the jqplot cube (closes #1625218)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 18:23:01 +0200] rev 7918
remove 3.14 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:42 +0200] rev 7917
sample script to turn a pyro source into a datafeed source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2011 11:47:09 +0200] rev 7916
[datafeed parser] properly recurse on nodes to follow all mapped relations (closes #1988432)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:15:16 +0200] rev 7915
[migration] expose migration methods to execute schema/*.sql and migration/<event>.py files (closes #1986498)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7914
[request, ui] printable_value is now a method of request, and may be given dict of formatters to use (closes #1984743)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 16:14:08 +0200] rev 7913
[web, formatting] move Interval data type display logic from final view to printable_value (closes #1984742)
also, fix implementation so that negative time delta are properly considered
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 06 Oct 2011 10:13:24 +0200] rev 7912
[js] Remove tab mixed with space in ``web/data/cubicweb.facets.js``
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 Oct 2011 10:09:42 +0200] rev 7911
[xml/rdf views] handle case where the user hasn't read access to a relation (closes #1984598)
The view shouldn't crash in such case.
Also refactor xmlrelateditem view and its call on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 18:45:38 +0200] rev 7910
[datafeed] don't crash if url is not specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:59:12 +0200] rev 7909
[web session] ProgrammingError may be raised, we should catch it (closes #1980076)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 13:58:57 +0200] rev 7908
[web auth] closes #1981680: authentication info retriever should be given a chance to cleanup data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 12:23:52 +0200] rev 7907
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:10:28 +0200] rev 7906
repaire cctl db-init -d on sqlserver (closes #1979670)
requires an updated yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:29:56 +0200] rev 7905
[test, sqlserver] update test for fixed impl. of date extraction function for sqlserver (lgdb 1.7)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:18:35 +0200] rev 7904
[rql, sql] support for weekday function introduced in lgdp 1.7 (closes #1979717)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:46 +0200] rev 7903
[pyviews] new colheaders and cssclass arguments on pyvaltable (closes #1979718)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:15:45 +0200] rev 7902
[rql2sql] support for outer join on column alias (closes #1979645)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Oct 2011 10:21:05 +0200] rev 7901
[linkto] update documentation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:08:00 +0200] rev 7900
improve EntityAttributesTableView perfs by adding a call to complete()
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 30 Sep 2011 18:05:57 +0200] rev 7899
fix typo in comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:16:29 +0200] rev 7898
[ms, test] fix source deletion pb, detected by test since 7885:9454b7ef5ae4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2011 11:15:40 +0200] rev 7897
[book] startup views: add a note about *manage* view
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 09 Aug 2011 09:43:26 +0200] rev 7896
[lint] remove uses of "print >> sys.stderr" (closes #1908571)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 15:28:41 +0200] rev 7895
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:47:04 +0200] rev 7894
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:46:41 +0200] rev 7893
[js] add proper excanvas.js (patched version provided with jqplot, but with proper copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:39 +0200] rev 7892
Added tag cubicweb-debian-version-3.13.7-1 for changeset 2f93ce32febe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:42:38 +0200] rev 7891
Added tag cubicweb-version-3.13.7 for changeset 68e8c81fa96d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:09:34 +0200] rev 7890
3.13.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:07:37 +0200] rev 7889
[linkto] test for main form should be done in the link_to dictionary computation, else we may get erroneous values for sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:45 +0200] rev 7888
[req] .view should not catch [Object|Registry]NotFound (which is a bug), only NoSelectableObject (closes #1973681)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 14:05:42 +0200] rev 7887
[repository] when deleting relations of a deleted external entity, we should skip non-crossable relation (closes #1973680)
elses this may lead to things as described in the ticket...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 13:53:34 +0200] rev 7886
[ms planning] raise BadRQLQuery when two variables related by a non-crossable relation should come from two different sources (closes #1973767)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:28 +0200] rev 7885
[ms, test] propagate exception in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2011 12:55:20 +0200] rev 7884
[repo] cleanup [_]delete_info prototype: extid argument isn't used
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 27 Sep 2011 09:26:40 +0200] rev 7883
[views] fix docstring of tableview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 14:33:43 +0200] rev 7882
remove remaining junk from bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 11:17:49 +0200] rev 7881
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2011 10:36:41 +0200] rev 7880
[sync schema hooks] pylint fixes have broken hasattr test
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).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:31 +0200] rev 7783
backout 7781:e95cfd5eca61
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 15:40:06 +0200] rev 7782
backout 7780:a1d5365fefc1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:54:00 +0200] rev 7781
[js] closes #1558870 : update to jquery 1.6 (1.6.3)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:48:24 +0200] rev 7780
[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).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Sep 2011 14:41:53 +0200] rev 7779
[debug] use repr() in some place where you'll have a chance to get an unicode error if output encoding isn't properly detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 17:24:14 +0200] rev 7778
[i18n fr] fix typo and enhance translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Sep 2011 12:00:31 +0200] rev 7777
[user management] disable http cache on user management view (not really a startup view)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:09:36 +0200] rev 7776
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:50 +0200] rev 7775
Added tag cubicweb-debian-version-3.13.5-1 for changeset 2e9dd7d94555
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 18:04:49 +0200] rev 7774
Added tag cubicweb-version-3.13.5 for changeset 20d9c550c57e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:53:21 +0200] rev 7773
3.13.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:52:55 +0200] rev 7772
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Sep 2011 16:35:45 +0200] rev 7771
[multi-sources]Â closes #1918120: drop behaviour leading to wrong result as demonstrated by the ticket
The formerly implemented behaviour doesn't seems to be useful,
nor to have a chance to be correct. At least no test case demonstrate
the opposite, so I've dropped it.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 08 Sep 2011 10:54:25 +0200] rev 7770
[session] enforce coherency of login/passwd couple values when no anonymous user (closes: #1910849)
None may be returned for both if anonymous connection is not
allowed or if an empty login is used in configuration
Raise ConfigurationError is anonymous login is non-ascii (convention)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 17:50:09 +0200] rev 7769
[session] take care of non-ascii characters in login and session id (closes: #1910849)
We ensure a valid <str> conversion of the session id by using unormalize() at initialization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Sep 2011 17:01:32 +0200] rev 7768
closes #1914824: fix retrieval of _andor input, test and fix generated rql
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Sep 2011 11:37:41 +0200] rev 7767
[debian] build the book with no auto-compression of book files (closes: #1906581)
Book content paths (html and rest) are now excluded from Debian compression step.
This will fix a documentation search issue on the website (doc.cubicweb.org)
Documentation build is now made optional since it can break for old distributions
and we don't want to block a new release of Cubicweb because of documentation issues.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 07 Sep 2011 16:56:27 +0200] rev 7766
[views/navigation] use the proper icons instead of ascii art (closes #1624943)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 06 Sep 2011 15:29:05 +0200] rev 7765
devtools: Fix cleanup of temporary database (closes #1908656)
The stored database path for clean up was not absolute.
We now make the ``db-name`` absolute at database manade initialization. before
storing the name for cleanup.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 Sep 2011 15:16:06 +0200] rev 7764
Drop privileges properly (closes #1910561)
Use new function from logilab.common.daemon to switch to non-privileged
uid and gid.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 15:11:35 +0200] rev 7763
drop unittest deprecation warning
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 06 Sep 2011 12:20:11 +0200] rev 7762
[web] add option to make resources-concat optional (implements #1910615)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:20:09 +0200] rev 7761
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:10:02 +0200] rev 7760
oops, forgotten to qref enhancements made to the reledit doc addition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 12:01:27 +0200] rev 7759
[book] section about how to disable reledit feature/view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:24 +0200] rev 7758
[skel] drop unused import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Sep 2011 11:59:21 +0200] rev 7757
[hooks control] test and fix session.reset_hooks_mode_categories, closes #1908680
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Sep 2011 16:48:37 +0200] rev 7756
[form fields doc] explain when field.role should be None
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:28:32 +0200] rev 7755
Added tag cubicweb-version-3.10.x for changeset a62f24e1497e
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:27:09 +0200] rev 7754
merged back oldstable fix to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 26 Aug 2011 17:14:37 +0200] rev 7753
work around cursor.rowcount not returning anything useful before 1st fetch with mssql (closes #1910869)
use select count(*) from table to get the number of rows
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 14:25:06 +0200] rev 7752
[devctl] do not crash in the (rare, odd) case where mod.__file__ is None (closes #1908664)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Aug 2011 10:53:23 +0200] rev 7751
[doc/book] fix ref to trustedauth cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 15:06:02 +0200] rev 7750
site schema should be named data model schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:23:55 +0200] rev 7749
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:56 +0200] rev 7748
Added tag cubicweb-debian-version-3.13.4-1 for changeset 52f26475d764
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 14:19:54 +0200] rev 7747
Added tag cubicweb-version-3.13.4 for changeset 223ecf0620b6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:22:19 +0200] rev 7746
3.13.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 12:20:44 +0200] rev 7745
[.po generation] closes #1902315: c i18ncube doesn't consider relation definition description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 10:29:19 +0200] rev 7744
closes #1901436: view/modify action in table don't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:27:53 +0200] rev 7743
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Aug 2011 09:19:56 +0200] rev 7742
[web test] fix test needed after change of primary_email definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:35:56 +0200] rev 7741
[doc] fix ReST in README file (make pypi happier)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 15:22:26 +0200] rev 7740
[web] fix user management view selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 14:30:30 +0200] rev 7739
[base schema] do similar changes as use_email for primary_email
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:58 +0200] rev 7738
[book, rql] update rql langage chapter with new operators and outer join capabilities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:57 +0200] rev 7737
[web]Â closes #1892494: emailaddress and anonymity
notice though mangle-address is weak since address won't be
mangled when fetched through rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:55 +0200] rev 7736
[3.13 migration] closes #1896724: some db backend (eg sqlserver) doesn't support ADD COLUMN
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:49 +0200] rev 7735
[source] update system table and internal structures on source renaming. Closes #1896721
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Aug 2011 12:50:48 +0200] rev 7734
[rql2sql] closes #1892473: enhance handling of optional inlined relation
* some outer join aren't supported while they could
* consider newly available 'optcomparisons' st information on variables (rql 0.30)
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 03 Aug 2011 13:28:06 +0200] rev 7733
[schema] use definition for `use_email` relation instead of type declaration (closes: #1894929)
This will be more adaptable for other existent `use_relastion` as the one in the cube Person.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Aug 2011 12:11:36 +0200] rev 7732
[web] rql directive breaks if explicit vid and empty rset (closes #1893433)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Aug 2011 18:16:02 +0200] rev 7731
[datafeed] properly encode/decode external uri
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:37:55 +0200] rev 7730
[querier] we should not insert None but skip the line when some unknown eid is detected (closes #1892491)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:06 +0200] rev 7729
[rql2sql] closes #1892471: support for unary expression introduced in rql 0.30
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Aug 2011 17:31:04 +0200] rev 7728
[deprecation] __message hidden generate deprecation warning
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 10:39:10 +0200] rev 7727
[server] host mapping is better named url mapping (closes #1892461)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 15:52:42 +0200] rev 7726
[packaging] should depend on yams 0.33
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 02 Aug 2011 12:15:17 +0200] rev 7725
[packaging] should depend on yams 0.33
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 18:43:10 +0200] rev 7724
[rql2sql test] sqlserver use 0/1 for booleans, not FALSE/TRUE
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Aug 2011 17:59:48 +0200] rev 7723
[repo] Stop setting hashmode on schema
At best it was a no-op, at worst it created race conditions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Aug 2011 17:58:28 +0200] rev 7722
[devtool] Make the sqlite database used for test execution process specific (closes #1230401)
* Database cache are not impacted.
* This allow multiple process to run test with the same template at the same time
The db-name property return an unaltered value to for database cache mechanism.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:17:45 +0200] rev 7721
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:44 +0200] rev 7720
Added tag cubicweb-debian-version-3.13.3-1 for changeset fb48c55cb802
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 20:15:43 +0200] rev 7719
Added tag cubicweb-version-3.13.3 for changeset 0e82e7e5a34f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:42 +0200] rev 7718
[rql2sql] take care to boolean_value returning an int (eg sqlite/mysql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:23 +0200] rev 7717
[repo test] remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:36:09 +0200] rev 7716
[repo ms] commit/rollback session if it has been created in the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:06:25 +0200] rev 7715
3.13.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 19:05:58 +0200] rev 7714
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 18:08:39 +0200] rev 7713
[sql] more test and fix boolean handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 16:44:02 +0200] rev 7712
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Jul 2011 16:43:07 +0200] rev 7711
[repo test] Fix test broken by BFSSTestable
changeset bd56a29acaa8 broke several fragile test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 15:42:02 +0200] rev 7710
[sql]Â fix querying of boolean value w/ sqlite
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:26:13 +0200] rev 7709
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:24:40 +0200] rev 7708
[datafeed] for datafeed source, we don't want commit in extid2eid but explicitly handled by the source. Also, we should use 'safe' internal session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:22:32 +0200] rev 7707
[sql gen] handle optional on comparison node (eg HAVING expression) and on rhs of final relation. Closes #1859609
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:17:47 +0200] rev 7706
[session] safe internal sessions don't deactivate integrity hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 14:03:09 +0200] rev 7705
[sql test] lgdb > 1.6 use int for bool with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jul 2011 12:26:57 +0200] rev 7704
[rql2sql] don't introduce substitution for Int and Boolean constants. This is needed for COUNT(DISTINCT) support
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 27 Jul 2011 12:25:48 +0200] rev 7703
[css] syntax fix in cubicweb.css
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 19:34:43 +0200] rev 7702
[entities] skip_copy_for should be considered for object relations too (closes #1857474)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:06 +0200] rev 7701
[datafeed] case insensitive etype. Closes #1877014
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:50:02 +0200] rev 7700
[datafeed] closes #1875322: empty tag means None value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:49:10 +0200] rev 7699
[datafeed] properly take care to cwsource=system in imported xml. Closes #1877017
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:35:10 +0200] rev 7698
[datafeed / fti] rather control a 'complete' parameter than setting empty attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:34:42 +0200] rev 7697
[repo api] deprecates source.extid2eid, only the system source should implement it,
and one should directly use the repo api instead of this confusing and
error-prone short-cut. Deprecates eid2ext as well for consistency.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:52 +0200] rev 7696
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 16:33:43 +0200] rev 7695
backport oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Jul 2011 16:33:06 +0200] rev 7694
[bfss] Fix update of BFSS attribute to None (close #1875289)
The current code assume attr value is alway a valide Binary value. But when the
attr is optional, the value might be None. The change handle this case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 26 Jul 2011 16:05:36 +0200] rev 7693
[skeleton/pytestconf] provide an acceptable solution for windows, closes #1875488
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 26 Jul 2011 13:11:37 +0200] rev 7692
[facets] make sure has_text facet data is posted correctly (closes #1857405)
Posted data was associated to facet id (e.g. has-text-123098dasdf898adssdd)
rather than facet name (i.e. has-text).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:25:10 +0200] rev 7691
[rql] fix min/max args definition of [TEXT_]LIMIT_SIZE registered procedures (long outstanding bug discovered after recent fix in lgdb)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:21:26 +0200] rev 7690
[schema]Â rephrase relation definition since constraint doesn't apply to CWRelation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 11:01:17 +0200] rev 7689
[datafeed] closes #1873616 (user's url corruption when etype is not recognized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jul 2011 10:33:26 +0200] rev 7688
[schema]Â restrict source mapping 'cw_schema' relation to non final relation, we currently have no use for attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:58:05 +0200] rev 7687
[c-c db-check]Â add some sql queries to fix cw_source/is/is_instance relations according to data in the entities table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 15:41:17 +0200] rev 7686
[c-c db-check] missing comma ending print statement to get expected output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:38 +0200] rev 7685
[c-c db-check] disable write security as well so we can delete stuff when needed (e.g. orphan TrInfo)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2011 08:34:03 +0200] rev 7684
[c-c db-check] having no owner is allowed, don't try to fix that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:21:14 +0200] rev 7683
[metadata, ldap] make backport of ldap user actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 14:20:45 +0200] rev 7682
[c-c db-check] drop some deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:16:32 +0200] rev 7681
[index page] use 'New xxx' generated labels, 'add a xxx' labels are only generated according to inlined form configuration and with an associated context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 11:15:24 +0200] rev 7680
[doc packaging] prune _sources containing generated text file, include js else search doesn't work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2011 08:41:12 +0200] rev 7679
[boxes] 3.13.2 regression: should specify dom id else we may generate bad xhtml
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jul 2011 07:54:04 +0200] rev 7678
[facets] fix missing 'warnings' import and missing self reference on 'filtered_variable'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:22:41 +0200] rev 7677
stable is now 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 18:21:47 +0200] rev 7676
oldstable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:37 +0200] rev 7675
Added tag cubicweb-debian-version-3.13.2-1 for changeset 9ad5411199e0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:49:35 +0200] rev 7674
Added tag cubicweb-version-3.13.2 for changeset f9227b9d6183
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 17:16:28 +0200] rev 7673
3.13.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:03 +0200] rev 7672
[rql2sql] closes #1832859: fake HAVING terms w/ EXISTS terms
there are cases where we want to use the HAVING trick on terms that should
belong to an EXISTS subquery. Currently , this causes bad sql. We should fix
that until we've a proper rql grammar avoiding the need for this trick.
Notice at some point, we may want **actuall** HAVING clauses and GROUPBY used
in EXISTS subquery, but that's another story.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:10:02 +0200] rev 7671
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2011 14:09:42 +0200] rev 7670
[boxes] closes #1832844: translate views category in possible views boxes
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Jul 2011 12:31:03 +0200] rev 7669
[cwctl] set min/max args for reset admin password command. Closes #1832986
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 18 Jul 2011 17:51:55 +0200] rev 7668
[web] Image optimisation using trimage (pngcrush inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 17:51:46 +0200] rev 7667
[preferences js] jquery 1.6 needs quote when querying attribute value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 16:37:11 +0200] rev 7666
fix test broken by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:34 +0200] rev 7665
[session] add session id to closed connection errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:48:09 +0200] rev 7664
unsaved change...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 15:13:46 +0200] rev 7663
[facets] closes #1827464: facet box always appear
by implementing proper selectors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 12:13:53 +0200] rev 7662
[uilib] fix bad argument order, introduced by previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jul 2011 11:33:44 +0200] rev 7661
[uilib] reimplement printable_value function using a dictionary so one can easily change how to base type is displayed everywhere in the application. Closes #1827465
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 17:50:31 +0200] rev 7660
closes #1826543: error on some ajax_replace_url call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:42 +0200] rev 7659
Added tag cubicweb-debian-version-3.13.1-1 for changeset cc0578049cbe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 14:04:41 +0200] rev 7658
Added tag cubicweb-version-3.13.1 for changeset 7d84317ef185
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:52 +0200] rev 7657
3.13.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:29:47 +0200] rev 7656
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:23:43 +0200] rev 7655
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:03 +0200] rev 7654
Added tag cubicweb-debian-version-3.12.9-1 for changeset 92464e39134c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 12:22:02 +0200] rev 7653
Added tag cubicweb-version-3.12.9 for changeset cb2990aaa63c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:30:18 +0200] rev 7652
3.12.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:43 +0200] rev 7651
[repo, ms] fix planning of some queries where variable 'non-invarianess' should be considered, leading for instance to junk in entities table on source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 11:27:42 +0200] rev 7650
[repo] closes #1821172: fix source deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2011 10:36:22 +0200] rev 7649
[ajax, IE] rewrite some code to avoid duplicated evaluation with IE
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 19:48:37 +0200] rev 7648
[repo, hooks] small task optimization: don't start cleanup_old_transactions when undo support is not activated, and retrieve a session to update a source only when some source to update is found
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 15:05:19 +0200] rev 7647
[http] closes #1816411, restore expires_header on static files in non-debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 13:45:04 +0200] rev 7646
[native source] fix bug introduced in 7645:cb2459aaa7d7: fetchone() may return None
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 13:23:37 +0200] rev 7645
[source] closes #1816412: try to reconnect to dbms if connection is reset in eid_type_source()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Jul 2011 12:39:05 +0200] rev 7644
[twisted] add an option to configure twisted's threadpool size
Twisted's threadpool size defaults to 10, which means we virtually try
to serve up to 10 simulateneous requests but connection-pool size
defaults to 4 on CW-server side. That means that under heavy load, chances
are high that some HTTP queries end up with a 500 error code / connection-pool
exhausted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 11:56:47 +0200] rev 7643
[book, form] include complete example of self-posted form with custom field/widget + minor other changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:21:44 +0200] rev 7642
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:25 +0200] rev 7641
[datafeed] don't raise bad config error on source initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:18:18 +0200] rev 7640
[schema] closes #1816439: RQLConstraint does not take variable U into account
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Jul 2011 09:15:54 +0200] rev 7639
[web form] avoid mis-formated warning for _cw_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:43:21 +0200] rev 7638
[doc, hook] more backport of syt mbox documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:21 +0200] rev 7637
[book, ldap] backport some doc from my mailbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:33:06 +0200] rev 7636
[book] fix some urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:14 +0200] rev 7635
[book, forms] talk about cnx.use_web_compatible_request instead of custom monkey-patching
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:25:07 +0200] rev 7634
[book] drop gae from the book
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:46 +0200] rev 7633
[book, admin] include some fixes done by auc in an email to me
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 18:20:23 +0200] rev 7632
[book] fix some rest/sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 17:06:50 +0200] rev 7631
[repo test] fix broken tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:47:34 +0200] rev 7630
closes #1784285: [rql2sql] crash when using a relation for inner and outer join
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 16:22:08 +0200] rev 7629
[range facet] closes #1806937: simply retrieve min/max values when computing vocabulary/possible_values, this is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 13:53:00 +0200] rev 7628
[facet] fix facet values update, broken by 7626:56300bec75f8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:15 +0200] rev 7627
[facet slider] quote attribute value, else may break with earlier jquery
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:34:05 +0200] rev 7626
[facets] use unique dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:55 +0200] rev 7625
[facet] with rql path facet rel may be None, handle it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:33:39 +0200] rev 7624
[facet] closes #1806932: test and fix facet bug w/ having query (need rql update)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:50 +0200] rev 7623
[ajax js loading] when everything is already loaded, don't do anything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:10:37 +0200] rev 7622
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2011 11:08:58 +0200] rev 7621
[IE, plot] ship with jqplot'excanvas version (include http://code.google.com/p/explorercanvas/issues/detail?id=82 for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 14:49:17 +0200] rev 7620
[etwist, modconcat] closes #1806935: directly write data, don't put the whole concatenated thing in memory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 12:09:53 +0200] rev 7619
[etwist] clear ui cache at server startup time. Closes #1806933
this avoid pb when cubicweb/cubes provide new version of some js/css and also accumulating junk in the cache directories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:54:52 +0200] rev 7618
[facet] closes #1806931: new facet type, based on arbitrary rql path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:52:34 +0200] rev 7617
[selectors, test] remove duplicated test and add some for relation_possible selector w/ rqlst
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Jul 2011 10:48:40 +0200] rev 7616
[repository] catch Exception instead of everything
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Jul 2011 16:46:29 +0200] rev 7615
[facet] fix argument inversion in date range facet
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Jul 2011 12:37:44 +0200] rev 7614
[facetbox] put the facet box in a box
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 01 Jul 2011 20:14:20 +0200] rev 7613
[doc] fix broken links
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:44:03 +0200] rev 7612
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:43:16 +0200] rev 7611
[test] fix test, code from 3.13 gone in 3.12 accidentaly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 18:42:36 +0200] rev 7610
[selectors, facet] make is_instance and other EClassSelector subclass gather entity classes from 'select' and 'filtered_variable' context information. Closes #1796732
This allow for instance to use the filter form on rqlst where the filtered variable is not selected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:57 +0200] rev 7609
[facets] DontUpdateConstraint mecanism introduced a few commit ago isn't needed: we already have the 'needs_update' property controlling this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 16:20:45 +0200] rev 7608
[facet] more api cleanup: support_and should be a property, so it's easier to deactivate.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:45 +0200] rev 7607
[range facet] refactor to ease overriding, possible_values raise DontUpdateFacet (not handled by js actually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:44 +0200] rev 7606
[facets] allow to specify on which rqlst's variable facets should be applied. Closes #1795915
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:43 +0200] rev 7605
[facets] refactor / cleanup facet api: more consistent variable naming and easier to reuse function. Closes #1796804
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:26:33 +0200] rev 7604
backport stable
Florent Cayré <florent.cayre@gmail.com> [Fri, 01 Jul 2011 15:26:12 +0200] rev 7603
[schema / rql] fix mainvars of RRQLExpression with parens
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:23:25 +0200] rev 7602
[facets js] better cubicweb:facetargs handling and avoid initializing a same form twice (that may occurs)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 15:22:43 +0200] rev 7601
[facets] should remove groupby from base rqlst. Closes #1796196
as we search for values for a variable, there seems to be no case
where we would be interested in groups, though there are clearly
some were leaving groups cause errors.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 13:39:45 +0200] rev 7600
[facets] factorize table filter form / facets box generation, moving out filter form from the table view so it's usable from other views. Closes #1794009
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:48:39 +0200] rev 7599
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 12:20:24 +0200] rev 7598
[worklow forms] rewrite remaining pre 3.10 form code using uicfg
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 29 Jun 2011 13:03:04 +0200] rev 7597
[doc] SQL Server isolation level settings
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 30 Jun 2011 09:46:33 +0200] rev 7596
new rql2sql unit tests for ORDERBY and LIMIT checks in SQLServer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:51:04 +0200] rev 7595
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Jul 2011 11:27:20 +0200] rev 7594
[cwc shell] add ``--password`` option to ``reset-admin-pwd`` (close #1794866)
This will help batch. The help warn it's not very secure.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:19:12 +0200] rev 7593
[c-c instance commands] keyboard interrupt should stop the command, not jump to the next instance. Closes #1794850
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Jul 2011 11:18:16 +0200] rev 7592
[rset] syntax_tree impl. consistency: don't return an annotated syntax tree
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 16:29:15 +0200] rev 7591
[cw-ctl] add command versions to list versions of cubes used by an instance (closes #508052)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:37 +0200] rev 7590
closes #1793991: [datafeed] error handling: log unexpected exceptions / don't stop on first validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 16:26:25 +0200] rev 7589
[web session] fix bad cleanup of session without a connection set. Closes #1772125
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 13:38:30 +0200] rev 7588
[i18n] fix undetected conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Jun 2011 08:27:56 +0200] rev 7587
[rql2sql tests] fix erroneous case (tested with psql)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 20:57:28 +0200] rev 7586
add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 19:03:21 +0200] rev 7585
drop unittest deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:57:23 +0200] rev 7584
[form, controller] closes #1787233: form should provide a method to process posted content
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:43:33 +0200] rev 7583
[forms] fix import, gone into the wrong patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:29:13 +0200] rev 7582
[form, renderer] closes #1787234: [form] onsubmit interpolated by the form renderer, it shouldn't
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:55 +0200] rev 7581
[form renderers]Â closes #1787232: new 'onerowtable' form renderer
so it's easy to retrieve a dictionary of {field name : typed value} for a custom,
no entity related, form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:28:36 +0200] rev 7580
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:23 +0200] rev 7579
[rql2sql] more cases fixed where something is wrongly added to GROUPBY, causing unexpected results for the query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 18:27:01 +0200] rev 7578
[book] rewrite / complete the RQL language chapter
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 18:26:29 +0200] rev 7577
[all] remove pattern "try: function() except AttributeError: pass" (closes #1787966)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 29 Jun 2011 14:05:14 +0200] rev 7576
[cw-ctl] command list should not break when cube depends on version None (closes #1787209)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:13:09 +0200] rev 7575
[uilib] new js_dumps function allowing usage of bare js string (wrapped into JSString)
modify magic 'js' object to consider them as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:04:01 +0200] rev 7574
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 16:02:24 +0200] rev 7573
[repo, looping task] raise a custom exception when repository is shuting down, avoid looping task to be restarted in such case. Closes #1021276
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:50:26 +0200] rev 7572
[formfields] use support_args instead of catching type error avoid hiding other issues and making debugging difficult
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Jun 2011 15:49:47 +0200] rev 7571
[cw.ajax] fix loadxhtml documentation and warn when called on an empty elements list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 17:59:31 +0200] rev 7570
[etwist]Â log missing file even in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:33:53 +0200] rev 7569
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Jun 2011 16:32:38 +0200] rev 7568
[test] run and fix utils and uilib doctests
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 28 Jun 2011 13:16:09 +0200] rev 7567
Display proper date in plot/flot (closes #1725589)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Jun 2011 11:20:33 +0200] rev 7566
[doc] fix NameError in bfss tutorial
Florent Cayré <florent.cayre@gmail.com> [Mon, 27 Jun 2011 18:48:30 +0200] rev 7565
[js/css concat] do not return 404 when resources of a concatenated data URL does not exist, unless in debugmode; closes #1745644
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:46:08 +0200] rev 7564
[server] "overrule" case insensitivity of database name (closes: #611294)
The only instances where you are required to use quotes are either when a database
object's identifier is identical to a keyword, or when the identifier has at least
one capitalized letter in its name. In either of these circumstances, you must
remember to quote the identifier both when creating the object, as well as in any
subsequent references to that object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 18:38:08 +0200] rev 7563
[tests] update repository tests with new `use_cwuri_as_url` attribute
This attribute was intriduced by changeset 92fd4b777016
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:30:52 +0200] rev 7562
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:52 +0200] rev 7561
Added tag cubicweb-debian-version-3.12.8-1 for changeset cf49ed55685a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 15:17:49 +0200] rev 7560
Added tag cubicweb-version-3.12.8 for changeset 50122a47ce4f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Jun 2011 13:59:07 +0200] rev 7559
3.12.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 16:59:45 +0200] rev 7558
[migration] litle enhancements and a fix to patch accidentally pushed two revisions ago
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Jun 2011 10:24:40 +0200] rev 7557
[controller] UndoController: fix output method (closes: #1776091)
Fix buggy direct output in `UndoController.publish()`.
Raise now a ValidationError instead of malformed string
Changes:
* raise ValidationError when an error occured in undo
* use the new message mechanism based on _cwmsgid
If errors are not fatal, you have to change publish() method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:10:37 +0200] rev 7556
[migration] closes #1777411: schema modification commands shouldn't crash if already exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Jun 2011 14:02:29 +0200] rev 7555
[rqlrewrite] closes #1772135: 1. don't try to reuse a relation from another statement (eg because a subquery has been introduced) 2. _use_orig_term should consider the current statement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jun 2011 07:41:25 +0200] rev 7554
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:38 +0200] rev 7553
[datafeed cw parser] refactor: split logic that was in the parser
into:
* an "item builder" component, turning an etree xml node into a specific
python dictionnary representing an entity
* "action" components, selected given an entity, a relation and its role
in the relation, and responsible to link the entity to given related
items (eg dictionnary)
This changes make it easy to add new action or to override existing
one's behaviour according to the entity, the relation, etc...
Also refactor the xml view so one can also override what's
included in the tag used to mark the entity as used by a relation,
hopefully allowing to reduce the number of http requests needed for
a full datafeed import.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:53:36 +0200] rev 7552
[datafeed, entities] url for entities from a datafeed source should be on their origin site. Closes #1769391
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:24:56 +0200] rev 7551
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 18:23:44 +0200] rev 7550
[3.10] fix typo and error for pre 3.10 migration w/ postgres: we *must* call init_creating else the fti isn't correctly initialized, which may lead to silently rollbacked transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 16:34:27 +0200] rev 7549
[migration] don't add CWUniqueConstraint if already there (may occurs when running a migration in multiple times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 12:31:55 +0200] rev 7548
[datafeed] catch all exception, we should continue to process other urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 17:49:32 +0200] rev 7547
fix 3.13.1 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7546
Added tag cubicweb-debian-version-3.12.7-1 for changeset a07517985136
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7545
Added tag cubicweb-version-3.12.7 for changeset 628fe57ce746
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 14:47:24 +0200] rev 7544
3.12.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:57:25 +0200] rev 7543
[ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
this is needed since for entities from 'copy based sources' such as
datafeed, we want entity.cw_metainformation() to return as 'source'
the datafeed source, not the system source (ie the source where the
entity is actually stored).
For both performance and bootstraping reasons, we should store this
information in the `entities` table and in the _type_source cache.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:52:19 +0200] rev 7542
fix 3.13.0 migration script (closes #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:44:43 +0200] rev 7541
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:49:00 +0200] rev 7540
fix 3.12.0 migration script (closes: #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 19:13:38 +0200] rev 7539
[test] update to 3.13 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 12:55:40 +0200] rev 7538
[migration] when there are no data migration needed, we still want to rewrite the configuration and to restart the server. Closes #1760927
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 18 Jun 2011 23:27:23 +0200] rev 7537
[migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:53:33 +0200] rev 7536
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:51:01 +0200] rev 7535
[rqlrewrite]Â test and fix rql snippets insertion when several snippets match an optional variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:50:13 +0200] rev 7534
[datafeed, cw.xml] xml now carry entity's source information, interpreted at the other end so that for instance when an entity from elo is seen when importing cwo, it's properly marked as coming from elo source if one exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:49:55 +0200] rev 7533
[datafeed] actually raise on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:36:52 +0200] rev 7532
[python 2.5] compat fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:13:33 +0200] rev 7531
[datafeed, cwxml] parser now try to complete source's urls so one can add url such as <myinstance>/project. Closes #1759908
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 09 Jun 2011 16:41:41 +0200] rev 7530
[server] fix unicode conversion capability in UndoException
By overriding the __unicode__ method, we ensure unicode builtin will return
Unicode object even for python versions that don't have a __unicode__ method by
default (python < 2.6)
In previous versions, when this method is not defined, string conversion is
attempted, and the result of string conversion is converted to Unicode using
the system default encoding which is ascii the most of the time.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 16 Jun 2011 12:31:27 +0200] rev 7529
[book] add autoload section from code and fix sphinx warnings
* drop misleading faq entry since clear explanation can be found in internationalization chapter
* use autodata sphinx directive instead of raw text
* fill empty chapter with autodoc:
- devweb/httpcaching.rst
- devweb/resource.rst
- devweb/views/idownloadable.rst
- devweb/views/wdoc.rst
* use shebang in excerpt to denote shell code
* fix some bad indented docstrings in javascript files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 09:37:49 +0200] rev 7528
[controller] fix wrong view name when error occurs in UndoController
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:46:39 +0200] rev 7527
[datafeed] renaming parser attribute to parser_id makes things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:38:28 +0200] rev 7526
cleanup and assert we don't import unexpected stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:37:59 +0200] rev 7525
[source config] fix synchronization on configuration entity changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 17:02:50 +0200] rev 7524
[ui, sources] configure source form: hide synchronizing and mapping entities, use simple text input for parser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:52:05 +0200] rev 7523
[rql annotation] fix bad invariant variable w/ has_text relation: this is only true when has_text will be used as principal (though we don't know that yet)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:58 +0200] rev 7522
[test] update to new db handler api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:22 +0200] rev 7521
[querier] turn remove_clauses/restore_clauses into a context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:15:25 +0200] rev 7520
[devtools pg handler] some fixes so we get proper error when pg host is not reachable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 11:29:31 +0200] rev 7519
[rdf] add method so one can call entity.view('rdf')
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:22:05 +0200] rev 7518
[web test] fix unittest_web
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:19:36 +0200] rev 7517
[ajax edition] freeze form button when calling validateForm, so it freeze nicely for e.g. comment submitting form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:15:55 +0200] rev 7516
[web page tracking] fix bug introduced by parent revision
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:34:23 +0200] rev 7515
closes #1484510: ajax_replace_url should propagate page id (until an underlying api does it automatically
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:16:19 +0200] rev 7514
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:14:40 +0200] rev 7513
[repo integrity] test and fix glob add relation where several entities are added at once for a relation of 1? cardinality
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 17:13:26 +0200] rev 7512
[packaging] Build the cubicweb-documentation package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:09:44 +0200] rev 7511
[breadcrumbs] closes #1717489: Double escaping in breadcrumbs
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 12:48:04 +0200] rev 7510
[donc] Fix building the cubicweb js documentation
Avoids errors such as:
Exception: Bad file id cubicweb.lazy referenced in INDEX_IN_ORDER in ../../../doc/tools/pyjsrest.py, fix this please
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:22 +0200] rev 7509
add an XXX
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:06 +0200] rev 7508
fix 3.10 cwproperties migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:25 +0200] rev 7507
fix failures introduced by recent refactoring
* * *
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:20 +0200] rev 7506
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:40 +0200] rev 7505
[migration] this is needed to avoid pb with yams 0.33 / cw < 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:39 +0200] rev 7504
[sync schema hooks] consider etype name map before trying to update in-memory schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:10 +0200] rev 7503
[repository] refactor and optimize '?1' relation handling
* only skip auto remove if activeintegrity is explicitly disabled
* do it even for inlined relation, so hooks are properly called
* on entity creation, only cleanup what's needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7502
[session] deprecates schema_rproperty in favor of more optimized rtype_eids_rdef which return the rdef (so reusable to gather other data)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7501
[repository] refactor/cleanup entity deletion methods
* kill unused Repository.delete_info_multi (no leading _)
* kill unnecessary system_source.delete_info (almost no benefit over
delete_info_multi)
* stop giving entities list *and* extid list, gather them from
the entity when needed
* move pending eids handling into glob_delete_entities, so one can
call it directly without worrying about that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:46:36 +0200] rev 7500
[repository] new hook selector according to configuration's repairing flag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:43:36 +0200] rev 7499
[pyrorql] don't display traceback on connection error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 11:54:41 +0200] rev 7498
[data hook] new .union operation on DataOperationMixIn, only when container is a set, not a list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 11 Jun 2011 09:22:25 +0200] rev 7497
[rql2sql] add test case for 7493:3c46b9390871
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:41:41 +0200] rev 7496
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:17 +0200] rev 7495
[hooks] use local variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:11 +0200] rev 7494
[integrity hooks]Â remove dead code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 16:54:20 +0200] rev 7493
[rql2sql] fix for some queries where eid variable used and entities picked as variable's table
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 10 Jun 2011 15:35:59 +0200] rev 7492
[js] add missing jquery.qtip.min.js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:47 +0200] rev 7491
Added tag cubicweb-debian-version-3.13.0-1 for changeset a96137858f57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:46 +0200] rev 7490
Added tag cubicweb-version-3.13.0 for changeset b661ef475260
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 20:18:49 +0200] rev 7489
3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 18:13:14 +0200] rev 7488
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7487
Added tag cubicweb-debian-version-3.12.6-1 for changeset 105767487c70
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7486
Added tag cubicweb-version-3.12.6 for changeset a18dac758150
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:10:22 +0200] rev 7485
3.12.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:09:23 +0200] rev 7484
[repo test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 15:29:55 +0200] rev 7483
[doc, apache] add ProxyPreserveHost hint + note about https /w http configuration
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 09 Jun 2011 14:37:32 +0200] rev 7482
[doc] Small addition to apache configuration in book
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:31:28 +0200] rev 7481
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:27:35 +0200] rev 7480
[parsers] format read by web/views/xmlrss is relation=%s-%s not %s_%s
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 09 Jun 2011 12:16:10 +0200] rev 7479
[sql] implement #1631319: ask user before creating postgresql languages
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:32:34 +0200] rev 7478
[parsers] improve url construction by using stdlib's urllib instead of str concatenation
fix a s/_/-/ bug on the way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 09 Jun 2011 12:20:57 +0200] rev 7477
[bfss] Catch EnvironmentError instead of OSError when trying to read attributes bffstored
This will also catch IOError (as file not found) that might be encountered expectable too.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:37:01 +0200] rev 7476
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:36:28 +0200] rev 7475
[views/iprogress] rename to make things easier to read and understand
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:10:39 +0200] rev 7474
[datafeed cwxml parser] cache processed urls/entities to avoid unnecessary http requests and processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:08:00 +0200] rev 7473
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 15:11:45 +0200] rev 7472
[rql2sql] fix missing sql restriction w/ attribute restriction where value comes from a subquery
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 16:07:06 +0200] rev 7471
[dataimport] fix #1732685: cached entity and shared cw_edited data with NoHookRQLObjectStore
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 12:54:45 +0200] rev 7470
[parsers] fix python2.5 compat problem introduced by 7466:395c966a1cb3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 26 May 2011 14:38:49 +0200] rev 7469
[test] update cubicweb/test/unittest_schema.py (to follow yams#.....)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 10:17:36 +0200] rev 7468
[server] fix NameError (missing VIRTUAL_RTYPES import) in checkintegrity.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 10:07:58 +0200] rev 7467
[schema] fix computing of has_text relation: when a fulltext_container relation is added, we need to recompute has_text for the target entity type as well. Also, avoid computation when not needed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 10:03:31 +0200] rev 7466
[parsers] remove build_search_rql() that duplicates find_entities()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 08:02:11 +0200] rev 7465
[vreg] help understanding assertion error
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 19:54:37 +0200] rev 7464
[datetime] by default display 'UTC' string when displaying TZDatetime
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 17:44:43 +0200] rev 7463
[test] update test to avoid failure
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 16:33:21 +0200] rev 7462
[web] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:19:19 +0200] rev 7461
[datafeed]Â fix stupid error introduced by 'just before qfinish' refactoring...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:13:09 +0200] rev 7460
[schema] support for BigInt type. Closes #1720995
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:52:53 +0200] rev 7459
[test,i18n] update test and i18n catalog to follow addition of 'synchronizing' attribute on sources
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:44:48 +0200] rev 7458
[i18n] update yams error messages (requires yams#67668)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:21:24 +0200] rev 7457
[datafeed] provide a source-sync command to launch source synchronization through the command line. Closes #1725692
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:17:55 +0200] rev 7456
[datafeed] use a boolean flag on CWSource to ensure we don't have concurrent synchronizations. Closes #1725690
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:11:29 +0200] rev 7455
[views] add columns parser and latest_retrieval to cwsource admin view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:03:00 +0200] rev 7454
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:58 +0200] rev 7453
Fix name error introduced in c21d845836e4
c21d845836e4 use a ``vocab`` variable but doesn't define it. I assumed ``vocab`` is
``field.vocabulary(form)``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:05 +0200] rev 7452
Fix conditionnal logic broken in 195b24fe3a03
195b24fe3a03 replace:
if not req.cnx:
by
if getattr(req, 'cnx', True):
The "not" diseapeared in the process.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 14:41:00 +0200] rev 7451
[session] provide a simple transaction context manager for session. Closes #1725640
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Jun 2011 10:20:58 +0200] rev 7450
[formwidgets] make the select size a class attribute (more easily tuned)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 30 May 2011 16:16:19 +0200] rev 7449
[bfss] Make ``current_fs_path`` return None when an attribute has no value
current_fs_path was returning the future fspath when no value was defined.
* This does not make any sense
* This tricks the storage into believing that updating the attribute content is
not necessary. The file was written but the attributes was not updated. as a
result the assignement was not made.
(close #1725446)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 May 2011 17:43:29 +0200] rev 7448
[selectors] take care, Session has no cnx
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 13:57:25 +0200] rev 7447
don't crash if we can't fetch data or if xml is malformed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 11:17:02 +0200] rev 7446
[datafeed] extract some methods from pull_data to ease writing custom datafeed sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 09:56:26 +0200] rev 7445
drop useless code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:55 +0200] rev 7444
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:41 +0200] rev 7443
[datafeed] we should use utc timestamp to avoid pb with local times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:57:15 +0200] rev 7442
[test] fix failure introduced by yams'changeset 644:f9c79356b758
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:32:15 +0200] rev 7441
[testlib] add convenience assertion method to check __message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:12:42 +0200] rev 7440
[test] fix failure introduced by 1719eab69551: the regexp should be fixed, not the error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 18:46:09 +0200] rev 7439
[web test] fix test failures introduced by 7431:cab99ccdb774
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 14:14:08 +0200] rev 7438
backport stable changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 14:08:29 +0200] rev 7437
[ui message] fix regression introduced by 7429:ef5165fa99e0, leading to 'None' message displayed in the ui
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:39:08 +0200] rev 7436
backport stable changes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:36:25 +0200] rev 7435
[json controller] fix .exception call msg format string (missing one slot)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 12:35:33 +0200] rev 7434
[test] fix tests broken by 7427:5338d895b891
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:42:31 +0200] rev 7433
merge default heads
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 25 May 2011 11:41:16 +0200] rev 7432
[ui messages, xss] Start migration towards use of _msgid instead of __message (prone to XSS injection) closes #1698245
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:40:10 +0200] rev 7431
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:39:54 +0200] rev 7430
[ui messages] make application message component works when request has no cnx set and support for explicit message given through render argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:59:26 +0200] rev 7429
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:58:43 +0200] rev 7428
[web session] fix session handling so we get a chance to have for instance the 'forgotpwd' feature working on a site where anonymous are not allowed
fix several pbs:
* we need a session id and a session cookie anyway, else subsequent http queries are unrelated
* this imply some changes in the session attribution workflow for session without a cnx
* some views/selectors must be fixed for cases where session has no cnx
On the way, avoid unnecessary Redirect on successful login.
closes #750543
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 11:28:58 +0200] rev 7427
[ajax js/css] modconcat fix: load code exactly once (auc, fcayre)
* introduces cw.ajax namespace (currently hosts only recent modconcat functionality)
* handle load-one/load-many-at-once edge case
* properly handle already-loaded js resource
* avoid .appendTo to trigger script evaluation since from jquery 1.5 this results in uncached ajax calls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 08:51:45 +0200] rev 7426
[test] update test broken by previous commit
Florent Cayré <florent.cayre@gmail.com> [Wed, 25 May 2011 08:35:20 +0200] rev 7425
[entity fetch_attrs] remove ambiguous relations on different etypes from fetched attrs or it may produce wrong related results; closes #1700896
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 24 May 2011 10:33:43 +0200] rev 7424
typo : s/undoed/undone/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 May 2011 11:36:43 +0200] rev 7423
[cwvreg] inline function dump_class()
Grepping the entire code base (cubicweb+all the known cubes) shows that
inlining this function is harmless: no one is using it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 May 2011 08:56:55 +0200] rev 7422
[js/ajax] undeprecate (async)remoteExec. closes #1381205
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 May 2011 08:49:58 +0200] rev 7421
[rql2sql] closes #1697862: ORDERBY SUM(C) cancel GROUPBY by wrongly adding C to grouped variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:35:09 +0200] rev 7420
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7419
Added tag cubicweb-debian-version-3.12.5-1 for changeset 6dfe78a0797c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7418
Added tag cubicweb-version-3.12.5 for changeset ae33197db1f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:34:29 +0200] rev 7417
3.12.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:28:03 +0200] rev 7416
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:27:00 +0200] rev 7415
[views/table (facetform)] introduced in facetbox, was missing in tableview form filter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:22:30 +0200] rev 7414
[web.facet] self.w -> w
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:09:01 +0200] rev 7413
[web/facet|views/table] bump a bit some heights, split table view methods for easier subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:29:50 +0200] rev 7412
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:55 +0200] rev 7411
cleanup and update some copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:33 +0200] rev 7410
[migractions] fix change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:15 +0200] rev 7409
[migractions] dropped_constraints should accept only droprequired without cstrtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:20:51 +0200] rev 7408
[form rendering] some refactoring to ease FormRenderer overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:49:57 +0200] rev 7407
[deprecation] drop remaining warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:48:26 +0200] rev 7406
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:46 +0200] rev 7405
[session] new methods on session to ease access to security/hooks control context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:01 +0200] rev 7404
[workflow] new 'fire_transition_if_possible' method on IWorkflowable to fire a transition if it's possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:00 +0200] rev 7403
[workflow] new 'incontext-state' view for IWorkflowable entities
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 May 2011 16:39:24 +0200] rev 7402
[facets/table] vertically group facets by two when possible in order to have a more compact horizontal layout in table filter form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 15:56:49 +0200] rev 7401
[workflow] add method on IWorkflowable to set initial state of an entity (closes #1686357)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 11:50:54 +0200] rev 7400
[web test] fix test broken by making cw_source editable by managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:17 +0200] rev 7399
[multi-sources] support for moving an entity from an external source (closes #343818)
Original need is to move a user from a ldap source to the system source so
we can delete it from ldap without loosing information into the cubicweb
instance.
We can't wait for the user to be deleted from the ldap since it will be too
late then to get back user attributes, so it has to be a manual operation to
operate before actual deletion. This makes sense for other sources as well.
So the idea is to make the "Any cw_source CWSource" relation editable by
managers, and to watch changes of it. We then check the move is possible
(ie from an external source to the system source) and do necessary stuff
(essentially changing source information and copying data into the system
source).
Remaining pb is that we don't want the moved entity to be reimported later.
To distinguish this state, the trick is to change the associated record in
the 'entities' system table with eid=-eid while leaving other fields
unchanged, and to add a new record with eid=eid, source='system'. External
source will then have consider case where `extid2eid` return a negative eid
as 'this entity was known but has been moved, ignore it'.
Notice no ui is provided yet, it has currently to be done in a c-c shell.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:11 +0200] rev 7398
[repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Also document session's data storage and some other internals.
Hopefuly things will get clearer.
Closes #1684860: vocabulary confusion in repository code: notion of 'pool'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:36:26 +0200] rev 7397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:35:20 +0200] rev 7396
[rql2sql] fix in 7394:d11d88bd08e8 was actually not needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:43:23 +0200] rev 7395
[rset] close #1683703: rset.get_entity crash on rql query with subquery and aggregat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:40:44 +0200] rev 7394
[rql2sql] fix generated sql for eid comparison. closes #1638695
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:05:11 +0200] rev 7393
fix some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:04:47 +0200] rev 7392
[querier test] test groupby function call / column number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 May 2011 07:37:13 +0200] rev 7391
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 21:41:50 +0200] rev 7390
[plot views] don't paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:25:33 +0200] rev 7389
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:24:00 +0200] rev 7388
[url rewriting] fix nasty bug in build_rset inner function: the same dictionary is used by all queries, hence triggering potentially important bugs on concurrent requests (this dictionary goes back and forth the repository)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 17:05:22 +0200] rev 7387
[hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)
the idea is to make a first pass over all the hooks in the registry and to mark
put some of them in a disabled list. The disabled hooks are the one which:
* are disabled at the session level
* have a match_rtype or an is_instance selector which does not
match the rtype / etype of the relations / entities for
which we are calling the hooks. This works because the
repository calls the hooks grouped by rtype or by etype when
using the entities or eids_to_from keyword arguments
Only hooks with a simple selector or an AndSelector of simple
selectors (is_instance and match_rtype) are considered for disabling.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 11:36:42 +0200] rev 7386
[repo test] datafeed parser's process method should now take raise_on_error argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 10:17:48 +0200] rev 7385
[datafeed] propagate raise_on_error to parser's process method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 16 May 2011 10:19:22 +0200] rev 7384
[http] Make a better __repr__ for Status responce exception.
This help debug.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 May 2011 18:47:03 +0200] rev 7383
[schema] fix imprecise error message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 13 May 2011 14:58:16 +0200] rev 7382
fix name error introduced in previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:51 +0200] rev 7381
[server test] restore logging level after test end
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:48 +0200] rev 7380
[web data] fix datadir handling to avoid web test failure introduced somewhere in default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:42:04 +0200] rev 7379
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:41 +0200] rev 7378
[datafeed] extract a generic DataFeedXMLParser from CWEntityXMLParser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:19 +0200] rev 7377
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:54 +0200] rev 7376
[entity] fix cw_instantiate w/ reverse_ relation crash when either multiple entities are given or an eid instead of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:52 +0200] rev 7375
[cw source ui] fix mapping checking for datafeed source (avoid false positive error, but doesn't check that much things)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 May 2011 10:22:17 +0200] rev 7374
[web request] don't define pageid js variable when one is found in form parameters (eg, page ajax call)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:03:16 +0200] rev 7373
[repo cache] there are some relations we don't want to cache, they may cause memory leak
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:02:27 +0200] rev 7372
[c-c shell] we should commit the migration handler, cnx is not None unless connected through pyro
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:06:41 +0200] rev 7371
[cwpermission, cwgroup] convenience method on CWGroup to grant a local permission (ie CWPermission) on an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:05:59 +0200] rev 7370
[cleanup] kill some remaining traces of goa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:04:29 +0200] rev 7369
[c-c shell] closes #1669147: autocommit in maintenance scripts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:41:21 +0200] rev 7368
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:01 +0200] rev 7367
Added tag cubicweb-debian-version-3.12.4-1 for changeset 7c4d34a5ec57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:00 +0200] rev 7366
Added tag cubicweb-version-3.12.4 for changeset 5cd0dbc26882
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:29:12 +0200] rev 7365
3.12.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:11:51 +0200] rev 7364
missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:04:56 +0200] rev 7363
don't let windmill/qunit test break apycot warning for all web/test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:42:02 +0200] rev 7362
[selectors] enhance rql_condition to make it usable as a condition on request's user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:39:51 +0200] rev 7361
[repo test] fix test broken by c2452cd57026 by using proper fake session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:38:44 +0200] rev 7360
[testlib] fake session can be given a vreg
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:30 +0200] rev 7359
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:18 +0200] rev 7358
fix some test failures introduced by 7350:c2452cd57026
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:50:13 +0200] rev 7357
[rql2sql] fix bug avoiding outer join relation to be used as a variable principal. Closes #1659395
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:17:55 +0200] rev 7356
resurrect code lost by too much patch manipulation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:23:48 +0200] rev 7355
backport stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 02 May 2011 20:41:46 +0200] rev 7354
[parsers] various refactorings
- inline method process_one
- rename value to others in action methods
- turn _complete_url into _complete_item
- turn _related_link callbacks into a boolean parameter create_when_not_found
- fix spelling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:15:43 +0200] rev 7353
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:08:41 +0200] rev 7352
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:07:14 +0200] rev 7351
fix _set_relation when no target eids, update datafeed source pull_data arguments to raise on error during tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 12:07:54 +0200] rev 7350
[session] enhance session's transaction storage handling to fix cases where commit/rollback is done while in the context of hooks_control/security_enabled managers. Closes #1412648: commit or rollback during postcreate reset hooks control state
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 10:28:29 +0200] rev 7349
[session] nicer local variable names
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 May 2011 07:57:52 +0200] rev 7348
[web server]Â #1642893 issue a 403 instead of a 500 on Unauthorized exception
To do so, we allow an arbitrary code to be passed to ``error_handler``. Default
error code is still 500.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 09 May 2011 18:16:20 +0200] rev 7347
[css] repair selected slice distinctiveness (with a nice, discrete bg color)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 17:42:28 +0200] rev 7346
[view] ability to define a column header through custom label_column_<colindex> method, useful for table view to customize a specific column without specifying others
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:12:17 +0200] rev 7345
[selectors] test/fix rql_condition to make it works when entity is specified via 'entity' keyword argument instead of rset, row and col
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:11:00 +0200] rev 7344
[etwist] fix bug w/ new resources concantenation and https-url enabled sites
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:50:14 +0200] rev 7343
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Apr 2011 12:35:41 +0200] rev 7342
adds support for a portable db import/export format (closes: #1521112)
the db-dump and db-restore cwctl commands are enhanced with a --format option
(defaults to 'native'). If the format is 'portable', then the system database
dump / restore is performed using pure SQL queries and the storage uses picked
Python objects in a zip archive.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 16:33:55 +0200] rev 7341
add a new method iter_process_result which does the same as proces_result but is a generator (closes #1625374)
process_result is reimplemented using the new method, and the two helper
methods are turned into generators.
These generators use cursor.fetchmany instead of cursor.fetchall after setting
cursor.arraysize to 100. This means that the whole result set should never
loaded in memory when using the iter_process_result method. This is used in the
"portable" database dump implementation when we typically to 'SELECT * FROM
table', but could probably be used too in other parts of cubicweb.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:35:10 +0200] rev 7340
[session] lock self._closed and session.close to avoid race conditions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:34:23 +0200] rev 7339
[server test] use a lock instead of sleep to have higher green probability :/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:47:49 +0200] rev 7338
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:03:03 +0200] rev 7337
[testlib] create_user may now create user's email address
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:02:26 +0200] rev 7336
enhanced comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:14:09 +0200] rev 7335
[i18n] en translation fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:49 +0200] rev 7334
[users management] use an existing msgid...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:22 +0200] rev 7333
[cwgroup views] uicfg rules cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:47 +0200] rev 7332
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:36 +0200] rev 7331
[testlib] grant_permission now accept either an entity or en eid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 09:37:07 +0200] rev 7330
[session selector] missing not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:21:31 +0200] rev 7329
[session] new selectors according to session type (eg user or internal
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:58 +0200] rev 7328
[ajax] reload method should return underlying deferred
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:26 +0200] rev 7327
[user mgmt] should show user login in first column in any case (e.g. application specific override)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:44:40 +0200] rev 7326
[component|i18n] give imgs an alt attribute, refresh i18n po files
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:41:42 +0200] rev 7325
[i18n/es] repair es.po
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 11:28:42 +0200] rev 7324
[testlib] fix deprecation warning stack level
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:07:05 +0200] rev 7323
[nav component/cosmetics] have nice looking arrows insteads of << / >>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:52:09 +0200] rev 7322
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:26 +0200] rev 7321
Added tag cubicweb-debian-version-3.12.3-1 for changeset ba8fe4f2e408
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:25 +0200] rev 7320
Added tag cubicweb-version-3.12.3 for changeset e712bc6f1f71
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:30:43 +0200] rev 7319
3.12.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:21:21 +0200] rev 7318
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:21 +0200] rev 7317
Added tag cubicweb-debian-version-3.11.3-1 for changeset b3c6702761a1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:20 +0200] rev 7316
Added tag cubicweb-version-3.11.3 for changeset b7a124f9aed2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:01:18 +0200] rev 7315
3.11.3 hopefuly closing the 3.11 serie
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:28:24 +0200] rev 7314
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:26:28 +0200] rev 7313
[testlib]Â fix assertAuthFailure to consider both None and dbapi._NeedAuthAccessMock as meaning 'no connection has been set'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:36:03 +0200] rev 7312
[i18n]Â update spanish translation, thanks to Celso from CreaLibre
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:34:02 +0200] rev 7311
[i18n] fix french translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:33:53 +0200] rev 7310
[primary, metadata] reuse existing msgids
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 May 2011 12:50:21 +0200] rev 7309
fix ajax loading of concatenated js/ css + prefix concat cache files to ease cache clearing
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 05 May 2011 10:38:23 +0200] rev 7308
[entity] make set_relations() accept entities and eids (closes #1631391)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:54:41 +0200] rev 7307
[CubicWebTC] fix create_user bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:46:29 +0200] rev 7306
[msplanner] fix regression and test failure introduced in 7292:258c92805066
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 May 2011 14:55:27 +0200] rev 7305
[repository quick start] should modify class attribute to get this actually working (used by a classmethod)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 04 May 2011 12:25:50 +0200] rev 7304
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 May 2011 12:24:41 +0200] rev 7303
[js] use minified jquery
Florent Cayré <florent.cayre@gmail.com> [Wed, 04 May 2011 10:32:15 +0200] rev 7302
[entity] fix entity fetch_rql when fetch_attrs contains a rtype with multiple destination etypes which do not have the same fetched attributes themselves (closes #1631282)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 17:43:53 +0200] rev 7301
[configuration] exit with proper message when sources file is unreadable (you usually started cw while logged with a wrong user). Closes #1631238
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 03 May 2011 13:57:18 +0200] rev 7300
[js] remove facet-loading.png, use plain-text / i18n
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:03:27 +0200] rev 7299
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:02:32 +0200] rev 7298
[selectors] fix on_fire_transition for cases where change_state is called (eg no transition specified)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 17:24:51 +0200] rev 7297
[workflow selectors] introduced new on_fire_transition hook selector, deprecated on_transition
+ minor docstring cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:59:30 +0200] rev 7296
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:46:03 +0200] rev 7295
[migration] new command to get default workflow for an entity type
* * *
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:07:13 +0200] rev 7294
[workflow hooks] reuse metadata/integrity categories instead of a new 'workflow' category and drop useless hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:06:20 +0200] rev 7293
[entity 3.13 api] rename clear_all_caches into cw_clear_all_cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 20:16:54 +0200] rev 7292
[ms planner] ignore neged source relation when trying to restrict query sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:34:18 +0200] rev 7291
[users management] show email as text avoid specific primary email rendering (and we don't bother getting a clickable link)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:12:14 +0200] rev 7290
[primary view] display entity source in 'metadata' view if it's not the system source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:07:59 +0200] rev 7289
[users management] enhance users table: show state, primary email and data source; show filter form
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:31:25 +0200] rev 7288
merge changes from oldstable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:29:22 +0200] rev 7287
[entity] improve error message
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:28:20 +0200] rev 7286
[doc] fix doc and tutorials about hooks and operations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 16:34:31 +0200] rev 7285
[optim] cache rset column structures
When iterating over large resultsets (lot of colcumns, lot of lines)
to build entities, caching column structure (which attribute or relation
is stored in each column) can improve performance noticeably.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:34:53 +0200] rev 7284
[js] make _loadAjaxHtmlHead aware of mod_concat-like urls
_loadAjaxHtmlHead keeps track of already imported resources (js / css)
to make sure they're not included twice, but with mod_concat-like urls,
things get a bit more complicated :
if BASE_URL/data??foo.js,bar.js is already imported, then loading :
BASE_URL/data??bar.js,spam.js should only load spam.js
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:12:49 +0200] rev 7283
[etwist] in debug-mode, concat-file is rebuilt if one of the concatenated file is more recent
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:17 +0200] rev 7282
[facets] display splash image while facets are reloading content (closes #1624851)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:40 +0200] rev 7281
[facets] mark titles of active facets with red dot (closes #1624857)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 10:29:25 +0200] rev 7280
[facet] add missing selector to HasRelationFacet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 09:33:30 +0200] rev 7279
[facets] proper fix for #1625112: we should rather call unicode() as we always manipulate string as unicode internally
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 09:08:30 +0200] rev 7278
merge
Quentin Roquefort <roquefort.quentin@gmail.com> [Thu, 28 Apr 2011 20:41:44 +0200] rev 7277
[etwist] Generates apache's mod_concat-like urls for js and css
Uses the lists of js, css and ie_css included in order to generate
urls compatible with Apache mod_concat (ie: http://test.fr/??file1.js,file2.js).
Css files may use `media` option or may be for IE only ; this patch
does not concatenate css filenames for different media types or
different IE specs.
It concatenates only files served under cubicweb's `data` urls
and keeps original include order.
The generated urls are added to the HTML header as usual.
HOW-TO:
- calling HTMLHead(datadir_url) will enable the url concatenation
- calling HTMLHead() will not benefit of url concatenation
IMPORTANT NOTE:
- fckeditor can no more be served under `/data/` segment
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 20:24:27 +0200] rev 7276
handle js/ css file concatenation with twisted
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 19:42:19 +0200] rev 7275
put data version md5 into a new url segment to ease static serving
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 17:36:04 +0200] rev 7274
add cwctl command to generate a consolidated data directory with all cubes/ cubicweb data directories content to be delivered statically
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 17:33:56 +0200] rev 7273
[etwist] refactor child resources management
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:38:01 +0200] rev 7272
[vreg] vregistry._select_best was needlessly instanciating NoSelectableObject (closes #1626708)
in large selections, this incurred a non negligible cost (add_relations with
2000 inlined relations runs 7% faster with this patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:30:16 +0200] rev 7271
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:21 +0200] rev 7270
merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:12 +0200] rev 7269
merge oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:25:46 +0200] rev 7268
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:51 +0200] rev 7267
[page data] don't call unload_page_data too many time (closes #1518398)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:37 +0200] rev 7266
[request] don't init tabindex unnecessarily, since it's added to page data which will makes an ajax call to unload_page_data necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:11 +0200] rev 7265
[deprecation] kill a remaining 3.6 warning
Florent Cayré [Wed, 27 Apr 2011 15:42:07 +0200] rev 7264
[web config] fix md5 version to ensure cubes order and to include cubicweb version
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:36 +0200] rev 7263
merged stable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:14 +0200] rev 7262
merged oldstable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:10:10 +0200] rev 7261
place the disable hooks context manager at the right place (closes: #1626694)
hooks control is reset at each commit so we need to have a smaller scope for the CM in the 3.10.9 migration script
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:20:12 +0200] rev 7260
backport stable into default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:19:42 +0200] rev 7259
backport oldstable into stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:18:48 +0200] rev 7258
[js] fix inArray usage in reorderTabIndex() : inArray returns -1 if element is not found, not 'false'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 12:23:43 +0200] rev 7257
[rql] basic support for regexp-based pattern matching
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 11:37:42 +0200] rev 7256
[rql] support CAST() Function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:55:17 +0200] rev 7255
stable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:54:22 +0200] rev 7254
oldstable is now 3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:41:55 +0200] rev 7253
[js] delete empty js files (incluced in cw.ajax.js)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:32:05 +0200] rev 7252
[sql generation] fix crash on outer join + ambiguous inlined relation + attribute selection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Apr 2011 16:14:43 +0200] rev 7251
[rql rewrite] backout 7177:f2a976cf7dac : since EXISTS is the variable scope, we want to insert snippets here anyway (other solution would be to NOT insert snippets at all in such case). Closes #1625464
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 22 Apr 2011 16:23:34 +0200] rev 7250
[book] fix documentation + add chpasswd.py script
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:24:56 +0200] rev 7249
[facets] fix unicode encode error; closes #1625112
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:15:10 +0200] rev 7248
[facets] fix RangeFacet get_widget: do no return a widget unless there are at least 2 values; closes #1625203
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:20:48 +0200] rev 7247
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:17:51 +0200] rev 7246
Backed out changeset 7a58581d842c
This changeset breaks a number of CW tests, which depends on pre add hooks. I'm
backing it out, so that we can start the need-for-speed sprint with green tests
(and possibly rework this changeset)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:02:32 +0200] rev 7245
small reformatting (but test still fails)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 11:58:41 +0200] rev 7244
fix tests broken by fcb8932082a5 (continued)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:29:23 +0200] rev 7243
fix bad handling of inlined relations when entities of different etypes are passed as subject to add_relations
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:28:26 +0200] rev 7242
fix failing test_migration test caused by schema change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 09:48:37 +0200] rev 7241
fix tests broken by fcb8932082a5
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 18:10:49 +0200] rev 7240
merge back stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 17:25:32 +0200] rev 7239
fix server/test/unittest_checkintegrity (failing since 70538ea2532d)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 16:55:52 +0200] rev 7238
fix implementation of repository.glob_add_relations (closes ##1625257)
the internal data structure had changed during implementation and the code had
not been updated...
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 15:42:17 +0200] rev 7237
[server] improve the speed of setting relations between entities (closes #1625257)
The main idea is to add methods equivalent to session.add_relation and
repository.glob_add_relation which handle several relations in one call. Speed
gain results from:
* using cursor.executemany to run SQL statements
* factorizing some code which otherwise has to be performed for each relation,
such as context manager creation before calling hooks or to enable security,
creation of the EditedEntity instance (when several inlined relations are set
on a single entity, and consequently when refreshing the cached entity)
benchmark runs 1.1x faster for non inlined entities and 125x faster for inlined
entities :-)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 16:05:20 +0200] rev 7236
added test case to monitor speed improvements in the repository code.
To use it, add a test in a patch, then hack CW to speed it up in another patch,
updating the test if needed. By running the test with and without the second
patch applied you can easily see the speed improvements
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 08:28:52 +0200] rev 7235
backport stable changes to default
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Apr 2011 19:39:22 +0200] rev 7234
[js] update jquery.corner.js to the latest version (uses native css support for browser that provide it); closes #1625065
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 19:34:20 +0200] rev 7233
[js/css] remove old versions of ui.tabs/slider etc.; closes #1625085
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 08:03:46 +0200] rev 7232
[devtools] make return value of get_response_header(raw=True) consistent wrt get_header(raw=True)
i.e. get_response_header(raw=True) now returns the first element of the list rather
than the list itself.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 15 Apr 2011 12:58:31 +0200] rev 7231
[widgets] handle no value label for tristate radios, put default separator on class for easier redefinition - closes #1624839
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 15 Apr 2011 11:58:33 +0200] rev 7230
[doc] update of the update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:22:38 +0200] rev 7229
[tz postgres support] we've to commit the connection once time-zone is set, else we may loose the setting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:59 +0200] rev 7228
[tz support]Â more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:06 +0200] rev 7227
[dataimport] actually commit every desired number...
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 06 Apr 2011 12:33:39 +0200] rev 7226
[doc] major update of the install documentation
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 11:36:47 +0200] rev 7225
[facets] make rangefacet comply with start_unfolded (closes #1615869)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 14 Apr 2011 14:19:21 +0200] rev 7224
[testlib] make a clear distinction between input / output HTTP headers
The get_header() / set_header() API is the same as for CubicWebRequestBase :
- get_header() returns the **request** header
- set_header() / add_header() works on the **response** header
FakeRequest adds two additional methods :
- get_response_header() returns the **reponse** header
- set_request_header() adds a **request** header
FakeRequest now uses the `headers_out` ineherited from CubicWebRequestBase.
It also uses a `_headers_in` attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:46 +0200] rev 7223
[entity] create_entity/cw_instantiate should initialize entity's cache to avoid later queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:44 +0200] rev 7222
[testlib] refactor create_user and grant_permission to make them usable from pre_setup_database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 11:38:10 +0200] rev 7221
[3.12 regression] don't access to __class__ directly, it may raise AttributeError
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 14:02:04 +0200] rev 7220
[testlib] fix typos / NameErrors in devtools/__init__.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 12:50:31 +0200] rev 7219
[schema serialization] add warning on missing group
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:46:00 +0200] rev 7218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:34:53 +0200] rev 7217
[testlib] fix bug in backup file name generation: it may erroneously replace '-' by '_' in database **parent directories**. This should fix random error when test are run under apycot.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:03:42 +0200] rev 7216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 09:58:19 +0200] rev 7215
[schema diagram] proper url generation (closes #1621276)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 09:46:29 +0200] rev 7214
[testlib] fix readlb config handling, avoid systematic recreation of db with postgres (closes #1618089)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Apr 2011 08:38:24 +0200] rev 7213
[entities] fix cw_instantiate typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Apr 2011 17:32:06 +0200] rev 7212
[entities/test] add failing test for cw_instantiate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 14:09:39 +0200] rev 7211
[timezone] ensure tzinfo is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 13:05:16 +0200] rev 7210
[entity] use a list comprehension
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:57 +0200] rev 7209
Added tag cubicweb-debian-version-3.12.2-1 for changeset 6d418fb3ffed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:56 +0200] rev 7208
Added tag cubicweb-version-3.12.2 for changeset 5a9b6bc56538
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:19:24 +0200] rev 7207
[packaging] prepare the release of version 3.12.2
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 20:43:30 +0200] rev 7206
merge changes from stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 18:33:18 +0200] rev 7205
[facet] ignore range extremas to avoid filtering out rows where value is NULL (closes #1251192)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:51:49 +0200] rev 7204
Backed out changeset e0e802afa8e1, widgets are actually defined below
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:12:02 +0200] rev 7203
[facet] refactor: a simple class attribute is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:29:41 +0200] rev 7202
[native source] eid_creation_lock actually lock the eid connection creation and usage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:28:59 +0200] rev 7201
[dataimport] allow to specify columns on which result should be sorted in lazydbtable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Apr 2011 09:02:55 +0200] rev 7200
[entity creation] ensure this is a relation and not an attribute before moving things into pending_relations because value is a list
Using a list for attributes may be used for later type specific casting (e.g. timeseries)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Apr 2011 18:10:07 +0200] rev 7199
[fckeditor] fix fckeditor relative url: use baseuri()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:47 +0200] rev 7198
Added tag cubicweb-debian-version-3.12.1-1 for changeset 07e2c9c7df26
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:46 +0200] rev 7197
Added tag cubicweb-version-3.12.1 for changeset 59701627adba
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:06 +0200] rev 7196
3.12.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:00 +0200] rev 7195
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:24:19 +0200] rev 7194
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:23:48 +0200] rev 7193
[sql generation] fix missing join with outer joins w/ rhs invariant variable...
... where the principal where not the processed relation.
This led to major refactoring in outer join handling, which is now much
clearer and powerful.
Closes #1579228
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:01:58 +0200] rev 7192
[test, cw props] ensure we can't add user specific / system-wide properties
we had this pb on an historical instance in our intranet (eg. running
for about 8 years).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:52 +0200] rev 7191
[ms planner] fix buggy temp table name generation, may generate duplicated unique id with subqueries/union
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:51 +0200] rev 7190
[system source] drop now useless bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:50 +0200] rev 7189
[test] silent warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:39 +0200] rev 7188
[ms planner] use an index to avoid doing the same step twice
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 06 Apr 2011 16:01:19 +0200] rev 7187
[views] extend HTMLStream API to be able to change doctype / xmldecl
When generating RDFa (for instance), the doctype must be :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
This changeset adds a ``set_doctype()`` method on request objects to allow
such changes during page generation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 16:00:56 +0200] rev 7186
[test] drop some warnings introduced by new test dabase handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:17:48 +0200] rev 7185
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:10:21 +0200] rev 7184
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 04 Apr 2011 14:10:52 +0200] rev 7183
[web] fix CalendarView : both icalendarable.start and icalendarable.stop dates can be None
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 14:23:11 +0200] rev 7182
[edit controller] fix subform formid in EditController (would need further improvement)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 09:57:28 +0200] rev 7181
[schema synchronization] get back eid when adding a final entity type, else it may cause pb on later schema synchronization during the migration where the type is added
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:24:02 +0200] rev 7180
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:23:47 +0200] rev 7179
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 08:39:49 +0200] rev 7178
fileConfig is in logging.config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:48:53 +0200] rev 7177
[entity vocab] fix bug introduced in 3.12 vs/ entity vocabulary, leading to some unexpected empty vocabulary. Fix test accordingly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:47:18 +0200] rev 7176
[rql rewriter] take care not to introduce snippets into a neged scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:19:12 +0200] rev 7175
[old css] use aColor property
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:56 +0200] rev 7174
[uipros] drop unused properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:03 +0200] rev 7173
[selectors] abstract ExpectedValueSelector now accept a set as single argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:15:35 +0200] rev 7172
[igeocodable] import adapter description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:50:10 +0200] rev 7171
[dataimport] tell more and nicely about transaction status
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:49:39 +0200] rev 7170
[dataimport] propagate stack
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7169
Added tag cubicweb-debian-version-3.12.0-1 for changeset 92b56939b7c7
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7168
Added tag cubicweb-version-3.12.0 for changeset fd502219eb76
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:01:03 +0200] rev 7167
prepare 3.12.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 15:04:47 +0200] rev 7166
[time zone] support for TZDatetime and TZTime data type
Should be usable and cause no crash, though some stuff may still be
refined (test value generation, display in views/forms...)
Proprify some data structures dealing with yams base types along the
way and adding warning when some were missing (eg Interval usually).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:38:16 +0200] rev 7165
merged test fix from stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 01 Apr 2011 14:34:11 +0200] rev 7164
[http] implement 1587305: provide better implementation of Accept header parsing + tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 14:26:18 +0200] rev 7163
[web test] extract a set_auth_mode method from init_authentication and use it in test_fb_login_concept to avoid bad test interaction
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:25:55 +0200] rev 7162
merge stable to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 08:20:25 +0200] rev 7161
fix failing tests before 3.12 release
added a skip in unittest_reledit, I'd like acampeas to give it a look.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:41 +0200] rev 7160
[dataimport] new 'lazydbtable' generator function to feed data from a database table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:37 +0200] rev 7159
[dataimport] ObjectStore.create_entity should return something that looks like an entity (eg no more using dict protocol to access to attributes)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:29 +0200] rev 7158
[dataimport] cleanups, update docstring to up-to-date usage
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 21:24:39 +0200] rev 7157
[doc] improve dostring of server.hook
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 17:24:38 +0200] rev 7156
merge back stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 17:12:27 +0200] rev 7155
[cwctl] refactor ui messages aiming for consistency and simplicity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:52 +0200] rev 7154
[entity vocabulary] refactor unrelated rql to allow usage of RQLRewriter to insert schema constraints. Closes #1561806
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:50 +0200] rev 7153
[entity vocabulary] fix unrelated rql generation to skip rql constraints that don't make sense
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:46 +0200] rev 7152
[schema, refactoring] use RQLExpression as base class for RQL constraint classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:18:21 +0200] rev 7151
[reledit] fix crash due to wrong attributes usage
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 09:39:51 +0200] rev 7150
merge
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 09:17:43 +0200] rev 7149
make it easier to inherit from EditionFormView
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 16:40:55 +0200] rev 7148
more TZDatetime/TZTime test fixes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:51:10 +0200] rev 7147
fix test_knownValues_load_schema
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:44:26 +0200] rev 7146
backport stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 15:09:13 +0200] rev 7145
[doc] fix typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 14:55:14 +0200] rev 7144
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 14:03:10 +0200] rev 7143
[AnyEntity] rename __linkto attribute as cw_linkto to avoid name mangling which make overriding/monkey-patching unnecessarily harder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 13:59:23 +0200] rev 7142
[sql generation test] avoid lgdb warnings when a db module is faked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:58 +0200] rev 7141
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:21 +0200] rev 7140
[c-c create] unification of c-c create and its subcommands handling
* create/db-create/db-init uniformly accept --automatic and --config-level
options, properly passed along the way
* --automatic option fixed so it doesn't need yes or no argument
* closes ##1537265 on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:08:15 +0200] rev 7139
[rql rewriter] to properly handle 'relation' rql expressions, rql rewriter must support multiple variables (eg S and O) at once to be given as varmap
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:16 +0200] rev 7138
[rql rewriter] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:07 +0200] rev 7137
[rql rewriter] don't add unnecessary (potentially buggy) exists
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:25:10 +0200] rev 7136
update lgc dependency also in pkginfo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:05:24 +0200] rev 7135
updated lgc dependency
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 08:47:09 +0200] rev 7134
allow CW to act as a Pyro Server without registering the server to a Pyro Nameserver (closes #1528533)
This is achieved by configuring the pyro-ns-host to __NO_PYRONS__ (which is an illegal value for a host name)
The Pyro URI for the server can be retrieved by reading the pyro_uri attribute of the Repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 29 Mar 2011 09:02:49 +0200] rev 7133
[date picker] apply Carlos patch fixing spanish date picker translation file. Closes #1558893
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:58 +0200] rev 7132
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:47 +0200] rev 7131
[c-c create]Â we should also skip option with no type, else we may generate title for section without any option to fill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:57:34 +0200] rev 7130
[config]Â do not set base-url during instance creation, we don't want generated value to ends up in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:56:55 +0200] rev 7129
[config] generalise config.creating, allowing to drop set_language class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:53:54 +0200] rev 7128
[web test] fix broken url in reledit. tests BROKEN ANYWAY (crash due to missing attribute)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:45 +0200] rev 7127
merge
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:26 +0200] rev 7126
Added tag cubicweb-debian-version-3.11.2-1 for changeset 954b5b51cd92
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:25 +0200] rev 7125
Added tag cubicweb-version-3.11.2 for changeset 56ae3cd5f855
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:20:22 +0200] rev 7124
[packaging] prepare 3.11.2
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 28 Mar 2011 17:58:46 +0200] rev 7123
try to reconstruct the file forgotten by syt in changeset e094b3d4eb95
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 17:39:21 +0200] rev 7122
[javascript] fix loadRemote test for JSON_BASE_URL / baseuri matching
put both url and baseuri() to lowercase since baseuri() might have
uppercase characters.
Thanks to Florent for spotting this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:54 +0200] rev 7121
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:46 +0200] rev 7120
[cwuser, persistent properties] fix recent set_property implementation on CWUser: for_user is automatically handled for non-managers users (this is seriously debatable though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:41:36 +0200] rev 7119
[repository] fix crash in optimized [add|remove]_relation w/ inlined relation (broken by cw 3.10 refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:39:49 +0200] rev 7118
[server] move EditedEntity class to its own module, to avoid cyclic dependency when needed from e.g. session.py
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 15:23:57 +0200] rev 7117
[facets] closes #1569459 (date-range facet with year < 1900)
use lgc.date.ustrftime() and lgc.date.ticks2datetime to convert js date ticks and
have a chance to handle dates with year < 1900.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:15:49 +0200] rev 7116
[session] add find_entities and find_one_entity to session/request API (closes #1550045)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:16:11 +0200] rev 7115
[web formwidgets] add missing tabindex to jquery date and time widgets (closes #1568475)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 14:49:22 +0200] rev 7114
[c-c create] db-create doesn't not take a verbose option any longer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 12:50:56 +0200] rev 7113
[css] we should use padding instead of margin here, else the element as size greater than <body>, forcing an horizontal scrollbar to appear
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 15:45:38 +0100] rev 7112
[db connection] fix db connections method: verbose should be named interactive, it's not a question of verbosity but wether question should be asked or not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:51:20 +0100] rev 7111
[cwprops, migration] fix [set_]property to ensure we don't retrieve a user specific value. Add some docstring along the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:43:57 +0100] rev 7110
[cwprops] add set_property method on CWUser instances, to ease setting of user specific properties
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Mar 2011 15:21:13 +0100] rev 7109
[merge] backport stable fixes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Mar 2011 15:11:38 +0100] rev 7108
Abstract the support for ORDER BY and LIMIT/OFFSET SQL generation
all DB engines do not support the same syntax for these features, MS SQLServer being the bad boy we try to support in CW.
* Use two new methods of dbhelper to add LIMIT/OFFSET clauses and ORDER BY clauses
* added unit tests for sqlserver backend
* changed unittest_rql2sql to lauch the backend tests even if the driver module is not installed on the machine, so
that we can run the sqlserver tests on linux (and the mysql tests too)
* adapt msstep.py to the new interface
closes #1154756
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:31:12 +0100] rev 7107
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:30:14 +0100] rev 7106
[migration] Lesser memory consumption of cwuri fix + actually commit every 100 processed entities
Don't use the ORM as added value is poor while all intentiated object are keept
by rset cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:25:57 +0100] rev 7105
[migration] improve fix cwuri progress bar
* Use the progress context manager,
* Adds a title
* Informs that operation have been partially committed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:24:26 +0100] rev 7104
[migration] explicit first step of 3.10.9 migration.
Previously there was on a "commit now" confirmation.
The reason of the request are now explained and both request must be confirmed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:20 +0100] rev 7103
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:10 +0100] rev 7102
[uiprops, css] make header background actually modifiable through uiprops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:20:33 +0100] rev 7101
[components] add **kwargs to render method of header components to make them usable as regular components (eg in other places than the header
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Mar 2011 18:20:34 +0100] rev 7100
[schema views] don't propose 'view all' action for final entity types (closes #1560549)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 23 Mar 2011 11:35:41 +0100] rev 7099
[doc] fix urls pointing to repositories and download sites
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:47:42 +0100] rev 7098
backported tag to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:44:57 +0100] rev 7097
Added tag cubicweb-version-3.9.x for changeset 48f468f33704
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:51 +0100] rev 7096
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:07 +0100] rev 7095
[devtools] missing py2.5 compat import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:21:36 +0100] rev 7094
merge oldstable into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:20:45 +0100] rev 7093
fix stupid typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:14:58 +0100] rev 7092
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:07:08 +0100] rev 7091
merge: [testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:03:50 +0100] rev 7090
[testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 11:38:52 +0100] rev 7089
remove conflict marker
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Mar 2011 18:12:57 +0100] rev 7088
merge old stable into stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7087
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7086
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:56 +0100] rev 7085
merged back pylint help changes to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:11 +0100] rev 7084
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:37:46 +0100] rev 7083
help pylint by explicitely defining some attributes
* the logging functions automatically set by set_log_methods
* the attributes of Hook classes (eidfrom, entity...):
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 21:36:06 +0100] rev 7082
[doc] fix indentation spelling and grammar of tutorials/advanced/part03_bfss
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 10:38:02 +0100] rev 7081
[doc] complete description of EXISTS in rql/language.rst
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7080
[doc] fix rql/debugging.rst and server.__init__ docstrings
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7079
[doc] fix rql/debugging.rst and server.__init__ docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 22:35:19 +0100] rev 7062
[http test] fix typo in super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:32:19 +0100] rev 7061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:21:40 +0100] rev 7060
[testlib] New assertion method assertSentEmail() to test presence of emails in system mailbox
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 18 Feb 2011 15:26:00 +0100] rev 7059
[tests] Fix web test for windmill and forms
- new component 'inout' needed to be clicked (windmill)
- renamed id will fail html tests (windmill and unittest_forms.py)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:16:44 +0100] rev 7058
[uilib] fix eid_param implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:32 +0100] rev 7057
[test] fix bad super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:12 +0100] rev 7056
[dbapi] split in_memory_cnx functions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:38 +0100] rev 7055
Remove trailing white space
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:15 +0100] rev 7054
Add a "closed" property on session
This will simplify check and allow nicer error thatn the current "no _tx_data"
attribute error.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:02 +0100] rev 7053
[test] Improve tagging and error message of TwistedCWIdentTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:52:35 +0100] rev 7052
[test/windmill] Gracefully skip windmill test if windmill can't be imported.
If windmill import fails the windmill module is set to None and a dummy
CubicWebWindmillUseCase test class is create. This class contains a test that
skip itself with a proper warning message.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:49:32 +0100] rev 7051
[devtools/qunit] had "qunit" test for tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 16:00:25 +0100] rev 7050
[3.10.9 migration] don't display progress bar if stdout is not a tty
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 23:16:22 +0100] rev 7049
[source host alias] match_host is the attribute, match is the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7048
Added tag cubicweb-debian-version-3.11.1-1 for changeset 77318f1ec4aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7047
Added tag cubicweb-version-3.11.1 for changeset d0410eb4d8bb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:22:00 +0100] rev 7046
3.11.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:21:54 +0100] rev 7045
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:29 +0100] rev 7044
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:00 +0100] rev 7043
some copyrigh updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:17:07 +0100] rev 7042
[sql generation] fix exists table scope pb: when iterating other solutions inner to an EXISTS subquery, we should reset variables which have this exists node as scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:15:06 +0100] rev 7041
[sql generation] fix table scope pb: when an inlined relation is used as principal for the rhs variable, we should adjust lhs variable'scope
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 07 Mar 2011 17:02:15 +0100] rev 7040
merge stable changes into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:41:04 +0100] rev 7039
[testlib] backport some useful testing utilities from tracker's testutils module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:40:07 +0100] rev 7038
[testlib] fix rql generation bug w/ groups given as unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 17:50:13 +0100] rev 7037
[multi-sources] add missing close method on ConnectionWrapper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:57 +0100] rev 7036
[c-c db-check] new checks for entities missing a mandatory relation/attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:34 +0100] rev 7035
[c-c db-check] factorize code by introducing notify_fixed dumb function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 15:44:07 +0100] rev 7034
[migration] cleanup corrupted database, pb noticed on several instances
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Mar 2011 12:55:29 +0100] rev 7033
[dataimport] remove eid_key deprecation warning and prints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:14:19 +0100] rev 7032
[config] fix option group clash causing anonymous user configuration to end in the MAIN section instead of the WEB section if cubicweb-dev is installed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:12:42 +0100] rev 7031
[config refactoring] rename eproperty_definition method to cwproperty_definition
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:33:10 +0100] rev 7030
allow configuring the level of the configuration settings for cw-ctl add-source and db-init (which may call add-source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:30:32 +0100] rev 7029
add some tips for users who want to bind to an AD server
adjust the level of the different configuration parameters so that the condfiguration becomes usable outside Logilab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:31:18 +0100] rev 7028
[c-c upgrade] rename force-componant-version option to force-cube-version and cleanup code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:28:59 +0100] rev 7027
[repo querier] fix rqlst cache no limit issue, comment the code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 18:18:42 +0100] rev 7026
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:45 +0100] rev 7025
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:07:40 +0100] rev 7024
[source hooks] filter out case where source configuration doesn't have to be reloaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:00 +0100] rev 7023
Added tag cubicweb-debian-version-3.11.0-1 for changeset 8daabda9f571
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:10:59 +0100] rev 7022
Added tag cubicweb-version-3.11.0 for changeset 37432cede4fe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 16:30:02 +0100] rev 7021
[schema sync] we don't want to react on after_update_entity, it may only causes bug. CWUniqueConstraint should be deleted then a fresh one readded on change (as we do in sync_schema_props_perms)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:21 +0100] rev 7020
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:17 +0100] rev 7019
[source ui] uicfg tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:27:34 +0100] rev 7018
3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:18:28 +0100] rev 7017
[web test] fix some tests broken by recent (and various) changesets
notice test_jscript and test_windmill are still broken, a pain to
maintain and so breaks apycot test since we can't see state change
from green to red (they are always red due to those two tests)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 18 Feb 2011 09:33:51 +0100] rev 7016
[web/views] add a generic rdf view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:49 +0100] rev 7015
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:32 +0100] rev 7014
[testlib pageinfo] extract matching_node method from has_tag to ease looking for a node with a given set of attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 08:04:10 +0100] rev 7013
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:43:45 +0100] rev 7012
[schema serialization] for relation type, ertidx contains the relation type as string, for relation def, the RelationDefinitionSchema instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:23:41 +0100] rev 7011
[schema deserialization] enhance fix done in 7010:fa707848a88a to properly deal with cw 3.9 database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 17:46:10 +0100] rev 7010
[schema deserialization] _unique_together should hold string, not schema instance (may lead to crash during sync_schema_props_perms for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:38 +0100] rev 7009
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:25 +0100] rev 7008
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:18 +0100] rev 7007
[web test] ensure we're using proper instance home
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:09:06 +0100] rev 7006
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:20 +0100] rev 7005
[config] we should load available configuration before search for an instance configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:19 +0100] rev 7004
[dbapi] fix for cases where one want to use 'connect' for an in-memory connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:09 +0100] rev 7003
[skel] avoid pylint warning for newly generated cube
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:26:50 +0100] rev 7002
[sobjects/parsers] compatibility with xml view of cw <= 3.10
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:24:45 +0100] rev 7001
[sobjects/parsers] on validationerror, skip entity and continue processing feed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 17:59:58 +0100] rev 7000
[web test] fix test name conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:30:09 +0100] rev 6999
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:29:47 +0100] rev 6998
merge default heads
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 16 Feb 2011 09:02:00 +0100] rev 6997
[tabs] use datadir_url to build image url instead of hardcoding data/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:54:09 +0100] rev 6996
[wdoc] fallback to english title when no translation found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:40:25 +0100] rev 6995
[datafeed] don't crash if python-kerberos isn't installed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Feb 2011 23:32:32 +0100] rev 6994
[sobjects/parsers] add gssapi auth handler to urllib2 opener
applied patch gssapiauth.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Feb 2011 23:30:01 +0100] rev 6993
[data operation] add new remove_data method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 23:18:20 +0100] rev 6992
[migtration] fix migration script for 'dont cross' relations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:47:15 +0100] rev 6991
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:46:08 +0100] rev 6990
[dataimport] implement create_entity() on ObjectStore to provide a consistent interface
(+fix typo s/attribute_edited/edited_attributed/)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 16:46:49 +0100] rev 6989
[dataimport] make it possible to insert 'empty' (i.e. no-attrs) entities
In such cases (e.g. ternary relations), generated RQL must be
'INSERT MyEntityType' instead of 'INSERT MyEntityType:'
nico [Mon, 14 Feb 2011 09:38:03 +0100] rev 6988
[hooks] do not break if no entity created or updated during feed update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 09:37:17 +0100] rev 6987
[ajax box] fix ajaxBoxShowSelector w/ mono-valued fields + minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6986
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6985
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6984
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6983
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:22 +0100] rev 6982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:09 +0100] rev 6981
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 12:17:47 +0100] rev 6980
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:37:10 +0100] rev 6979
[testlib] take care, validator may be None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:29:23 +0100] rev 6978
[testlib] extract get_validator method from _check_html, move assertDocTestFile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:28:46 +0100] rev 6977
[testlib] new method on page info object to ensure some tag with arbitrary attributes is found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 10:57:35 +0100] rev 6976
[packaging, test] include ldap test files in sdist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 17:17:54 +0100] rev 6975
[test] python 2.5 specifix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:35 +0100] rev 6974
add a note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:23 +0100] rev 6973
[manage view] get etypes first to avoid xhtml validation error if no one found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:20:49 +0100] rev 6972
[datafeed] return empty dict when source is fresh avoid crash in the looping task because None returned
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 10 Feb 2011 13:26:41 +0100] rev 6971
[manage view] fix skipping of startup views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 12:28:31 +0100] rev 6970
[parser host mapping] take care to cases where apphome is None (c-c i18ncube command for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:25 +0100] rev 6969
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:14 +0100] rev 6968
[test] update cwxml tests: computed cwuri have changed, and parser.parse isn't anymore a static method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:57:09 +0100] rev 6967
[testlib] by default skip new 'manage' action's category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:49:41 +0100] rev 6966
[manage view] filter before displaying anything avoid xhtml errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:47:29 +0100] rev 6965
[test] update cwuri test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:08:40 +0100] rev 6964
[test] test extracted from unittest_hooks + new test for unique constraint check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:29 +0100] rev 6963
[datafeed] introduce a host mapping so dev instance may transparently redirect request to another host than the actual's one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:27 +0100] rev 6962
[management ui] add views to manage sources similarly to users
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:25 +0100] rev 6961
[manage view] cleanup manage view and user menu
* drop code that shouldn't be there (e.g. folders handling)
* add a section displaying site management actions, some of them
were initially in the user's drop down menu, which now only have
a 'manage' link with regards to management actions
* stop displaying 'system' and 'schema' entities by default, only
'application' entities
* put 'gc', 'registry' and 'info' views as tabs of a generic
'server information' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:24 +0100] rev 6960
[datafeed] add parser to import cubicweb xml
this parser is configurable through a mapping, which basically
tells which entity's relation should be copied. Multiple actions
to control backport of data are available:
* 'copy': copy the external entities locally (though marked as
coming from the data feed source)
* 'link': find similar entity internaly (e.g. for states)
* 'link-or-create': try to find a similar entity internaly, and create
it if necessary (won't be marked as coming from the data feed source,
e.g. for tags)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:19 +0100] rev 6959
[xml] enhance default entity xml view
* format attributes according to their type in a predictable way
* move eid/cwuri as top level tag attributes
* control which relations should be in using 'relation' form param
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:18 +0100] rev 6958
[pyro source] benefit from addition of latest_retrieval on CWSource
to avoid using a CWProperty to store pyrorql source latest synchronization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:17 +0100] rev 6957
[repository] #1460066: backport datafeed cube as cubicweb source
* add some attributes to CWSource to handle this kind of source
(not natural to put everything in 'config' string). Adding a CWSource
subclass has been attempted then rollbacked because it adds pain
to handle multi-sources planning and it introduce an ambiguity on
a generic relation (cw_source), which may be a penalty in multiple
case
* data feed sources are a new kind of source, namely 'copy based',
which have no effect on the query planner
* a data feed source is associated to a list of url and a parser (appobjects
in the 'parsers' registry
* entities imported by a data feed have cwuri set to their url on the distant
site, their cw_source relation point to the data feed source, though their
source stored in the entities table (returned by cw_metainformation) is their
physical source, hence 'system'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:13 +0100] rev 6956
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:05:39 +0100] rev 6955
[entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:04:04 +0100] rev 6954
[doc] update some copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 16:16:20 +0100] rev 6953
[repo, ms] fix pb introduced in 6941:9ed02daa7dbb resulting in missing relation deletes when an entity is deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:42 +0100] rev 6952
[tabs js] merge tabs and lazy js files into cw.ajax.js and use camel case names to satisfy js coding standards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:23 +0100] rev 6951
[schema, ui] fix is_subobject to skip cw_source relation (else everything is considered as a subobject, since this relation is now composite)
Charles Hébert <charles.hebert@logilab.fr> [Tue, 08 Feb 2011 14:18:18 +0100] rev 6950
[admin ui] nicer views for users/groups management
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 14:16:41 +0100] rev 6949
[test, ui] mark CWSourceSchemaConfig as an internal type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 12:23:30 +0100] rev 6948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 19:17:14 +0100] rev 6947
[js] using the actual registry fixes spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:40 +0100] rev 6946
[pyrorql source] using 'time' option type is more convenient
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:39 +0100] rev 6945
[sources] refactor source creation and options handling
* options validation
* ease proper update of source's config on configuration change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:36 +0100] rev 6944
[sources] rewrite the way pyrorql mapping are stored in the database so it can be reused for other sources (eg datafeed+cwxml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6943
[sources] reorganize abstract source code, drop no more used cleanup_entities_info and _cleanup_system_relations methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6942
[source schema] fix permission pb on cw_host_config_of relation + add composite on cw_source, so entities from a source are properly removed when the source is removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:04 +0100] rev 6941
[repo, ms] optimise external source deletion by using source's eid instead of name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 06 Feb 2011 11:33:04 +0100] rev 6940
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Feb 2011 10:02:48 +0100] rev 6939
[c-c] fix crash on delete instance + potential others when user don't specify db user's password
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:56:59 +0100] rev 6938
add a rql directive to restructuredtext
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Feb 2011 18:18:31 +0100] rev 6937
[pkg] bump dependency on logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6936
Added tag cubicweb-debian-version-3.10.8-1 for changeset 132b525de25b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6935
Added tag cubicweb-version-3.10.8 for changeset e581a86a68f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:12:03 +0100] rev 6934
3.10.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:11:53 +0100] rev 6933
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 11:03:08 +0100] rev 6932
undo part of #6911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 11:52:10 +0100] rev 6931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:10:46 +0100] rev 6930
[test] add test for != operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:08:44 +0100] rev 6929
[rql2sql] fix bug with NOT in "fake" having terms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 10:29:56 +0100] rev 6928
[doc/book] simplify & fix the overview chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:48:57 +0100] rev 6927
ooops :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:31:09 +0100] rev 6926
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:30:48 +0100] rev 6925
[ctxcomponents vreg] allow to specify 'no cache' using __cache argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:28:51 +0100] rev 6924
[js utils] backport some generic code from comments cube
to handle inline ajax form as you get to add comment to entities.
Following stuff has been generalized and backported to ease such things:
* lazy_view_holder() method on EntityCtxComponent class, to build
place holder where the form will be inserted
* ajax_composite_form() function in cw.web.views.ajaxedit, to build
the form itself
* reload() and reloadCtxComponentsSection() javascript function in
cubicweb.ajax.js for the javascript processing side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:24:05 +0100] rev 6923
[doc] update photo web site tutorial: we're starting from cw 3.10/file 1.9+
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:13:47 +0100] rev 6922
[view] fix/enhance view.render
* give view init args when selecting row view
* optimize by avoiding re-selection on rset of size 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:11:28 +0100] rev 6921
[js lib] new string.rstrip method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 16:19:22 +0100] rev 6920
[ibreadcrumb] fix breadcrumb adapter backward compat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 16:08:40 +0100] rev 6919
[selectors] modify workflow selectors: is_in_state, on_transition
- factorize `is_on_state` selector
- add new `on_transition` selector
Especially useful to match pending transitions to enable notifications when
your workflow allows several transition to the same states.
Note that if workflow `change_state` adapter method is used, this selector
will not be triggered.
In debug mode:
These both selectors will check against the entity current workflow if expected
values given in selector argument are valid.
ValueError exception will be raised for unmatching state/transition
names against the current workflow (generic etype workflow).
(check against custom workflow is not implemented)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 15:23:47 +0100] rev 6918
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally
When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the
permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not
be able to run the db-dump command.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 11:21:45 +0100] rev 6917
[debian] fix lintian errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:24:19 +0100] rev 6916
[devtools] fix understanding of boundary constraint on db automatic population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:15:14 +0100] rev 6915
[rset] fix entity building for some result set with UNION and subqueries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:12:13 +0100] rev 6914
[c-c] lgc 0.54 check for duplicated commands, this may occurs with cw where plugins are automaticall (re)loaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:11:26 +0100] rev 6913
[utils] support_args now support classes, searching if __init__ supports the arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 11:08:31 +0100] rev 6912
[schema sync] fix crash when bad inlinment detected, inlined is not in the locals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 18:46:47 +0100] rev 6911
cleanup, docstring update
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 18:29:17 +0100] rev 6910
fix test broken by addition of new entity in test schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 16:28:00 +0100] rev 6909
[view] missing class on label span
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 14:10:44 +0100] rev 6908
fix #1452413 : is_in_state selector does not match initial state of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:43:49 +0100] rev 6907
[component] refactor layout retrieval to handle case where we've an entity without rset properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:42:51 +0100] rev 6906
[forms] EntityFieldsForm now take extra mainentity argument, for usage with composite form (the main form) where one of the subform edits the main entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:41:00 +0100] rev 6905
[selectors] one_line_rset selector should also work when rset is None but an entity is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:40:01 +0100] rev 6904
[workflow] fix warning: we want to see the adapted entity, not the adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:39:29 +0100] rev 6903
[js] fix deprecated call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:52 +0100] rev 6902
[uicfg] fix reledit rtag initialization for final relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:14 +0100] rev 6901
[uicfg] use INTERNAL_TYPES and WORKFLOW_TYPES to initialize indexview_etype_section dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:44:08 +0100] rev 6900
[rtags] fix NoTargetRelationTagsDict to ensure relation are tagged using '*' during initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:42:18 +0100] rev 6899
[rtags] speepup initialization by avoiding to get file entity types relations (useless)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 17:44:38 +0100] rev 6898
[skel] try to generate warning free stub...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 12:21:47 +0100] rev 6897
[deprecation] kill remaining 3.6 warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 11:39:21 +0100] rev 6896
[migration] cwunique constraint schema fix must be done in bootstrap migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 10:50:38 +0100] rev 6895
[i18n]Â missing some english translation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:49:05 +0100] rev 6894
we must check constraint for all concerned entities and not stop at the first deleted one
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:42:40 +0100] rev 6893
avoid creating a new instance of CleanupDeletedEidsCacheOp if nothing was deleted
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 15:16:05 +0100] rev 6892
[css] fix popup css (login box) for IE7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 09:32:34 +0100] rev 6891
[user form] use InOutWidget to edit CWUser in_group relation
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 12:50:56 +0100] rev 6890
[widgets, js] add a InOutWidget for multiple select
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 25 Jan 2011 12:09:59 +0100] rev 6889
improve massive deletion performance
change hooks.integrity._DelayedDeleteOp implementation to give it a chance of
processing the entities by chunks of reasonnable size (500 entities at a time)
adapt ssplanner.DeleteEntitiesStep to call a variant of glob_delete_entity with several entities.
That variant calls all the before_delete_entities hooks in one go, then
performs the deletion, and then calls all the after_delete_entities hooks. The
deletion is performed by grouping together entities by etype and by source.
adapt the HooksManager to call the hooks on a list of entities instead of on a single entity.
adapt the sources to be able to delete several entities of the same etype at once.
changed the source fti_(un)index_entity methods to fti_(un)index_entities taking a collection of entities.
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 10:01:19 +0100] rev 6888
[ldap] remove useless hack in unittest_ldapuser.py
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:52:49 +0100] rev 6887
[tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:51:47 +0100] rev 6886
[ldap] small code cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Jan 2011 09:20:38 +0100] rev 6885
[test] fix score_entity test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:42 +0100] rev 6884
[testlib] missing method on value generator to generate the Interval type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:14 +0100] rev 6883
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 17:02:38 +0100] rev 6882
backport stable
Charles Hébert <charles.hebert@logilab.fr> [Mon, 24 Jan 2011 16:59:26 +0100] rev 6881
[selector] update `match_transition` selector to match form & as well as form view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 11:39:53 +0100] rev 6880
[book] fixes some references and other doc construction pbs
* predefine order of js files in index generation, skip some files
* fix some references to the base tutorial (recently changed)
* other ReST fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:42:09 +0100] rev 6879
[book] advanced tutorial part 5 improvments: add some roles, talk about cube's layout, strip image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:40:54 +0100] rev 6878
update code sample to 3.10 api
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 24 Jan 2011 09:17:11 +0100] rev 6877
blog proofreading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 23 Jan 2011 14:59:04 +0100] rev 6876
[doc] backport part 3 & 4 of the sytweb's tutorial + to be published part 5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 16:38:13 +0100] rev 6875
[test] missing future imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 14:14:30 +0100] rev 6874
[test] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 13:07:10 +0100] rev 6873
[schema test] fix tests broken by 6861:9d4e11d6e783 (missing data files and not removed deprecated/broken test)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 21 Jan 2011 11:13:40 +0100] rev 6872
[vreg] check for identical app objects when replacing
Prevent from weird behaviour when you badly wrote vreg callback
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 14:38:53 +0100] rev 6871
[docstring] minor: add warning about entity cache for rql_condition selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:51:58 +0100] rev 6870
[selectors] minor: use similar __repr__ implementation for selector instances
Julien Jehannet <julien@smaf.org> [Thu, 20 Jan 2011 13:16:30 +0100] rev 6869
[tests] new unit tests about score_entity selector (inscore machinery)
Julien Jehannet <julien@smaf.org> [Wed, 19 Jan 2011 21:49:29 +0100] rev 6868
[tests] use migration api to create workflow
Prefer high-level migration api thru admin session
instead of raw rql in helper method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:20:59 +0100] rev 6867
[c-c delete] closes #1433117 and other flavours where we don't want to crash on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:03:07 +0100] rev 6866
[after edition ui] closes #1381425: Wrong message : 'entity edited (click here to see created entity)'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 12:02:36 +0100] rev 6865
[i18n] cleanup catalogs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jan 2011 11:48:19 +0100] rev 6864
[adapters] fix #1424467 caused by precedence of bw compat method while the adapter is concret for a given class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 17:14:28 +0100] rev 6863
[c-c delete] add quote on db drop statement to be more robust to exotic database names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 16:45:21 +0100] rev 6862
[ajax] apply Ronan Dunklau patch closing #1433305: loadRemote js function failure on Firefox 4 with upper cased base domain name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 16:36:09 +0100] rev 6861
[schema] ease understanding of schema naming error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 15:52:59 +0100] rev 6860
[db-create] we should always ask db user that should be used when special privileges are required
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 15:51:58 +0100] rev 6859
[entity] fix some docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 20 Jan 2011 19:18:11 +0100] rev 6858
[js] always lowercase baseuri #1433305
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:56 +0100] rev 6857
[rset] add utility method to get entities and attributes from any rset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 10:10:22 +0100] rev 6856
[url publishing] evaluate url rewrite rules before rest path so one may easily override schema based urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 10:08:01 +0100] rev 6855
[ui, index page] drop useless 'schema entities' table
cheb [Thu, 20 Jan 2011 10:06:34 +0100] rev 6854
[views] delete ``permission`` tab in ``SchemaView``
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 09:16:52 +0100] rev 6853
[schema] fix CWSource permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jan 2011 08:23:27 +0100] rev 6852
[migration] fix migration of old cw instances which do not have yet the CWUniqueTogetherConstraint entity type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 19:15:04 +0100] rev 6851
[repo] kill no more needed 'recreate' feature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 18:01:28 +0100] rev 6850
[repo] move cursor creation into the try/except, it may raises an InterfaceError if the connection is closed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:08 +0100] rev 6849
[repository auth] cleanup email login by turning it into a proper repo-side authentication plugin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:06 +0100] rev 6848
[web session] cleanup session/authentication api: we don't have anymore to store authentication information on web session since the auto-reconnection feature has been dropped (eg in 3.10)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:47:04 +0100] rev 6847
[primary view] support for entity_call on primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 12:42:50 +0100] rev 6846
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 11:23:16 +0100] rev 6845
[c-c list] don't crash if there are no 'version' attribute in pkginfo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 11:22:39 +0100] rev 6844
[config] stop using a metaclass for registration of "public" configuration, simply do it explicitly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 10:13:31 +0100] rev 6843
[devtools] set configuration name to all-in-one so test/data/all-in-one.conf file will be loaded as one may expected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 09:31:15 +0100] rev 6842
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jan 2011 08:39:09 +0100] rev 6841
[sparql] fix an url generation bug breaking sparqlxml results view + remove a deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 16:56:18 +0100] rev 6840
[skel] setup.py patched to get easy_install to work
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 16:17:21 +0100] rev 6839
[tutorial] make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 15:57:26 +0100] rev 6838
[hook] drop now deprecated comment (pop handled by get_data)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 17 Jan 2011 15:45:26 +0100] rev 6837
tutorial proof reading
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 17 Jan 2011 13:36:18 +0100] rev 6836
[pkg] fix small bug appearing on Windows
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:43:07 +0100] rev 6835
[doc] major rework of the simple blog tutorial
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:42:27 +0100] rev 6834
[doc] fix match_rtype_sets docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:41:45 +0100] rev 6833
[doc] some ReST syntax fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jan 2011 12:41:40 +0100] rev 6832
[doc] update cw api (XXX: similar changes have to be done in book probably)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 17 Jan 2011 10:25:18 +0100] rev 6831
added note about the effect of commit/rollback on the hooks_control context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:31:46 +0100] rev 6830
[doc] fix security bug in photo web site tutorial
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:42 +0100] rev 6829
[c-c create] don't ask for web server interface at level 0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:40 +0100] rev 6828
[skeleton] nicer pkginfo organization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:37 +0100] rev 6827
[ui tweaks] fix default ui
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:32 +0100] rev 6826
[i18n] missing english translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Jan 2011 18:30:23 +0100] rev 6825
[doc] update unittest api
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Jan 2011 08:10:41 +0100] rev 6824
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 14 Jan 2011 08:10:01 +0100] rev 6823
[views] fix typo (invalid format character) in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:24:21 +0100] rev 6822
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:23:00 +0100] rev 6821
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:18:16 +0100] rev 6820
Added tag cubicweb-debian-version-3.10.7-1 for changeset bf5d9a1415e3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 19:18:16 +0100] rev 6819
Added tag cubicweb-version-3.10.7 for changeset 1959d97ebf2e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 14:03:50 +0100] rev 6818
[server test] can't use skipTest method as a class method, raise appropriate exception instead
david.douard@logilab.fr [Thu, 13 Jan 2011 13:38:49 +0100] rev 6817
[etwist] add an 'interface' config option (passed to reactor.listenTCP)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Jan 2011 12:49:44 +0100] rev 6816
[wf migration] allow to deactivate assertion on wfable entity to quick-fix tests