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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 16:16:08 +0200] rev 5776
[web actions] fix recent refactoring, leading to missing redirect parameters in action's url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:30:28 +0200] rev 5775
[packaging] more cleanups, handle javascript test files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:15:52 +0200] rev 5774
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 17 Jun 2010 15:09:12 +0200] rev 5773
[facet] use vreg.parse so the rql syntax tree is properly annotated as well
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 17 Jun 2010 15:08:25 +0200] rev 5772
[text search] fix fulltext_container indexation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:04:35 +0200] rev 5771
[md5script] cleanup
auc [Thu, 17 Jun 2010 15:02:24 +0200] rev 5770
[py2.6] use hashlib to silence python 2.6 deprecation warnings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 15:02:22 +0200] rev 5769
[autoform] do not show remove link for inline form if card == 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 14:43:16 +0200] rev 5768
[fti] support for fti ranking: has_text query results sorted by relevance, and provides a way to control weight per entity / entity's attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 14:42:41 +0200] rev 5767
[packaging] MANIFEST.in cleanups, update js/css copyright, remove no more used files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 12:13:38 +0200] rev 5766
[js tests] fix javascripts tests definition, test_datetime.js now included in test_utils.js, which test other stuff as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:52 +0200] rev 5765
[entity] can't do anymore dict(entity) since entity doesn't inherit from dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:34 +0200] rev 5764
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:14 +0200] rev 5763
[vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 14:51:17 +0200] rev 5762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 14:47:39 +0200] rev 5761
[test] unittest_multisources: external source shouldn't use the same database as the main repo...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 13:54:10 +0200] rev 5760
[test] miss main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 12:24:12 +0200] rev 5759
imported patch asynchronous multipart parsing.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 12:24:11 +0200] rev 5758
imported patch cookie handling: do not use semicolon as it has some tech meaning (web2 -> web)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 09:53:17 +0200] rev 5757
[entity] when .related() is called on a not-yet-saved entity, return an empty rset/list instead of raising an assertion error
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 16 Jun 2010 09:33:04 +0200] rev 5756
[filefield] normalized file names to deal with windows files
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 16 Jun 2010 09:30:30 +0200] rev 5755
[c-c exlog] fix code and documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 09:21:49 +0200] rev 5754
[test] support for test on postgres database using the same mecanism as sqlite: one template database generated when necessary + actual test database created from the template
* * *
[test] reset postgres database between test of the same fixture
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:19:44 +0200] rev 5753
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:16:19 +0200] rev 5752
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:30 +0200] rev 5751
[test] properly close connections during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:29 +0200] rev 5750
[repo] on repository initialization, properly shutdown intermediary repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:28 +0200] rev 5749
[repo] on repository shutdown, we've to close the new eid creation connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:26 +0200] rev 5748
[auto-reload] we should never call load_module with use_sys=False, that may lead to inconsistency with module interdependancy (eg module get imported by another one, then is reimported by the vreg to load its appobjects. Cleanup of sys.modules done before reloading should be enough.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 14 Jun 2010 17:56:10 +0200] rev 5747
[rset] do not filter rsets with __getstate__, ensure whatever flies with pyro has no .req attribute, also set the ._rqlst to None since it will be reconstructed later on demand
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:59:05 +0200] rev 5746
[security] SchemaRelation.has_perm grows to new arguments allowing to specify subject/object entity type when actual eid are not known, but their types are
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:58:06 +0200] rev 5745
[linkto action] refactor to ease overriding to control redirection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:58:03 +0200] rev 5744
[hooks] entity_oldnewvalue should never return _MARKER: if the attribute isn't in the entity dict (hence unmodified), return the old value
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 14 Jun 2010 12:13:46 +0200] rev 5743
Use the qunit automatic launcher for existing testcase.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Jun 2010 18:18:26 +0200] rev 5742
Add a QUnitTestCase class to run qunit test case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Jun 2010 18:48:17 +0200] rev 5741
[twctl] add missing poststop method #1058268
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Jun 2010 18:47:53 +0200] rev 5740
[rset] make rsets picklable (again ?) #1056422
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 16:11:23 +0200] rev 5739
[jstests] nicer test page title
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 16:07:58 +0200] rev 5738
[jstest] get back more tests writen during the sprint by vgodard
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 15:54:29 +0200] rev 5737
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:59:08 +0200] rev 5736
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:57:51 +0200] rev 5735
Added tag cubicweb-debian-version-3.8.4-1 for changeset b7883287f40c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:57:50 +0200] rev 5734
Added tag cubicweb-version-3.8.4 for changeset d00d1fab42af
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 13:00:19 +0200] rev 5733
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 13:00:02 +0200] rev 5732
[selectors] relation_possible selector accept None as action, in which case no perms checking is done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 11:37:17 +0200] rev 5731
3.8.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 11:36:01 +0200] rev 5730
[xhtml] fix soup2xhtml to deal with malformed div,body and html tags which may leads to malformed return value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 09:20:38 +0200] rev 5729
[source] remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 08:39:21 +0200] rev 5728
[entity] add .clear() for bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:53 +0200] rev 5727
[3.9] api update (mostly js) + add support for FCKEditor in formContents js function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:52 +0200] rev 5726
[json] fix json serialization for recent simplejson implementation, and test encoding of entities
as with earlier simplejson implementation, iterencode internal stuff
is a generated function, we can't anymore rely on the _iterencode
overriding trick, so move on by stoping isinstance(Entity, dict).
This is a much heavier change than expected but it was expected
to be done at some point, so let's go that way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:49 +0200] rev 5725
[adapters] enhanced warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:44:03 +0200] rev 5724
[test] fix test broken by 5721:61d6a4caa963, and update it to proper adapters to avoid deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:32:09 +0200] rev 5723
[3.9] update warning message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:28:12 +0200] rev 5722
[iprogress] move adapter to entities.adapters
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Jun 2010 17:25:38 +0200] rev 5721
fix wrong calculation of clean_session_interval
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:57:02 +0200] rev 5720
[ITree] more fixes, fix fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:57:00 +0200] rev 5719
[idownloadable] depends on a new mtconverter release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:28:06 +0200] rev 5718
[ITree] fix adapter/_done_init to handle tree_[attribute|relation], add maxlevel argument to base tree view since one side effect of the new code is that it find tree view for entity types it didn't find before, hence one may want to limit tree view depth when it wasn't necessary before
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:28:04 +0200] rev 5717
[3.9] fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:25:15 +0200] rev 5716
[web] move itree adapter to entities, it may be used outside the web interface
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:23:07 +0200] rev 5715
[view] add a new entity_call method to entity view protocol, allowing some to work with not yet created entities. Also, start considering 'eid' form parameters where we only consider 'rql', so we can move on bloquing arbitrary rql inputs (more to do on this...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:49 +0200] rev 5714
[idownloadable] refactor IDownloadable primary view to make overriding easier
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:48 +0200] rev 5713
[web] ajax_replace_url superseed build_ajax_replace_url, more generic and relying on the json controller (closes #750090)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:47 +0200] rev 5712
[form] refactor meta-attributes handling: hide them by default using uicfg.afs instead of returning None (or not, according to skip_meta_attr flag argument) in guess_field
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jun 2010 15:11:30 +0200] rev 5711
[repo] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 13:56:52 +0200] rev 5710
[req] fix format_time w/ 0:0 which is evaluated to False
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 12:53:21 +0200] rev 5709
[view] ensure fallback_oid is specified before trying to select fallback view, else simply raise the exception
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:18:34 +0200] rev 5708
fix merge, forgot to save a buffer :(
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:16:59 +0200] rev 5707
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:15:26 +0200] rev 5706
[rql2sql] fix special 'X relation NULL' case (used by security insertion), broken by recent removal of IS operator in RQL
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 16:16:54 +0200] rev 5705
[javascript] add a name property to namespaces, mainly for convenience in helpers such as movedToNamespace
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:51:00 +0200] rev 5704
[rql] IS operator killed in rql 0.26.2, use equal instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:44:45 +0200] rev 5703
[security] consider any rql expression refering to X while X is being created as satisfied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:31:12 +0200] rev 5702
[rql] more update to 0.26.2 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:21:08 +0200] rev 5701
[querier] fix rset description bug with some union queries
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 13:42:17 +0200] rev 5700
[devtools] fix get_available_port implementation: it should only return the port number if unable to connect
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 12:43:21 +0200] rev 5699
[javascript] move CubicWeb object declaration to cubicweb.js, remove CubicWeb.provide/require, use cw instead of CubicWeb
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 12:39:55 +0200] rev 5698
[javascript] move Deferred implementation to cubicweb.ajax.js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 12:32:54 +0200] rev 5697
[form] fix untested (unread?) has_been_modified implementation...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 10:06:46 +0200] rev 5696
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 10:06:04 +0200] rev 5695
[autoform] fix vreg module name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:58:23 +0200] rev 5694
[pylint] fix detected name errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:54:35 +0200] rev 5693
[pylint] fix detected name errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:42:24 +0200] rev 5692
[repo server] fix startup bug, lgc.daemon.daemonize return 1 for the parent process, not -1
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 09:42:52 +0200] rev 5691
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 09:41:36 +0200] rev 5690
[source] don't create the eid_creation connection at source initiliaztion time
This fixes the "already opened connection bug" in db-restore for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 19:17:41 +0200] rev 5689
[schema view] only catch key errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 19:17:16 +0200] rev 5688
[schema view] improve it slightly by attributing the same color to rdef of the same relation type
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 07 Jun 2010 19:01:21 +0200] rev 5687
[rset] Add a line break the first result in repr of multiple rows rset
Improve readability of rset while debugging by aligning the first value with the
others if the rset have multiple row. This first line was usually not read as
it' was on the same line that the first part of the repr ("<rset <RQL>, (%i
rows) ...")
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Jun 2010 18:50:24 +0200] rev 5686
[schema diagram] ticket #191599, make schema image look better
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:16:16 +0200] rev 5685
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:15:39 +0200] rev 5684
[workflow image] remove debug code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:13:41 +0200] rev 5683
[request] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:13:39 +0200] rev 5682
[security] view was giving web access to every fs file accessible by the web server process. Fix this security hole by storing file in session data, not direct form parameters
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 17:45:41 +0200] rev 5681
[hooks] fix typo in workflow hooks category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:31:46 +0200] rev 5680
[security hooks] fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:22:24 +0200] rev 5679
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:08:54 +0200] rev 5678
Added tag cubicweb-debian-version-3.8.3-1 for changeset 1ccaa9247860
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:08:53 +0200] rev 5677
Added tag cubicweb-version-3.8.3 for changeset 7e6c6a2a272d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 12:39:15 +0200] rev 5676
[edit ctrl] fix bad interaction with fields: the loop on actual fields should be done in has_been_modified
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 31 May 2010 19:33:43 +0200] rev 5675
[web test] add basic windmill tests and documentation
- connection / deconnection
- user creation
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 01 Jun 2010 17:09:22 +0200] rev 5674
[web test] Add windmill functional testing capability.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 09:50:25 +0200] rev 5673
3.8.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 09:23:11 +0200] rev 5672
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jun 2010 15:45:54 +0200] rev 5671
[editform] consistent [do]reledit between attributes and relations: check if rdef is hidden in main section of uicfg.afs for both attributes and relations, and in the reledit view, not in doreledit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jun 2010 13:09:12 +0200] rev 5670
on entity creation, accept attributes without any update access
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jun 2010 13:08:28 +0200] rev 5669
[table] propagate paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jun 2010 13:07:57 +0200] rev 5668
no more need for specific handling of table view's displayaction
it's handled as other view arguments in vidargs
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 04 Jun 2010 13:07:07 +0200] rev 5667
[rset] do not break when rset.related_entity(x,y) is not an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jun 2010 11:09:55 +0200] rev 5666
[migration] fix schema synchronization bug
sync_schema_props_perms('Repository', syncprops=False)
to synchronize permission of entity's attributes wasn't working as
expected: only the entity's permission were updated.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Jun 2010 18:45:02 +0200] rev 5665
[javascript] refactor execution flow of handleFormValidationResponse so that location hash is set to #header whatever the error is
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 03 Jun 2010 17:14:32 +0200] rev 5664
[package] now depends on yams 0.30 because of xy API changes
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 03 Jun 2010 16:52:01 +0200] rev 5663
[xy] switch order of arguments for register_prefix()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jun 2010 16:47:57 +0200] rev 5662
HAVING sql clause don't know about comma...
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 03 Jun 2010 16:37:01 +0200] rev 5661
[web/formwidgets] check on list (entity.related_cache swapped from tuple to list a while ago without known reasons), do not unicode wrap the eids
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Jun 2010 15:13:41 +0200] rev 5660
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Jun 2010 15:10:48 +0000] rev 5659
[win32] defer import of logilab.common.daemon
The module is not importable on windows, and etwist.service carefully avoids
importing it (but imports etwist.server). Wait until we are sure not to be on
windows to do the import)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Jun 2010 14:51:42 +0200] rev 5658
[ajax] refactor/cleanup low-level ajax functions
* loadxhtml/replacePageChunck/reload_component/reload_box deprecated in favor of loadXHTML / ajaxFuncArgs
* some other cleanups in cubicweb.ajax.js
* add js_render which will replace js_component (more generic, nicer argument passing handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jun 2010 13:20:07 +0200] rev 5657
[querier] test and fix potential bug in insertion query with multiple relations inside, caused by a name conflict. Also fix another bug non reproduced by using a set instead of a list (list may leads to compare entity instances which isn't allowed).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jun 2010 10:20:00 +0200] rev 5656
[form] avoid spurious warning subsequent for form's action refactoring w/ autoforms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jun 2010 10:17:44 +0200] rev 5655
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Jun 2010 17:06:41 +0200] rev 5654
[web test] Add a CubicWebServerTC class to run test with a cw web serveur available.
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 31 May 2010 18:59:07 +0200] rev 5653
[web server] vregistry may now be passed as named argument in CubicWebRootResource constructor
This will be needed to start an http server for testing purpose.
Also, server run command has now a debug name argument to set debug mode explicitly
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Jun 2010 17:44:55 +0200] rev 5652
[etwist] twisted won't install signal handler outside the main thread.
This patch avoid some warning about this issue.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Jun 2010 17:29:49 +0200] rev 5651
[vreg] ensure you can register an object from module not known yet.
This ease registration of arbitrary objects during testing.
Julien Jehannet <julien.jehannet@logilab.fr> [Tue, 01 Jun 2010 17:03:28 +0200] rev 5650
[web] cleanup use of config in web application initialisation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Jun 2010 09:41:41 +0200] rev 5649
fix unit tests by not using the new create_eid implementation with sqlite
Actually, fix a couple of issues with a previous attempt:
* do not use double underscores as method patching will fail with these
* old method must always be used with sqlite regardless of the no_sqlite_wrap attribute
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 03 Jun 2010 09:24:41 +0200] rev 5648
cleanup the no_sqlite_wrap attribute after this test is executed
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 23:06:38 +0200] rev 5647
merge back on-site fixes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 23:03:35 +0000] rev 5646
various brown paper bag fixes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 18:12:47 +0200] rev 5645
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 18:12:27 +0200] rev 5644
fix create_eid for sqlite (and bring back tests)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 17:26:26 +0200] rev 5643
backport improved on-site change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 17:23:42 +0000] rev 5642
TimedCache now only accepts values expressed in seconds
updated ldapuser.py and pyrorql.py to that new interface.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 16:30:36 +0200] rev 5641
backported to stable some changes made on site for a customer
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 16:25:12 +0000] rev 5640
logging settings
* document helpful log format when dealing with MT issues
* on Win32, use a logrotate equivalent so that logs get a bit lighter (requires updates logilab.common)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 16:12:18 +0000] rev 5639
[win32] fix deadlock occuring on the sequence tables with SQLServer
actually, this deadlock would occur with any db backend other that PostgreSQL
as the previous code was heavily relying on PG's SEQUENCE facility, not available
elsewhere.
Deadlock description:
Thread1 starts creating entities (and therefore calls create_eid):
-> this creates a DB-level lock on the entities_id_seq table, which
will last until end of transaction
Thread2 calls create_eid, which acquires the Python lock object, but
updating the entities_id_seq is held by the DB lock
Thread1 wants to create a new entity, calls create_eid, and is stuck by
the Python lock object held by Thread2.
Solution:
use a separate connection to read and write the entities_id_seq table.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 16:05:40 +0000] rev 5638
log the user name on session opening for easier debugging
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 02 Jun 2010 15:55:58 +0000] rev 5637
more robust handling of looping task configuration in ldap source
* use minimum times
* updated documentation and help strings
* fix the minutes vs. seconds confusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 16:15:05 +0200] rev 5636
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 16:13:28 +0200] rev 5635
[rql2sql] fix scope computation of variable from temporary table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 15:55:16 +0200] rev 5634
stop being dumb please
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 15:29:18 +0200] rev 5633
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 15:28:19 +0200] rev 5632
[tableview / facets] to work properly with facet, initial table should handle case where actualrql isn't specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 15:27:34 +0200] rev 5631
[test] generated html differs w/ pygments version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 14:48:36 +0200] rev 5630
[storage] source's callback has a new prototype, update usage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 14:36:54 +0200] rev 5629
grmbl
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 14:24:28 +0200] rev 5628
grmbl
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 13:02:47 +0200] rev 5627
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 13:02:34 +0200] rev 5626
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 13:01:45 +0200] rev 5625
[external storage] refactor to give session to storage's callback (needed by vcsfile storage)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 13:00:27 +0200] rev 5624
[navigation] use pageContent instead of paginated-content as default div id, paginated-content doesn't seems used anymore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 12:59:37 +0200] rev 5623
[test] update test to follow recent navigation/facets fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jun 2010 12:59:13 +0200] rev 5622
[tableview] use pageContent instead of paginated-content as default div id, paginated-content doesn't seems used anymore
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 01 Jun 2010 15:19:06 +0200] rev 5621
[sparql] improve error reporting and fix one bug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 14:26:50 +0200] rev 5620
[test] add missing __main__ as expected by apycot pyunit checker
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 13:19:43 +0200] rev 5619
[tableview] don't fail with AttributeError when paginated as main content view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 12:21:44 +0200] rev 5618
[facet] we must add type restriction for attribute facets as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 12:21:03 +0200] rev 5617
[tableview] support for json-paginated table if paginable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 12:20:16 +0200] rev 5616
[navigation] view may implements page_navigation_url to handle them self url generated for pagination
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 12:19:01 +0200] rev 5615
[navigation] when there are to much results, use a <select> based page navigation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 12:16:56 +0200] rev 5614
[primary] add missing version number to deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 08:54:40 +0200] rev 5613
[sparql] fix type inference (test_dctitle_both_project_cwuser) and support for <http://www.w3.org/1999/02/22-rdf-syntax-ns#type tag (test_base_rdftype)
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 01 Jun 2010 08:35:09 +0200] rev 5612
[form] remove double property call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Jun 2010 08:34:35 +0200] rev 5611
cleanups
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 May 2010 02:03:54 +0200] rev 5610
[sparql] add failing test for two entities with dc:title
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 May 2010 01:54:12 +0200] rev 5609
[sparql] adding test for "rdf:type -> is"
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:33:57 +0200] rev 5608
proof read documentation
some clarifications, some typo fixes, and a couple of other strings fixed on the way
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:33:40 +0200] rev 5607
skip flymake junk when reloading
this avoids nasty ex aequo scores in selectors in dev. mode
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:18:02 +0200] rev 5606
merge back to stable some changes made on site for a customer.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:06:07 +0000] rev 5605
[win32 SQLServer] connection lost detection
The pyodbc driver when connected to SQLServer 2005 reports lost connections in
a quite strange way, raising a pyodbc.Error exception with a specific exc.args value.
This patch catches these and reconnect properly.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:03:50 +0000] rev 5604
ldap: reset cache when a user is deleted
When a user is deleted from ldap, reset both caches used by the source
otherwise the search is not performed again and exceptions such as
UnknownEid: No entity with eid 74078 in the repository
will occur
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:58:23 +0000] rev 5603
ldap source logging
Added some extra logging statement to understand what happens in the ldap source.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:57:02 +0000] rev 5602
forbid looping tasks with an interval of 0
This severly harm the server, and generally are the result of a
baaad configuration file. We want to stop the server asap when
this is detected to give people a chance to fix the configuration.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:54:07 +0000] rev 5601
/siteinfo page: display information about the names of the running threads
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:52:31 +0000] rev 5600
[win32 service] activate logging to the configured file as soon as possible
since we don't always have access to the system events of the computer running CW
it is important to get as much information as possible in the log file, especially
startup failure messages.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 28 May 2010 08:05:17 +0200] rev 5599
[bfss] Rename filenames according to their metadata on entity update.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 18:32:27 +0200] rev 5598
[form] missing return...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 18:17:29 +0200] rev 5597
[adapters] fix NameError introduced by adapters refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 17:19:44 +0200] rev 5596
[security] fix security insertion on DISTINCT queries