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