Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 11:31:04 +0200] rev 5900
[selectors] relation_possible selector should check user may read target entity type when specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:16 +0200] rev 5899
imported patch selstrfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:42:13 +0200] rev 5898
imported patch rql2sqlfix.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:41:19 +0200] rev 5897
[migration] fix rename_entity_type to an existant entity type: get back relation from the old entity type non existant on the target type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jul 2010 09:39:06 +0200] rev 5896
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:06:17 +0200] rev 5895
[selectors] avoid spurious warning when using implements by design
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 19:05:56 +0200] rev 5894
[session] don't log reraised error occured during precommit
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 19:08:30 +0200] rev 5893
[doc] proof-reading and improvements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:25 +0200] rev 5892
[selectors] fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:25:19 +0200] rev 5891
[schema migration] import refactoring to fix #1109558 and enhances things on the way
the main pb demonstrated by #1109558 was due to the fact that in-memory schema
was updated in commit_event of operations. This is undesired in most cases,
since we want the modification to be taken into account in the interval between
the modification detection and the commit_event.
I've fixed this by merging in-memory schema / database alteration operations
for most important changes, doing in-memory schema changes as they are detected
and implementing a revertcommit_event method to revert them if necessary (with
exception for removal of stuff from the schema, where this is simply done in a
postcommit_event methods).
Also, I've benefited from this to support reverting of database alteration for
some operations (more to be done there), and to move so system source alteration
code to the native source code for a nicer design.
There may be some more stuff in syncschema.py that would benefit from similar
changes, but most important things are done (at least to close #1109558, w/
unittest_syncschema and unittest_migration green).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 18:00:33 +0200] rev 5890
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:56:02 +0200] rev 5889
[test] running transaction while session is closed are now killed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:41 +0200] rev 5888
[security] fix read rql expression insertion: we should not insert rql expr on variables only referenced in neged relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:55:37 +0200] rev 5887
[rql2sql] test and fix crash when OR in HAVING where both expresion are 'fake' having terms (eg not using aggregat function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:06:11 +0200] rev 5886
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:39 +0200] rev 5885
[config] use hashlib to avoid warning w/ py2.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 17:02:11 +0200] rev 5884
[req] hashlib has no hash function, but has an hash1 function even in python 2.5
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:59:14 +0200] rev 5883
[utils] improve repr() of RepeatList
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 05 Jul 2010 15:58:36 +0200] rev 5882
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:35:15 +0200] rev 5881
[selectors] use before-registry-reset event to init is_instance cache: cleaner code and avoid reloading bug (making hooks test fail for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 13:34:29 +0200] rev 5880
[vreg] new [before|after]-registry-reset event, taking vreg as argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:21 +0200] rev 5879
[doc] update book for adapters
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 05 Jul 2010 12:37:13 +0200] rev 5878
[reledit] fix relation cardinality handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Jul 2010 12:04:32 +0200] rev 5877
[selectors] provide a new, optimized, is_instance selector that should at some point replace implements (along with the adaptable selector)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 19:14:48 +0200] rev 5876
[web/views/massmailing] fix cancel button msg/icon
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 02 Jul 2010 19:05:58 +0200] rev 5875
[testlib] improve test description messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:56:05 +0200] rev 5874
[web/views/reledit] fix typo (-add we used as id component in delete id)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 18:46:26 +0200] rev 5873
[web/test] fix test (doreledit must have a formid and this is now checked)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 18:03:18 +0200] rev 5872
[web ui] add missing image
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:50:31 +0200] rev 5871
[ITree] small fixes: parent_entity is a IBreadCrumbs method, we should use .parent on ITree
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 17:49:23 +0200] rev 5870
restore bw compat on Entity.related_rql
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Jul 2010 15:26:59 +0200] rev 5869
reledit refactoring
* js handling rewritten to exploit all form capabilities (such as file upload ...)
* attribute-like composite relations (one ttype, cardinality in '?1' from composite side) are more
cutely handled, with a 'add'/'delete' additional actions/icons
* a reledit_ctrl rtag to finely control: reloading, edition and default values
* a proper chapter in the documentation (book)
* many bugfixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:44 +0200] rev 5868
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:34 +0200] rev 5867
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:47:12 +0200] rev 5866
[idownloadable] make the download view http cache friendly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:46:09 +0200] rev 5865
[publisher] avoid useless rollback after successful commit, which clutters debug logs and may also not be cost-free
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 14:44:23 +0200] rev 5864
[controller] same method defined on the base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:51 +0200] rev 5863
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:52:19 +0200] rev 5862
merge stable heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5861
Added tag cubicweb-debian-version-3.8.6-1 for changeset 607a90073911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 11:25:23 +0200] rev 5860
Added tag cubicweb-version-3.8.6 for changeset 1a24c62aefc5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:38:56 +0200] rev 5859
[dbapi] refactor so that cw 3.8.6 can still speak with a 3.8.5 server
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 10:29:32 +0200] rev 5858
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Jun 2010 13:54:02 +0200] rev 5857
[bfss] fix file update to ensure file's content is available on the fs asap...
and not only at commit time. So it's consistent with entity creation behaviour.
The new file is created at assignement time and removed if the commit is
rollbacked.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:09:59 +0200] rev 5856
[ldap] fix exception handling on authentication error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:05:56 +0200] rev 5855
[ldap] cleanup password checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:02:08 +0200] rev 5854
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:58 +0200] rev 5853
[css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 09:01:22 +0200] rev 5852
bump version number to trigger migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Jul 2010 00:39:46 +0200] rev 5851
3.8.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:46:58 +0200] rev 5850
[migration] schema should be accessed through .repo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 17:06:37 +0200] rev 5849
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 09:23:39 +0200] rev 5848
[security] use set_operation for relation permission checking operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:47:24 +0200] rev 5847
[migration] refactor schema migration fix introduced by 5833:d7256ae7c1d1
so the code looks better and avoid clutering lgdb api. Depends on lgdb 1.0.5.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:32:27 +0200] rev 5846
[schema migration] fix name error introduced in parent changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jul 2010 08:13:03 +0200] rev 5845
[schema migration] avoid potential duplicated ft reindexation due to multiple UpdateFTIndexOp operations by using set_operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 18:47:10 +0200] rev 5844
[sql generation] fix bug with inlined relation and referenced by other neged relation
we should check in that the column is not null in such cases
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:35 +0200] rev 5843
[refactor] refactor rtag keys generations.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 22 Jun 2010 13:47:13 +0200] rev 5842
[fix] fix a uicfg bug in autoform_section
When several rtags matches the same relation (for example "* login *" and
"CWUser login *") inconsistent rtag could be merged.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:50:06 +0200] rev 5841
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 15:43:36 +0200] rev 5840
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:51 +0200] rev 5839
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Jun 2010 12:27:48 +0200] rev 5838
[login form] fix bad login field label by using pgettext
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:44:47 +0200] rev 5837
updated docstrings on Operation class
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 26 Jun 2010 08:42:48 +0000] rev 5836
do not allow password-less bind: windows accepts this as Anonymous Logon
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 25 Jun 2010 11:29:48 +0200] rev 5835
[#969169] don't display remove link in edition forms if the cardinality is 1
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 16:03:57 +0200] rev 5834
fix name error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 15:59:17 +0000] rev 5833
fix schema migration hooks (partial)
SQL Server requires some additional steps to alter columns
(index drop and restore, etc...) and this in turn requires
passing a connection on the DB to find out the indexes.
Also partially fix an issue where the null_allowed value was
not correctly computed. Still some problems in there
(see https://www.logilab.net/cwo/ticket/1109558)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:36:22 +0200] rev 5832
delete trailing whitespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 24 Jun 2010 12:10:01 +0200] rev 5831
Had thought this could be done in cube, but it really needs to be done earlier in the migration process
Stéphanie Marcu <steph@logilab.fr> [Wed, 23 Jun 2010 14:56:21 +0200] rev 5830
EntityFormRenderer redefine open_form and add a div section, so redefine close_form to add the closing div tag
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 14:17:57 +0200] rev 5829
Backed out changeset c29c90223125 which breaks the cw tests
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 23 Jun 2010 12:33:25 +0200] rev 5828
EntityFormRenderer redefine open_form and add a div section, so redefine close_form to add the closing div tag
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 09:30:59 +0000] rev 5827
reduce log verbosity in ldapuser source
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 23 Jun 2010 09:27:52 +0200] rev 5826
[session] refactor session handling so that when calling session.close(), pool of long running transaction of the same session is properly freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Jun 2010 11:04:59 +0200] rev 5825
[debug views] set http cache max age to 0 on debug views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Jun 2010 10:29:04 +0200] rev 5824
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:48:36 +0200] rev 5823
[schema view] width isn't in authorized th attribute in xhtml DTD. katia, please do it another way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:39:50 +0200] rev 5822
[schema view] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:30:15 +0200] rev 5821
[rql2sql] #1089207: do not encode Unicode strings from RQL statements to db encoding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 17:10:25 +0200] rev 5820
fix bad merge
katia [Mon, 21 Jun 2010 16:13:41 +0200] rev 5819
[css] more css rework, need visual test in compat/new modes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 16:01:57 +0200] rev 5818
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 16:01:15 +0200] rev 5817
[config] fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:58:13 +0200] rev 5816
[form] apply patch #933771: format_single_value / vocabulary methods should *always* return actual value as an unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:34:46 +0200] rev 5815
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:32:58 +0200] rev 5814
[repo] fix 'c-c start --loglevel LEVEL' for repository only configuration. Closes #1058269.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:32:26 +0200] rev 5813
[transaction w/ separated web/repo processes] the dbapi should explicitly specify a transaction id to avoid confusion when web server / repository run in separated processes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 15:29:10 +0200] rev 5812
[dbapi] Connection.load_appobjects should load site_cubicweb files as well, they may contains necessary RQL extension function definitions. Also kill some broken deprecated code in this method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 13:23:11 +0200] rev 5811
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:54:09 +0200] rev 5810
Added tag cubicweb-debian-version-3.8.5-1 for changeset 5d05b08adeab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:54:09 +0200] rev 5809
Added tag cubicweb-version-3.8.5 for changeset 2de32c0c293b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 11:13:25 +0200] rev 5808
[repo] call entity.check() once before_update hooks has been called, to let them a chance to transform data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 10:42:26 +0200] rev 5807
3.8.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 10:00:05 +0200] rev 5806
[debian] #1027463: logrotate script should filter out warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 09:36:40 +0200] rev 5805
[schema migration] fix fix introduced in 5803:589e2e3fb997, test for backend alter column support should be done in the operation, else the associated index is not dropped while this is supported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:54:12 +0200] rev 5804
[schema migration] fix backend compatibility issue by using type_from_constraints / sql_change_col_type instead of bare ALTER COLUMN
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:53:13 +0200] rev 5803
[schema migration] don't try to drop column if backend doesn't support column alteration (eg sqlite)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jun 2010 08:52:13 +0200] rev 5802
[session] when rollback_on_failure is false, we should not try to reconnect if the sql raised an error
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sun, 20 Jun 2010 15:09:42 +0000] rev 5801
Use SQL standard ALTER TABLE command (with ADD instead of ADD COLUMN)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sun, 20 Jun 2010 15:08:23 +0000] rev 5800
reduced logging verbosity in ldapuser source
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 19 Jun 2010 16:08:54 +0200] rev 5799
use sessionid in log message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 19 Jun 2010 16:08:08 +0200] rev 5798
constraints can contain unicode values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:31:22 +0200] rev 5797
[entity] fix .complete so we don't crash on missing mandatory relation. Also simplify code. Closes #1058267
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:49:17 +0200] rev 5796
closes #1059729: cw-ctl upgrade : i18n upgrade not performed if DB does not need upgrade
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 18:35:09 +0200] rev 5795
[devtools/qunit] prefix jquery_dir with 'file://'
(as this is used from within a web browser)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 18:16:36 +0200] rev 5794
[devtools/qunit] Locate jquery through cubicwew config to handle installed setup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 18:14:55 +0200] rev 5793
[rql2sql] use new dbhelper.sql_concat_string function to deal with sql string concatenation. This together with lgdb 1.0.4 fixes #1055133: SQL Server support : string concatenation issue
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 15:41:39 +0200] rev 5792
[session] update session's timestamp in session.execute, so long running transactions are not erroneously closed by the repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 14:56:01 +0200] rev 5791
[repo session] expected argument is the source, not the session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 14:44:22 +0200] rev 5790
[devtools/qunit] in safe mode, ffox launches a stupid popup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jun 2010 13:32:54 +0200] rev 5789
[ldapuser] quieter ldap result info, fix commented block style