Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 10 Mar 2010 16:07:24 +0100] rev 4912
[R] dataimport: changes
- deprecate checkpoint() in favour of commit()
- filter on None value in mk_entity
- rearrange log messages order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:40:59 +0100] rev 4911
#750055: make it easier to change post logout url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:34:29 +0100] rev 4910
[web auth] fix authentication pb when anonymous are allowed, avoiding the first authentifier to return an anon connection while a following one may find correct authentication info. This make things simpler (eventually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:31:06 +0100] rev 4909
[web server] simplify base-url handling on startup. Ensure config['base-url'] is correctly set once started
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 10:54:59 +0100] rev 4908
[rql rewrite] until a better solution is found raise BadSchemaDefinition when two inlined relations with security on an optional variable is used, explaining how to bypass it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 18:07:54 +0100] rev 4907
[rql rewriting] handle case where we've and optional inlined relation in the original query. Also, we should append EXISTS even in subquery to avoid inserting duplicates in results
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 18:06:32 +0100] rev 4906
[rql rewriting] handle case where we want to insert snippet on a variable that has previously been moved to a subquery
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 11:18:51 +0100] rev 4905
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 11:16:40 +0100] rev 4904
[backup] fix misplaced paren
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:53:18 +0100] rev 4903
fix bad conflict resolution
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:23:21 +0100] rev 4902
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 12 Mar 2010 16:21:13 +0100] rev 4901
LazySuggestField : remote version of RestrictedSuggestField
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:15:33 +0100] rev 4900
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:11:56 +0100] rev 4899
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 12 Mar 2010 15:53:31 +0100] rev 4898
Add a rssitem_id attribut to RSSView to easly choose the view used for items.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:05:33 +0100] rev 4897
[web] start a new message system based on id of message stored in session's data
instead of using __message as today, which is problematic (allow message injection).
Also we can have html in messages. Removed the __createdpath hack used to escape those
limitation.
The old system should still work though (and will probably for a while, though
we should progressivly move to the new system where it's possible).
Cleanup request paramaters handling on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:01:52 +0100] rev 4896
[notification] fix dumb name error in hijack user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:00:54 +0100] rev 4895
[dbapi] return default argument instead of None when no connection set yet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:00:25 +0100] rev 4894
[cleanup selectors] use authenticated_user, check for form params instead of handling potential key error on missing params
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:55:41 +0100] rev 4893
[db backup] fix name error in backup_to_file: we've to pass .confirm all along the chain as for restore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:52:22 +0100] rev 4892
[cleanup] use iteritems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:51:59 +0100] rev 4891
[url] new rebuild_url method on base request
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:50:54 +0100] rev 4890
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 12:09:27 +0100] rev 4889
fix apycot detection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:50:27 +0100] rev 4888
provide logilab.database compat when creating database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:49:29 +0100] rev 4887
update debian changelog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:49:05 +0100] rev 4886
[db creation] fix some bugs introduced by the migration to logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:34:35 +0100] rev 4885
[debian] packaging fixes
* remove postgresql-contrib from cubicweb dependency (using tsearch
which is included with postgres >= 8.3)
* add postgresql-client | mysql-client to cubicweb-server dependencies, necessary
for dump/restore of database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:53:25 +0100] rev 4884
[web] yes this is used
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:53:15 +0100] rev 4883
[web] cleanup: move delete_entities to the edit controller
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:52:43 +0100] rev 4882
[web] stop using deprecated merge_dicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:52:04 +0100] rev 4881
[utils] improve dump_class by copying back original class doc and module name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:51:30 +0100] rev 4880
[utils] make_uid imrovment: using .hex already remove '-', make key argument optional, document it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:50:37 +0100] rev 4879
deprecates merge_dicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:49:42 +0100] rev 4878
kill unused method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:45 +0100] rev 4877
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:28 +0100] rev 4876
Added tag cubicweb-debian-version-3.6.2-1 for changeset f3b4bb9121a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:28 +0100] rev 4875
Added tag cubicweb-version-3.6.2 for changeset bfebe3d14d53
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:43:32 +0100] rev 4874
[form] fix bug introduced by 4871:a34b76593ab2 with field using multiple input with different suffix: the suffix should be considered in the cache key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:55:29 +0100] rev 4873
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:49:40 +0100] rev 4872
prepare 3.6.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:16:35 +0100] rev 4871
[form fields] fix severe memory leak due to @cached on field.input_name
occuring on forms with persistent fields. Has been triggered in 3.6.1 on
our public sites because:
* the login form use persistent field since 3.6
* it's displayed on every anonymous request
* another bug (fixed during the latest mini-sprint) made it also displayed
for authenticated user
see explanation in code for more detail.
moral: be very careful with @cached...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:07:45 +0100] rev 4870
[debug] allow to specify maxlevel to gc_info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 18:28:38 +0100] rev 4869
[write security] we must check perm with read security disabled + add missing eid argument to check_perm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:59 +0100] rev 4868
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:43 +0100] rev 4867
[session] del session's thread local store on close
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:07 +0100] rev 4866
[debug] a new view to help debugging memory leaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:48:38 +0100] rev 4865
[debug] minor improvments to the registry view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:43:00 +0100] rev 4864
[web req] check latest url in breadcrumbs is not the same as the current one to keep more valuable information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:42:13 +0100] rev 4863
[pyviews] add thead/tbody to pyvaltable view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:41:43 +0100] rev 4862
[repo stats] add cache size
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:52:33 +0100] rev 4861
[javascript] upgrade from version 1.0.2 to 1.1 of jquery.autocomplete.js
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:37:34 +0100] rev 4860
[web] fix #736332: iespec functionality for add_css
Patch provided by vgodard.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:19:55 +0100] rev 4859
[javascript] use jQuery.one('ajax-loaded') instead of jQuery.bind() in add_onload to avoid multiple callback executions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Mar 2010 12:08:45 +0100] rev 4858
[widgets] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:59:44 +0100] rev 4857
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:58:30 +0100] rev 4856
req has no more a cursor attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:57:47 +0100] rev 4855
when some authentication plugin fail, we may try another one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:57:04 +0100] rev 4854
logilab.db compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 14:38:41 +0100] rev 4853
[goa] i know goa is broken but that's still that we won't have to fix later :)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 09 Mar 2010 19:39:50 +0100] rev 4852
[documentation] fix errors in book chapter instance-config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:34 +0100] rev 4851
remove deprecation warning introduced by add_onload api change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:16 +0100] rev 4850
[refactor] drop rset.vreg attribute, vreg should be accessed through rset.req. Also kill decorate_rset, simply set rset.req where we were calling this method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:03:26 +0100] rev 4849
missing rename
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:54:27 +0100] rev 4848
rename logilab.db into logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:42:06 +0100] rev 4847
move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:27:41 +0100] rev 4846
[widget] allow to specify hour/minute separator on the JQueryTimePicker (vgodard patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:05:29 +0100] rev 4845
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:01:44 +0100] rev 4844
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:00:48 +0100] rev 4843
fix hooks control method name + other litle cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:50 +0100] rev 4842
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:44 +0100] rev 4841
move SLINK_DIRECTORIES creation to a function avoid unnecessary import (and kill that damed warning of psyco not being installed)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:55 +0100] rev 4840
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:38 +0100] rev 4839
[schema hooks] properly check for changes of schema properties avoid useless costly operation (such as full-text reindexing all entities of a type). Refactor inlined handling and fix a bug trying to reindex a final entity type on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:51:08 +0100] rev 4838
[hook] entity_oldnew_value may cause bug on attributes explicitly set to None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:49:57 +0100] rev 4837
misc fixes to ensure logilab.db compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:48:46 +0100] rev 4836
[sql generation] fti_need_distinct quere was not anymore used, potentially causing duplicates on has_text queries with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 08:59:43 +0100] rev 4835
[repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 19:02:35 +0100] rev 4834
move hooks activation control on session object, so we can have a per transaction control. Added a new `hooks_control` context manager for usual modification of hooks activation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:31:36 +0100] rev 4833
3.7 depends on python >= 2.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:08:24 +0100] rev 4832
rename deprecated file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 17:57:29 +0100] rev 4831
[repo] use logilab.db instead of lgc.adbh/lgc.db/lgc.sqlgen/indexer, test new date extranction functions
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Mar 2010 19:11:47 +0100] rev 4830
[javascript] fix #736185: add_onload / jQuery.bind() vs. jQuery.one()
This patch introduces a new 'server-response' event and
deprecates the 'ajax-loaded' event.
- 'server-response' is triggered by postAjaxLoad() (instead of
'ajax-loaded').
- 'server-response' is also triggered on document.ready().
- The add_onload() method binds the javascript code the
'server-response' event whether or not it's an ajax
request, thus removing the need of the jsoncall hackish
parameter. The binding is done with jQuery.one() instead
of jQuery.bind().
- The javascript callbacks will be passed two extra parameters :
a boolean to indicate if it's an ajax request or not, the DOM
node (result of the HTTP query). As javascript is what it is,
callbacks can safely ignore those two parameters if they don't
need them.
Backward compatibility is maintained by triggerring an 'ajax-loaded'
event when a 'server-response' is emitted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:51:29 +0100] rev 4829
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:05:17 +0100] rev 4828
[cleanup] fti_* method already try/except exception, no need for additional catch here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:04:36 +0100] rev 4827
[hook] use entity instead of values dict, check for edited_attributes on rtype change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:03:43 +0100] rev 4826
[schema hook] fulltext_container is a relation *type* property. Test and fix (+ more fti properties change testing)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:00:23 +0100] rev 4825
fix name error fixed in wrong branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 08:59:07 +0100] rev 4824
[test] don't use an internal url for test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:39 +0100] rev 4823
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:18 +0100] rev 4822
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 18:57:13 +0100] rev 4821
Added tag cubicweb-debian-version-3.6.1-2 for changeset 0a16f07112b9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:52 +0100] rev 4820
[pkg/debian] prepare 3.6.1-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:22 +0100] rev 4819
[pkg/debian] Remove python-elementtree from Depends
elementTree is included in python2.5 and all supported distrib are 2.5 or above.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:07:39 +0100] rev 4818
le patch massiveimport a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:29:24 +0100] rev 4817
fix bad test fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:24:01 +0100] rev 4816
repair stuff broken by fti handling changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:22:41 +0100] rev 4815
update test broken by fulltextindexed change on workflow entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:05:47 +0100] rev 4814
fix another name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:04:46 +0100] rev 4813
fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 12:18:22 +0100] rev 4812
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:39:34 +0100] rev 4811
eschema_type_eid become eschema_eid and always get a schema as argument + misc cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:35:06 +0100] rev 4810
don't issue critical warning about missing text index when we're creating the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:24:55 +0100] rev 4809
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:06:03 +0100] rev 4808
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:04:26 +0100] rev 4807
[cleanup] add index_entity to abstract source, add docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:02:33 +0100] rev 4806
[fti] refactor and fix full text indexation handling
* moved logic from repository to the native source
* avoid creating a FTIndexOp when no full text indexation is needed
* entities with fulltext_container set are not indexed even when not
related to a container
* avoid duplicated unindexation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:58:31 +0100] rev 4805
[schema] do not fulltext index workflow entities'description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:51:19 +0100] rev 4804
no key error subsequent to test module import error
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:51:27 +0100] rev 4803
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:50:17 +0100] rev 4802
[views/breadcrumbs] fix bad signature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:31 +0100] rev 4801
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:14 +0100] rev 4800
nicer explanation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:48:55 +0100] rev 4799
fix schema serialization bug: groupmap considered as addrdef argument
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Mar 2010 16:58:40 +0100] rev 4798
[cwctl] list will warn about a badly formatted version constraint instead of crashing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:23 +0100] rev 4797
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:09 +0100] rev 4796
oops, 'not' missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:07:54 +0100] rev 4795
[repo] fix bug introduced by 4757:ec9c20c6b9f7, testing for select.selection is not enough to avoid the substep query, we should check there is no interesting restriction (test added)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 11:45:29 +0100] rev 4794
[rql2sql] fix potential crash when testing _q_invariant on a ColumnAlias instead of a Variable by always considering _q_invariant to false for them
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:58:28 +0100] rev 4793
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:46 +0100] rev 4792
fix test broken by meta relation permissions tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:27 +0100] rev 4791
fix schema serialization, bad repartition of changes between stable and default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:23:20 +0100] rev 4790
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:22:21 +0100] rev 4789
remove stuff from default introduced accidentally in stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:16:48 +0100] rev 4788
applied vgodard patch for jquery rounded corner w/ MSIE >= 8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 09:57:40 +0100] rev 4787
backport stable
Adrien Chauve <adrien.chauve@logilab.fr> [Thu, 04 Mar 2010 09:43:16 +0100] rev 4786
[fix] #731915 use add_onload instead of plain <script> tag for progress bar.
This changeset fixes : #731915: missing inprogress style on the project page
Content fetched with ajax have their <script> tags removed. (see #734414) We
now use the _cw.html_headers.add_onload method to execute the javascript code
necessary to draw the progress bar.
In the process we removed the ProgressBarWidget and merged it in
ProgressTableView.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 09:35:34 +0100] rev 4785
add render_description method to RSSItemView to improve modularity.
The construction of the description marker of and rss entry is currently built
by the main cell_call function. This make the job hard for RSSItemView subclass
to change the default behaviour. The changeset fix this issue by extracting the
description creation into a render_description method. Such extraction are
already in place for various rss marquer.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 26 Feb 2010 17:00:42 +0100] rev 4784
le patch documentation-admin-tips a été importé
Julien Jehannet <Julien Jehannet <julien.jehannet@logilab.fr>> [Tue, 02 Mar 2010 21:48:36 +0100] rev 4783
[F] views: fix 2 unicode errors
1. You can now use valid unicode strings in ValidationError exception.
Previously, if 'err' contains unicode, UnicodeDecodeError was raised by format_errors()
>>> templstr = '<li>%s</li>\n'
>>> e = ValidationError(None, {None: u'oué, une exception en unicode!'})
>>> templstr % e
'<li>None (None): ou\xc3\xa9, une exception en unicode!</li>\n'
>>> templstr = u'<li>%s</li>\n'
>>> templstr % e
u'<li>None (None): ou\xe9, une exception en unicode!</li>\n'
2. The message of an Exception can contains unicode. But it now properly managed by “informal” string representation.
We can easily fix the problem by using the Exception.message attribute that still contains the original message.
>>> a = AssertionError(u'séfdsdf')
>>> a.message
u's\xe9fdsdf'
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
>>> a = ValueError(u'fsdfsdéfsdfs')
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a
ValueError(u'fsdfsd\xe9fsdfs',)
>>> unicode(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a.message
u'fsdfsd\xe9fsdfs'
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 22 Feb 2010 17:23:46 +0100] rev 4782
le patch fix-3.6-deprecation-warning a été importé
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:27 +0100] rev 4781
Suppress the hidden logform when the user is already connected
by adding a conditionned logform
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:21 +0100] rev 4780
fix a Depression Warning
replace self.req._(... by self._cw._(...
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:03 +0100] rev 4779
fix: Prevent multi pass in restore_previous_post
by adding a conditional return add the top of the methode.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 08:48:51 +0100] rev 4778
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:20:03 +0100] rev 4777
[test] check _shutting_down, not empty dict (empty dict test should go in pytestgc patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:03:52 +0100] rev 4776
assert we are not already shutting down
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:02:36 +0100] rev 4775
[test] call super class teardown after perms restoration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:57:41 +0100] rev 4774
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:56:37 +0100] rev 4773
[testlib] properly close dumb sessions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:54:07 +0100] rev 4772
[debug] more (dirty) gc debuging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:56 +0100] rev 4771
custom rest publisher instead of using rest_publish. Avoid to keep a ref on the latest context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:01 +0100] rev 4770
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:33:56 +0100] rev 4769
[rest] cleanup, avoid deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:32:21 +0100] rev 4768
delete pyro proxy on connection close, properly raise programming error when working on a closed connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:31:08 +0100] rev 4767
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:30:25 +0100] rev 4766
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:12:28 +0100] rev 4765
more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:59:05 +0100] rev 4764
[repo] improve planning of insert/update queries: do not select affected constants so the don't go and back to/from the source.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:56:04 +0100] rev 4763
schema serialization optimization by using eids instead of type names. Heavy refactoring/cleanup on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:51:49 +0100] rev 4762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:49:24 +0100] rev 4761
[testlib] automatic test shouldn't try to populate default_workflow
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:48:08 +0100] rev 4760
minor schema serialization optimization:
* remove verbose handling, no more necessary since server.set_debug
* remove old bw compat code
* other cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:42:19 +0100] rev 4759
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:39:22 +0100] rev 4758
fix code and tests broken by 4744:13a5d3a7410e (proper permission on eid/has_text/identity relations)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:58:39 +0100] rev 4757
do not check for use template permission when session is super session or integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:57:32 +0100] rev 4756
do not check for existant entity when relation of single card is added but integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:44:26 +0100] rev 4755
[schema] tweaks meta-relations and schema/workflow entities attributes permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:43:26 +0100] rev 4754
[schema] new constants for permissions definitions
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Mar 2010 14:06:05 +0100] rev 4753
[book/ldap] note on the role of two options
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:32:46 +0100] rev 4752
[book/cwctl] reorganize a bit this page (very messy)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:15:26 +0100] rev 4751
[book] more id -> __regid__
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:11:46 +0100] rev 4750
[book/entities] a bit of flesh to the interface chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:46:58 +0100] rev 4749
[book/admin/pyro] fix pyro options, give a small setup example
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:10:03 +0100] rev 4748
[book/faq] cleanup & complete a bit
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 16:06:36 +0100] rev 4747
[book/admin/setup] notes about configuration of sql server
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:47:26 +0100] rev 4746
[book] remove seemingly unused old cruft
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:51 +0100] rev 4745
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:45 +0100] rev 4744
[book] cleanup (deleting/moving) old stuff
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:11:11 +0100] rev 4743
[book] a few autoclasses for renderers, misc tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 14:39:06 +0100] rev 4742
[primary] navcontentbottom sections should be in the content table as navcontenttop
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 13:00:41 +0100] rev 4741
[book/controllers] add some content (overview, api super sketch) for the cubicweb controllers
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 12:04:33 +0100] rev 4740
[book/ldap] add missing LDAP section
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 11:21:29 +0100] rev 4739
[reledit] add ajax html head div, which allows to get additional css/js up to the browser #620569
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Mar 2010 16:02:22 +0100] rev 4738
fix open/close/open subnode bug #730709
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:39:33 +0100] rev 4737
backport stable to default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4736
Added tag cubicweb-debian-version-3.6.1-1 for changeset b9cdfe3341d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4735
Added tag cubicweb-version-3.6.1 for changeset 4ae30c9ca11b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 16:51:41 +0100] rev 4734
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:39:59 +0100] rev 4733
3.6.1 depending on yams 0.28
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:36:30 +0100] rev 4732
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4731
Added tag cubicweb-debian-version-3.6.0-1 for changeset d2ba93fcb8da
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4730
Added tag cubicweb-version-3.6.0 for changeset 450804da3ab2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:32:32 +0100] rev 4729
3.6.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:28:15 +0100] rev 4728
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:27:55 +0100] rev 4727
tabs/lazy views: provide a link for the no js user agents (lynx, blinds, google) #693670
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:22:22 +0100] rev 4726
[test] XXX fix to have pytest succeed on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:56:06 +0100] rev 4725
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:31:10 +0100] rev 4724
fix test, broken by the merge of debug and info views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:46 +0100] rev 4723
ensure we don't break xhtml
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:24 +0100] rev 4722
pylint suggested refactorings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:24:47 +0100] rev 4721
pylint style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:21:13 +0100] rev 4720
don't use module doc string as usage string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:19:14 +0100] rev 4719
kill dead/useless code as suggested by pylint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:12:01 +0100] rev 4718
avoid module import in c-c plugins module, and remind it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:10:16 +0100] rev 4717
proper deprecation warning when import class that should be imported from yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:09:12 +0100] rev 4716
fix some pylint detected errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:32 +0100] rev 4715
[test] fix test broken by arthur processinfo patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:03 +0100] rev 4714
merge debug and info views
plus enhancements:
* nicer presentation
* proper translations
* kill dead (modpython!) code
* fix repository stats (active thread count / add looping tasks information)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:27 +0100] rev 4713
[i18n] nothing to translate here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:03 +0100] rev 4712
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:55 +0100] rev 4711
[test] we should properly use vreg method to compute solutions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:02 +0100] rev 4710
[pool] properly close existing connection before reconnection
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 26 Feb 2010 07:44:18 +0100] rev 4709
[web] fix #724769: Use RemoteCallFailed in the publisher's error_handler
On json_request, errors handled by the publisher should raise RemoteCallFailed
exceptions instead of standard StatusResponse so that errbacks get called
normally on the client side.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:26:47 +0100] rev 4708
#687194: cubicweb-ctl exlog : fix help message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:08:11 +0100] rev 4707
merge
arthur [Fri, 26 Feb 2010 07:07:28 +0100] rev 4706
added stats for munin collecting #615844 - from 027bbff3659f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:04:52 +0100] rev 4705
[dbapi] no more need to monkey patch this in 3.6: vreg/schema/config are all properly accessed through ._cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:03:38 +0100] rev 4704
[session] fix memory leak: local thread data living in a thread that never finishes (eg, the main thread) may not be properly freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:59:16 +0100] rev 4703
[session] user.login is usually an unicode string, so implements __unicode__ instead of __str__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:57:02 +0100] rev 4702
fix docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:55:43 +0100] rev 4701
[facet] before 3.6 we were sure to have a cw_rset attribute. Restore this for facets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Feb 2010 17:42:51 +0100] rev 4700
[iprogress] missing js file
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:43:11 +0100] rev 4699
[hooks] match_rtype and match_rtype_sets don't need to extend match_search_state
The only method actually used by those 2 classes is __str__ that is defined
on ExpectedValueSelector, not match_search_state.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:40:47 +0100] rev 4698
[uicfg] section='inlined' is acceptable for inlined forms
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:39:49 +0100] rev 4697
[web] fix muledit rendering bug
form.cw_col might be None and explicitly passing None to the selector
chain may crash. Most __call__ methods of selectors are defined as in :
def __call__(self, cls, req, rset, row=None, col=0, **kwargs)
and then manipulate col as if it's an integer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:08:13 +0100] rev 4696
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:07:17 +0100] rev 4695
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:37 +0100] rev 4694
simplejson may not be available with python 2.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:15 +0100] rev 4693
ensure make_uid return something that may be used as dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:53 +0100] rev 4692
[test] also hide this message during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:30 +0100] rev 4691
[test] fix test inter-dependancies pb. Pytest ok in each individual test dir, though not yet for whole cubicweb, but for different reasons
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:53:36 +0100] rev 4690
[testlib] provide ability to control schema/vreg reset using reset_schema/reset_vreg test class attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:52:11 +0100] rev 4689
[test] skipping versions checking during test is enough, no need for monkey patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:48:24 +0100] rev 4688
[goa] we don't use mx anymore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:21:51 +0100] rev 4687
[integrity] skip auto-delete for internal sessions (but *not* for super session, see 4642:921737d2e3a8)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:20:13 +0100] rev 4686
[integrity] temporary fix auto-delete relation (see 4673:6f8b925a29f4 and 4642:921737d2e3a8): we want no read perms, though we want to check delete perms. Should be properly fixed in 3.7 once we've proper security control and [unsafe_]execute behaviour on the repository side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:14:14 +0100] rev 4685
use set_action_permissions is clearer and avoid @cached issue across tests
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 24 Feb 2010 12:49:55 +0100] rev 4684
[cwctl] use l.c.changelog for version comparison
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:11:27 +0100] rev 4683
[form] only set __form_id for the main form, not for sub-forms. Should fix regression introduced by 4668:9f82f81bf13d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:05:01 +0100] rev 4682
don't issue critical message when trying to alter sqlite db during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:04:28 +0100] rev 4681
[test] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:56:47 +0100] rev 4680
[test] update tests broken by changes on attributes permissions handling in yams (add/delete replaced by update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:37:37 +0100] rev 4679
remove #<formid> from url used to redirect after a validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:35:06 +0100] rev 4678
[test] no more __cubicweb_internal_field__ value displayed on password widget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:34:37 +0100] rev 4677
[test] inline-creation requires petype argument to be selectable. Fix arguments order to make it clearer that 'template' is an argument of the test class .view method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:33:31 +0100] rev 4676
[test] skip test when fop failed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:32:22 +0100] rev 4675
[test] don't display progress bar when testing checkintegrity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:30:31 +0100] rev 4674
[test api] rename _user_session to user_groups_session, fix its arguments and return only the session, not (user, session) to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:23:46 +0100] rev 4673
auto-delete relation with single cardinality using execute, not unsafe_execute, so permissions are correctly checked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:22:40 +0100] rev 4672
fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 18:21:30 +0100] rev 4671
add */*.py to default MANIFEST.in to avoid pb such as #719282 in the future
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:39:13 +0100] rev 4670
fix #615379 by checking admin user exists instead of making think everything is fine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:43 +0100] rev 4669
cleanup, typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:31 +0100] rev 4668
[form] fix #719285, due to multiple calls to restore_previous_post, by proper refactorings
* move __init__ code from FieldsForm to Form. Must behaviour here should actually be in the Form base class
* avoid buggy duplicated call to restore_previous_post
* move some code that was in the form renderer to the form'__init__ method (__redirectpath & __form_id hidden input handling))
* 'formvid' should now be specified on form selection, not on form rendering
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 18 Feb 2010 14:30:23 +0100] rev 4667
[fix] Apply fulltextindexed change in the actual index
Change of the fulltextindexed attribute of a CWAttribute did actually change
anything for already existing entity (but apply to new one). This patch fix this
behaviour:
* A new SingleLastOperation, UpdateFTIndexOp, to reindex entity whose
ftindexation changed during a commit. This data is read from
session.transaction_data['fti_update_etypes']
* The SourceDbRDefUpdate operation to store Etype who modify they fulltextindexed
of attribute in session.transaction_data['fti_update_etypes'].
* A new test is added to check the behaviour
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:40:55 +0100] rev 4666
3.6 api update (introduced by merge)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:19:16 +0100] rev 4665
when validating a form, we should properly call 'actual_fields(form) on edited field else compound field are not correctly processed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:59:30 +0100] rev 4664
#714109: [selectors] non_final_entity should implement score_class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:57 +0100] rev 4663
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:40 +0100] rev 4662
add XXX note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:51:20 +0100] rev 4661
[form] cache field value in form.formvalues using (field, form) key since in some case the same field instance may be shared accross multiple forms, which may share the formvalues dict in case of sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:49:37 +0100] rev 4660
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:46:56 +0100] rev 4659
[form] complete 25de2eb0432b by ignore req parameters by default for all hidden fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:43:15 +0100] rev 4658
[form] add a new ignore_req_params attribute on field controlling value's retreival
for such field, such as eid/__type in entity forms, we don't want to consider values
from req.form since we may get undesired value (as reported by #714766). This new
attribute allow do specify that we don't want to consider req.form in such case.
Also, it seems that retreival of form values after a validation error suffer from
the same problem, so don't use form_previous_values for field with ignore_req_params
set to True (XXX though I suppose that may not be correct in some cases).
Charles Hébert <charles.hebert@logilab.fr> [Tue, 23 Feb 2010 12:43:16 +0100] rev 4657
[css] fix disappearing image in menu when a:hover
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 23 Feb 2010 08:41:06 +0100] rev 4656
[cwctl] modify command list to check for cube dependency problems
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 10:57:51 +0100] rev 4655
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 08:54:04 +0100] rev 4654
docstring improvement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:53:01 +0100] rev 4653
import cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:52:38 +0100] rev 4652
restore 3.5 compat for date functions moved to lgc.date in 3.6 (closes #716055)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 19:25:04 +0100] rev 4651
[devtools/fill] fix date generation and its test
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 18:22:54 +0100] rev 4650
typo: capitalize migration confirmation messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 15:12:46 +0100] rev 4649
[views/deleteconf] remove action ppty (useless & clashes with form attr, replace buggy non_final_entity selector with implements workaround
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 12:53:35 +0100] rev 4648
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:12:33 +0100] rev 4647
[workflow] fix potential destination for go back transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:04:24 +0100] rev 4646
[workflow] finish refactoring introduced by 021035b9a7ab for 'go back' transition:
* fix SubWorkflowTransition.destination() prototype (must now take an entity as argument)
* fix the change state for to give the entity to the transition's destination() method
* we need a new method to draw workflow since we've no entity to give and 'go back'
transition usually go back to multiple states
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:37:03 +0100] rev 4645
deprecate Transition.set_transition_permissions in favor of set_permissions (after all we know we're on a transition entity)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:36:26 +0100] rev 4644
introduce 'go back' transition: transition without destination state will go to the state we were coming from
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:34:14 +0100] rev 4643
fix optimisation with super session that may lead to integrity loss
at some point I've decided to stop ensuring ?1 cardinality was respected
when adding a new relation using a super session, to avoid the cost of
the delete query. That was yet discussable because it introduced unexpected
difference between execute and unsafe_execute, which is imo not worth it.
Also, now that rql() in migration script default to unsafe_execute, we
definitly don't want that implicit behaviour change (which already cause
bug when for instance adding another default workflow for an entity type:
without that fix we end up with *two* default workflows while the schema
tells we can have only one.
IMO we should go to the direction that super session skip all security
check, but nothing else, unless explicitly asked.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 12:14:35 +0100] rev 4642
[auto/inline forms] reallow nested inline forms #703910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:29 +0100] rev 4641
[reledit] fix #713217: reledit doesn't check 'update' permission on attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:09 +0100] rev 4640
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:27:00 +0100] rev 4639
cleanup internal forms parameters in postlogin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:07:56 +0100] rev 4638
grmmbl, bad resolve
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:06:17 +0100] rev 4637
missed conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:02:48 +0100] rev 4636
backport lost stable head
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:31:03 +0100] rev 4635
fix sync_schema_props_perms test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:30:37 +0100] rev 4634
fix create_user function introduced in d6ae30c5d055 for database initialization: messup admin user groups when anon is created due to missing restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:28:38 +0100] rev 4633
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:58:52 +0100] rev 4632
fix unittest_hooks: attributes have now update_permission instead of [add/delete]_permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:57:57 +0100] rev 4631
when modifying a persistent schema, erschema may miss some permissions which wil trigger a key error, but we don't want to crash on such cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:52:34 +0100] rev 4630
fix #694445: related entity generates weird RQL which in turn generates weird SQL which fails on SQL Server
quick fix to reuse modification_date if already retreived by the rql query.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:13:36 +0100] rev 4629
fix 4626:c26b4df9fc90 (#703911): use can't rely on peid since it's not an actual eid when we're creating the parent entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:08:00 +0100] rev 4628
[form fields] nicer behaviour of the password field: don't put internal field value on edition (triggering validation error if one validation without removing the value, due to confirmation mismatch), and don't show the field as required in such case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:06:40 +0100] rev 4627
minor cleanup: don't use builtin 'id' as variable name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:57:50 +0100] rev 4626
[forms/inline] fix #703911: add new link disappears if inline box removed. Since we've the information, we must specify the target type else we get random cardinality on ambiguous relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:55:41 +0100] rev 4625
this is not the form renderer responsability to check for update permissions. Move this to autoform editable_attributes relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:54:50 +0100] rev 4624
turn default logging threshold to warning (we usually want them), and log 'no schema for eid' pb using warning instead of error, so we see them in logs but not during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:26:04 +0100] rev 4623
pfff, sorry to keep messing with default/stable...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:22:04 +0100] rev 4622
specify db port on backup/restore commands (require forth comming lgc 0.48.1)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 08:39:30 +0100] rev 4621
move captcha view to a place where it will be loaded by the registry...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 07:29:13 +0100] rev 4620
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 20:22:12 +0100] rev 4619
[security] allow to call .check on rql expression with a user eid specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:42:52 +0100] rev 4618
[facet] rqlst should be the select node
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:27:01 +0100] rev 4617
oops, should have been in my previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:21:34 +0100] rev 4616
fix table view facet retreival, necessary since 95ccd84c892b. Also some cleanup in facet box
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:58:09 +0100] rev 4615
Fix: RangeFacet is selected (valid rset) but without any values
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:57:03 +0100] rev 4614
fix the bad rqlst syntax tree usage during facets initialization by copying it
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 17 Feb 2010 10:39:35 +0100] rev 4613
[R] dataimport: refine error detection
Consider only None as non-expected value after parsing the input file.
False is now allowed because of the boolean yesno checker that returns False by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:23:36 +0100] rev 4612
added a function to create admin/anon user during db initialization process so one get a chance to monkey patch it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:16:50 +0100] rev 4611
fix unittest_schema, remove deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:12:35 +0100] rev 4610
when creating an instance, ask for cubes specific options properly (fix #607349)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:11:30 +0100] rev 4609
avoid loading twice site_cubicweb files on instance creation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:25:17 +0100] rev 4608
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:21:28 +0100] rev 4607
[schema security] fix so that when cheking attributes perms for an entity being created, 'owners' and has_*_permission in erqlexpr are considered satisfied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:26:09 +0100] rev 4606
dont add CUBES_DIR to cubes search path if it doesn't exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:46 +0100] rev 4605
fix dumb name error triggering crash when some directory in cubes search path doesn't exist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:12 +0100] rev 4604
remove 3.6 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:49 +0100] rev 4603
login form style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:00 +0100] rev 4602
proper deprecation of TabedPrimaryView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:12:42 +0100] rev 4601
missing call to toolbox in tabbed primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:51 +0100] rev 4600
use needs_css so you can change login form css without redefining LogFormView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:28 +0100] rev 4599
bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:31:12 +0100] rev 4598
backport fixes done accidentaly in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:30:52 +0100] rev 4597
use class, not klass, in widget.attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:42:04 +0100] rev 4596
specify login form dom id, don't render progress div
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:33:48 +0100] rev 4595
backport crypto/captcha utilities from the registration cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:27:15 +0100] rev 4594
use an actual form for the login form ease customization from external cubes (eg rememberme)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:25:18 +0100] rev 4593
add space between a checkbox and its label
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:24:40 +0100] rev 4592
ensure cnx is set first (necessary to introduce of a form object to handle the login form)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:23:35 +0100] rev 4591
don't let set_schema making commit_event fail
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:57 +0100] rev 4590
use constant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:50 +0100] rev 4589
fix permission of the condition permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:35 +0100] rev 4588
fix *_permissions schema: using the same cardinality/composite properties for cwgroup/rqlexpr leads to important pbs...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:44:47 +0100] rev 4587
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:36:34 +0100] rev 4586
DEFAULT_ATTRPERMS is now public
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 17:47:50 +0100] rev 4585
[inlined formos] don't pop attributes from kwargs, so they end-up in
cw_extra_kwargs which is then passed to the edition form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:22:01 +0100] rev 4584
[notification] we should use unsafe_execute here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:45 +0100] rev 4583
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:06 +0100] rev 4582
[calendar view] fix related to the date_range mess (max value exclusion). Calendar views authors should check if more similar fixes needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:18:38 +0100] rev 4581
[forms] fix RelationField bug with pending eids (eg inlined forms): we have to override process_form_value to avoid caching when recomputing is needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:17:24 +0100] rev 4580
[shell] rql() should use unsafe_execute when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:16:08 +0100] rev 4579
[autoform] we should consider role when checking delete permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:50 +0100] rev 4578
don't update modification_date in repairing_mode (eg upgrade or shell)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:27 +0100] rev 4577
[security] we should save back edited_attributes in case of multiple modification of an entity during the same transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:47 +0100] rev 4576
tune startup logging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:31 +0100] rev 4575
[schema] fix RelationSchema.has_perm to properly works with attribute relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:12:57 +0100] rev 4574
[schema] refactor/cleanup check_permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:49 +0100] rev 4573
use a close_form method for consistency w/ open_form and allow overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:18 +0100] rev 4572
add version info to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:02 +0100] rev 4571
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:10:25 +0100] rev 4570
follow yams api change: attributes permissions are now defined for
an 'update' action, no more 'add' / 'delete' which makes no sense in such case.
fix afs.relations_by_section permissions checking of object relation on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:05:15 +0100] rev 4569
fix dumb name error causing error when non managers try to change his properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:04:44 +0100] rev 4568
fix typo in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:19:08 +0100] rev 4567
remove crappy basket specific code
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 23:34:19 +0100] rev 4566
[views] toolbox must be rendered before the title to appear at top right
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 22:40:44 +0100] rev 4565
[uicfg] make deprecation message easier to understand
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 12 Feb 2010 16:48:57 +0100] rev 4564
[uicfg] allow autoform_section's formtype parameter to be a tuple
Typical usage is:
afs.tag_attribute(('X', 'y'), formtype=('main', 'muledit'), section='attributes')
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 15:18:00 +0100] rev 4563
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 14:34:38 +0100] rev 4562
branch oldstable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 14:17:52 +0100] rev 4561
create oldstable branch, remove 3.5 tag
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:35:12 +0100] rev 4560
merge 3.6 default/stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:33:54 +0100] rev 4559
merge 3.5/stable heads
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:32:14 +0100] rev 4558
Added tag 3.5 for changeset a0571ff0cb5d
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Feb 2010 14:24:05 +0100] rev 4557
[http cache/json controller] ensure json_view does proper cache validation #390986
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:56 +0100] rev 4556
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:14 +0100] rev 4555
typo fix in help string
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:55:49 +0100] rev 4554
use subprocess instead of os.popen to run diff
this avoids argument quoting issues (spaces in path, etc)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 12:13:07 +0100] rev 4553
[migration] abort becomes possible when asked for confirmation before migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:18:46 +0100] rev 4552
sort on sortvalue, not dc_title to allow customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:54 +0100] rev 4551
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:32 +0100] rev 4550
fix bug when value is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:20 +0100] rev 4549
Added tag cubicweb-debian-version-3.6.0-1 for changeset 17e88f2485d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:19 +0100] rev 4548
Added tag cubicweb-version-3.6.0 for changeset 5f957e351b0a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 14:31:22 +0100] rev 4547
added jquery.ui image files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:58:11 +0100] rev 4546
provides a fallback_on_none_attribute field attribute, allowing to specify default value for attributes of *existing* entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:57:29 +0100] rev 4545
fix match_transition selector: for instance w/ forge version change state form overiding, we want the form with the publication_date selected by the editcontroller, whatever the transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 12:00:37 +0100] rev 4544
split introduced in the wrong place
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:57:28 +0100] rev 4543
packaging fix: no more test in common (2).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:52:15 +0100] rev 4542
packaging fix: no more test in common. Should remove test from the hooks subpackage in rules for hardy
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:48:33 +0100] rev 4541
drop cubicweb-client package (there was only hercule.py inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:40:41 +0100] rev 4540
remove ref to hercule.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:14:14 +0100] rev 4539
cw 3.6, itself
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:40 +0100] rev 4538
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:34 +0100] rev 4537
i18n msg fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:20 +0100] rev 4536
cleanup 2.5 __future__ imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:54:47 +0100] rev 4535
update translatable docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:27:23 +0100] rev 4534
fix test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:08:17 +0100] rev 4533
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:07:53 +0100] rev 4532
fix auto-rollback on unauthorized error:
* don't rollback if a commit is processing
* don't free pool on rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:06:02 +0100] rev 4531
fix ldap test, our ldap server name has changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:05:43 +0100] rev 4530
fix name error introduced by bad merging of stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:51:19 +0100] rev 4529
fix 'click here to see the created entity' link, which may not appear according to language settings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:50:31 +0100] rev 4528
quick fix for typed formfield validation: accept empty string, split
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Feb 2010 17:13:53 +0100] rev 4527
[R] devtools: improve default data import mechanism
Validation chain is now possible with checkers
Before that the expected values needed to be coherent.
Now, we can use ObjectStore to validate the input data
* add new input transformers:
- uppercase
- lowercase
* add new input checkers (raise AssertionError on error):
- decimal: take care of possible comma character as number separator
- integer: cast to int()
- yesno: to validate boolean value
- isalpha
- required: input value *must* not be empty
* new control checker:
- optional: block possible exception
we delete field in the returned dict instead of raising AssertionError
(exclusive with required)
Helper methods to manipulate indexes:
* build_rqlindex() is used to build index based on already created entities
* fetch() replace get_one()/get_many() methods by factorizing code
Minor changes in reporting:
* use tell() for all printing
* let new value for askerrors to display automatically the report (used in crontab)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 18:49:12 +0100] rev 4526
merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:16:29 +0100] rev 4525
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:15:20 +0100] rev 4524
[cw-shell] do not set arbitrary limit on number of arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:45 +0100] rev 4523
use 'edit' as defaut path for expect_redirect_publish
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:17 +0100] rev 4522
propagation hooks cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:01 +0100] rev 4521
missing import for 2.4 compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 13:45:05 +0100] rev 4520
don't play with the custom_workflow relation in autofill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:55:08 +0100] rev 4519
fix bug w/ object relation used as inlined form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:54:44 +0100] rev 4518
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:41:44 +0100] rev 4517
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:39:23 +0100] rev 4516
turn down some info logs into debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:38:59 +0100] rev 4515
turn down some info logs into debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:37:47 +0100] rev 4514
fix constraint hook: a session may be involved in multiple transaction at time
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 11:22:40 +0100] rev 4513
fix and begin to document autofill algorithm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 22:41:07 +0100] rev 4512
unset_attribute_storage, for testing purpose at least
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:29:59 +0100] rev 4511
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:27:30 +0100] rev 4510
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:22:10 +0100] rev 4509
when no context specified, should return non-zero score as documented
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:50 +0100] rev 4508
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:31 +0100] rev 4507
no need for a specific vid argument here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:35:07 +0100] rev 4506
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:34 +0100] rev 4505
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:18 +0100] rev 4504
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 13:42:22 +0100] rev 4503
add a note about modifying read only attribute
cf. syt's commit message in 81021d62138f
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 10:07:52 +0100] rev 4502
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 05 Feb 2010 17:57:51 +0100] rev 4501
use calendar.gmtime instead of time.mktime to avoid UTC/localtime issues with Flot
This is suggested by the Flot documentation on http://people.iola.dk/olau/flot/API.txt
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:33:09 +0100] rev 4500
must use in-place modification, pending_operations is a read-only property
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:29:23 +0100] rev 4499
avoid to see the same warning twice, one for 3.6 another for 3.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:05:19 +0100] rev 4498
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:03:38 +0100] rev 4497
fix session's commit handling: when an operation failed in [pre]commit, call rollback_event as well for already processed operation, not only the revert<event> callback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:02:05 +0100] rev 4496
race condition may makes this assertion fail, we don't want that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:25:15 +0100] rev 4495
unvisible field may have been modified, for instance relation added by an hidden input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:05:56 +0100] rev 4494
AdaptedList -> SameETypeList
*NO BW COMPAT*, benefit from cw 3.6 releasing of folder,file and blog
which use it to get update at the same time.
CMHN and PEGASE will need update (but won't go to 3.6 without update,
so seem fine).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:03:03 +0100] rev 4493
now raise UnknownProperty, not KeyError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:02:32 +0100] rev 4492
fix test broken by introduction of ViewSameEType action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:01:15 +0100] rev 4491
kill register_appobject_class method, simplifying autoregistration. Update test accordingly (test which manually registers object should also properly call there __register__ method). Drop the disable-appobjects config file entry: no one used it since its introduction years ago.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 11:08:55 +0100] rev 4490
backport stable branch and some vreg cleanups:
* move initialization_completed from cwvreg to base VRegistry class
allowing simplification of CWVregistry
* cleanup initialization process: __registered__ is now called after
initialization completed, by the relevant registry.
* fix/remove deprecated tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 10:06:40 +0100] rev 4489
fix security issue #36564 (integrity error w/ RQLUniqueConstraint) by using a global lock serializing commit when some RQLUniqueConstraint is encountered.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 09:57:25 +0100] rev 4488
errors on postcommit should never occurs, log it as critical
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:37:09 +0100] rev 4487
missing test data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:35 +0100] rev 4486
reminder, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:26 +0100] rev 4485
initialize property once initialization has been fully completed, close #666573
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:31:27 +0100] rev 4484
fix duplicated vregistry initialization during tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 08:45:14 +0100] rev 4483
cleanup, don't fail if no context set on the sourcecode directive
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:53:25 +0100] rev 4482
we should not use inheritance there but proper view redirection, so if one adapt listitem view, he gets the same thing by default with the adapted list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:44:34 +0100] rev 4481
hidden usage of datetime function which has been moved to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:58:46 +0100] rev 4480
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:46:34 +0100] rev 4479
replace DevCubeConfiguration/DevDepsConfiguration by a single DevConfiguration, fixing recently introduced by w/ i18ncube command on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:45:39 +0100] rev 4478
moved to lgc.date as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:33:54 +0100] rev 4477
oops, forgot that part of 3.2 bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:16:52 +0100] rev 4476
hercule (aka c-c client command) have not (ever?) been used for years, stop supporting it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:14:36 +0100] rev 4475
kill most pre 3.2 bw compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:13:48 +0100] rev 4474
kill mx compat code (dropped since 3.2), more efficient merge_args implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:24 +0100] rev 4473
this test is now useless here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:10 +0100] rev 4472
3.6 test api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:48 +0100] rev 4471
db fill api has changed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:25 +0100] rev 4470
no needs for a views package, 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:58:11 +0100] rev 4469
need post_build_callbacks attribute with earlier yams version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:57:52 +0100] rev 4468
update yams/rql dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:56:57 +0100] rev 4467
fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:54:23 +0100] rev 4466
moved generic datetime manipulation function to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:55:21 +0100] rev 4465
fix wrong autoclass inclusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:54:51 +0100] rev 4464
fix rest syntax error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:54:11 +0100] rev 4463
more selectors doc in the book, mostly extracted from code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:53:33 +0100] rev 4462
reorganize, cleanup and properly document base selectors. Kill the may_add_relation selector.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:11:38 +0100] rev 4461
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 08:11:32 +0100] rev 4460
clear rest_path __unique cache in clear_all_caches, fix related test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 07:25:16 +0100] rev 4459
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 13:17:26 +0100] rev 4458
copy back __doc__ for proper sphinx doc generation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:43 +0100] rev 4457
mimick actual request set_header method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Feb 2010 18:29:30 +0100] rev 4456
fix typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:33:55 +0100] rev 4455
[views/treeview] fix non-ITree nodes last element computation
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:33:09 +0100] rev 4454
[request] add a note about the encoding mgmt (or lack thereof)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:32:13 +0100] rev 4453
[views/plot] replace bogus jsoncall computation by something (statistically) more reliable (json_request being set to True in the JSoncontroller
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Feb 2010 11:30:47 +0100] rev 4452
[doc] small fixes on security part
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 04 Feb 2010 10:17:15 +0100] rev 4451
misc typos found on my way: NameError / SyntaxError / double __select__, <sigh ...>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:50 +0100] rev 4450
fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:11:41 +0100] rev 4449
fix bad rest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:56 +0100] rev 4448
more details on selectors debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:39 +0100] rev 4447
add_state/add_transition are now deprecated, only add_workflow remaining
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 21:02:15 +0100] rev 4446
damn me, more stupid sed fix...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:35:48 +0100] rev 4445
add note telling you don't et an UStreamIO for binary views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:35:19 +0100] rev 4444
document the ~ operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:34:44 +0100] rev 4443
start documenting forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 20:33:49 +0100] rev 4442
fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 19:26:35 +0100] rev 4441
moved content to the dbapi section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:45:20 +0100] rev 4440
nicer docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:45:12 +0100] rev 4439
live-server doesn't work, don't make think it does
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:44:50 +0100] rev 4438
more stuff in doc's README
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 18:44:24 +0100] rev 4437
update exemples using the 3.6 api and add/fix some sections (schema, vreg, talk about CW_MODE in concepts...). So much to do :'(
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 14:46:32 +0100] rev 4436
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Feb 2010 16:19:12 +0100] rev 4435
discriminate against None, not False-ish values
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Feb 2010 18:24:45 +0100] rev 4434
Improve the schema command with filtering option.
meta data and workflow data are hidden by default. show-meta and show-workflow
option are added to display them. Another "hide-type" option allow to hide
additional entities type.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 10:55:25 +0100] rev 4433
Added tag cubicweb-debian-version-3.5.12-1 for changeset 4281e1e2d76b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 10:55:25 +0100] rev 4432
Added tag cubicweb-version-3.5.12 for changeset 98af3d02b83e
Adrien Chauve <adrien.chauve@logilab.fr> [Wed, 03 Feb 2010 09:21:47 +0100] rev 4431
Updated CW tutorial.
* Summarized the list of steps to create a new cube.
* Added a subsection on writing entities.
* Added a subsection on modifying the schema and updating the corresponding instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Feb 2010 09:18:47 +0100] rev 4430
le patch added_tips a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 21:14:01 +0100] rev 4429
le patch admin_tips_for_backup a été importé
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Feb 2010 18:22:25 +0100] rev 4428
Add a ``schema`` command to cmd ctrl to generate schema image.
This changeset add the new commande and do some refactoring in cwconfig and
schema.py to allow the use of CubicWebNoAppConfiguration with
CubicWebSchemaLoader.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 16:19:48 +0100] rev 4427
fix rset.related_entity with variables coming from subquery while some others not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 11:07:12 +0100] rev 4426
3.5.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 11:00:08 +0100] rev 4425
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 10:59:44 +0100] rev 4424
fix spurious http cache bug: sometimes last-modified headers is generated using non-english local, which ends up in a date that twisted can't parse and make it feels the page may be cached while it may not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Feb 2010 10:47:47 +0100] rev 4423
simpler last_modified implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:55:47 +0100] rev 4422
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:55:16 +0100] rev 4421
fetch all forms, avoid potential initialization pb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:54:46 +0100] rev 4420
missing jsonize, avoid spurious error w/ ff
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 01 Feb 2010 19:11:14 +0100] rev 4419
refactor to use the 3.6 API
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:53:02 +0100] rev 4418
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:49:59 +0100] rev 4417
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Jan 2010 16:08:51 +0100] rev 4416
partial backport of support for adbh's new interface to backup_command and restore_command
these methods can return lists or strings which are passed to subprocess.call
without or with the shell=True parameter respectively.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:59:26 +0100] rev 4415
more escapes for the backslashes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:53:00 +0100] rev 4414
escape the backslashes
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 21:07:37 +0100] rev 4413
bugfix
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 18:57:37 +0100] rev 4412
add action to list entities of the CWEType currently displayed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:03:10 +0100] rev 4411
should take arbitrary arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:02:50 +0100] rev 4410
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 17:42:38 +0100] rev 4409
calling unicode instead of gettext...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:54:49 +0100] rev 4408
[entity] small optimization: once an entity has been completed, don't redo it (for nothing)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:53:52 +0100] rev 4407
[treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset
* is_last has to be computed on the caller now, not possible in the callee
* rely on b3f61c38526b to use entity.view() with vid in *view*'s arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:45:18 +0100] rev 4406
[entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:43:57 +0100] rev 4405
eschema view is gone away
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:30:05 +0100] rev 4404
remove misnamed argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:29:52 +0100] rev 4403
add version number to deprecation warning
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Jan 2010 09:49:50 +0100] rev 4402
[entities] fix CWUser.is_in_group implementation
use self.groups property instead of self._groups which might not
be initialized.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 14:12:09 +0100] rev 4401
missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:15:32 +0100] rev 4400
must check for relation inlined in main form type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:14:57 +0100] rev 4399
skip final relations at this point
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Jan 2010 11:26:57 +0100] rev 4398
add missing errno import in etwist/server.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:17:27 +0100] rev 4397
should not raise KeyError if key's missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:58 +0100] rev 4396
choices function should now take the field as argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:35 +0100] rev 4395
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:19 +0100] rev 4394
missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:55 +0100] rev 4393
systematically call bool on BooleanField values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:13 +0100] rev 4392
by default this is not the widget responsability to turn empty string into None,
move this behaviour to the field.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:53 +0100] rev 4391
ensure we get a correct key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:16 +0100] rev 4390
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:58 +0100] rev 4389
useless, same as test_nonregr_eetype_etype_editing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:16 +0100] rev 4388
[forms] propagate aguments given to .vocabulary to .choices if it's a callable.
So we can properly uses vocabulary(limit=xxx) in places where we used to call
.choices(limit), since field.choices is not meant to be accessed directly.
Also, document expected behaviour for custom choices method for relation fields.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:53:48 +0100] rev 4387
reorganize code:
move everything related to inlined forms and generic relation from
editviews/editforms where there are used, eg in autoforms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:25:40 +0100] rev 4386
[forms] fix backward compat for field.choices arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:24:35 +0100] rev 4385
use field.vocabulary instead of field.choices, skip already related eids. Also consider vocabulary when no etype specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:22:07 +0100] rev 4384
[primary view] activate toolbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:21:38 +0100] rev 4383
it seems that prefixiter is expected to return child *folder* but was relying on a specific .children implementation, fix this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:30:35 +0100] rev 4382
3.6 api update, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:29:52 +0100] rev 4381
[forms] let the autoform specify the generic relation field label,
no need for a custom fieldset, may be handled as for other fields by
the renderer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:28:56 +0100] rev 4380
simplify messages used for inlined forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:27:48 +0100] rev 4379
should have been in previous commit (moved below in the module)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:25:56 +0100] rev 4378
[forms] the last touch: handle inlined relation forms as fields
by introducing a simple InlinedRelationField. This makese things
more flexible while removing a lost of overriding necessary.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:22:13 +0100] rev 4377
fix label handling: when label is explicitly set to None, don't try to guess it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:41 +0100] rev 4376
surrounding div necessary for proper error localization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:06 +0100] rev 4375
cleanup base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:45 +0100] rev 4374
by default use new jquery widgets for Time/Date/DateTime fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:07 +0100] rev 4373
new jquery based widgets for Time/Date/DateTime, backported from crm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:46:12 +0100] rev 4372
introduce a default render implementation on the base widget, which
add_media and then call the newly introduced method
_render(form, field, formrenderer), abstract of the base widget class.
This allow a litle code factorisation and avoid to forget the call to
add_media in subclasses.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:43:51 +0100] rev 4371
[forms] new optional suffix attribute on widget objects, used to generage input name / dom id.
Ease reuse of widgets from another widget. Also move base values computing to
a separated values(form, field) method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:40:42 +0100] rev 4370
introduce new _ensure_correctly_typed method on fields, responsible
to ensure the value return by the widget is suitable for that kind
of field.
Also factorize date and time fields.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:37:54 +0100] rev 4369
fix typed_value implementation w/ eidparam field which are actual entity's relation and have .value set for their initial value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:36:00 +0100] rev 4368
cleanup module namespace but only importing the formwidgets module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:38:02 +0100] rev 4367
fix deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:36:55 +0100] rev 4366
fif inlined relation forms pb w/ new ajax forms.
We've to ensure the varmaker is properly initialized when generating
a form where we may add new subentities, which will use ajax call to
generate the subform while this subform expect a varmaker to be set.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:34:12 +0100] rev 4365
now that we are property initializing autoform_section for the 'inlined' form type, use it...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:32:54 +0100] rev 4364
[uicfg] fix autoform_section rtags initialization
1. when a relation is marked as inlined in the 'main' form type, we want
its opposite (eg when one the other side of the relation) to be
marked as hidden in the 'inlined' form type
2. when no section is specified for the 'inlined' form type, use the same
as in the 'main' form type
to do this properly, we need two initialization stages. The first one
to handle 1., the second to handle what was done before and 2.
We can't do this in a single stage because we've to know the bare
value of the "opposite" tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:27:40 +0100] rev 4363
cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:26:41 +0100] rev 4362
incontext view of EmailAddress is a mailto: link
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:46 +0100] rev 4361
add CWProperty for_user CWUser when on the user primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:23 +0100] rev 4360
move CWProperty rtags from autoform to cwproperties module.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:34:29 +0100] rev 4359
fix Bytes submission pb on POST, due to multiple call to field.process_form_value
for a same field.
In the case of file, stream.read() doesn't return file's data the second time
(since the cursor is at the end of the file).
Fix this by having a generic process_form_value method that cache field's value
in form.formvalues[field] and so _process_form_value is only called once.
You should then override that later method on custom fields.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:30:57 +0100] rev 4358
must skip internal field value from the generic relations combobox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:29:50 +0100] rev 4357
case where 'w' argument is None should be handled in do_paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:28:30 +0100] rev 4356
[uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:27:52 +0100] rev 4355
[uicfg] fix reloading pb with the indexview_etype_section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:26:51 +0100] rev 4354
must catch UnmodifiedField exception in has_been_modified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:24:50 +0100] rev 4353
command may now officially be either a string or a list, don't make think it's for backward compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:24:07 +0100] rev 4352
nicer usage for cubicweb-ctl
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:23:38 +0100] rev 4351
get back iterparents implementation from folder cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:22:48 +0100] rev 4350
eschema view has been removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:22:37 +0100] rev 4349
[bfss] make it works when adding/updating entities with an attribute using bfss
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:17:44 +0100] rev 4348
d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:17:15 +0100] rev 4347
fix copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 21:16:42 +0100] rev 4346
XXX quick fix html validation by removing <canvas>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:48:19 +0100] rev 4345
skil internal field value, else we get an error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:36:04 +0100] rev 4344
add source in backup/restore failure message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:28:09 +0100] rev 4343
introduced dependency to lgc > 0.47 for new stacklevel argument to deprecated + new db backup/restore api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:27:30 +0100] rev 4342
handle lgc.adbh api changes within regards of backup/restore:
* new backup_commands method instead of backup_command
* some backend still return command as string as expected by os.system, not subprocess.call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:24:09 +0100] rev 4341
match_rtype hook selector now accepts frometypes/toetypes optional arguments to match only given subject/object entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:59 +0100] rev 4340
a selector MUST NO return None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:33 +0100] rev 4339
some fixes so that deprecation warning are properly localized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:16:35 +0100] rev 4338
to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:13:17 +0100] rev 4337
refactor attributes'value generator to deal with yams special
Attribute/NOW/TODAY values that may be used on [Interval]BoundConstraint
(BoundConstraint wasn't handled btw, fix this).
Besides passing 'entity' to generate_* function (needed to get value for
another attribute when computing one for instance):
* set nicer method names and makes clearer what's private/protected/public
* properly handle choices, constraints on float/date/datetime fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:42:01 +0100] rev 4336
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:41:08 +0100] rev 4335
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:29 +0100] rev 4334
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:14 +0100] rev 4333
[vreg] object_by_id should not have been deprecated. Fix facets.
it was *designed* to be able to force an object retreival when selection
is potentially not possible.
For instance using select instead of object_by_id in get_facet totally
breaks the implementation since in get_facet we've not context result
set, and we ends up with a NoSelectableObject exception.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 22 Jan 2010 12:25:54 +0100] rev 4332
fix stupid typo ...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:41:04 +0100] rev 4331
fix condition to paginate a result set
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:22 +0100] rev 4330
make rollback available in shell (as commit is)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:09 +0100] rev 4329
add a reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:18:13 +0100] rev 4328
fix indentation / tab pbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:43:12 +0100] rev 4327
fix name error
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:32:00 +0100] rev 4326
add approximated version number to deprecation warning
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:30:11 +0100] rev 4325
oops, missing return
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:29 +0100] rev 4324
we need extrapath when trying to import site_cubicweb files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:03 +0100] rev 4323
move extra path computing as a configuration class property so we can reused it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:49:16 +0100] rev 4322
first draft for a simple hooks based custom attribute storage,
with a BytesFileSystemStorage POC implementation.
Basically:
* a dictionary contains maps from which attribute of which entity types are
mapped to which custom storage
* hooks check for one of these entity type being added/modified/deleted
* read is based on the sql generator callback mecanism (used in vcsfile for
instance)
* all storages have the same basic interface (read, add, update, delete),
and should be pluggable in a transparent way (except at migration time
when one want to change from a storage to another)
* the sample BytesFileSystemStorage:
* may store Bytes attributes content of any entity type as file on the file system
* is based on one FSPATH rql/sql function and another _fsopen only available in sql
* has a dumb file name allocation algorithm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:40:38 +0100] rev 4321
d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:38:31 +0100] rev 4320
closes #345410: two_lines_rset, two_cols_rset, two_etypes_rset are badly named
replaced by multi_lines_rset, multi_columns_rset, multi_etypes_rset,
all taking optional 'nb' argument allowing to specify and exact count.
Bw compat is kept, usage of deprecated function updated in cw itself.
Also drop custom at_least_two_columns selector (in views.plots) since
it was the same as multi_columns_rset. Hopefuly the renaming will help
in avoid such pb...
We should now decide if we want to deprecate one_* selector in favor
of multi_*(nb=1). See note on this at then end of selectors.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:03:30 +0100] rev 4319
fix #636936: read_permission relation should not be mandatory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:58:40 +0100] rev 4318
fix #615848: undefined 'new' variable was refering to the newly introduced subquery / remove_subquery doesn't take an undefine argument (probable copy/paste from the remove_node call)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:52:35 +0100] rev 4317
some docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 14:10:23 +0100] rev 4316
[doc] reformulate dependencies
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jan 2010 11:13:39 +0100] rev 4315
[views] FinalView should display an empty string if value is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:08:41 +0100] rev 4314
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:07:32 +0100] rev 4313
move base form renderer label handling into a function to reuse it in CompositeFormRenderer and avoid seeing a tuple in column headers...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:02:36 +0100] rev 4312
minor schema deserialization optimizations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:59:58 +0100] rev 4311
oopb, widget has been renamed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:57:20 +0100] rev 4310
specify formvid=edition to get multiple edition working w/ 3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:47 +0100] rev 4309
reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:24 +0100] rev 4308
this clutter startup screen for little benefit, remove it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:51:07 +0100] rev 4307
update copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:48:00 +0100] rev 4306
move bookmark related uicfg stuff into bookmark specific module, use the EditableURLWidget widget for Bookmark.path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:47:01 +0100] rev 4305
new field's responsibility POC: EditableURLWidget allow to edit Bookmark.path in two separated fields, displaying unquoted values which are requoted on form post processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:42:37 +0100] rev 4304
refactor field's value retreiving from the widget (eg 'display value' concept):
* kill field's display_value method, since getting value specified in a previous
post or in req.form should be the widget responsibility (the widget nows what
inputs to display, not the field)
* new typed_value / format_value on widgets, mainly to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:39:12 +0100] rev 4303
dom_id now accepts a suffix argument as input_name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:38:46 +0100] rev 4302
cleaner input_name implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:21:09 +0100] rev 4301
when the vregistry is initialized, no need to call vreg.set_schema (else we trigger appobjects registration twice. This allows significant startup speedup.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:19:38 +0100] rev 4300
new url_parse_qs method on base request to parse unicode url formatted query strings
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 17:07:48 +0100] rev 4299
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 09:00:36 +0100] rev 4298
enable cubicweb-ctl db-dump and db-restore on Windows with SQL Server
os.system has some issues on Windows, especially regarding whitespace handling,
which subprocess handles correctly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 15:03:30 +0100] rev 4297
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:41:04 +0100] rev 4296
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:44 +0100] rev 4295
allow control of generic relations field display through display_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:10 +0100] rev 4294
no self._cw on widget objects while '_' is defined locally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:38:45 +0100] rev 4293
delete remaining stuff w/ handling of the generic relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:34:06 +0100] rev 4292
test update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Jan 2010 13:03:08 +0100] rev 4291
clear vreg's parent_classes cache to fix etype cache / auto-reloading bug
EtypeRegistry.parent_classes()'s is cached. When the registry is
reloaded, if the cache is not cleared, we might get the old list
of parent classes and that leads to strange bugs.
Typical scenario :
1/ start application in debug mode
2/ go to add/Bookmark -> everything's fine
3/ change the source
4/ reload add/Bookmark -> 'creation' not selectable because :
a/ cw detects a change in the source and reloads vreg
b/ cw tries to select 'creation' view for 'Bookmark'
- 'creation' view uses specified_etype_implements('Any')
- cw compares Bookmark.__bases__[0] (i.e. new version of
AnyEntity) with the old version of AnyEntity cached in
the vreg. They don't match => view is not applicable.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:38 +0100] rev 4290
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:28 +0100] rev 4289
fix bad indent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:58 +0100] rev 4288
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:08 +0100] rev 4287
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:00 +0100] rev 4286
fix bug: the 'table' argument is overwritten by the loop variable, causing latter crash due to this missing information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:27:41 +0100] rev 4285
don't record deambiguifier when it has no type restriction using 'is', so we don't miss later some available constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:27 +0100] rev 4284
fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:18 +0100] rev 4283
cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:14:14 +0100] rev 4282
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:45 +0100] rev 4281
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:02 +0100] rev 4280
more input/button fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:10:17 +0100] rev 4279
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:06:53 +0100] rev 4278
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:06:12 +0100] rev 4277
turn all the stuff used to handle 'generic relations' in forms into proper
field / widget.
-> regroup code from web.request, web.controller, web.views.autoform, web.views.formrenderers,
web.views.editcontroller (!) into GenericRelationsField, GenericRelationsWidget in the editviews
module (together with the UnrelatedDiv view).
So:
* almost everything in one place
* no more specific behaviour in the form renderer
* almost no custom behaviour in autoform (simply add the field when it think it should)
Also, the form renderer now display field's value with colspan=2 when field.label is None.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 08:43:41 +0100] rev 4276
fix tests
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Jan 2010 10:05:10 +0100] rev 4275
[rql2sql] added test that shows crash during sql generation
Original query in cubicweb-drh:
Any A,E,CV,group_concat(TN) GROUPBY A,E,CV WHERE A is Application, A for_person P, P has_studied_in E?, T? tags A, T name TN, A curriculum CV?
Corresponding bug in tracker: #628798
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 18:26:22 +0100] rev 4274
apply patch proposed by 2web to properly remove hidden input set to represent the button used to submit the form, so forms may be properly reused after a post
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 18:22:05 +0100] rev 4273
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 18:21:59 +0100] rev 4272
missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 18:20:43 +0100] rev 4271
remove input from jquery filter, so it works as well with buttons
alex & cheb [Tue, 19 Jan 2010 18:11:31 +0100] rev 4270
unicode(arg) else we may get some encoding exception
alex & cheb [Tue, 19 Jan 2010 18:10:01 +0100] rev 4269
remove deprecation warnings + name error
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 19 Jan 2010 17:50:48 +0100] rev 4268
remove common/test/data directory from __pkginfo__, MANIFEST and debian rules to allow cubicweb installation
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 19 Jan 2010 17:50:36 +0100] rev 4267
fix syntax error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 14:41:23 +0100] rev 4266
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 14:41:19 +0100] rev 4265
3.6 api update
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 19 Jan 2010 12:34:52 +0100] rev 4264
update selectors.py: change entity.schema with entity._cw.vreg.schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 12:27:55 +0100] rev 4263
merge
Stephanie Marcu [Tue, 19 Jan 2010 12:19:14 +0100] rev 4262
we should access to __regid__ instead of id since in that case bw compat fail: access to id throuhg a class returns the property object instead of calling the property's method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 12:17:22 +0100] rev 4261
fix autoform_is_inlined bw compat
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 19 Jan 2010 11:58:07 +0100] rev 4260
[forms] fix implementation of backward compat method form_render
previous implemtation used form_default_renderer() which is now replaced
by default_renderer()
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 19 Jan 2010 10:43:48 +0100] rev 4259
inherit from FieldWidget to inherit from the process_field_data required by the edit controller
Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 19 Jan 2010 10:42:47 +0100] rev 4258
with cw 3.6 we've to specify entity's relation role
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jan 2010 10:19:08 +0100] rev 4257
fix bad merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Dec 2009 14:19:01 +0100] rev 4256
import uicfg.auto_form doc
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 19 Jan 2010 09:51:38 +0100] rev 4255
update i18n doc
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 19 Jan 2010 09:49:42 +0100] rev 4254
Fix element tree import for python2.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 19:40:59 +0100] rev 4253
forgotten buffer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 19:21:30 +0100] rev 4252
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 19:05:08 +0100] rev 4251
fix pb with bytes field processing: currently when an existing file is edited
and no new file is specified, it finds no value in req.form and so try to
detach the current file, which is wrong. In that case, nothing should be done.
So introduce a new UnmodifiedField exception that may be raised in
field's process_form_value method (catched in field.process_posted).
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Jan 2010 15:58:06 +0100] rev 4250
fix NameError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 12:33:45 +0100] rev 4249
don't call handle_inlined_relation where we're not on the relation'subject
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 11:55:37 +0100] rev 4248
don't add another _cw_edited_field hidden when build_context is called twice (may occurs with inlined relation forms)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 11:50:54 +0100] rev 4247
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 18 Jan 2010 11:50:34 +0100] rev 4246
don't use matching_groups() for is_in_group implementation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Jan 2010 09:36:49 +0100] rev 4245
a few french translation typo corrections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Jan 2010 09:05:40 +0100] rev 4244
rename need_navigation into paginable
paginable has been recently introduced by changeset d4eeaf0393e2.
We already had the need_navigation attribute to control the same
thing (pagination). As paginable sounds like a better name, deprecates
need_navigation (bw compat ok).
Also:
* fix main pagination functions responsability
* deprecate limit_rset_using_nav in favor of paginate/do_paginate
* navigation module should be renamed to pagination at some point
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Jan 2010 11:37:08 +0100] rev 4243
backport tracker permission utility functions into the cw.schemas package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Jan 2010 11:28:32 +0100] rev 4242
Backed out changeset b8ea99f5e8ea, tags.a escape its content.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Jan 2010 11:14:40 +0100] rev 4241
fix dumb name errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Jan 2010 11:13:22 +0100] rev 4240
fix global errors display when there is more than one error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Jan 2010 11:12:52 +0100] rev 4239
fix error key / field input detection (field's name include -role when specified, the error key *may* include it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jan 2010 18:04:29 +0100] rev 4238
missing xml escapes (but textoutofcontext probably ought to be just outofcontext, with no escaping then)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 17:44:29 +0100] rev 4237
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 17:44:11 +0100] rev 4236
move autoform's field_by_name implementation on base EntityFieldsForm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 17:42:27 +0100] rev 4235
specify name *and* role when raising FieldNotFound helps debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 17:41:42 +0100] rev 4234
if specified, benefit from target_etype information in the [partial_]add_relation selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 17:40:53 +0100] rev 4233
ouch, has_perm was always returning False...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 16:07:54 +0100] rev 4232
more 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 16:01:53 +0100] rev 4231
iirk reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 16:01:34 +0100] rev 4230
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 16:00:42 +0100] rev 4229
has_been_modified shouldn't raise ProcessFormError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 16:00:06 +0100] rev 4228
related entities are returned as tuple since a few months ago
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:59:31 +0100] rev 4227
should skip INTERNAL_FIELD_VALUE
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:57:57 +0100] rev 4226
should use a set for pending fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:56:31 +0100] rev 4225
fix process_form_values: we should handle value errors and properly raise ProcessFormError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:54:07 +0100] rev 4224
refactor form error handling:
* almost everything is in the base form class, with other form errors related code
* deprecate form_field_error in favor of field_error and format_error on the renderer
* fix pb with js localization of errors by properly using field.role_name()
* rename 'errors' into 'error' in forminfo to avoid confusion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:48:24 +0100] rev 4223
new DBG_ALL debug level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jan 2010 15:48:07 +0100] rev 4222
return localized message on parse_datetime errors
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Jan 2010 17:24:46 +0100] rev 4221
raising ConfigurationError is cleaner; remove some unused imports
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 12 Jan 2010 15:12:51 +0100] rev 4220
[javascript] upgrade excanvas.js (rev. M3, mars 2009): this fixes plot widgets rendering in IE
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Jan 2010 14:13:26 +0100] rev 4219
do not attempt to daemonize under windows
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 09 Jan 2010 15:31:37 +0100] rev 4218
[cwctl] reset-admin-pwd was failing when db-host was not set
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 18:20:03 +0100] rev 4217
[javascript] IE doesn't support dynamic enctype modification, we have to set encoding too
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 12:17:42 +0100] rev 4216
[forms] make it easier to override CWProperty form buttons
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 12:14:29 +0100] rev 4215
[forms] make it easier to override StringField's mininum size
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 11:45:37 +0100] rev 4214
[skeleton] remove unused os.path.dirname import, use dname instead of dirname as an additional safetly belt
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 07 Jan 2010 17:41:50 +0100] rev 4213
[web/views] if view has attribute paginable=False, do not try to paginate it
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Jan 2010 16:52:32 +0100] rev 4212
update copyright: welcome 2010
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Jan 2010 08:02:52 +0100] rev 4211
[views] backport progressbar template from shingouz
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 05 Jan 2010 22:11:37 +0100] rev 4210
[forms] fix multiple edit bug introduced by changeset cebdf8ee5ad7
Changeset cebdf8ee5ad7 assumed that edited entity was either explicitly
passed to the form or found in first row / first col of the resultset
because of the one_line_rset() selector.
But one_line_rset() is actually trickier : the selector returns 1
if the resultset has more than one row **if** an explicit row is
specified during selection process. This is exactly what is done
in the 'muledit' form :
for row in xrange(len(self.rset)):
form = self.vreg['forms'].select('edition', self.req,
rset=self.rset, row=row, #...
This changeset thus takes row in consideration to find edited entity
if 'row' was explcitly specified.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 05 Jan 2010 18:28:27 +0100] rev 4209
do not recompute the plot on subsequent onload events #615338
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 05 Jan 2010 17:04:29 +0100] rev 4208
fix stripEmptyTextNodes for IE (part of #615337)
this does not seem to make the function really work but it does not fail any more
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 04 Jan 2010 19:02:09 +0100] rev 4207
[javascript] upgrade jquery.flot.js to v0.6 to fix IE6-related bugs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 04 Jan 2010 18:58:35 +0100] rev 4206
[forms] edited_entity must be set before calling session_key()
EntityFieldsForm.__init__ calls FieldsForm.__init__ which in turn
calls self.session_key().
self.session_key() uses self.edited_key to compute the correct session
key. We thus need edited_entity to be set **before** calling super's __init__.
The bug only occured when EntityFieldsForm was selected because of its
one_line_rset() selector instead of match_kwargs('entity').
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 13:05:53 +0100] rev 4205
must escape user_rql_callback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 12:20:10 +0100] rev 4204
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 11:57:03 +0100] rev 4203
Added tag cubicweb-debian-version-3.5.11-1 for changeset 4920121d41f2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 11:57:02 +0100] rev 4202
Added tag cubicweb-version-3.5.11 for changeset f48b2f193961
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 10:27:33 +0100] rev 4201
3.5.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 09:07:17 +0100] rev 4200
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:59:01 +0100] rev 4199
must now properly use Binary for password (see 4180:42247d70105b). XXX Though this is somewhat backend related (eg store password using a binary type), this should be either well document or handled properly in the db helper.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:56:38 +0100] rev 4198
TYPE_MAPPING expected to be a mapping from yams type to db type, and timestamp is the Datetime yams type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:22:18 +0100] rev 4197
quick and dirty fix to avoid crash when running db-create command with an sqlite source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 23:45:43 +0100] rev 4196
add es.po to default skel, closes #591625
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 21:02:37 +0100] rev 4195
closes #601987
1) sqlutils.restore_from_file have to use its confirm argument when
a command fail, to propose to continue there (this can't be handled
by the caller)
2) source.restore method hence needs to take this confirmation callback
as argument
3) properly fix places where 'drop' was given instead of 'confirm'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 20:06:24 +0100] rev 4194
missing one litle char
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 20:05:52 +0100] rev 4193
closes #607344 by simply appending '/' to base url if necessary instead of insulting the user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:51 +0100] rev 4192
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:48 +0100] rev 4191
test update. All cw tests OK
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:26 +0100] rev 4190
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:26:59 +0100] rev 4189
make groupmap argument optional / sort for testing purpose
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:26:12 +0100] rev 4188
fix virtual relation detection: erschema is no more a relation type but a relation def in _synchronize_permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:25:08 +0100] rev 4187
necessary to fix some security test, unclear why did I set perms below at some point...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:23:59 +0100] rev 4186
import cleanup, check data file exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 18:25:53 +0100] rev 4185
should turn password into a Binary properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:16:17 +0100] rev 4184
should not simplify previous to preprocess
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:14:34 +0100] rev 4183
use ._cw instead of .req (reintroduced by merge of stable)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:13:53 +0100] rev 4182
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 10:27:49 +0100] rev 4181
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Dec 2009 14:18:48 +0100] rev 4180
more extra_args cleanup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Dec 2009 13:43:24 +0100] rev 4179
only give extra_args if there is something to be fed (breaks some db connectors otherwise)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 11:07:07 +0100] rev 4178
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 09:38:08 +0100] rev 4177
SqlServer: support single sign on / Windows credential authentication
This is done through a new db-extra-arguments section in instance_dir/sources
which is passed as a string to the extra_args named argument of
lgc.db.get_connection. If this argument is Trusted_Connection, windows
authentication is used instead of login/password.
This change requires at least revision 5475ec3f6412 of logilab.common which
will be included in logilab-common 0.46. debian/control updated to mention this
new dependency.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 09:33:08 +0100] rev 4176
SQL Server port: convert Password to Binary
This conversion is required because pyodbc uses buffers for Binary fields
and won't be able to cast a string/unicode value to the db VARBINARY column
type otherwise.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 Dec 2009 10:42:51 +0100] rev 4175
[javascript] cleanup, remove tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 Dec 2009 10:42:39 +0100] rev 4174
[javascript] remove ajaxHtmlHead from dom response once it has been processed.
This fixes #549138: treeview: folding is broken
The new, systematic, pageid management (introduced by rev 37b376bb4088) made
the treeview return :
<ul class="treeview">...</ul>
<div class="ajaxHtmlHead">...</div>
which was then processed by getDomFromResponse and wrapped into
a single div node :
<div>
<ul class="treeview">...</ul>
<div class="ajaxHtmlHead">...</div>
</div>
In the treeview case, the node inserted into the tree was the wrapping
<div> instead of the <ul>, causing the folding bug mentioned in the
ticket.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 09:27:28 +0100] rev 4173
msg isn't defined there, but we've to give traceback information to record error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:28:08 +0100] rev 4172
all web tests OK
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:28:01 +0100] rev 4171
make new editcontroller works, based on a _cw_edited_fields hidden input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:27:14 +0100] rev 4170
crecord introduced junk...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:26:52 +0100] rev 4169
strip string by default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:26:30 +0100] rev 4168
nicer StringField __init__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:25:58 +0100] rev 4167
fix render (formerly form_render) prototype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:24:47 +0100] rev 4166
process_posted yield field instead of field's name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:23:56 +0100] rev 4165
proper field's role handling: may be 'subject' / 'object' *in case
of entity's relation*, but None in other case. So you should correctly
specify it to field_by_name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:21:56 +0100] rev 4164
form_add_hidden -> add_hidden
form_needs_multipart -> needs_multipart
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:18:53 +0100] rev 4163
substitute _render_attrs by values_and_attributes method, keeping bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:04:33 +0100] rev 4162
replace form_field_[encoding|vocabulary] methods on form by encoding|vocabylary(form) methods on fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:00:18 +0100] rev 4161
refactor vocabulary handling to avoid having to define methods
on form objects, use .choices instead even for non final relations.
Details:
* deprecated support of <role>_<relation>_vocabulary methods on forms
* new utility functions for relations vocabulary
* most logic now on the RelationField class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:52:21 +0100] rev 4160
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:45:24 +0100] rev 4159
refactor form field value handling, to get a nicer api and an easier algorithm to get field's value
Details:
* new .typed_value / .display_value on fields
* droped form_field_value on form
* .value attribute of field instead of .initial
* nicer field's __init__, allowing to give a lambda as value's value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:25:07 +0100] rev 4158
missing imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:20:45 +0100] rev 4157
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:18:49 +0100] rev 4156
drop form_field_name/form_field_id methods from form object, in favor of field.input_name(form) / field.dom_id(form)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:46:46 +0100] rev 4155
NothingToEdit is not a ValidationError, simplify
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:45:42 +0100] rev 4154
fix translation of message to view newly created entity: must be done once language is set...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:45:03 +0100] rev 4153
accord avec 'entité'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:44:42 +0100] rev 4152
new catch_error context manager, nicer controller __init__ and new iter_and_commit(datakey) method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:43:16 +0100] rev 4151
this bw compat doesn't work, drop it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:42:53 +0100] rev 4150
don't try to write .row/.col, use new cw_row/cw_col attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:27:29 +0100] rev 4149
etype_class('Any') should return bare 'Any' class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 15:59:19 +0100] rev 4148
cubicweb security #36257: les urls /add/EntityName sont accessibles en anonyme
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Dec 2009 15:10:57 +0100] rev 4147
3.6 remove deprecation warning
Pierre-Yves [Fri, 18 Dec 2009 15:10:38 +0100] rev 4146
Improve warning message
Charles Hébert [Fri, 18 Dec 2009 15:08:20 +0100] rev 4145
[mq]: fix_es_po_file_creation
Charles Hébert [Fri, 18 Dec 2009 15:07:54 +0100] rev 4144
[mq]: plural_display_name_fix
Charles Hébert [Fri, 18 Dec 2009 15:07:26 +0100] rev 4143
[mq]: doc
Charles Hébert [Fri, 18 Dec 2009 15:06:55 +0100] rev 4142
Add the search javascript to the html layout
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Dec 2009 14:19:01 +0100] rev 4141
improve error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:28:29 +0100] rev 4140
tweaks output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:12:53 +0100] rev 4139
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:10:05 +0100] rev 4138
clearer api: distinguish app_publish / ctrl_publish
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:09:24 +0100] rev 4137
override publisher's error handler to ease debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:08:41 +0100] rev 4136
dataimport refactoring / improvments, keeping bw compat (for now)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:07:16 +0100] rev 4135
look for cubicweb-ctl plugins in the ccplugin.py file, keeping bw compat on ecplugin.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 13:28:20 +0100] rev 4134
check entity has an eid before using absolute_url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 13:02:13 +0100] rev 4133
force_session_key default to None in base form class...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 10:26:47 +0100] rev 4132
fix mainvars detection bug with EXISTS (paren, actually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 17:22:36 +0100] rev 4131
call super class if choices specified to get std behaviour
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 16:18:36 +0100] rev 4130
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 16:17:57 +0100] rev 4129
check name changed first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 11:52:44 +0100] rev 4128
no 3.6 code in 3.5...
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Dec 2009 11:17:51 +0100] rev 4127
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Dec 2009 10:06:00 +0100] rev 4126
make cubicweb-ctl db-init -d work with postgresql backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Dec 2009 09:11:41 +0100] rev 4125
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Dec 2009 09:11:00 +0100] rev 4124
fix backout
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 15 Dec 2009 17:01:33 +0100] rev 4123
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 15 Dec 2009 17:00:58 +0100] rev 4122
fix NameError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Dec 2009 12:24:38 +0100] rev 4121
backout a75a6e770717, unmeetable condition and introduce a bug with boolean values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Dec 2009 11:30:44 +0100] rev 4120
load site_cubicweb as a module instead of execing it, avoid reimport pbs
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 17:54:45 +0100] rev 4119
fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 16:25:25 +0100] rev 4118
quick and dirty fix trying to avoid rest directive conflicts when using sphinx (which seems to import the code)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 15:35:21 +0100] rev 4117
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 15:33:33 +0100] rev 4116
oops
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 15:02:07 +0100] rev 4115
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 14:58:41 +0100] rev 4114
Passwords need to be considered as binary fields
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 14:57:10 +0100] rev 4113
TIMESTAMP column type has a special meaning for SQLServer,
avoid using it for that driver (with help from logilab.common.adbh)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 14:49:37 +0100] rev 4112
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 14:49:18 +0100] rev 4111
use edited_attributes and uniformize attribute schema retreival
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 10 Dec 2009 18:00:15 +0100] rev 4110
[mq]: fix_for_forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 17:59:32 +0100] rev 4109
fix deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 17:59:23 +0100] rev 4108
schema view fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 16:20:43 +0100] rev 4107
disable everything but metadata hooks while inserting schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 16:20:02 +0100] rev 4106
more advanced hooks control
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 12:55:25 +0100] rev 4105
fix 3.6 bug
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 10 Dec 2009 11:57:07 +0100] rev 4104
[mq]: small_api_changes_for_3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 10:36:24 +0100] rev 4103
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 10:36:17 +0100] rev 4102
missing underscore leads to infinite recursion error
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 09 Dec 2009 19:27:46 +0100] rev 4101
[mq]: fix_typo_and_forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 19:27:24 +0100] rev 4100
api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 19:27:12 +0100] rev 4099
yams api update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Dec 2009 10:45:14 +0100] rev 4098
[i18n] use named substitutions for proper localization
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Dec 2009 18:17:28 +0100] rev 4097
remove redundant line
Administrator <> [Thu, 10 Dec 2009 11:35:40 -0800] rev 4096
update sys.path at cubicweb startup
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Dec 2009 09:43:51 +0100] rev 4095
changed log severity from critical to info if a plugin cannot be loaded
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 09 Dec 2009 14:11:53 +0100] rev 4094
fix non-xml_escaped url in box
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 18:28:10 +0100] rev 4093
nicer fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 18:24:18 +0100] rev 4092
avoid failure by simply not displaying this section for now"
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:51:19 +0100] rev 4091
rschema doesn't have may_have_permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:51:04 +0100] rev 4090
shouldn't be called from here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:48:04 +0100] rev 4089
typos, api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:10:01 +0100] rev 4088
don't use setdefault with a tuple as value, a set is expected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 16:33:32 +0100] rev 4087
api update
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 09 Dec 2009 16:07:07 +0100] rev 4086
add hook selector
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 09 Dec 2009 16:06:27 +0100] rev 4085
api update again
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 16:05:01 +0100] rev 4084
more api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:47:01 +0100] rev 4083
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:19:48 +0100] rev 4082
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:19:14 +0100] rev 4081
avoid infinite recursion error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:18:57 +0100] rev 4080
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:18:49 +0100] rev 4079
check a permission has been specified first...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:52:30 +0100] rev 4078
api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:52:21 +0100] rev 4077
missing role argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:52:09 +0100] rev 4076
no more handled by the renderer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:41:05 +0100] rev 4075
use implements instead of entity_implements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:24:38 +0100] rev 4074
merge
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 09 Dec 2009 12:23:31 +0100] rev 4073
cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:22:21 +0100] rev 4072
some api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:20:05 +0100] rev 4071
deprecates entity_implements / but_etype selectors
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 09 Dec 2009 10:30:52 +0100] rev 4070
fix initargs handling
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 18:12:31 +0100] rev 4069
fix guess_field to handle non internationalizable definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 09:53:41 +0100] rev 4068
perms are now held by the relation definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 09:53:23 +0100] rev 4067
password should now be named
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 09:52:28 +0100] rev 4066
__cmp__ should *NOT* return False when different
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Dec 2009 19:29:21 +0100] rev 4065
explain how to run as a windows service
auc@giediprime.logilab.fr [Wed, 09 Dec 2009 19:01:53 +0100] rev 4064
be able to run cw instances as windows services
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:25:52 +0100] rev 4063
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:25:35 +0100] rev 4062
oops, bad indent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:24:15 +0100] rev 4061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:23:44 +0100] rev 4060
should not xml_escape rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:22:45 +0100] rev 4059
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:20:39 +0100] rev 4058
properly escape arguments of user callbacks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:19:01 +0100] rev 4057
new rset argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:17:57 +0100] rev 4056
api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:17:52 +0100] rev 4055
test update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 19:16:56 +0100] rev 4054
fix infered rdef propagation
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 08 Dec 2009 07:54:51 -0800] rev 4053
more api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 18:05:10 +0100] rev 4052
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 18:04:57 +0100] rev 4051
move hook tests to hooks package tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 18:04:29 +0100] rev 4050
should use match_rtype, not entity_implements in such cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 17:48:26 +0100] rev 4049
3.5 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 17:48:06 +0100] rev 4048
had been involontarly dropped
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 17:11:47 +0100] rev 4047
cw 3.6 api update
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 16:56:56 +0100] rev 4046
add a dummy and stupid dummy method for dummy form
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 08 Dec 2009 16:50:36 +0100] rev 4045
cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 16:46:56 +0100] rev 4044
card referenced later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 16:45:01 +0100] rev 4043
give group mapping where needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 16:41:43 +0100] rev 4042
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 16:40:00 +0100] rev 4041
fix sync_schema*: new syncprops argument to sync relation definition as well
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 12:46:45 +0100] rev 4040
Update generic RQL Based Constraints and RQLUniqueConstraint doc
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 12:46:45 +0100] rev 4039
fix class reference in old hook warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 14:53:59 +0100] rev 4038
merge
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 08 Dec 2009 14:46:17 +0100] rev 4037
[mq]: typo
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 08 Dec 2009 14:42:03 +0100] rev 4036
[mq]: fix_set_addition
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 12:46:45 +0100] rev 4035
Update generic RQL Based Constraints and RQLUniqueConstraint doc
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 12:46:45 +0100] rev 4034
fix class reference in old hook warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 13:59:47 +0100] rev 4033
missing groupmap propagation to rschema2rql
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 08 Dec 2009 13:49:02 +0100] rev 4032
Update generic RQL Based Constraints and RQLUniqueConstraint doc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 13:48:07 +0100] rev 4031
test api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:04:49 +0100] rev 4030
remove debug print, fix error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:03:15 +0100] rev 4029
missing mainvars
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:03:10 +0100] rev 4028
missing cache key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:02:57 +0100] rev 4027
duh???
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:01:50 +0100] rev 4026
add regid when tracing selection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 12:01:38 +0100] rev 4025
duh???
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 11:12:42 +0100] rev 4024
more api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 10:58:56 +0100] rev 4023
drop common subpackage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 10:40:20 +0100] rev 4022
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 10:40:12 +0100] rev 4021
move i18n / migration modules from cw.common to cw
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 09:10:36 -0800] rev 4020
merge
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 08:52:38 -0800] rev 4019
api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:45:07 +0100] rev 4018
remove old bw (pre 3.2) compat modules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:41:06 +0100] rev 4017
use commit in migration script instead of checkpoint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:38:14 +0100] rev 4016
deprecated one more custom add_entity in favor of req.create_entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:10:39 +0100] rev 4015
some cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:10:16 +0100] rev 4014
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 09:09:07 +0100] rev 4013
.id backward compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Dec 2009 08:46:15 +0100] rev 4012
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 07 Dec 2009 19:14:49 +0100] rev 4011
[migration] write migration instructions for permissions handling on relation definition
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 07 Dec 2009 17:57:19 +0100] rev 4010
[server] don't try to set perms twice on the same relation (e.g. symetric relations)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Dec 2009 17:17:22 +0100] rev 4009
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 07 Dec 2009 17:16:55 +0100] rev 4008
fix class reference in old hook warning
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 07:10:40 -0800] rev 4007
more api renaming/fixing update
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 06:51:33 -0800] rev 4006
return relation property using rdef.get
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 06:45:51 -0800] rev 4005
should return item type not relation
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 06:39:35 -0800] rev 4004
api renaming update
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Dec 2009 05:09:09 -0800] rev 4003
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Dec 2009 19:53:50 +0100] rev 4002
should delete state once replacement has been done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Dec 2009 19:45:58 +0100] rev 4001
dont crash if directory doesn't exist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Dec 2009 19:45:32 +0100] rev 4000
fix jsonization of interval
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Dec 2009 19:45:19 +0100] rev 3999
added replace_state method to ease workflow migration. backported from forge as a reminder, not really tested yet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 17:17:43 +0100] rev 3998
backport stable into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 16:32:35 +0100] rev 3997
Added tag cubicweb-debian-version-3.5.10-1 for changeset dfe2f245248c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 16:32:35 +0100] rev 3996
Added tag cubicweb-version-3.5.10 for changeset 9b52725d8c53
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 15:49:08 +0100] rev 3995
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 15:48:52 +0100] rev 3994
3.5.10
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 03 Dec 2009 15:09:28 +0100] rev 3993
quick & dirty fix for auto completion widget
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Dec 2009 09:50:51 +0100] rev 3992
update i18n doc
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Dec 2009 09:50:51 +0100] rev 3991
Pasting blog about facet in the facet section of the doc book.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Dec 2009 13:06:26 +0100] rev 3990
hide en apidoc in .hgignore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 12:50:31 +0100] rev 3989
héhé, get the same result with a slightly enhanced condition and all this code removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 12:44:57 +0100] rev 3988
unused, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 12:44:30 +0100] rev 3987
fix sql generation bug with neged inlined relation where the object is invariant and subject is only referenced by the relation
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 03 Dec 2009 11:39:31 +0100] rev 3986
add postcommit_event on Operations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 10:02:44 +0100] rev 3985
add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:58:07 +0100] rev 3984
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:57:55 +0100] rev 3983
nicer error message on rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:57:32 +0100] rev 3982
implements 'parent' method on workflow entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:53 +0100] rev 3981
this invalid constraint now fails with new constraints checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:28 +0100] rev 3980
this constraint is actually unusable in yams schema for cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:15 +0100] rev 3979
unused since a long time now
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:55:18 +0100] rev 3978
finish yesterday work on rql constraints:
* Fix inheritance pb: there are some places where we filter constraints
according to the class hierarchy, so rql unique constraint should'nt
be neither a RQLContraint nor a RQLVocabularyConstraint subclass.
Added test in unittest_schema reflecting this.
* So now we have to get explicitly RQLUniqueConstraint where desired (eg in
server/hooks.py)
* Update i18ncubicweb command to include constraint types in generated pot file
(this should have been there for a while...)
* Update unittest_schemaserial which has been broken when serializing format
for rql constraints has changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 18:36:16 +0100] rev 3977
synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 18:35:31 +0100] rev 3976
oops, should have been updated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 17:39:56 +0100] rev 3975
add a fourth item to 'view box' defintion, dispctrl, so that
we can later globally sort all boxes instead of having view
boxes before component boxes.
'view' boxes order is configured through uicfg.primaryview_display_ctrl,
'component' boxes order through the cwproperty system.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 16:57:17 +0100] rev 3974
slightly adapt title and hide boxes when view is called as a non primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 16:56:28 +0100] rev 3973
allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 Dec 2009 15:08:11 +0100] rev 3972
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:38:17 +0100] rev 3971
new generic urlattr view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:37:19 +0100] rev 3970
update _render_attribute / _render_relation prototype to gain more control on label through uicfg (for attributes and relations). Keep bw compat for crm/iliane
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:35:23 +0100] rev 3969
when fields are displayed in a table and label should'nt be displayed, set colspan to 2 on the field value cell
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 Dec 2009 13:22:50 +0100] rev 3968
fix format string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:55:51 +0100] rev 3967
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:55:41 +0100] rev 3966
fix workflow consistency: check state/transition name uniqness in the wf when state/transition name is modified ; use the new msg argument of rql constraints to have a nicer error message on failure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:54:16 +0100] rev 3965
nicer __str__ and __repr__ methods on rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:53:46 +0100] rev 3964
refactor so that we can specify an extra argument to constraints which
will be used as error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:52:55 +0100] rev 3963
nicer mainvars/expression handling when initializing rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 11:57:38 +0100] rev 3962
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 11:53:25 +0100] rev 3961
fix RQLUniqueConstraint behaviour by using a DISTINCT query and allowing
to specify variables that should be used in selection. See usage on
state_of / transition_of relations.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 11:04:40 +0100] rev 3960
don't fail on error while render a notification mail
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Dec 2009 19:58:51 +0100] rev 3959
improve error message for redundant initial workflow states
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 19:29:56 +0100] rev 3958
fix name error while debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 17:38:35 +0100] rev 3957
oops, this is an object relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 12:06:17 +0100] rev 3956
don't use html/dtd validator as default validator for non html views. Closes #550162
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 12:03:42 +0100] rev 3955
support x.set_relations(a_relation=None) to delete a_relation relations from this entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 12:00:20 +0100] rev 3954
properly fail if user has entered wrong connection information for the system database, closes #549136
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Dec 2009 08:43:37 +0100] rev 3953
[forms] deprecate form_render(**kwargs) in favor of render(formvalues=None, rendervalues=None, renderer=None)
to fix a pitfall in form_render prototype: there is no way to distinguish between arguments
that should be given to build_context from arguments that should be given to the renderer.
This was problematic for instance with inlined form where a 'title' argument is given
for the renderer, but is also used as default value for field whose name is 'title'...