Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 10 Feb 2011 13:26:41 +0100] rev 6971
[manage view] fix skipping of startup views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 12:28:31 +0100] rev 6970
[parser host mapping] take care to cases where apphome is None (c-c i18ncube command for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:25 +0100] rev 6969
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:14 +0100] rev 6968
[test] update cwxml tests: computed cwuri have changed, and parser.parse isn't anymore a static method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:57:09 +0100] rev 6967
[testlib] by default skip new 'manage' action's category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:49:41 +0100] rev 6966
[manage view] filter before displaying anything avoid xhtml errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:47:29 +0100] rev 6965
[test] update cwuri test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:08:40 +0100] rev 6964
[test] test extracted from unittest_hooks + new test for unique constraint check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:29 +0100] rev 6963
[datafeed] introduce a host mapping so dev instance may transparently redirect request to another host than the actual's one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:27 +0100] rev 6962
[management ui] add views to manage sources similarly to users
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:25 +0100] rev 6961
[manage view] cleanup manage view and user menu
* drop code that shouldn't be there (e.g. folders handling)
* add a section displaying site management actions, some of them
were initially in the user's drop down menu, which now only have
a 'manage' link with regards to management actions
* stop displaying 'system' and 'schema' entities by default, only
'application' entities
* put 'gc', 'registry' and 'info' views as tabs of a generic
'server information' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:24 +0100] rev 6960
[datafeed] add parser to import cubicweb xml
this parser is configurable through a mapping, which basically
tells which entity's relation should be copied. Multiple actions
to control backport of data are available:
* 'copy': copy the external entities locally (though marked as
coming from the data feed source)
* 'link': find similar entity internaly (e.g. for states)
* 'link-or-create': try to find a similar entity internaly, and create
it if necessary (won't be marked as coming from the data feed source,
e.g. for tags)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:19 +0100] rev 6959
[xml] enhance default entity xml view
* format attributes according to their type in a predictable way
* move eid/cwuri as top level tag attributes
* control which relations should be in using 'relation' form param
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:18 +0100] rev 6958
[pyro source] benefit from addition of latest_retrieval on CWSource
to avoid using a CWProperty to store pyrorql source latest synchronization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:17 +0100] rev 6957
[repository] #1460066: backport datafeed cube as cubicweb source
* add some attributes to CWSource to handle this kind of source
(not natural to put everything in 'config' string). Adding a CWSource
subclass has been attempted then rollbacked because it adds pain
to handle multi-sources planning and it introduce an ambiguity on
a generic relation (cw_source), which may be a penalty in multiple
case
* data feed sources are a new kind of source, namely 'copy based',
which have no effect on the query planner
* a data feed source is associated to a list of url and a parser (appobjects
in the 'parsers' registry
* entities imported by a data feed have cwuri set to their url on the distant
site, their cw_source relation point to the data feed source, though their
source stored in the entities table (returned by cw_metainformation) is their
physical source, hence 'system'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:13 +0100] rev 6956
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:05:39 +0100] rev 6955
[entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:04:04 +0100] rev 6954
[doc] update some copyrights
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 16:16:20 +0100] rev 6953
[repo, ms] fix pb introduced in 6941:9ed02daa7dbb resulting in missing relation deletes when an entity is deleted
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:42 +0100] rev 6952
[tabs js] merge tabs and lazy js files into cw.ajax.js and use camel case names to satisfy js coding standards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 18:00:23 +0100] rev 6951
[schema, ui] fix is_subobject to skip cw_source relation (else everything is considered as a subobject, since this relation is now composite)
Charles Hébert <charles.hebert@logilab.fr> [Tue, 08 Feb 2011 14:18:18 +0100] rev 6950
[admin ui] nicer views for users/groups management
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 14:16:41 +0100] rev 6949
[test, ui] mark CWSourceSchemaConfig as an internal type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 12:23:30 +0100] rev 6948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 19:17:14 +0100] rev 6947
[js] using the actual registry fixes spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:40 +0100] rev 6946
[pyrorql source] using 'time' option type is more convenient
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:39 +0100] rev 6945
[sources] refactor source creation and options handling
* options validation
* ease proper update of source's config on configuration change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:36 +0100] rev 6944
[sources] rewrite the way pyrorql mapping are stored in the database so it can be reused for other sources (eg datafeed+cwxml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6943
[sources] reorganize abstract source code, drop no more used cleanup_entities_info and _cleanup_system_relations methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6942
[source schema] fix permission pb on cw_host_config_of relation + add composite on cw_source, so entities from a source are properly removed when the source is removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:04 +0100] rev 6941
[repo, ms] optimise external source deletion by using source's eid instead of name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 06 Feb 2011 11:33:04 +0100] rev 6940
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Feb 2011 10:02:48 +0100] rev 6939
[c-c] fix crash on delete instance + potential others when user don't specify db user's password
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:56:59 +0100] rev 6938
add a rql directive to restructuredtext
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Feb 2011 18:18:31 +0100] rev 6937
[pkg] bump dependency on logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6936
Added tag cubicweb-debian-version-3.10.8-1 for changeset 132b525de25b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6935
Added tag cubicweb-version-3.10.8 for changeset e581a86a68f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:12:03 +0100] rev 6934
3.10.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:11:53 +0100] rev 6933
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 11:03:08 +0100] rev 6932
undo part of #6911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 11:52:10 +0100] rev 6931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:10:46 +0100] rev 6930
[test] add test for != operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:08:44 +0100] rev 6929
[rql2sql] fix bug with NOT in "fake" having terms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 10:29:56 +0100] rev 6928
[doc/book] simplify & fix the overview chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:48:57 +0100] rev 6927
ooops :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:31:09 +0100] rev 6926
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:30:48 +0100] rev 6925
[ctxcomponents vreg] allow to specify 'no cache' using __cache argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:28:51 +0100] rev 6924
[js utils] backport some generic code from comments cube
to handle inline ajax form as you get to add comment to entities.
Following stuff has been generalized and backported to ease such things:
* lazy_view_holder() method on EntityCtxComponent class, to build
place holder where the form will be inserted
* ajax_composite_form() function in cw.web.views.ajaxedit, to build
the form itself
* reload() and reloadCtxComponentsSection() javascript function in
cubicweb.ajax.js for the javascript processing side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:24:05 +0100] rev 6923
[doc] update photo web site tutorial: we're starting from cw 3.10/file 1.9+
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:13:47 +0100] rev 6922
[view] fix/enhance view.render
* give view init args when selecting row view
* optimize by avoiding re-selection on rset of size 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:11:28 +0100] rev 6921
[js lib] new string.rstrip method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 16:19:22 +0100] rev 6920
[ibreadcrumb] fix breadcrumb adapter backward compat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 16:08:40 +0100] rev 6919
[selectors] modify workflow selectors: is_in_state, on_transition
- factorize `is_on_state` selector
- add new `on_transition` selector
Especially useful to match pending transitions to enable notifications when
your workflow allows several transition to the same states.
Note that if workflow `change_state` adapter method is used, this selector
will not be triggered.
In debug mode:
These both selectors will check against the entity current workflow if expected
values given in selector argument are valid.
ValueError exception will be raised for unmatching state/transition
names against the current workflow (generic etype workflow).
(check against custom workflow is not implemented)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 15:23:47 +0100] rev 6918
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally
When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the
permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not
be able to run the db-dump command.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 11:21:45 +0100] rev 6917
[debian] fix lintian errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:24:19 +0100] rev 6916
[devtools] fix understanding of boundary constraint on db automatic population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:15:14 +0100] rev 6915
[rset] fix entity building for some result set with UNION and subqueries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:12:13 +0100] rev 6914
[c-c] lgc 0.54 check for duplicated commands, this may occurs with cw where plugins are automaticall (re)loaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:11:26 +0100] rev 6913
[utils] support_args now support classes, searching if __init__ supports the arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 11:08:31 +0100] rev 6912
[schema sync] fix crash when bad inlinment detected, inlined is not in the locals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 18:46:47 +0100] rev 6911
cleanup, docstring update
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 18:29:17 +0100] rev 6910
fix test broken by addition of new entity in test schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 16:28:00 +0100] rev 6909
[view] missing class on label span
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 14:10:44 +0100] rev 6908
fix #1452413 : is_in_state selector does not match initial state of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:43:49 +0100] rev 6907
[component] refactor layout retrieval to handle case where we've an entity without rset properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:42:51 +0100] rev 6906
[forms] EntityFieldsForm now take extra mainentity argument, for usage with composite form (the main form) where one of the subform edits the main entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:41:00 +0100] rev 6905
[selectors] one_line_rset selector should also work when rset is None but an entity is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:40:01 +0100] rev 6904
[workflow] fix warning: we want to see the adapted entity, not the adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:39:29 +0100] rev 6903
[js] fix deprecated call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:52 +0100] rev 6902
[uicfg] fix reledit rtag initialization for final relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:14 +0100] rev 6901
[uicfg] use INTERNAL_TYPES and WORKFLOW_TYPES to initialize indexview_etype_section dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:44:08 +0100] rev 6900
[rtags] fix NoTargetRelationTagsDict to ensure relation are tagged using '*' during initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:42:18 +0100] rev 6899
[rtags] speepup initialization by avoiding to get file entity types relations (useless)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 17:44:38 +0100] rev 6898
[skel] try to generate warning free stub...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 12:21:47 +0100] rev 6897
[deprecation] kill remaining 3.6 warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 11:39:21 +0100] rev 6896
[migration] cwunique constraint schema fix must be done in bootstrap migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 10:50:38 +0100] rev 6895
[i18n] missing some english translation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:49:05 +0100] rev 6894
we must check constraint for all concerned entities and not stop at the first deleted one
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:42:40 +0100] rev 6893
avoid creating a new instance of CleanupDeletedEidsCacheOp if nothing was deleted
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 15:16:05 +0100] rev 6892
[css] fix popup css (login box) for IE7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 09:32:34 +0100] rev 6891
[user form] use InOutWidget to edit CWUser in_group relation
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 12:50:56 +0100] rev 6890
[widgets, js] add a InOutWidget for multiple select
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 25 Jan 2011 12:09:59 +0100] rev 6889
improve massive deletion performance
change hooks.integrity._DelayedDeleteOp implementation to give it a chance of
processing the entities by chunks of reasonnable size (500 entities at a time)
adapt ssplanner.DeleteEntitiesStep to call a variant of glob_delete_entity with several entities.
That variant calls all the before_delete_entities hooks in one go, then
performs the deletion, and then calls all the after_delete_entities hooks. The
deletion is performed by grouping together entities by etype and by source.
adapt the HooksManager to call the hooks on a list of entities instead of on a single entity.
adapt the sources to be able to delete several entities of the same etype at once.
changed the source fti_(un)index_entity methods to fti_(un)index_entities taking a collection of entities.
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 10:01:19 +0100] rev 6888
[ldap] remove useless hack in unittest_ldapuser.py
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:52:49 +0100] rev 6887
[tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr> [Tue, 25 Jan 2011 09:51:47 +0100] rev 6886
[ldap] small code cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Jan 2011 09:20:38 +0100] rev 6885
[test] fix score_entity test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:42 +0100] rev 6884
[testlib] missing method on value generator to generate the Interval type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 19:09:14 +0100] rev 6883
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 17:02:38 +0100] rev 6882
backport stable
Charles Hébert <charles.hebert@logilab.fr> [Mon, 24 Jan 2011 16:59:26 +0100] rev 6881
[selector] update `match_transition` selector to match form & as well as form view.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 11:39:53 +0100] rev 6880
[book] fixes some references and other doc construction pbs
* predefine order of js files in index generation, skip some files
* fix some references to the base tutorial (recently changed)
* other ReST fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:42:09 +0100] rev 6879
[book] advanced tutorial part 5 improvments: add some roles, talk about cube's layout, strip image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Jan 2011 09:40:54 +0100] rev 6878
update code sample to 3.10 api
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 24 Jan 2011 09:17:11 +0100] rev 6877
blog proofreading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 23 Jan 2011 14:59:04 +0100] rev 6876
[doc] backport part 3 & 4 of the sytweb's tutorial + to be published part 5