Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 09:14:00 +0200] rev 6016
[security] do not show sessions information to non managers users. Close security ticket #38246
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Jul 2010 09:06:55 +0200] rev 6015
[dbapi] update renamed argument
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 26 Jul 2010 15:04:47 +0200] rev 6014
[debug] improve debug messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:15:11 +0200] rev 6013
[dbapi] cleanup shared data api: let access to transaction from dbapi, we can write it after all... Also, querydata is better named txdata
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:08:24 +0200] rev 6012
[session] cleanup session-time / cleanup-session-time...
which are hard to grasp while there is no actual benefit to handle both.
Now repo will close session without any activity since cleanup-session-time (24h by default),
and the web authentication chain won't reconnect automatically anymore. I don't think there
is a big deal in keeping repo session for such time.
Also, ask the repo for latest session usage time, we can't know it for real on the
web side (think of long running transactions).
Closes #1083245.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:07:00 +0200] rev 6011
[debug] when a loop is detected in a tree, log the entity involved in it to ease repair
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:58 +0200] rev 6010
[image js] fix image fit screen function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:55 +0200] rev 6009
[idownloadable primary view] when file is an image, display attributes below the image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:52 +0200] rev 6008
[selector] adjuts score returned by the adaptable selector to get correct priority over is_instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 26 Jul 2010 12:06:49 +0200] rev 6007
[navigation] refactor previous / next navigation component to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Jul 2010 10:30:10 +0200] rev 6006
[massmailing] need edition.js for the freeezeFormButtons function
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 23 Jul 2010 17:54:18 +0200] rev 6005
[views] link to public url when trying https without an account
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:46:21 +0200] rev 6004
[image] more handy image resizing using javascript
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:42:18 +0200] rev 6003
[rql2sql] fix bug with NOT of inlined relation: NULL values are not properly handled and hence some rows won't be returned while the should
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:41:14 +0200] rev 6002
[schema sync] if something went wrong while getting rdef in precommit event, rdef adttribute won't be set in revertprecommit. We don't want to fail in such case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 Jul 2010 12:40:17 +0200] rev 6001
[migration] add script to repair instances which have lost some relation due to 3.9 + file 1.9 migration (bad Image -> File entity type renaming)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 21 Jul 2010 11:28:30 +0200] rev 6000
[uiprops] check that STYLESHEETS* and JAVASCRIPTS are lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 16:45:11 +0200] rev 5999
[migration] fix rename_entity_type to avoid to loose some relations on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 14:09:58 +0200] rev 5998
[js] fix bug encountered with IE (result evaluated to true while no response text -> json parse error)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 20 Jul 2010 14:08:34 +0200] rev 5997
[table view] fix bad arguments given to form_filter method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 17:22:10 +0200] rev 5996
[deprecation] remove 3.8 deprecation warning
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 19 Jul 2010 16:46:42 +0200] rev 5995
[test] improve windmill integration, new test on relation edition
Changes:
- display traceback in case of failure
- add new use test for relation edition
- edition mode is now possible by toggling `edit_test` or with using "pytest -i"
- install firebug extension in edition mode
- update documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:37:02 +0200] rev 5994
backport default into stable. STABLE IS NOW 3.9, default 3.10
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:36:16 +0200] rev 5993
backport stable into oldstable. oldstable is now 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 15:34:29 +0200] rev 5992
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:51:23 +0200] rev 5991
[css] set 100% width/height on image from idownloadable primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:13:01 +0200] rev 5990
[c-c start repo] config log's threshold is upper case while option accepts lower case. This break c-c start of repository instances.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Jul 2010 10:10:20 +0200] rev 5989
[querier] actually fix bug attempted to be fixed in 5942:f1abba8ccc01. The pb was not in multi-sources but because of missing annotation on rql generated by security insertion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 10:00:05 +0200] rev 5988
[basetemplate nav] no need for an attribute here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 09:59:44 +0200] rev 5987
[images] use tags.img and allow to add arbitrary attributes on the image. Use it to set a class when image is the primary entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 17 Jul 2010 09:55:29 +0200] rev 5986
[images] add link around main image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 16:37:20 +0200] rev 5985
Added tag cubicweb-debian-version-3.9.2-1 for changeset 8a23821dc138
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 16:37:19 +0200] rev 5984
Added tag cubicweb-version-3.9.2 for changeset e51796b9caf3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 12:41:10 +0200] rev 5983
3.9.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 12:40:22 +0200] rev 5982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 11:41:17 +0200] rev 5981
[idownloadable] fix download_url prototype: should accept arbitrary kwargs to add as form parameters to the generated url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Jul 2010 11:39:28 +0200] rev 5980
[entity] fix setdefault implementation: should return actual value
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Jul 2010 11:00:42 +0200] rev 5979
[web] eid key is deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 17:19:34 +0200] rev 5978
[js] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 17:18:57 +0200] rev 5977
[js] fix typo causing blank page...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 12:03:13 +0200] rev 5976
[transaction] if error on rollbacking a source, replace the connection by a new one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 11:38:31 +0200] rev 5975
[transaction] do not attempt to reconnect if there has been some write during the transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 11:07:47 +0200] rev 5974
[testlib] when no validator specified, simply return stripped output, not None
Stephanie Marcu <stephanie.marcu@logilab.fr> [Thu, 15 Jul 2010 10:44:46 +0200] rev 5973
[3.6] fix deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Jul 2010 10:43:19 +0200] rev 5972
[ldap] take care, email address may be a list. In such case, only consider the first one (XXX). Also, fix call to reset_caches.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 17:22:15 +0200] rev 5971
[ajax] fix the fix introduced in 3.9.1 to avoid duplicated loads: it cause some other errors since the browser may load the script *after* the server-response event is emited, causing pb if the script interact with this event
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 17:21:57 +0200] rev 5970
[broken schema] fix the group_mapping function in case where some standard group isn't found: we currently loop for ever, boring the user by asking ever and ever the same question...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 16:07:41 +0200] rev 5969
[ldap] fix update script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:42 +0200] rev 5968
[c-c shell] script to update the base dn of an ldap source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:18 +0200] rev 5967
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 15:45:02 +0200] rev 5966
[iprevnext] implements cell_call to remove warning when displayed in the main content zone
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 08:11:03 +0200] rev 5965
Added tag cubicweb-debian-version-3.9.1-1 for changeset 9bd75af3dca3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jul 2010 08:11:02 +0200] rev 5964
Added tag cubicweb-version-3.9.1 for changeset 4d75f743ed49
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 14:11:09 +0200] rev 5963
[actions] homogen action/view selectors. Move action together with associated view to avoid such thing in the future
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 13:28:02 +0200] rev 5962
3.9.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 13:27:53 +0200] rev 5961
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:55:43 +0200] rev 5960
[config] run time directory created when necessary on startup, don't check it exists while creating the instance (closes #1177687)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:28:44 +0200] rev 5959
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:28:19 +0200] rev 5958
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:30:36 +0200] rev 5957
Added tag cubicweb-debian-version-3.8.7-1 for changeset 1cccf88d6dfe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:30:36 +0200] rev 5956
Added tag cubicweb-version-3.8.7 for changeset a1a334d93439
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 12:25:19 +0200] rev 5955
[form] take care to not unicodify None values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Jul 2010 10:36:28 +0200] rev 5954
[fti migration] test and fix reindexation of some specific entity types
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 09 Jul 2010 12:48:03 +0200] rev 5953
[doc/book] fix & enhance rql intro chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 20:19:20 +0200] rev 5952
[ajax box] shouldn't give js object directly to xml_escape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 20:18:53 +0200] rev 5951
[uilib] js objects implements __unicode__
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Jul 2010 19:18:56 +0200] rev 5950
[test] fix test_ajax js tests. We have to mock some of our js functions / variables (e.g. _ or pageid) in the test environment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:59:42 +0200] rev 5949
[box] provide a new generic base box class to edit relation to simple entities, backported from the 'tag' cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:48:44 +0200] rev 5948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 18:10:47 +0200] rev 5947
[test] remove deprecated test file
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Jul 2010 16:30:19 +0200] rev 5946
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Jul 2010 16:29:51 +0200] rev 5945
[web/views/reledit] explicitely add the field if the formid is base + line cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 15:36:33 +0200] rev 5944
[ftirank] when ordered by fti rank, we don't want page navigation. Anyway, sorted nav component shouldn't consider has_text relation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 15:35:29 +0200] rev 5943
[multi-sources] we should annotate those queries, else there is a chance to get bad sql...
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Jul 2010 15:30:53 +0200] rev 5942
[tests] make sure controllers created by ctrl_publish() have a valid appli attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 14:52:08 +0200] rev 5941
[test] buggy import make test fails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 13:33:40 +0200] rev 5940
[uilib] refactor json_dumps code organization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:28 +0200] rev 5939
[uiprops] use lazystr and update some variables usage in css
to get a chance to change style without having to change all properties.
Also had missing boxHeader.png file (formerly header.png).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:27 +0200] rev 5938
[uiprops] introduce lazystr to get a chance to change style without having to change all properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:25 +0200] rev 5937
[javascript] more cleanups and deprecation warnings removal
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:54:14 +0200] rev 5936
[js] fix misplaced bracket
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 12:43:39 +0200] rev 5935
[forms] we need a wrapping list to avoid bug caused by flatening done by $.map. Closes #1164908
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 10:04:30 +0200] rev 5934
[web configuration] http/https ui properties should not share the same cache directory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 10:03:03 +0200] rev 5933
[web configuration] ensure data home directory / uicache file belong to daemon user and are writeable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 08:54:45 +0200] rev 5932
Added tag cubicweb-debian-version-3.9.0-1 for changeset eda4940ffef8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Jul 2010 08:54:45 +0200] rev 5931
Added tag cubicweb-version-3.9.0 for changeset d9936c39d478
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 07 Jul 2010 16:41:36 +0200] rev 5930
[debian/control] do not forbid shipment with python 2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 15:21:21 +0200] rev 5929
[cube dist] fix default setup.py, well we get the cube also installed in lib/python, that may cause pb (eg the email cube for instance). UPDATE YOUR CUBE's setup.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 14:21:52 +0200] rev 5928
[migration] new migration command to change fti weight for an entity t ype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 14:18:28 +0200] rev 5927
[form] field.vocabulary return values as string, more fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:58:21 +0200] rev 5926
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Jul 2010 13:13:13 +0200] rev 5925
prepare 3.8.7 release
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 07 Jul 2010 10:53:03 +0200] rev 5924
[book] update rql documentation and some erroneous/deprecated examples
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:50:55 +0200] rev 5923
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:42:49 +0200] rev 5922
[interface deprecation] fix bad comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:42:32 +0200] rev 5921
[test] class has been renamed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:01:44 +0200] rev 5920
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 13:01:25 +0200] rev 5919
3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:59:24 +0200] rev 5918
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:09:29 +0200] rev 5917
[config] expand_cubes(with_recommends=True) shouldn't return recommened-but-not-installed cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 12:08:10 +0200] rev 5916
[form fields] smarter __str__ / __repr__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 10:48:07 +0200] rev 5915
[skel] nicer test file skeleton
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Jul 2010 10:46:33 +0200] rev 5914
[form] test update/remove deprecation warnings: form vocabulary should contains unicode values
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 06 Jul 2010 19:33:59 +0200] rev 5913
[test] add default generic test Tags to CubicWeb TestCase class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 19:32:29 +0200] rev 5912
[itree] backport default combobox view for entities implementing ITree (from folder/zone cube)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 19:31:50 +0200] rev 5911
[form] vocab function must now return values as unicode
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 06 Jul 2010 17:19:30 +0200] rev 5910
[facets] fix bug w/ vid in facet's js introduced in 3.9, improve navigation component so that show all link use ajax when called from ajax.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:15:25 +0200] rev 5909
[javascript] fix some javascript errors and remove some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:11:44 +0200] rev 5908
[forms] bw compat code for vocabulary function returning typed values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:11:41 +0200] rev 5907
[web config] fix old css compat code: we have to modify locate_resource prototype so it return (potentially hacked) file name as well. Should only impact the file cube which has to be released anyway.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 17:09:14 +0200] rev 5906
[repository] fix so that when repository is shutting down, internal session in transaction are interrupted
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 06 Jul 2010 11:45:11 +0200] rev 5905
[test] windmill: add a timeout between JS assertion in test_creation use case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 13:55:10 +0200] rev 5904
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 13:54:57 +0200] rev 5903
[selectors] fix dumb name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:34:23 +0200] rev 5902
[css] old css bw compat with @import in a custom css
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:31:34 +0200] rev 5901
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:31:04 +0200] rev 5900
[selectors] relation_possible selector should check user may read target entity type when specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:16 +0200] rev 5899
imported patch selstrfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:13 +0200] rev 5898
imported patch rql2sqlfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:41:19 +0200] rev 5897
[migration] fix rename_entity_type to an existant entity type: get back relation from the old entity type non existant on the target type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:39:06 +0200] rev 5896
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:06:17 +0200] rev 5895
[selectors] avoid spurious warning when using implements by design
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:05:56 +0200] rev 5894
[session] don't log reraised error occured during precommit
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 19:08:30 +0200] rev 5893
[doc] proof-reading and improvements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:25 +0200] rev 5892
[selectors] fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:19 +0200] rev 5891
[schema migration] import refactoring to fix #1109558 and enhances things on the way
the main pb demonstrated by #1109558 was due to the fact that in-memory schema
was updated in commit_event of operations. This is undesired in most cases,
since we want the modification to be taken into account in the interval between
the modification detection and the commit_event.
I've fixed this by merging in-memory schema / database alteration operations
for most important changes, doing in-memory schema changes as they are detected
and implementing a revertcommit_event method to revert them if necessary (with
exception for removal of stuff from the schema, where this is simply done in a
postcommit_event methods).
Also, I've benefited from this to support reverting of database alteration for
some operations (more to be done there), and to move so system source alteration
code to the native source code for a nicer design.
There may be some more stuff in syncschema.py that would benefit from similar
changes, but most important things are done (at least to close #1109558, w/
unittest_syncschema and unittest_migration green).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:00:33 +0200] rev 5890
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:56:02 +0200] rev 5889
[test] running transaction while session is closed are now killed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:41 +0200] rev 5888
[security] fix read rql expression insertion: we should not insert rql expr on variables only referenced in neged relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:37 +0200] rev 5887
[rql2sql] test and fix crash when OR in HAVING where both expresion are 'fake' having terms (eg not using aggregat function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:06:11 +0200] rev 5886
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:39 +0200] rev 5885
[config] use hashlib to avoid warning w/ py2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:11 +0200] rev 5884
[req] hashlib has no hash function, but has an hash1 function even in python 2.5
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:59:14 +0200] rev 5883
[utils] improve repr() of RepeatList
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:58:36 +0200] rev 5882
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:35:15 +0200] rev 5881
[selectors] use before-registry-reset event to init is_instance cache: cleaner code and avoid reloading bug (making hooks test fail for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:34:29 +0200] rev 5880
[vreg] new [before|after]-registry-reset event, taking vreg as argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:21 +0200] rev 5879
[doc] update book for adapters
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:13 +0200] rev 5878
[reledit] fix relation cardinality handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 12:04:32 +0200] rev 5877
[selectors] provide a new, optimized, is_instance selector that should at some point replace implements (along with the adaptable selector)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 19:14:48 +0200] rev 5876
[web/views/massmailing] fix cancel button msg/icon
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 02 Jul 2010 19:05:58 +0200] rev 5875
[testlib] improve test description messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:56:05 +0200] rev 5874
[web/views/reledit] fix typo (-add we used as id component in delete id)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:46:26 +0200] rev 5873
[web/test] fix test (doreledit must have a formid and this is now checked)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 18:03:18 +0200] rev 5872
[web ui] add missing image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:50:31 +0200] rev 5871
[ITree] small fixes: parent_entity is a IBreadCrumbs method, we should use .parent on ITree
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:49:23 +0200] rev 5870
restore bw compat on Entity.related_rql
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 15:26:59 +0200] rev 5869
reledit refactoring
* js handling rewritten to exploit all form capabilities (such as file upload ...)
* attribute-like composite relations (one ttype, cardinality in '?1' from composite side) are more
cutely handled, with a 'add'/'delete' additional actions/icons
* a reledit_ctrl rtag to finely control: reloading, edition and default values
* a proper chapter in the documentation (book)
* many bugfixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:44 +0200] rev 5868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:34 +0200] rev 5867
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:12 +0200] rev 5866
[idownloadable] make the download view http cache friendly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:46:09 +0200] rev 5865
[publisher] avoid useless rollback after successful commit, which clutters debug logs and may also not be cost-free
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:44:23 +0200] rev 5864
[controller] same method defined on the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:51 +0200] rev 5863
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:19 +0200] rev 5862
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5861
Added tag cubicweb-debian-version-3.8.6-1 for changeset 607a90073911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5860
Added tag cubicweb-version-3.8.6 for changeset 1a24c62aefc5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:38:56 +0200] rev 5859
[dbapi] refactor so that cw 3.8.6 can still speak with a 3.8.5 server
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:29:32 +0200] rev 5858
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Jun 2010 13:54:02 +0200] rev 5857
[bfss] fix file update to ensure file's content is available on the fs asap...
and not only at commit time. So it's consistent with entity creation behaviour.
The new file is created at assignement time and removed if the commit is
rollbacked.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:09:59 +0200] rev 5856
[ldap] fix exception handling on authentication error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:05:56 +0200] rev 5855
[ldap] cleanup password checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:02:08 +0200] rev 5854
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:58 +0200] rev 5853
[css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:22 +0200] rev 5852
bump version number to trigger migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 00:39:46 +0200] rev 5851
3.8.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:46:58 +0200] rev 5850
[migration] schema should be accessed through .repo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:06:37 +0200] rev 5849
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 09:23:39 +0200] rev 5848
[security] use set_operation for relation permission checking operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:47:24 +0200] rev 5847
[migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1
so the code looks better and avoid clutering lgdb api. Depends on lgdb 1.0.5.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:32:27 +0200] rev 5846
[schema migration] fix name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:13:03 +0200] rev 5845
[schema migration] avoid potential duplicated ft reindexation due to multiple UpdateFTIndexOp operations by using set_operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 18:47:10 +0200] rev 5844
[sql generation] fix bug with inlined relation and referenced by other neged relation
we should check in that the column is not null in such cases
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:35 +0200] rev 5843
[refactor] refactor rtag keys generations.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:13 +0200] rev 5842
[fix] fix a uicfg bug in autoform_section
When several rtags matches the same relation (for example "* login *" and
"CWUser login *") inconsistent rtag could be merged.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:50:06 +0200] rev 5841
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:43:36 +0200] rev 5840
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:51 +0200] rev 5839
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:48 +0200] rev 5838
[login form] fix bad login field label by using pgettext
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:44:47 +0200] rev 5837
updated docstrings on Operation class
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:42:48 +0000] rev 5836
do not allow password-less bind: windows accepts this as Anonymous Logon
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 25 Jun 2010 11:29:48 +0200] rev 5835
[#969169] don't display remove link in edition forms if the cardinality is 1
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 16:03:57 +0200] rev 5834
fix name error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 15:59:17 +0000] rev 5833
fix schema migration hooks (partial)
SQL Server requires some additional steps to alter columns
(index drop and restore, etc...) and this in turn requires
passing a connection on the DB to find out the indexes.
Also partially fix an issue where the null_allowed value was
not correctly computed. Still some problems in there
(see https://www.logilab.net/cwo/ticket/1109558)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:36:22 +0200] rev 5832
delete trailing whitespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:10:01 +0200] rev 5831
Had thought this could be done in cube, but it really needs to be done earlier in the migration process
Stéphanie Marcu <steph@logilab.fr> [Wed, 23 Jun 2010 14:56:21 +0200] rev 5830
EntityFormRenderer redefine open_form and add a div section, so redefine close_form to add the closing div tag
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 14:17:57 +0200] rev 5829
Backed out changeset c29c90223125 which breaks the cw tests
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 23 Jun 2010 12:33:25 +0200] rev 5828
EntityFormRenderer redefine open_form and add a div section, so redefine close_form to add the closing div tag
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 09:30:59 +0000] rev 5827
reduce log verbosity in ldapuser source
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 09:27:52 +0200] rev 5826
[session] refactor session handling so that when calling session.close(), pool of long running transaction of the same session is properly freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Jun 2010 11:04:59 +0200] rev 5825
[debug views] set http cache max age to 0 on debug views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Jun 2010 10:29:04 +0200] rev 5824
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:48:36 +0200] rev 5823
[schema view] width isn't in authorized th attribute in xhtml DTD. katia, please do it another way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:39:50 +0200] rev 5822
[schema view] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:30:15 +0200] rev 5821
[rql2sql] #1089207: do not encode Unicode strings from RQL statements to db encoding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:10:25 +0200] rev 5820
fix bad merge
katia [Mon, 21 Jun 2010 16:13:41 +0200] rev 5819
[css] more css rework, need visual test in compat/new modes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 16:01:57 +0200] rev 5818
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 16:01:15 +0200] rev 5817
[config] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:58:13 +0200] rev 5816
[form] apply patch #933771: format_single_value / vocabulary methods should *always* return actual value as an unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:34:46 +0200] rev 5815
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:32:58 +0200] rev 5814
[repo] fix 'c-c start --loglevel LEVEL' for repository only configuration. Closes #1058269.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:32:26 +0200] rev 5813
[transaction w/ separated web/repo processes] the dbapi should explicitly specify a transaction id to avoid confusion when web server / repository run in separated processes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:29:10 +0200] rev 5812
[dbapi] Connection.load_appobjects should load site_cubicweb files as well, they may contains necessary RQL extension function definitions. Also kill some broken deprecated code in this method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 13:23:11 +0200] rev 5811
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:54:09 +0200] rev 5810
Added tag cubicweb-debian-version-3.8.5-1 for changeset 5d05b08adeab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:54:09 +0200] rev 5809
Added tag cubicweb-version-3.8.5 for changeset 2de32c0c293b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:13:25 +0200] rev 5808
[repo] call entity.check() once before_update hooks has been called, to let them a chance to transform data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 10:42:26 +0200] rev 5807
3.8.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 10:00:05 +0200] rev 5806
[debian] #1027463: logrotate script should filter out warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 09:36:40 +0200] rev 5805
[schema migration] fix fix introduced in 5803:589e2e3fb997, test for backend alter column support should be done in the operation, else the associated index is not dropped while this is supported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:54:12 +0200] rev 5804
[schema migration] fix backend compatibility issue by using type_from_constraints / sql_change_col_type instead of bare ALTER COLUMN
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:53:13 +0200] rev 5803
[schema migration] don't try to drop column if backend doesn't support column alteration (eg sqlite)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:52:13 +0200] rev 5802
[session] when rollback_on_failure is false, we should not try to reconnect if the sql raised an error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sun, 20 Jun 2010 15:09:42 +0000] rev 5801
Use SQL standard ALTER TABLE command (with ADD instead of ADD COLUMN)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sun, 20 Jun 2010 15:08:23 +0000] rev 5800
reduced logging verbosity in ldapuser source
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 19 Jun 2010 16:08:54 +0200] rev 5799
use sessionid in log message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 19 Jun 2010 16:08:08 +0200] rev 5798
constraints can contain unicode values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:31:22 +0200] rev 5797
[entity] fix .complete so we don't crash on missing mandatory relation. Also simplify code. Closes #1058267
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:49:17 +0200] rev 5796
closes #1059729: cw-ctl upgrade : i18n upgrade not performed if DB does not need upgrade
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 18:35:09 +0200] rev 5795
[devtools/qunit] prefix jquery_dir with 'file://'
(as this is used from within a web browser)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 18:16:36 +0200] rev 5794
[devtools/qunit] Locate jquery through cubicwew config to handle installed setup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:14:55 +0200] rev 5793
[rql2sql] use new dbhelper.sql_concat_string function to deal with sql string concatenation. This together with lgdb 1.0.4 fixes #1055133: SQL Server support : string concatenation issue
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 15:41:39 +0200] rev 5792
[session] update session's timestamp in session.execute, so long running transactions are not erroneously closed by the repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 14:56:01 +0200] rev 5791
[repo session] expected argument is the source, not the session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 14:44:22 +0200] rev 5790
[devtools/qunit] in safe mode, ffox launches a stupid popup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 13:32:54 +0200] rev 5789
[ldapuser] quieter ldap result info, fix commented block style
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 11:40:37 +0200] rev 5788
[qunit] use safe mode for firefox
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 11:40:33 +0200] rev 5787
[qunit] Move qunit.js and qunit.css in devtools/datadirectory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 09:25:01 +0200] rev 5786
[test] fix stupd name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 09:07:41 +0200] rev 5785
[test] fix test w/ closed connection pb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 08:14:00 +0200] rev 5784
[ms] orderby/groupby/having attributes of Select node should be resetted to empty tuple, not None
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 18:50:20 +0200] rev 5783
[devtools/teslib] be more defensive on rollbacks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 18:36:16 +0200] rev 5782
[rql2sql] when using HAVING to by-pass rql limitation (not to filter on result of an aggregat function), we should emit SQL that doesn't use HAVING to avoid potential backend error because variables are not grouped. Closes #1061603.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 17:49:58 +0200] rev 5781
[doc/book/faq] question on security
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jun 2010 16:57:24 +0200] rev 5780
[qunit] check that the browser has not died by himself before we asked him to stop.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jun 2010 16:56:38 +0200] rev 5779
[qunit] improve output of suprocess error
The exception message now include the stdout and stderr of the called process
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 16:24:01 +0200] rev 5778
[test] workaround connection leak making tests fail under windows environment (though we've still probably some open connection leak to resolve...)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 16:17:09 +0200] rev 5777
[web request] in python 2.5 hashlib has no .hash attribute