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.