Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:47:33 +0200] rev 6532
[debian] cleanup -common package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 22:47:17 +0200] rev 6531
[doc] fix build dir
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:41:06 +0200] rev 6530
Added tag cubicweb-debian-version-3.10.1-1 for changeset 3abb41c47925
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:41:05 +0200] rev 6529
Added tag cubicweb-version-3.10.1 for changeset 6c6859a67673
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:10:44 +0200] rev 6528
[doc] generate doc in cw/doc/html and include html files in cubicweb-documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 21:10:01 +0200] rev 6527
[3.10] user changelog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:24:25 +0200] rev 6526
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:05:20 +0200] rev 6525
[css] need some pading in bookmark box
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:04:45 +0200] rev 6524
[test] take care to unicode __regid__ (usually when using _()), may lead to later unicode decode error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 17 Oct 2010 10:04:03 +0200] rev 6523
[css] typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:52:18 +0200] rev 6522
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:52:06 +0200] rev 6521
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:51:52 +0200] rev 6520
Backed out changeset 1f8b902f3143: this block compilation under distrib with old sphinx package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:51:01 +0200] rev 6519
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 19:50:34 +0200] rev 6518
Backed out changeset 88b3172eb7c7: alain's patch 6517:c991ad161d8f does a better job at this
Alain Leufroy <alain.leufroy@logilab.fr> [Fri, 15 Oct 2010 19:49:00 +0200] rev 6517
[pkg] force copying data files in sys.path
* Hack setuptools to copy data files in sys.path instead of egg
directory
* Hack easy_install's SandboxViolation verification to allow writting
files in sys.path (allowed by disutils)
Alain Leufroy <alain.leufroy@logilab.fr> [Fri, 15 Oct 2010 19:48:58 +0200] rev 6516
[pkg] use argument *package_data*
Use the dedicaded setup's argument for files that are copied in the
package directory.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 17:57:27 +0200] rev 6515
[3.10] enhanced deprecation warning: add problematic class name
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 17:00:09 +0200] rev 6514
[devtools] Firefox need write access to $HOME
Check that you have write acces to the user home before launching Firefox.
Firefox need to write stuff in the home directory of the user and will silency
crash when unable to do it. We add an assertion with an explicite message to
improve crash report in such situation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 16:20:48 +0200] rev 6513
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 16:20:27 +0200] rev 6512
[debian] include compiled documentation instead of source in cubicweb-documentation debian pkg
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 16:12:47 +0200] rev 6511
[book] don't rely on importable cubicweb to extract cubicweb version number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 12:09:11 +0200] rev 6510
3.10.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 12:07:32 +0200] rev 6509
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:48:43 +0200] rev 6508
[pkg] fix install_data import not present in setuptools
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:48:16 +0200] rev 6507
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:41:10 +0200] rev 6506
[packaging] add a __init__.py to cubes directory when installing data
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:40:36 +0200] rev 6505
[distribution] Handle missing instance directory when listing and running instance command.
no directory means no available instance.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:39:54 +0200] rev 6504
[setuptools] Automaticly move data content of a cubicweb's egg in the proper location.
This should be done once during the first import of the cubicweb module.
This is an ugly hack because setuptools lake proper post install hooks.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 15 Oct 2010 11:39:10 +0200] rev 6503
[packaging] Egg are not valid cubicweb prefix.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 13 Oct 2010 18:58:56 +0200] rev 6502
[config] Put "Instance" and "Instance data" directory within cubiweb install prefix.
Instance directory (/etc/cubicweb.d) and Instance Data directory
(/var/lib/cubiweb/) are now put withing the install prefix of cubicweb.
When this prefix is /usr/ old behaviour are used (they are putted in the root
directory).
This change will make cubicweb much more virtual env friendly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:43 +0200] rev 6501
[debian] goa package gone for now
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:33:06 +0200] rev 6500
[component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:25:59 +0200] rev 6499
[deprecation] enhanced messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Oct 2010 11:25:51 +0200] rev 6498
[bw compat] fix compat for entity.attr assigment
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Oct 2010 17:32:36 +0200] rev 6497
fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 16:57:56 +0200] rev 6496
[iprogress] None resilience
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 13 Oct 2010 18:54:59 +0200] rev 6495
#1251878: Cubicweb no longer crash for missing instance and data dir at create.
Those directory should be created by cubicweb now.
We may want to issue a warning if they are missing.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 14:10:45 +0200] rev 6494
[config] make config.cubes() available on NoAppCubicWebConfiguration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 14:10:02 +0200] rev 6493
[rql2sql] properly compute has_text relation table scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:15:56 +0200] rev 6492
fix some pylint detected errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:15:38 +0200] rev 6491
pylint option update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 10:08:00 +0200] rev 6490
[components] add missing imports for code copied/pasted. Forgot to run pylint afterward...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 09:49:59 +0200] rev 6489
[component] avoid conflict on global/local identifier
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 09:01:58 +0200] rev 6488
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:43 +0200] rev 6487
[debian] goa package gone for now
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:10:07 +0200] rev 6486
[doc] kill deprecated french documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:01:04 +0200] rev 6485
Added tag cubicweb-debian-version-3.10.0-1 for changeset 9ef1347f8d99
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Oct 2010 00:01:03 +0200] rev 6484
Added tag cubicweb-version-3.10.0 for changeset 0793fe84651b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 22:18:59 +0200] rev 6483
3.10
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 19:46:35 +0200] rev 6482
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:47:22 +0200] rev 6481
[schema categorization] new NO_I18NCONTEXT set usable to somewhat control c-c i18n
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:46:54 +0200] rev 6480
i18n catalog cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:18:20 +0200] rev 6479
[primary] RsetBox view should give dispctrl & all to its subview. Also, don't use csv when in boxes.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:17:37 +0200] rev 6478
[server] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:17:20 +0200] rev 6477
[see also component] drop it, we can acheive the same result with uicfg rules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:16:48 +0200] rev 6476
[primary] fix autolimited view which was not limited at all
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 16:00:06 +0200] rev 6475
[see also component] avoid seeing see_also entities in side boxes as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 15:59:35 +0200] rev 6474
[components] remove old deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 15:59:05 +0200] rev 6473
[wf history] avoid title duplication
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 13:03:48 +0200] rev 6472
i18n tweaks
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 13 Oct 2010 11:00:22 +0200] rev 6471
[book] small note about test/data/schema.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:37:21 +0200] rev 6470
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:37:09 +0200] rev 6469
[test] reset uncommitable flag on ValidationError raised during automatic db population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 08:36:38 +0200] rev 6468
[ctx component] has no wview method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Oct 2010 07:45:18 +0200] rev 6467
[entity, repo] move prefill_entity_cache function back to repository due to usage of del_existing_rel_if_needed function which is also defined there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:36:54 +0200] rev 6466
cleanup and 3.10 updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:36:35 +0200] rev 6465
[architecture] introduce adapter to ease transformation of errors before display to the end user. Use it for UniqueTogetherError first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 23:34:55 +0200] rev 6464
[repo, entity] move entity cache initialization to a function, and call it before source.add_entity so it may be used in error handler or such
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:20:15 +0200] rev 6463
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:15:47 +0200] rev 6462
[ui component] restore see_also component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:12:50 +0200] rev 6461
[ui component] RelatedObjectsCtxComponent to superseede RelatedObjectsVComponent (still there for bw compat)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 22:11:06 +0200] rev 6460
[c-c i18ncubicweb] fix 'non-contextual' relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:15:31 +0200] rev 6459
[i18n] uniformize footer capitalization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:48 +0200] rev 6458
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:43 +0200] rev 6457
[selector] more efficient rql_condition by simply retreiving COUNT()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:10:08 +0200] rev 6456
[workflow] fix bw compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 19:09:52 +0200] rev 6455
[baseviews] new cw.archive.[by_author|by_date] views, extracted from blog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 14:13:07 +0200] rev 6454
[test/possible views] skip deprecated views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 14:10:58 +0200] rev 6453
[form] unify form.render prototype to take a 'w' argument as other view/components render method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Oct 2010 12:12:05 +0200] rev 6452
[ui] nicer ajax edit relation table (tags box for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 19:45:15 +0200] rev 6451
fix pre 3.10 bw compat
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 11 Oct 2010 19:13:01 +0200] rev 6450
small typo on mustMach, handle initialvalue, handle empty userInput
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Oct 2010 19:13:00 +0200] rev 6449
[formwidgets] rewrite autocomplete cw widgets to get rid of div-style declaration API
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 11 Oct 2010 19:12:59 +0200] rev 6448
[javascript] update to jQuery 1.4.2 and jQuery-ui 1.8.5
The most notable changes are :
- A bug in jQuery 1.4.2 forces us to add 2 noop() methods
on cw objects to handle event unbinding, see :
http://dev.jquery.com/ticket/6184
for more details.
- jquery.autocomplete.js is not maintained anymore as it now has
a standard implementation in jquery ui. The downside is that
the new autocomplete version needs more work to be used.
cubicweb.widgets.js defines a cwautocomplete plugin which is
just a (not so) thin wrapper around the std autocomplete plugin
to keep backward compatibility and usage simplicty.
The original autocomplete author wrote a nice migration guide :
http://www.learningjquery.com/2010/06/autocomplete-migration-guide
- If you're using jQuery.ajax directly, you might have surprises
with arguments serialization for arrays. To get the old behaviour,
you need to pass a `traditional: true` extra arguments to jQuery.ajax.
Of course, it's transparent if you're using cubicweb higher level
helpers such as loadxhtml, loadRemote, etc.
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 11 Oct 2010 17:46:22 +0200] rev 6447
[tests] update windmill use cases from link corrections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:01:25 +0200] rev 6446
[contextual components] missing layout for components in the toolbar
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:00:51 +0200] rev 6445
[selectors] make configuration_values selector works for startup/maintainance hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:00:21 +0200] rev 6444
[c-c i18ncube] proper command class name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 17:59:58 +0200] rev 6443
[i18n cube] skip bw compat registries boxes and contentnavigation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 14:45:25 +0200] rev 6442
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 13:40:18 +0200] rev 6441
TestServerConfig needs default_base_url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:29 +0200] rev 6440
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:17 +0200] rev 6439
[test] we must consider default_base_url()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:26:50 +0200] rev 6438
[js test] cleanup, move anonymous_logged handling to the test class (easier to control there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:03:12 +0200] rev 6437
CtxComponent don't have wview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:05:19 +0200] rev 6436
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:02:27 +0200] rev 6435
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:47:22 +0200] rev 6434
[test] fix ldap test when executed from certain hosts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:22 +0200] rev 6433
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:11 +0200] rev 6432
restore line dropped in 6424:f443a2b8a5c7 which is necessary to have proper base-url on test server config (used for ms tests at least)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:17:54 +0200] rev 6431
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:01:14 +0200] rev 6430
[breadcrumb] infinite loop safety belt, bw compatible by hi-jacking 'recurs' argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Sat, 09 Oct 2010 00:38:07 +0200] rev 6429
[login] fix some previously introduced login box css breakage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:38:02 +0200] rev 6428
[components] refactor main template header: make it much more flexible by using CtxComponent
* rename userlink class (not private) with somewhat bw compat
* make some cosmetic adjustements on log-in/registration components
* update to component api, though this may breaks some sub-classes
(for application customizing the breadcrumbs component for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:52 +0200] rev 6427
[schema / sources] store data sources as cubicweb entities
this implies several changes:
* new CWSource / CWSourceHostConfig entity types
* only the system sources and default admin login/password stored in sources file
(other stuff will be ignored)
* on startup, get sources definition from the database
* every entities have a cw_source relation
* a facet allow filtering
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:50 +0200] rev 6426
[hook/operation] nicer api to achieve same result as set_operation, as described in #1253630
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:49 +0200] rev 6425
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 08 Oct 2010 15:28:51 +0200] rev 6424
[devtools] refactor http server initialization in a much saner way
Use a new ApptestConfiguration to group server paramater.
Fix base-url mangling between main site and data ressources.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 17:07:46 +0200] rev 6423
[pre 3.10 compat] if CtxComponent as a call() method, emit a deprecation warning but use it. Also ensure default value on class for visible and order, and define wview for bw compat as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 16:11:37 +0200] rev 6422
[reledit] do not reload on the parent node
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 16:11:23 +0200] rev 6421
[js/edition] kill deprecated (& dead) reledit code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 13:19:07 +0200] rev 6420
[views/wdoc] do not crash on malconstructed stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 13:12:14 +0200] rev 6419
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 11:54:17 +0200] rev 6418
[views/authentication] fix http auth regression (no message)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:31 +0200] rev 6417
[test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:09 +0200] rev 6416
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:08 +0200] rev 6415
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 09:43:24 +0200] rev 6414
[test] skip test when dbhelper has no underlying dbapi module available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:55:11 +0200] rev 6413
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:48:37 +0200] rev 6412
[test] cleanup / unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:44:22 +0200] rev 6411
[test] don't add unnecessary dependency to blog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:43:38 +0200] rev 6410
[test] fix tests broken by transaction behaviour on Unauthorized/ValidationError (no rollback but connection marked as non-commitable)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:04:07 +0200] rev 6409
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:02:00 +0200] rev 6408
[testlib] fix mail monkey patching, former patch was applied on stable instead of default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 18:51:13 +0200] rev 6407
[primary view] default to outofcontext view for entities displayed in boxes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Oct 2010 17:25:24 +0200] rev 6406
xml-escape <script> tags generated by HTMLHead
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 06 Oct 2010 15:32:59 +0200] rev 6405
fix some issues in DotGraphView, and enhance reusability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:57:14 +0200] rev 6404
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 06 Oct 2010 14:56:43 +0200] rev 6403
[testlib] Fix mail monkeypatch in testlib
ea26eb5fd388 in stable introduce monkeypatching of SendMailOp.commit_event
8bc6eac1fac1 in default rename SendMailOp.commit_event to postcommit_event
d7f5d873e1b8 merge stable in default without handling the rename.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:56:20 +0200] rev 6402
[selector] fix iterable detection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:04:26 +0200] rev 6401
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Oct 2010 11:57:21 +0200] rev 6400
restore vital block of code (gone in 6384:89d5b339ebdd)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:47:29 +0200] rev 6399
[debian] constrain pyro version in debian packaging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:46:20 +0200] rev 6398
[test] send mail synchronously during tests
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 05 Oct 2010 10:17:24 +0200] rev 6397
[book] improve documentation lisibility for cwconfig chapter and fix some references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:15:09 +0200] rev 6396
[login ui] cleanup and somewhat bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:14:37 +0200] rev 6395
[selectors] move selectors according to their type, add missing ones to documentation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 05 Oct 2010 08:33:10 +0200] rev 6394
[forms] remove dead code and simplify inlineviews creation
remove AutomaticEntityForm.should_inline_relation_form which is not
used anywhere and comes from a time where uicfg did not exist.
remove test for "force_<rtype>_display" presence in req.form to
determine whether or not the inline creation form should be displayed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:09:09 +0200] rev 6393
include fcayre's patch #1060507 to get extra rql query parameters from form content in rgx_action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:05:51 +0200] rev 6392
[forms] catching KeyError closes #961831: migration failure when defining form fields
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:59:32 +0200] rev 6391
[authentication] force retriever implementor to think about it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:10 +0200] rev 6390
[repo] add a find_users method for under-privileged accounts
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:05 +0200] rev 6389
refactor login box & form to enable easy pluggability
* vregistry.selectable: get all selectable object of fixed oid with given context
* template headeri, logbox, logform: reorganize a bit the structure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 18:55:57 +0200] rev 6388
[js] add cubes namespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 04 Oct 2010 16:58:34 +0200] rev 6387
new script cwuser_ldap2system
used to migrate ldap users to system source
based on work by adim.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 15:55:55 +0200] rev 6386
[vreg] fix bad copy and paste introduced in 6347:ef47a2100c66
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 18:49:47 +0200] rev 6385
[repo transaction] fix rollback behaviour as discussed on the mailing-list: instead of rollbacking automatically on Unauthorized/ValidationError, mark the transaction as uncommitable and disallow commiting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 17:27:54 +0200] rev 6384
#1256570: remove __method, it is not used in any of the cubes from logilab and encourages bad design by using Redirect (eg ui specific) from entities.py
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:04:09 +0200] rev 6383
Add a fsimport context manage to localy enable fsimporting.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:50 +0200] rev 6382
[test] improve tag for server/test/unittest_storage.py
Use class level tag.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:01 +0200] rev 6381
[repo threads] Add several safety when looking for a callable name.
We lookup __name__ attribute, then func_name attribute. object repr is a last
fallback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 16:53:35 +0200] rev 6380
[facets] support for `no_relation` on RelationFacet
e.g. to filter en entities *without* a given relation as well as with a
particular relation. Proposed or not by default according to relation
cardinality.
Also, try to guess i18nable properly from the schema by default.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 16:07:03 +0200] rev 6379
[R] use dbhelper.binary_value to process passwords and other Bytes fields
(instead of dbapi_module.Binary or hardcoding buffer()).
This requires (esp. in serverctl) version 1.3.1 of logilab.database.
Dependencies updated.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:38 +0200] rev 6378
[3.10 migration] fix migration of cwproperties related to components/boxes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:00 +0200] rev 6377
[schema] introduce some new sets categorizing entity/relation types and benefits from them where possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:24:21 +0200] rev 6376
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:09:25 +0200] rev 6375
[schema] introduce new WORKFLOW_RTYPES set and use it to build SYSTEM_RTYPES/DONT_CHECK_RTYPES_ON_ADD/DONT_CHECK_RTYPES_ON_DEL sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:08:31 +0200] rev 6374
[rset] support for delitem on repeat list (may be necessary in pyro source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:26:17 +0200] rev 6373
merged timeline changes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:25:39 +0200] rev 6372
timeline view minor enhancements
* support dates < 1900 by using logilab.common.date.ustrftime
* make the timeline a public member of the TimeLineWidget
* let buildWidget return the created widget, so that we can manipulate it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:35:01 +0200] rev 6371
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:40 +0200] rev 6370
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:30 +0200] rev 6369
[test] more update to unittest2 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 14:58:57 +0200] rev 6368
[repo] properly mark object as saved once added to its source (code much probably gone during a merge...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:46:47 +0200] rev 6367
fix merge, some buffers weren't saved...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:16:32 +0200] rev 6366
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 14:22:12 +0200] rev 6365
[test] must now commit file creation since the later ValidationError trigger a rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:54:35 +0200] rev 6364
cleanup and micro-optimization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:53:30 +0200] rev 6363
[web action] has_editable_relations should not filter out final relations, fix regression introduced in 6358:22c95c5ef12d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:44:11 +0200] rev 6362
[c-c] fix RuntimeError: 'maximum recursion depth exceeded while calling a Python object' we get when creating/upgrading/shelling an instance: hasattr() call __getattribute__, creating an infinite recursion error catched by the interpretor. Avoid this by testing the method is available on the class instead of the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:18:06 +0200] rev 6361
[transaction] to avoid potential db corruption, we should rollback systematically in case of ValidationError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:17:26 +0200] rev 6360
[selector] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:16:28 +0200] rev 6359
[sync schema] take care rdef may not be final, in which case we want to use type of eid attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:15:10 +0200] rev 6358
[web action] has_permission_update checked implicitly by has_editable_relation, don't check it twice
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:13:44 +0200] rev 6357
[muledit] form may contains subforms with nothing editable that will be s kipped, so ensure we choose one with something to display when rendering table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:01:57 +0200] rev 6356
[c-c i18n] namespace/line wrap cleanup + dynamically compute available language + make it works in installed mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:00:54 +0200] rev 6355
[i18n] no more necessary, those msgids are no more generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 18:53:45 +0200] rev 6354
[wf component] reversing selectors here may be a huge performance win on big rsets, since EntityVComponent selector starts with one_line_rset
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:52:45 +0200] rev 6353
don't add another encoding if already present in content-type
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:50:34 +0200] rev 6352
[book] note about different encryption on Unix and Windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 14:52:45 +0200] rev 6351
make reset-admin-pwd work with sqlserver as db backend
the pyodbc sqlserver db backend depends on being passed the cw_upassword value
as a buffer object to bind it to a binary column (which is usually done when
CW is dealing with passwords).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 12:22:17 +0200] rev 6350
[book] updated FAQ 'How to reset the password for user joe' with SQL Server syntax
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 08:36:24 +0200] rev 6349
fix test so that we don't actually depends on file and email cubes
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 13:41:13 +0200] rev 6348
[selectors] multi_lines_rset selector supports now optional operator for richer comparaisons
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 15:00:08 +0200] rev 6347
exception: specify expected parameter in NoSelectableException
Enforce expected parameters, reformat exception message in class itself and change some log messages in calling code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:14:23 +0200] rev 6346
[testlib] don't wrap main test connection into TestCaseConnectionProxy, it should not be closed afterwards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:13:41 +0200] rev 6345
[doc] add note about propagation on deletion of a watched relation
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:38:24 +0200] rev 6344
[book] add a link in hooks section to test, talk about create_entity in tests section
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:03 +0200] rev 6343
[book] add editable-table in views/table section and add an example to illustrate this view
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:00 +0200] rev 6342
[book] Talk about RichString in 'Yams schema' section
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 18:08:40 +0200] rev 6341
[tests] import TestSuite from lgc.testlib for further compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:59 +0200] rev 6340
[test] update test to unittest2 api (still using lgc.testlib though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:57 +0200] rev 6339
[foaf] we should encode email addr: even if we know it should be ascii, nothing prevent from putting something else in (tests at least do it)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:45 +0200] rev 6338
add test case demonstrating #1251910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:16 +0200] rev 6337
stop relying on person cube, it isn't needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:54:20 +0200] rev 6336
[facet] use contextified label when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:53:56 +0200] rev 6335
[primary view] refactor label handling (hence render_[attribute|relation]) so we uniformly use _rel_label which provides properly contextified labels
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 24 Sep 2010 11:05:10 +0200] rev 6334
add some styling required by ReST figures
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:28:58 +0200] rev 6333
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:24:42 +0200] rev 6332
Added tag cubicweb-debian-version-3.9.8-1 for changeset e4dba8ae9637
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 23:24:42 +0200] rev 6331
Added tag cubicweb-version-3.9.8 for changeset eed788018b59
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 22:38:04 +0200] rev 6330
3.9.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 22:37:46 +0200] rev 6329
[reledit] drop compute_best_vid method now useless
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:38:36 +0200] rev 6328
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:36:46 +0200] rev 6327
[easy_install] stop installing recommends, user should install them manually if desired (avoid errors on optional packages blocking install)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 18:35:49 +0200] rev 6326
[skel] update pylint instruction in default setup.py
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 Sep 2010 16:02:53 +0200] rev 6325
[views] fix foaf view for CWUser
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 16 Jul 2010 16:08:04 +0200] rev 6324
[book] minor update about windmill + reformat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 30 Jul 2010 16:01:28 +0200] rev 6323
[c-c shell/upgrade] raise ExecutionError when traceback is not relevant
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Sep 2010 15:30:54 +0200] rev 6322
[windmill] initialize windmill registry if not already existing (possible error case in dev)
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 23 Sep 2010 12:16:36 +0200] rev 6321
[req] build_url: detect None values in arguments and raise ValueError
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Sep 2010 13:10:29 +0200] rev 6320
[doc/book] make it colorful
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Sep 2010 13:04:01 +0200] rev 6319
[doc/book] complete section on authentication plugins
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:49:05 +0200] rev 6318
[publisher] add session id when logging published path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:48:43 +0200] rev 6317
[entity, url] we should not set base_url in kwargs when actually unset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:47:54 +0200] rev 6316
[test] we actually still need the set_option on base-url for multi-sources (eg repo) configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:46:59 +0200] rev 6315
[test] fix broken tests and minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Sep 2010 10:46:38 +0200] rev 6314
[test] add some fake cubes necessary for test so we don't depend on the actual forge cube
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 20:12:38 +0200] rev 6313
[doc/book] begin an howto write auth plugins chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:44:37 +0200] rev 6312
[dbapi] fix typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:43:44 +0200] rev 6311
[doc/book] tell a more complete story on sessions and the authentication process
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 19:43:02 +0200] rev 6310
[doc/book] more notes on setup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:23:42 +0200] rev 6309
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:23:35 +0200] rev 6308
[dbapi] get_option_value now has a foreid argument telling the option should be dereferenced to the entity's actual repository (necessary for apycot/local_cache handling)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:18:29 +0200] rev 6307
[entity] fix typo in absolute_url method, breaking some code w/ control of absolute url of external entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 18:17:40 +0200] rev 6306
[test] fix test broken by introduction of CWUniqueTogetherConstraint
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 22 Sep 2010 13:21:34 +0200] rev 6305
[doc] fixing install doc (reapply cset that was erroneously overriden)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 17:01:51 +0200] rev 6304
[doc,bin] add script to fetch & update most cw dependencies + some cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 14:03:24 +0200] rev 6303
[book] backport documentation about primary/base views sent on the list
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 22 Sep 2010 13:33:17 +0200] rev 6302
[book - #1251259] reorganize plan for basetemplate, talk about class attributes
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 22 Sep 2010 13:15:14 +0200] rev 6301
imported patch doc_test_commit.diff
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 22 Sep 2010 13:21:34 +0200] rev 6300
[doc] fixing install doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 12:29:20 +0200] rev 6299
[sqlite] quick hacks to fix #1251873 and #1251874
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 22 Sep 2010 12:14:54 +0200] rev 6298
[doc/book] fix session types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 10:35:34 +0200] rev 6297
[rql] fix bug with query like 'Any 1 WHERE NOT X in_group G': tables should be kept in EXISTS() even when there are no restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Sep 2010 10:34:20 +0200] rev 6296
[skel] MANIFEST.in cleanup
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 22 Sep 2010 10:10:19 +0200] rev 6295
updated yams and logilab.database dependency, start preparing 3.9.8
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 22 Sep 2010 10:00:36 +0200] rev 6294
use new logilab.database interface for multicol indexes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 21 Sep 2010 16:35:37 +0200] rev 6293
[dbapi] Connection.check() must return the latest activity timestamp (dropped accidentally during latest merge)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 21 Sep 2010 16:33:20 +0200] rev 6292
[migractions] add a dropped_constraints() migration command
Example usage:
>>> with dropped_constraints('MyType', 'myattr',
... UniqueConstraint, droprequired=True):
... add_attribute('MyType', 'myattr')
... # + instructions to fill MyType.myattr column
...
>>>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Sep 2010 15:58:45 +0200] rev 6291
[primary view] we should not limit related rset, else if something else than autolimited view is used, some content will be missed without a 'view all' link
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Sep 2010 15:50:12 +0200] rev 6290
handle displayctrl['limit'] == None correctly
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 17 Sep 2010 19:30:22 +0200] rev 6289
[views/reledit] bw compat code is unneeded there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:55:55 +0200] rev 6288
[primary view] introducing use_list_limit in pvdc fix reledit regression on the way (introducted a few changesets ago)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:46:47 +0200] rev 6287
[js] update js for reledit to 3.9 ajax api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:58 +0200] rev 6286
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:51 +0200] rev 6285
[boolean field] we've to override format_single_value as well in case where None are allowed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 17:25:17 +0200] rev 6284
[repo/sql] don't do anything when value is None. This will avoid None to be turned into False in the case of a boolean for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:54:57 +0200] rev 6283
[reledit] more api cleanup
* deprecates usage of giving rvid/default_value to select (use rtag instead)
* deprecates usage of _one_rvid/_many_rvid, use autolimited view instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:54:56 +0200] rev 6282
[reledit] new rtag entry to control apparition of relation label in default value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 16:53:12 +0200] rev 6281
[test] fix setting of base-url during test: override default_base_url, else we set it too late (after uiprops generation)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Sep 2010 12:34:03 +0200] rev 6280
[navigation] move hack from page_link to page_url so '#1251858: Can't see all the elements when a limited list is shown' if fixed as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:56:35 +0200] rev 6279
backport stable into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:46 +0200] rev 6278
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:40 +0200] rev 6277
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:17 +0200] rev 6276
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:43:03 +0200] rev 6275
[ReST] settings update: add traceback=True to avoid sys.exit, and set stylesheet to None since we don't care about it and that may makes docutils stupidly fail according to the cwd at import time...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:41:45 +0200] rev 6274
[url publishing] fix regression introduced by refactoring in 3.9.7, leading to table view being choosen when one would expect the primary view. Fix similar pb with /<etype> url and list view (this one has been there for a while)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:39:35 +0200] rev 6273
[publisher] avoid extra Name error on unexpected error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:39:16 +0200] rev 6272
[publisher] with python>=2.5, we should catch BaseException here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:36:42 +0200] rev 6271
Added tag cubicweb-debian-version-3.9.7-1 for changeset 1c01f9dffd64
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 18:36:41 +0200] rev 6270
Added tag cubicweb-version-3.9.7 for changeset de588e756f4f
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:49:13 +0200] rev 6269
ewrongattribute
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:42:58 +0200] rev 6268
force debug mode to false in service mode
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 16:38:19 +0200] rev 6267
repair service mode start on windows
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 15:42:34 +0200] rev 6266
3.9.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 15:40:54 +0200] rev 6265
[navigation] for rql to the one of the rset being paginated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 16 Sep 2010 14:11:12 +0200] rev 6264
[reledit] cut methods to make overriding easier, add event on success update after reload
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:38:49 +0200] rev 6263
[propagation hooks] support to skip some relation when propagating to linked entities. Proper renaming and enhance documentation on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:37:47 +0200] rev 6262
add permission relations to schema types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 13:37:25 +0200] rev 6261
[syncschema hooks] simplify core types definition be reusing schema sets (remove typos on the way)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 16 Sep 2010 11:52:10 +0200] rev 6260
raise ProcessFormError when a problem occurs during date / time parsing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 16 Sep 2010 11:30:14 +0200] rev 6259
[request] memoize tabindex across ajax calls (on pageid) to avoid ui confusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:30:09 +0200] rev 6258
[entity] give ordermethod=None to fetch_rql to tell you don't want a specific order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:28:25 +0200] rev 6257
[repo] new method on repo+dbapi.Connection to get a value from repository's configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:27:50 +0200] rev 6256
[repo] docstring cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:27:26 +0200] rev 6255
[primary view] should specify rtype/role when selecting a rtype view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:26:55 +0200] rev 6254
[table view] use get instead of has_key so one can specify he doesn't want actions or filter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:26:08 +0200] rev 6253
[urlpublishing] refactor to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Sep 2010 11:25:17 +0200] rev 6252
[dbapi] reorganize Connection methods and use a @check_not_closed decorator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 18:43:14 +0200] rev 6251
[facet] add missing @property making subsequent access always true
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:21:05 +0200] rev 6250
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:20:56 +0200] rev 6249
fix regretion introduced by changeset "pagination/ ajaxes fixes" (2f5ebeb7665d)
* should not paginate unless explicitly asked or if explicitly given divid == 'pageContent'
* fix ajax page navigation for table view by calling component's ajax_page_url, which specify correctly divid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 17:17:51 +0200] rev 6248
[navigation] refactor base navigation component: replace deprecated replacePageChunk js call by loadxhtml, using the magic js object
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 15 Sep 2010 15:14:35 +0200] rev 6247
unique_together: recast exception raised by sqlite
updated the translations (en + fr) while I was at it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 15 Sep 2010 15:00:04 +0200] rev 6246
[views/reledit] refactor composite handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 11:13:17 +0200] rev 6245
[doc] add note about x-ref in doc's README
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 11:03:48 +0200] rev 6244
[book - #1251197] add a section in migration page for add_cube and add_cubes command
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 11:00:55 +0200] rev 6243
[book - #1251780] add a section to explain how to write tests to test which actions are visible
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 15 Sep 2010 10:54:25 +0200] rev 6242
[book - #1251260] add a warning in automatic test when user redefine the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Sep 2010 08:06:13 +0200] rev 6241
should not use pyro 4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:40:31 +0200] rev 6240
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:40:10 +0200] rev 6239
[basecontroller] we should consume divid to avoid it being reused by the table view, leading to duplicated id (and hence weird rendering)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:39:28 +0200] rev 6238
[basecontroller] pagination / ajax fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:38:41 +0200] rev 6237
[basecontroller] handle case where the query is prefixed by 'rql:' as allowed by the search input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:37:32 +0200] rev 6236
[repo tests] add test case for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:36:29 +0200] rev 6235
[primary view] properly handle case where view specified in pvdc['vid'] isn't selectable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:35:42 +0200] rev 6234
[primary view] don't need to pick arbitrary target, this is properly handled by the rtag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:28 +0200] rev 6233
[schema] turn comment into docstring for RQLUniqueConstraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 15:33:01 +0200] rev 6232
[schema] ensure DISTINCT is displayed for constraint using it, this ease debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:29 +0200] rev 6231
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:49:26 +0200] rev 6230
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:48:44 +0200] rev 6229
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Sep 2010 08:47:11 +0200] rev 6228
[windows distrib] trailing slashes in MANIFEST.in breaks windows install (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:47:03 +0200] rev 6227
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 16:46:52 +0200] rev 6226
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 15:15:21 +0200] rev 6225
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6224
Added tag cubicweb-debian-version-3.9.6-1 for changeset 7d2cab567735
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:48:29 +0200] rev 6223
Added tag cubicweb-version-3.9.6 for changeset d37428222a63
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:46 +0200] rev 6222
[migration] attempt to fix pre 3.6 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 14:32:20 +0200] rev 6221
[migration] remove buggy assertion
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:56:09 +0200] rev 6220
[js] jqNode is more robust here wrt some node ids
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 13 Sep 2010 13:55:37 +0200] rev 6219
[migration] .pop() is more readable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 12:24:11 +0200] rev 6218
[form fields] option may be a 3-uple (3d element being dict containing widget options)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 11:00:22 +0200] rev 6217
[migration] fix so that context modification are reflected on the currently executed migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:51:55 +0200] rev 6216
3.9.6
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 10:01:43 +0200] rev 6215
[javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 09:56:10 +0200] rev 6214
[javascript] fix test_ajax.js implementation
In cubicweb.ajax.js, we maintain two lists (cw.loaded_src and cw.loaded_href)
to keep track of already included CSS and JS. (see discussion about
jQuery and $('foo').appendTo($head) in _loadAjaxHtmlHead.)
Since all tests are executed in the "same page", those two
variables need to be reinitialized before each test.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 13 Sep 2010 10:00:05 +0200] rev 6213
[migration] commit just after symetric has been renamed to symmetric (else later rollback may cancel this)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 12 Sep 2010 15:53:16 +0200] rev 6212
[doc] fix link to appendix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 18:30:38 +0200] rev 6211
nicer error reporting for unique together constraints
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 17:58:38 +0200] rev 6210
removed print_exc
syt [Fri, 10 Sep 2010 16:56:37 +0200] rev 6209
fix tests
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 10 Sep 2010 16:48:58 +0200] rev 6208
unique_together integration in CW (alf+syt)
* added in-DB representation of the constraint with a new entity type (CWUniqueTogetherConstraint)
* the schema is now migrated on a sync_schema_props_perms(EType) call in the migration script
* removed the migration commands provided in the first implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:31 +0200] rev 6207
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 15:09:26 +0200] rev 6206
[test] skip unittest_fti if we don't have the required setup...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:50:43 +0200] rev 6205
[test] fix in 6203:d3dea5f84404 wasn't enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:45:46 +0200] rev 6204
[json controller] check rql is really specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:32:38 +0200] rev 6203
[test] during some tests (unittest_migrations), we should not register ClearGroupMap which is actually already there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 14:31:42 +0200] rev 6202
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Sep 2010 09:54:19 +0200] rev 6201
[c-c create] ask for database driver by default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:25:31 +0200] rev 6200
[migration] when some CWGroup is added during migration, we should reset migration handler's group mapping cache and the set telling what have been synchronized (we may be able to add some new groups on perms syncing...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 18:23:43 +0200] rev 6199
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:08 +0200] rev 6198
add a small c-c shell script to detect cycle for a given relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:06 +0200] rev 6197
[test] fixes to follow recent changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:05 +0200] rev 6196
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:08:04 +0200] rev 6195
[rset] add test for #1251252, actually fixed in rql; fix docstring and add comments in rset.related_entity to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Sep 2010 10:07:56 +0200] rev 6194
[querier test] remove some actually bad tests that were passing thanks to a sqlite bug
Now, rql has been fixed to correctly detect this kind of query can't be
answered correctly
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:32:46 +0200] rev 6193
[views] do not underline h1 titles for tabbedprimary views
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 08 Sep 2010 10:27:53 +0200] rev 6192
[doc] improve doc thanks to user feedback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Sep 2010 10:03:30 +0200] rev 6191
[schema deserial] fix loading of schema when mapping an entity type to an existing one
To ensure rdef of the old entity type don't overwrite those already existing
on the mapped entity type.
Also rename some variables/arguments on the way to make things clearer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:34:16 +0200] rev 6190
[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:24:45 +0200] rev 6189
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:23:16 +0200] rev 6188
[integrity] fix case where we can get two entities related while the cardinality is single on the object of an inlined relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:02:08 +0200] rev 6187
[migration] propose to open pdb on error during execution of rql/sql query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:00:53 +0200] rev 6186
[migration] set ask_confirm=False by default on rqlexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:59:55 +0200] rev 6185
[c-c db-check] skip error while checking relation, useful when analyzing really broken database (after a migration failure for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:58:31 +0200] rev 6184
[c-c db-check] add missing import
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Sep 2010 18:58:20 +0200] rev 6183
[doc] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:34:42 +0200] rev 6182
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:33:33 +0200] rev 6181
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 02 Sep 2010 14:09:20 +0200] rev 6180
fix name error by adding missing import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 17:21:13 +0200] rev 6179
migration actions for unique_together constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 13:20:32 +0200] rev 6178
remove buggy call to builtins._ on navigation content
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Sep 2010 21:57:12 +0200] rev 6177
[views] rename Edition to Modification and personal information to profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:37 +0200] rev 6176
[cw.utils] avoid spurious warning, ustrftime may be globally imported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:12 +0200] rev 6175
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:04:12 +0200] rev 6174
add missing msgstr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:03:11 +0200] rev 6173
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Sep 2010 15:42:14 +0200] rev 6172
[web/uicfg] better error reporting for reledit_ctrl
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 15:56:21 +0200] rev 6171
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 15:05:03 +0200] rev 6170
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 14:38:49 +0200] rev 6169
fix order of parameters in call to callfunc_every
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 31 Aug 2010 10:43:03 +0200] rev 6168
[test/entity] fix test (following mtconverter 0.8+ plain text transform change)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 15:02:34 +0200] rev 6167
[doc] add documentation on RealDatabaseConfiguration
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 14:14:54 +0200] rev 6166
[devtools] add url_publish() method on CubicWebTC to test a full publishing process from the url_resolver to the html generation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 13:44:55 +0200] rev 6165
[devtools] make CubiwebTC.login() context-manager restore the testcase connection on exit
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 09:02:41 +0200] rev 6164
[devtools] restore ability to test on real databases
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 08:56:58 +0200] rev 6163
[migration] fix add_relation_type() for symmetric relations
To check if the corresponding SQL table has to created, CWRelationAddOp
tests that the tablename is not in the 'createdtables' session variable
(i.e. the table hasn't been created before in the same transaction) and
that len(rschema.rdefs) is not greater to 1, that is the relation already
existed in the database before this transaction.
In case of symmetric relations, len(rschema).rdefs will be at least 2
since rdefs will store both (subj, obj) and (obj, subj) relation
definitions.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:45:57 +0200] rev 6162
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6161
Added tag cubicweb-debian-version-3.9.5-1 for changeset 12038ca95f0f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6160
Added tag cubicweb-version-3.9.5 for changeset 0a1fce8ddc67
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:55:08 +0200] rev 6159
3.9.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:54:42 +0200] rev 6158
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:59 +0200] rev 6157
[doc, adapters] drop deprecated code from examples
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:52:25 +0200] rev 6156
[doc] interesting stuff backported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:51:55 +0200] rev 6155
[doc] clean ITreeAdapter documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:32 +0200] rev 6154
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 10:29:23 +0200] rev 6153
remove useless import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 10:13:48 +0200] rev 6152
use is_instance in a number of places (esp. documentation) rather than the deprecated implements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:09:18 +0200] rev 6151
[new components] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 19:01:58 +0200] rev 6150
remove some deprecated stuff about relation definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:58 +0200] rev 6149
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:55:48 +0200] rev 6148
[book] more about has_<action>_permission and enhance a bit security definition section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:29:55 +0200] rev 6147
update documentation to follow 6142:8bc6eac1fac1 changes. Try to make it better and move most doc with code on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 18:13:05 +0200] rev 6146
cwconfig module already used by another autodocstring. Drop this currently useless file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 13:45:41 +0200] rev 6145
more cwctl api update and fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:23:22 +0200] rev 6144
[c-c create] argument inversed accidentally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:22:47 +0200] rev 6143
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:18 +0200] rev 6142
[session] cleanup hook / operation / entity edition api
Operation api
~~~~~~~~~~~~~
* commit_event killed, recently introduced postcommit_event is enough and has a better name
* kill SingleOperation class, it's a) currently never used b) superseeded by set_operation if needed.
Entity edition api
~~~~~~~~~~~~~~~~~~
edited_attributes turned into a special object holding edition specific attributes:
- attributes to be edited (simply mirrored in cw_attr_cache, actual values are there)
- former _cw_skip_security set (cw_edited) and querier_pending_relations
It has also been renamed to `cw_edited` on the way (it may also contains inlined relations)
The entity dict interface has been deprecated. One should explicitly use either
cw_attr_cache or cw_edited according to the need.
Also, there is now a control that we don't try to hi-jack edited attributes
once this has no more effect (eg modification have already been saved)
At last, _cw_set_defaults/cw_check internal methods have been moved to this
special object
Hook api
~~~~~~~~
hook.entity_oldnewvalue function now moved to a method of cw_edited object.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:07 +0200] rev 6141
[web api] unify 'contentnav' (VComponent) and 'boxes' registries as 'ctxcomponents' (CtxComponent)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:01:11 +0200] rev 6140
[boxes] introduce new boxes system
* separate box content generation from its layout
* refactor css classes to allow moving boxes and still get consistent ui
On the way to contentnavigation/boxes unification (in a later patch)
* * *
some fixes for the previous (default_new_boxes_system) patch
* * *
some fixes for the previous (default_new_boxes_system) patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:43:12 +0200] rev 6139
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:42:55 +0200] rev 6138
update to lgc.clcommands 0.51 api
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:59:07 +0200] rev 6137
[css] make sure the toolbar is clickable because layered over title
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:57:45 +0200] rev 6136
[dataimport] refactor commitevery to gain readability
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 12:49:28 +0200] rev 6135
[win32] no os.getuid on windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 09:07:20 +0200] rev 6134
use logilab.common.date.ustrftime in json encoder to work around datetime.strftime limitation on dates < 1900
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 08:46:24 +0200] rev 6133
use iter_and_commit in example
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 17:08:08 +0200] rev 6132
[c-c check-mapping] fix dumb name error and add a warning about inlined crossed relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 10:59:57 +0200] rev 6131
[ms] more planning bug fixes
* fix sourcesterms w/ constant: all occurences of the same constant should be there once one of them is
* fix handling of constant and relation in expand_terms:
* we should always consider system source there for constants
* for relation, we should check its lhs and rhs are in selected terms, not
that the relation is in linkedterms (this has no chance to be true)
This fixes 3 tests that were either passing erroneously (syt should be punished
for copy/paste output as test reulst without triple checking it) or were not
optimal.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:36:58 +0200] rev 6130
oops, missing part of 6125:628cf5213154 (mapping file checking)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:35:10 +0200] rev 6129
[ms] fix two planner bugs: one occuring query such as X created_by U where X in a external source and U may come from an ldap source. The other being that when we've to merge input maps, we were modifying the same tree/solutions while a copy were needed. Also, ensure we add type restrictions, necessary for pyro source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:31:02 +0200] rev 6128
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:29:48 +0200] rev 6127
[ms, c-c] new command checking for consistency / potentian flaws and enhancements of mapping file of a multi-sources instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:21:15 +0200] rev 6126
[repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:17:04 +0200] rev 6125
[migration] enhance RqlForIterator so we can do 'for e in rqliter(...).entities()'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:16:03 +0200] rev 6124
[ms] when entity is coming from an external source, don't add non final relations on complete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:15:06 +0200] rev 6123
[querier] add_types_restriction_cleanups: remove useless try/except (we already filtered out variables not in newroot.defined_vars) and dict accss. Also systematically set computed solutions instead of modifying existing ones
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 20 Aug 2010 08:46:32 +0200] rev 6122
improvements in dataimport.py
* updated the docstrings
* fixed small issues in ucsvreader_pb
* help user in using RQLObjectStore
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 19 Aug 2010 11:14:55 +0200] rev 6121
add missing semi colon in js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 16:53:05 +0200] rev 6120
[book] some more documentation and cleanups
* merged existing facets documentation with the one I've just written and
put almost everything within the code
* added a note about __depends__ and __recommends__ and about the recommends
semantic (extracted from a post on the ml)
* added a note about write security checking (extracted from a post on the ml)
* fixed some dumb sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 13:58:12 +0200] rev 6119
new RelationAttributeFacet + other fixes and cleanup + facets test
* added documentation to Relation[Attribute]Facet and AttributeFacet explaining
how to configure them
* fixed behaviour of sorting for various combinaison of attribute values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 10:36:02 +0200] rev 6118
[migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:29 +0200] rev 6117
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:17 +0200] rev 6116
[migration] fix rename_entity_type: avoid removal of attributes on the new entity type from the schema during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:23:59 +0200] rev 6115
[migration] we can now specify attributes to backport to rename_entity_type using its attrs argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:57 +0200] rev 6114
[formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:04 +0200] rev 6113
[primary view] consider rtypevid flag for relations in the 'relations' section as well
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 17 Aug 2010 11:06:20 +0200] rev 6112
[db-fti-index] simple fix fpr progressbar-related crash when etypes is None in reindex_entities()
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:43 +0200] rev 6111
[views/reledit] small refactoring
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 16 Aug 2010 12:07:34 +0200] rev 6110
[views/reledit] fix bad role handling in _may_add_related
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Aug 2010 08:23:14 +0200] rev 6109
integrate Celso's work on translation file: proper/complete spanish translation, fixed some typos in french translation, occured -> occurred fix in various places
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 13 Aug 2010 13:34:47 +0200] rev 6108
[web] fix typo in ajax_build_url (s/xtml/xhtml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 18:49:20 +0200] rev 6107
[web controller] don't try to translate arbitrary exception message
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 16:50:52 +0200] rev 6106
[selectors] fix match_transition & introduce new edited_attribute selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 15:58:42 +0200] rev 6105
RQLUniqueConstraint not in CWConstraintType for some old instances
Alexandre Richardson <alexandre.richardson@logilab.fr> [Thu, 12 Aug 2010 14:41:44 +0200] rev 6104
[tableview] take care, description may include None (try Any NULL)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Aug 2010 11:56:33 +0200] rev 6103
fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:12:52 +0200] rev 6102
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Aug 2010 10:11:49 +0200] rev 6101
[form, migration] etype_relation_field should not raise error, it may block migration if used for a non yet existing field
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 18:11:32 +0200] rev 6100
fix bug introduced by 6098:a0fde9334dd0
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 11 Aug 2010 15:54:44 +0200] rev 6099
work around Apache's mod_proxy limitation with special chars in URLs by not using Rest urls when such a case is detected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:17:05 +0200] rev 6098
[entity] base_url argument may be explicitly specified for other purpose (eg http/https site version control)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 16:16:25 +0200] rev 6097
[cleanup] remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Aug 2010 10:08:48 +0200] rev 6096
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:39:48 +0200] rev 6095
[dot] oops, should use dc_title here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:35:07 +0200] rev 6094
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 16:10:28 +0200] rev 6093
more generic dot graph generator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:28:28 +0200] rev 6092
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:27:02 +0200] rev 6091
[login template] missing xml_escape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 18:26:43 +0200] rev 6090
[primary] backport _rel_label method from the default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 16:05:00 +0200] rev 6089
backport stable
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 10 Aug 2010 14:56:31 +0200] rev 6088
[doc] docstring more explicit for pyviews
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:22:17 +0200] rev 6087
[debug] change severity of 'site_cubicweb loaded' message to debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:21:32 +0200] rev 6086
[primary] handle final relation (eg attribute) in the relations section, and give dispctrl to view's extra kwargs as for non final relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Aug 2010 14:20:21 +0200] rev 6085
[entity] entity.view now support initargs as req.view