Julien Cristau <julien.cristau@logilab.fr> [Sun, 22 Mar 2015 19:05:19 +0100] rev 10283
[schema] typo
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Feb 2015 16:18:25 +0100] rev 10282
[web/test] fix test_views
reusing a request for two different view calls leads to badness
Erica Marco <erica.marco@logilab.fr> [Mon, 23 Mar 2015 11:08:04 +0100] rev 10281
[documentation] add note concerning Attribute, TODAY and NOW in yams documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Mar 2015 22:43:51 +0100] rev 10280
[i18n] properly translate error messages related to violated unicity constraint.
Closes #5100373
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 04 Feb 2015 15:13:36 +0100] rev 10279
[web/data] Add missing mode='swap' in loadxhtml calls (closes #5087432)
Let's avoid putting divs inside divs, dawg.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 17 Mar 2015 12:34:07 +0100] rev 10278
[web/views] Fix PropertyKeyField widget (closes #5087413)
CWProperties don't have unittests, this will likely break again.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 17 Mar 2015 12:35:45 +0100] rev 10277
[web/views] Fix exception in CWProperty edit form (closes #5087412)
Also add missing help message. The overall display is ugly, but at least
the message is shown.
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 25 Mar 2015 10:10:24 +0100] rev 10276
[web/request] Restore attribute setting for search_state
This was dropped in 1f84295bfe95 when `search_state` attribute was turned into
a property, but without a setter. So adding a setter here restoring previous
behaviour, as some tests and cubes use it.
Related to #4875761.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Feb 2015 12:52:15 +0100] rev 10275
[web/request] simplify search_state loading, fix comment
Christophe de Vienne <christophe@unlish.com> [Wed, 28 Jan 2015 09:46:55 +0100] rev 10274
[webrequest] Lazy-load search_state
- The update_search_state function will hit the session data only if __mode is
present in the form.
- set_search_state keep the same semantics
- Direct access to search_state in the session data is changed by an access to
the new property.
Closes #4875761
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Mar 2015 12:29:25 +0100] rev 10273
[config] disable fckeditor by default (closes #1368900)
FCKEditor is no longer maintained, and has a history of XSS issues.
Let's use plain text as default text format.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 14:41:47 +0100] rev 10272
merge 3.19.11 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 13:45:45 +0100] rev 10271
Added tag cubicweb-version-3.19.11, cubicweb-debian-version-3.19.11-1, cubicweb-centos-version-3.19.11-1 for changeset 1ae64186af94
Erica Marco <erica.marco@logilab.fr> [Tue, 17 Mar 2015 15:50:40 +0100] rev 10270
[migration] reorder system tables / meta-schema migration into bootstrap_migration
Also fix a bug in the backwards-compat eid_type_source method where it
returned an extid (possibly null) instead of a source name.
With these changes, migrating a database from cw 3.12 is now possible.
Closes #4962681
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 12:02:09 +0100] rev 10269
[dataimport] add missing import (closes #4985916)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 12:01:03 +0100] rev 10268
[debian] cubicweb-dev needs cubicweb-etwist
Closes #4965410
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Mar 2015 11:56:11 +0100] rev 10267
[pkg] 3.19.11
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Mar 2015 09:19:06 +0100] rev 10266
Binary initializer should accept bytearrays (closes #5084075)
Recent versions of pyodbc return bytearray objects for binary data.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Mar 2015 11:44:29 +0100] rev 10265
[native source] log the used connection in doexecmany as in doexec
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:43:42 +0100] rev 10264
[server] use unicode wherever appropriate in transaction/undo related methods
Silences lgdb/sqlite warnings about using str instead of unicode.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 09 Mar 2015 18:02:49 +0100] rev 10263
[web] typo
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:42:42 +0100] rev 10262
[entities] return the entity itself from notification_references if the view uses a random message-id
Useful for entity update notifications to reference the entity creation message.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:35:58 +0100] rev 10261
[notifications] use non-fixed message-id for EntityUpdatedNotificationView
More than one of those can be sent for a given entity, so they shouldn't
all have the same message-id. Closes #4962712.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Feb 2015 12:32:39 +0100] rev 10260
[server/test] kill remaining 3.19 deprecation warnings in undo tests
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 14:30:19 +0100] rev 10259
[devtools] accept str objects in CubicWebTC.new_access and .create_user
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:38:50 +0100] rev 10258
[utils] use the "predictable" argument to js_dumps
Fixes doctest under python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:54:48 +0100] rev 10257
[server/test] don't rely on a sorted output from .object_relations()
Fixes test under python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Feb 2015 10:21:29 +0100] rev 10256
[req] make rebuild_url predictable
Fixes test with python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:12:31 +0100] rev 10255
[web/test] don't depend on iteration order on a set
Fixes test under python -R ('pending_insert' in session data is a set,
so we can't rely on any particular ordering). Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:10:43 +0100] rev 10254
[web/test] fix cubicweb 3.19 deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 15:09:36 +0100] rev 10253
[web/test] use unicode instead of str for user logins
makes lgdb/sqlite quieter.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 14:34:35 +0100] rev 10252
[test] Don't depend on dict iteration ordering
Fixes test with python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 14:32:15 +0100] rev 10251
[entities] make cw_fti_index_rql_queries predictable
Don't depend on the hash function, fixing test with python -R. Related
to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 13:39:33 +0100] rev 10250
[hooks/syncschema] use a list instead of a set for UpdateFTIndexOp
The order in which etypes get indexed matters. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 11:48:13 +0100] rev 10249
[rqlrewrite] sort possible types when turning is_instance_of into is
Helps get predictable output even with python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 11:47:34 +0100] rev 10248
[server/test] use unicode strings for user logins
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 10:00:32 +0100] rev 10247
[web/test] use unicode object as user login
(py.warnings) WARNING: /home/jcr/src/cw/cubicweb/devtools/testlib.py:206: DeprecationWarning: Sanitizing an input dictionary with str values, please check your data (key = 'login')
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 09:59:34 +0100] rev 10246
[server/querier] stop passing a rqlst to empty_rset
(py.warnings) WARNING: /home/jcr/src/cw/cubicweb/server/querier.py:46: DeprecationWarning: [3.20] rqlst parameter is deprecated
return ResultSet([], rql, args, rqlst=rqlst)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:52:04 +0100] rev 10245
[web/views] Use predictable ordering for attributes in entity XML view
Fixes test under python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Feb 2015 09:46:19 +0100] rev 10244
[web/views] set explicit order for ManageSourcesAction
Gives predictable ordering wrt ManageUsersAction under python -R.
Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:40:49 +0100] rev 10243
[web/test] don't depend on dict iteration ordering
Fixes tests under python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:40:24 +0100] rev 10242
[web/test] pass login as unicode string
silences lgdb/sqlite warning.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:39:04 +0100] rev 10241
[web/test] fix 3.19 deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:25:07 +0100] rev 10240
[sobjects/test] Fix dependency on predictable hashing
Fix test under python -R by ignoring url query parameter ordering.
Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 18:13:00 +0100] rev 10239
[test] don't rely on a stable ordering for appobject_path
Fixes test under python -R. Related to #4959402.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 15:30:01 +0100] rev 10238
[server] remove "standalone RQL server" from possible configuration choices
Related to #2919297.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 13 Mar 2015 14:12:03 +0100] rev 10237
Remove leftover bits from start-repository command, and document its demise
Related to #2919297
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Mar 2015 14:10:40 +0100] rev 10236
Remove the remote repository-access-through-zmq support
Modern methods such as the rqlcontroller cube + the cwclientlib library are the way forward.
Closes #2919297.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Mar 2015 14:57:34 +0100] rev 10235
Remove remote repository-access-through-pyro support
Modern methods such as the rqlcontroller cube + the cwclientlib
library are the way forward.
Closes #2919309.
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 13 Mar 2015 14:47:35 +0100] rev 10234
[web/views/rdf] Take the second element of XY equivalent for non final relation
When given a Yams snippet of the form `<etype> <rtype>` ``xy.xeq()`` will
return the XML snippet equivalent to this relation in the form of a tuple
`(subject, rtype, object)` so ``item`` will always be a tuple here.
In fact, the correct code appears just a few lines above (around line 88) for
final relations so I guess this is a copy-paste mistake.
Closes #4745929.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 11 Feb 2015 12:42:19 +0100] rev 10233
[server] Make sure 'zmq-address-sub' config is always iterable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 11:52:58 +0100] rev 10232
[web] split timeline in an individual cube
Closes #1279544
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Feb 2015 13:52:58 +0100] rev 10231
[devtools] don't hide warnings and errors during tests
The markdown module in jessie turns all warnings into logging calls, so
this allows me to still see deprecation warnings when running tests.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 05 Dec 2014 11:25:35 +0100] rev 10230
[test/i18n] remove unneeded hack
Julien Cristau <julien.cristau@logilab.fr> [Thu, 12 Mar 2015 14:21:36 +0100] rev 10229
merge 3.19.10 into 3.20
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 09 Mar 2015 09:32:11 +0100] rev 10228
[server/session] Fix typo "meta vs. metas" in describe()
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 12:26:46 +0100] rev 10227
Added tag cubicweb-version-3.19.10, cubicweb-debian-version-3.19.10-1, cubicweb-centos-version-3.19.10-1 for changeset 3bab0b9b0ee7
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 11:52:18 +0100] rev 10226
[pkg] 3.19.10
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 12 Mar 2015 11:00:57 +0100] rev 10225
[i18n] Update translations
Related to #5012581.
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 11 Mar 2015 15:17:25 +0100] rev 10224
[config] Lowercase the FQDN we get from the OS (closes #5040345)
Browsers convert the host name part of URLs to lowercase. This has the
unfortunate effect of triggering various CORS error messages in
CubicWeb (because the Origin: header will contain lowercase letters).
As per RFC 4343, host name comparison should be case-insensitive. So
let's put it in lowercase when we grab it from the host system. If
admins put uppercase letters in "host" or "base-url" in their
all-in-one.conf, then it's their fault.
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 10 Mar 2015 11:52:04 +0100] rev 10223
[web/views] Honor 'action' attribute on AutomaticEntityForm, closes #4943392
On AutomaticEntityForms, get_action used to bypass the logic from
FieldsForm.form_action() which handles the 'action' attribute itself,
preventing callers from overriding it at selection time. This capability
is used by the inlinedit cube.
In a nutshell, we let the deprecated AutomaticEntityForm.get_action()
raise an AttributeError, which allows FieldsForm.form_action() to handle
it properly.
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 22 Apr 2014 16:39:19 +0200] rev 10222
[docstrings] fix project-wide English language mistake
Even though 'u' is a wovel, it may be pronounced 'yu' which is a consonant
sound. In such cases precede it with 'a' instead of 'an'.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Mar 2014 12:30:52 +0100] rev 10221
[doc] Don't pretend we know cubicweb runs on mysql
As far as I know it hasn't been tested in years.
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 06 Mar 2015 16:17:11 +0100] rev 10220
[test/i18n] Update reference po file following 75cd7df5c32e
This changeset added a (missing) message "add a <etype>", so reference po file
needed an update.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Feb 2015 17:13:46 +0100] rev 10219
[devtools] add a method on CubicWebTC to fake data posted by standard cw forms. Closes #4985805
Julien Cristau <julien.cristau@logilab.fr> [Thu, 18 Dec 2014 10:55:17 +0100] rev 10218
[web/wdoc] fix links
They're relative to ${base-url}/doc/, not ${base-url}. Closes #3161099.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Mar 2015 11:40:56 +0100] rev 10217
[i18n generation] add missing 'add a EntityType' message to generated catalogs. Closes #5012581
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Mar 2015 14:58:16 +0100] rev 10216
[server/test] fix test_zmq
We were only asserting in a thread, thus ignoring the results.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 15:22:01 +0200] rev 10215
[views,js] remove user_callback feature
Related to #3975260.
Christophe de Vienne <christophe@unlish.com> [Fri, 06 Feb 2015 14:43:40 +0100] rev 10214
[newcube] Make the generated code PEP-8 compliant
Closes #4925396
Rémi Cardona <remi.cardona@free.fr> [Sun, 31 Aug 2014 18:04:46 +0200] rev 10213
Remove unused imports
Rémi Cardona <remi.cardona@free.fr> [Wed, 20 Aug 2014 20:46:17 +0200] rev 10212
[ext] Remove use of cStringIO
We create a StringIO never to read anything from it. Docutils seems to
support setting the 'warning_stream' to False to ignore warnings. So
let's just do that.
Rémi Cardona <remi.cardona@free.fr> [Wed, 30 Jul 2014 22:34:55 +0200] rev 10211
[view] Use io.BytesIO as stream for binary views
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 14:12:49 +0100] rev 10210
[undo/test] check that the entity was restored even though the fiche relation wasn't
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 12:35:46 +0100] rev 10209
Use a moved_entities table to record external entities moved to the system source
Instead of using a negative eid in the entities table, move the record
to a new table so we don't have an interval with a missing eid in
entities.
Related to #4846892
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 12:43:32 +0100] rev 10208
Add unique index on entities.extid
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 11:17:53 +0100] rev 10207
[undo/test] if we try to delete an entity referenced by an inline relation, we fail
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 10:56:30 +0100] rev 10206
[undo] when we can't undo an inlined relation change, point at None, not a broken eid
This whole thing is "a bit" weird.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 19:17:32 +0100] rev 10205
Ask sqlite to check foreign keys
Related to #4846892
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 18:53:45 +0100] rev 10204
Add reference from etype table's eid column to the entities table
Related to #4846892.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 14:30:55 +0100] rev 10203
[server] change order of entities table modification vs entity creation/deletion
In order to have a foreign key referencing the entities table, the
insertion into entities must happen first, and the deletion must happen
last.
For the deletion case, this means we need to:
1. delete all relations (cascade)
2. delete the entities themselves
3. delete the corresponding lines from the entities table
This means the _delete_info{,_multi} methods can't keep doing 1 and 3.
Thankfully the "public" delete_info method appears to be unused, so drop
it.
Related to #4846892.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 17:06:16 +0100] rev 10202
Use foreign keys for relations tables
Closes #4846892
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:49:32 +0100] rev 10201
Add foreign key for inline relations
Related to #4846892
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:44:36 +0100] rev 10200
Use our version of schema2sql
Related to #4846892
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:39:35 +0100] rev 10199
Steal schema2sql module from yams
It has no user inside yams, and we need it here if we want to be able to
reference the (cubicweb-only) entities table from other tables.
Related to #4846892
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Feb 2015 19:36:49 +0100] rev 10198
[dataimport] fix pylint detected error in SQLGenObjectStore
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 Jan 2015 10:20:15 +0100] rev 10197
[restore/portable] properly restore the numrange generator
If the dump format version is 1.1, read and restore numranges.
Closes #4870338
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Jan 2015 18:05:24 +0100] rev 10196
[backup/portable] properly write the eid numrange generator (the eid is no more a sequence)
Bump format version to 1.1.
Related to #4870338
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Feb 2015 14:46:38 +0100] rev 10195
Added tag cubicweb-version-3.20.4, cubicweb-debian-version-3.20.4-1, cubicweb-centos-version-3.20.4-1 for changeset 49831fdc84dc
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Feb 2015 09:41:40 +0100] rev 10194
[pkg] 3.20.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Feb 2015 21:55:37 +0100] rev 10193
[schema] set permissions that do not allow edition on computed relation. Closes #4903918
Also, drop 'del schema' from test which clutters the code for no benefit.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Feb 2015 23:17:15 +0100] rev 10192
[computed attribute] ensure attribute's formula apply only to the correct type. Closes #4901163
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 Feb 2015 22:05:00 +0100] rev 10191
[schemaserial] fix detection of CWComputedRType table, closes #4901150
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jan 2015 15:43:28 +0100] rev 10190
[dataimport] source.add_info doesn't take anymore a 'complete' argument
Closes #4891550
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Jan 2015 15:28:24 +0100] rev 10189
[dataimport] massive renaming of session to cnx
and make NoHookObjectStore working with the new connection handling.
Closes #4891547
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Feb 2015 14:59:54 +0100] rev 10188
[web/data] use the right selector for hiding jquery treeview placeholders
Closes #4903927
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:49:02 +0100] rev 10187
merge 3.19.9 into 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:40:07 +0100] rev 10186
Added tag cubicweb-version-3.19.9, cubicweb-debian-version-3.19.9-1, cubicweb-centos-version-3.19.9-1 for changeset b7c373d74754
Julien Cristau <julien.cristau@logilab.fr> [Thu, 05 Feb 2015 15:35:34 +0100] rev 10185
[pkg] 3.19.9
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 17:48:16 +0100] rev 10184
[hooks] don't insert use_email relation if the entity on either side is going away
Closes #4912946
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 10:57:02 +0100] rev 10183
[undo] fix deletion of cw_source relation
Closes #4912882
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 15:45:09 +0100] rev 10182
[hooks] don't insert an owned_by relation for deleted entities
If, in the same transaction, a composed entity is created and deleted,
we'll have scheduled a SyncOwnersOp which would end up creating an
owned_by relation for the deleted entity. Closes #4846883
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 29 Jan 2015 16:18:23 +0100] rev 10181
[etwist/service] adjust for a signature change
Closes #4878570.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Dec 2014 10:49:07 +0100] rev 10180
[rset] fix crash on displaying rset where some symmetric relation is used. Closes #4739253
Avoid a KeyError.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Dec 2014 11:37:10 +0100] rev 10179
Fix handling of limit within the primary view for related elements. Closes #4723579
* respect limit set by uicfg (like the 'autolimited' view itself does)
* set limit in rql query to one more than the specified one so the view knows
there are more things to display
Christophe de Vienne <christophe@unlish.com> [Mon, 29 Dec 2014 12:35:34 +0100] rev 10178
[native] Change SQL errors log level.
- The SQL error itself is logged as 'info'.
- The 'transaction has been rolled back' message is logged as 'debug'.
These log entries should not be critical:
- If an error occur at the sql level, it will be transmitted as a CW error.
The exception is raised and handled in a higher level function, which will
decide if it is critical or not.
- Admitting that rolling-back automatically on errors is wanted in some
cases, it cannot be considered 'critical'. The caller will receive the
original exception anyway, it is its job to decide if it is critical or
not.
Closes #4801120
Julien Cristau <julien.cristau@logilab.fr> [Mon, 02 Feb 2015 12:32:07 +0100] rev 10177
Added tag cubicweb-version-3.20.3, cubicweb-debian-version-3.20.3-1, cubicweb-centos-version-3.20.3-1 for changeset 7d3a583ed539
Julien Cristau <julien.cristau@logilab.fr> [Mon, 02 Feb 2015 12:17:29 +0100] rev 10176
[debian] build-depend on markdown for documentation build
Christophe de Vienne <christophe@unlish.com> [Wed, 28 Jan 2015 14:03:00 +0100] rev 10175
[devtools] Make PostgresTestDataBaseHandler multi-use friendly
Dont init the pgdb twice on the same datadir
- If two test case with the same apphome use a Postgres configuration, the
handler is initialised twice, so it has to check if the pgdb directory has
already been initialized.
- Work with the realpath of the pgdb
In some cases, the self.config.apphome will resolve symbolic links, but
not always.
It can result in an attempt to start twice the pg server for the same directory,
in the same test run... resulting in failure.
Closes #4875827
Julien Cristau <julien.cristau@logilab.fr> [Mon, 02 Feb 2015 12:07:10 +0100] rev 10174
[devtools] restore i18n of string removed in 4001cfe2f44d
Removing that string from the po files means that after running i18ncube
against newer cubicweb, we lose the translation when running on older
cubicweb's, which is probably not a good idea.
Julien Cristau <julien.cristau@logilab.fr> [Sat, 31 Jan 2015 19:32:32 +0100] rev 10173
[pkg] fix setup.py install
One day I'll get this thing right. Maybe.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 30 Jan 2015 16:14:44 +0100] rev 10172
[pkg] 3.20.3
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 Jan 2015 13:26:44 +0100] rev 10171
[server] Increase the stacklevel (due to @_open_only decorator)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 28 Jan 2015 15:51:11 +0100] rev 10170
[pkg] install jquery-treeview
Julien Cristau <julien.cristau@logilab.fr> [Wed, 28 Jan 2015 15:06:34 +0100] rev 10169
[migration/3.20] sync rtypes before etypes
We need to make sure the rtypes are inlined before adding unique indices.
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 28 Jan 2015 17:36:13 +0100] rev 10168
[doc] Fix class name for ComputedRelation; fix code block about computed attributes
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 29 Jan 2015 16:40:08 +0100] rev 10167
[web] Allow propagating 'klass' parameter on tree views recursively
Closes #4881302
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:59:06 +0100] rev 10166
[utils] Fix define_var in ajax context (closes #4881301)
Use namespaced <cubicweb:script> instead of just <script>
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:53:20 +0100] rev 10165
[web/data] Never hide JS errors in our Deferred implementation
Modern browsers have good debugging tools, let exceptions go all the way
up. This only affects exceptions raised in the js code, if there's an
issue on the server/python side, they'll keep going through our error
callbacks.
Closes #4881300
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 28 Jan 2015 11:51:16 +0100] rev 10164
[web/data] Fix userCallbackThenUpdateUI to completely replace old DOM elements
Without the 'swap' parameter, userCallbackThenUpdateUI() would replace
the _children_ of the component with a new version of the componenent,
thus creating nested divs/spans/buttons/etc.
Closes #4881299
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 30 Jan 2015 15:53:32 +0100] rev 10163
[web/views] Stop mishandling the fieldset name in the default form renderer
While not really documented, it is generally assumed that:
* the fieldset is a user-visible string (much like a title),
* it will be translated by whichever piece of code uses it.
So:
* fix AutomaticEntityForm to generate untranslated fieldset names,
* fix FormRenderer to properly translate the fieldset name before
rendering it,
* stop using the field set (which may contain whitespace) as a CSS class
name (the feature was unusable, so just drop it),
* properly handle the colon as part of the translated fieldset name
Closes #4881298
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 18:08:05 +0100] rev 10162
Added tag cubicweb-version-3.20.2, cubicweb-debian-version-3.20.2-1, cubicweb-centos-version-3.20.2-1 for changeset 138464fc1c33
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:45:06 +0100] rev 10161
merge 3.19.8 into 3.20 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:32:49 +0100] rev 10160
[pkg] fix mistake in c7b218125c25
We ended up with the wrong filenames
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:39:07 +0100] rev 10159
Added tag cubicweb-version-3.19.8, cubicweb-debian-version-3.19.8-1, cubicweb-centos-version-3.19.8-1 for changeset efc8645ece43
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:22:09 +0100] rev 10158
[server/test] convert new test to 3.19 API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:18:55 +0100] rev 10157
[pkg] 3.19.9
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:18:20 +0100] rev 10156
merge 3.18.8 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 17:12:44 +0100] rev 10155
Added tag cubicweb-version-3.18.8, cubicweb-debian-version-3.18.8-1, cubicweb-centos-version-3.18.8-1 for changeset 231094063d62
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 16:41:27 +0100] rev 10154
[pkg] 3.18.8
Julien Cristau <julien.cristau@logilab.fr> [Wed, 21 Jan 2015 15:58:33 +0100] rev 10153
[security] Test case and fix for an INSERT security hole
7099bbd685aa introduced a untested corner case in which an Entity with no
attribute specified could be created whatever the permissions.
Report and test case by Christophe de Vienne, fix by Aurelien Campeas. Thanks!
Closes #4854359
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:20:36 +0100] rev 10152
[pkg] 3.20.2
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 Jan 2015 15:46:24 +0100] rev 10151
[debian] cubicweb 3.20 breaks cubicweb-bootstrap << 0.6.6
Closes #4842316
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 15:37:20 +0100] rev 10150
[pkg] don't include extra files in tarballs
Blind wildcards for dirs that may contain generated or temporary files
can lead to trouble and unreproducible results.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:48 +0100] rev 10149
[pkg] exclude generated js_api documentation from tarballs
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:20 +0100] rev 10148
[doc] remove old and unused argouml files
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:36:01 +0100] rev 10147
[web/data] remove unused xcf files
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:22:43 +0100] rev 10146
[doc] remove nonexistent css from theme
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 20 Jan 2015 10:32:34 +0100] rev 10145
[doc] Drop autoclass directive for IDownloadableLineView
This class has been dropped in 3.20.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 12:19:34 +0100] rev 10144
[pkg] include missing files from doc/book/ in release tarballs
Closes #4832700
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 07 Jan 2015 16:22:27 +0100] rev 10143
[datafeed] Set headers parameter to an empty dict in DataFeedParser.retrieve_url
This parameter is then passed to urllib2.Request, which expects a dict and
won't check for None.
Closes #4842333.
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 22 Jan 2015 10:43:24 +0100] rev 10142
[views/forms] Fix EntityFieldsForm.link_to when parent entity is being created
When the parent entity is being created and the inlined form is displayed, the
parent entity has no eid yet and `peid` is usually 'A'. So int() raises a
ValueError.
Closes #4627739.
Christophe de Vienne <christophe@unlish.com> [Sat, 03 Jan 2015 04:06:06 +0100] rev 10141
[entities] Optimize CWUser.properties.
This property gets called each time a user connects to a repository,
which means a lot.
This optimisation cuts its execution time by 5 according to my tests
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Mar 2014 12:41:21 +0100] rev 10140
[schema] Typo and indentation fix in RQLVocabularyConstraint doc string
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:52:50 +0100] rev 10139
Added tag cubicweb-version-3.20.1, cubicweb-debian-version-3.20.1-1, cubicweb-centos-version-3.20.1-1 for changeset 43eef610ef11
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:24:40 +0100] rev 10138
[pkg] 3.20.1
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:24:08 +0100] rev 10137
i18n update (closes #4826490)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 15:01:23 +0100] rev 10136
merge 3.19.7 into 3.20
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:07:17 +0100] rev 10135
merge two default heads
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:56:33 +0100] rev 10134
Added tag cubicweb-version-3.19.7, cubicweb-debian-version-3.19.7-1, cubicweb-centos-version-3.19.7-1 for changeset ac4f5f615597
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 14:38:25 +0100] rev 10133
[pkg] 3.19.7
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Jan 2015 11:55:12 +0100] rev 10132
Added tag cubicweb-version-3.20.0, cubicweb-debian-version-3.20.0-1, cubicweb-centos-version-3.20.0-1 for changeset 7e6b7739afe6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 Jan 2015 19:00:53 +0100] rev 10131
[pkg] prepare 3.20 release
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 11:18:15 +0100] rev 10130
[skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr> [Mon, 22 Dec 2014 14:39:50 +0100] rev 10129
[migration] don't crash when deleting a non-existing rtype
When asked to delete a relation type, instead of checking if it was
computed or not, just delete both the CWRType and CWComputedRType.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:39:42 +0100] rev 10128
[debian] include "metapackage" in the cubicweb package's description
Lets lintian know it's ok for it to be empty.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:37:37 +0100] rev 10127
[debian] ensure all packages use ${misc:Depends} and ${python:Depends}
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 12:35:43 +0100] rev 10126
[debian] update cubicweb-dev's lintian override
Switching from python-support to dh-python changed the installation path.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 03 Dec 2014 16:29:16 +0100] rev 10125
[server] add a db-namespace option in source definition (closes #1631339)
"namespace" is preferred to the postgresql term "schema" to try and
avoid confusion with cubicweb's schema.
cubicweb now depends on logilab-database >= 1.13.0
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Dec 2014 12:08:01 +0100] rev 10124
[serverctl] add db_transaction context manager
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Mar 2013 19:24:46 +0100] rev 10123
[server] refactor cleanup() code used by "cubicweb-ctl delete"
Try to make each logical step (i.e. "delete database" and "delete user")
a bit more visible and explicit.
This is a preparatory work to easily plug the "delete namespace" feature.
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:09:51 +0200] rev 10122
[views] visual refactorings (closes #3803685)
- pageContent:
- remove the shadow
- add a light border
- slightly round the corners
- left column:
- ensure width make it aligned with the logo (header)
- ensure the top border of the first box is aligned with the pageContent div
- do not use serif font for box headers
Julien Cristau <julien.cristau@logilab.fr> [Thu, 18 Dec 2014 17:54:29 +0100] rev 10121
[web] everything old is new again
Kill the "new" cubicweb.css, and move cubicweb.old.css back in its
place. Closes #4763360.
David Douard <david.douard@logilab.fr> [Wed, 12 Nov 2014 22:20:02 +0100] rev 10120
[pkg] bump version to 3.20.0
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:25:59 +0200] rev 10119
[views] use icons for user menu and login (header) (closes #3803684)
- use icons from the embedded pictograms font for:
- authenticated user menu (userActionsBox)
- login (CookieLoginComponent)
- do not display "anonymous" when not logged in
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Dec 2014 11:37:18 +0100] rev 10118
[utils] provide a function to return an admin connection from an appid
Closes #4723580.
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 16 Dec 2014 11:37:52 +0100] rev 10117
[debian] Install wsgi directory in cubicweb-web package
Closes #4752375.
David Douard <david.douard@logilab.fr> [Thu, 11 Dec 2014 15:02:23 +0100] rev 10116
[test] fixes to make tests pass with recent lxml
lxml (on jessie at least, ie. 3.4.0) does not remove endlines anymore.
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 05 Dec 2014 12:08:13 +0100] rev 10115
[server] Remove useless 'is None' checks
'pb' is never none since 3386fd89c914 when support for the 'APYCOT_ROOT'
env var was removed.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Dec 2014 10:55:53 +0100] rev 10114
[security] check attributes: dispatch on the "add" action if entity was just created
cw_set on a just-created entity (i.e. created in the same transaction)
should behave the same as setting the attribute directly on creation:
check the 'add' permissions, not 'update'.
Closes #4740310.
Christophe de Vienne <christophe@unlish.com> [Tue, 09 Dec 2014 15:18:58 +0100] rev 10113
[doc] Add BigInt to the list of built-in types
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:32:17 +0200] rev 10112
[devtools] call turn_repo_off in tearDown (closes #4673491)
lets it catch leaked sessions even when running a single test
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 15:57:12 +0100] rev 10111
[book] typos / clarifications in create-instance section
Clarify that cubicweb-ctl upgrade needs to be run whenever cubicweb or a
cube is upgraded. Related to #2632425.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 18:31:21 +0200] rev 10110
[repository] don't mangle the stack trace on exception
Christophe de Vienne <christophe@unlish.com> [Thu, 27 Nov 2014 13:40:37 +0100] rev 10109
[pkg] Make twisted recommended only
It's not necessary when using wsgi or pyramid.
Closes #4639508
Christophe de Vienne <christophe@unlish.com> [Thu, 27 Nov 2014 12:11:29 +0100] rev 10108
[devtools] Use the pause_trace context manager instead of pause_tracing/resume_tracing
The later were deprecated in logilab-common 0.63.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 Oct 2014 15:47:17 +0200] rev 10107
[serverctl] rename remove_cube to drop_cube (closes #4545093)
For the sake of consistency, since commands are currently named:
- add_{cube,entity,attribute,relation}
- drop_{entity,attribute,relation}
- remove_cube
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:18:17 +0200] rev 10106
[wsgi] add tornado http server
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:07:43 +0200] rev 10105
[wsgi] add message about the active interface
Similarly to what done in "stdlib".
Alain Leufroy <alain@leufroy.fr> [Thu, 15 May 2014 23:05:15 +0200] rev 10104
[cwctl] rewrite wsgi method choices
This will help devs to add new choices by adding their callback to WSGI_CHOICES.
Note:
``options`` becomes a property because ``wsgichoices()`` should be
evaluated at the last-minute.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 11:35:05 +0100] rev 10103
[skeleton/debian] use dh_python2 instead of dh_pysupport for new cubes
The former is deprecated.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Oct 2014 18:09:41 +0200] rev 10102
[web] Add source for jquery.qtip.js
Downloaded from
https://github.com/Craga89/qTip1/raw/master/1.0.0-rc3/jquery.qtip-1.0.0-rc3.js
Related to #3851121.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Oct 2014 18:01:06 +0200] rev 10101
[web] Replace minified copy of jquery.flot.js 0.6 with non-minified version
Related to #3851121
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Oct 2014 11:42:20 +0200] rev 10100
[web] Update jquery-treeview to the latest version
Files copied from commit 61f230828ace1b54c2cc54bc549ece261b11842e of
https://github.com/jzaefferer/jquery-treeview
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Oct 2014 11:20:44 +0200] rev 10099
[web/css] move jquery.treeview.css override to a separate file
Patched embedded code copies are a maintenance disaster (even more so
than plain embedded code copies). Let's not do that.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Oct 2014 14:39:51 +0200] rev 10098
[web] Stop patching jquery.treeview.js
This logically reverts part of e9b7cd2e9012 "allow treeview to work
correctly in a tab #345293".
The treeview and ajax code have suffered a number of changes since then, this
change doesn't seem to be necessary anymore. It is most likely unneeded since
f65208c9dbdc "[javascript] use jQuery.one('ajax-loaded') instead of
jQuery.bind() in add_onload to avoid multiple callback executions".
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 22 Oct 2014 14:28:01 +0200] rev 10097
[web] Beautify jquery.treeview.js
Fully mechanical, just whitespace changes.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Nov 2014 18:17:29 +0100] rev 10096
[entities/wfobjs] add missing `DBG_SEC` debugging informations and a new `transition` capability
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Nov 2014 14:35:25 +0100] rev 10095
[warnings] put an end to warnings in the sqlite driver over `str` being sent instead of unicode strings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 May 2014 15:05:31 +0200] rev 10094
[web/request] clearly mark user_callback-related methods as deprecated
The deprecated decorator not only emits a warning at run-time
but above all makes the deprecation immediately apparent in the source.
closes #3567793.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 03 Dec 2014 15:24:47 +0100] rev 10093
[book] document __unique_together__, remove bad RQLUniqueConstraint example
RQLUniqueConstraint should be avoided whenever possible. Related to
#3753250.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Apr 2014 12:34:51 +0200] rev 10092
[schema] stop using RQLUniqueConstraint (closes #3753250)
The last uses are replaced with unique together constraints.