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
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 11:40:37 +0200] rev 5788
[qunit] use safe mode for firefox
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jun 2010 11:40:33 +0200] rev 5787
[qunit] Move qunit.js and qunit.css in devtools/datadirectory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 09:25:01 +0200] rev 5786
[test] fix stupd name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 09:07:41 +0200] rev 5785
[test] fix test w/ closed connection pb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jun 2010 08:14:00 +0200] rev 5784
[ms] orderby/groupby/having attributes of Select node should be resetted to empty tuple, not None
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 18:50:20 +0200] rev 5783
[devtools/teslib] be more defensive on rollbacks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 18:36:16 +0200] rev 5782
[rql2sql] when using HAVING to by-pass rql limitation (not to filter on result of an aggregat function), we should emit SQL that doesn't use HAVING to avoid potential backend error because variables are not grouped. Closes #1061603.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 17:49:58 +0200] rev 5781
[doc/book/faq] question on security
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jun 2010 16:57:24 +0200] rev 5780
[qunit] check that the browser has not died by himself before we asked him to stop.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jun 2010 16:56:38 +0200] rev 5779
[qunit] improve output of suprocess error
The exception message now include the stdout and stderr of the called process
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 16:24:01 +0200] rev 5778
[test] workaround connection leak making tests fail under windows environment (though we've still probably some open connection leak to resolve...)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 16:17:09 +0200] rev 5777
[web request] in python 2.5 hashlib has no .hash attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 16:16:08 +0200] rev 5776
[web actions] fix recent refactoring, leading to missing redirect parameters in action's url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:30:28 +0200] rev 5775
[packaging] more cleanups, handle javascript test files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:15:52 +0200] rev 5774
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 17 Jun 2010 15:09:12 +0200] rev 5773
[facet] use vreg.parse so the rql syntax tree is properly annotated as well
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 17 Jun 2010 15:08:25 +0200] rev 5772
[text search] fix fulltext_container indexation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 15:04:35 +0200] rev 5771
[md5script] cleanup
auc [Thu, 17 Jun 2010 15:02:24 +0200] rev 5770
[py2.6] use hashlib to silence python 2.6 deprecation warnings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jun 2010 15:02:22 +0200] rev 5769
[autoform] do not show remove link for inline form if card == 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 14:43:16 +0200] rev 5768
[fti] support for fti ranking: has_text query results sorted by relevance, and provides a way to control weight per entity / entity's attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 14:42:41 +0200] rev 5767
[packaging] MANIFEST.in cleanups, update js/css copyright, remove no more used files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 12:13:38 +0200] rev 5766
[js tests] fix javascripts tests definition, test_datetime.js now included in test_utils.js, which test other stuff as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:52 +0200] rev 5765
[entity] can't do anymore dict(entity) since entity doesn't inherit from dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:34 +0200] rev 5764
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jun 2010 09:10:14 +0200] rev 5763
[vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 14:51:17 +0200] rev 5762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 14:47:39 +0200] rev 5761
[test] unittest_multisources: external source shouldn't use the same database as the main repo...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 13:54:10 +0200] rev 5760
[test] miss main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 12:24:12 +0200] rev 5759
imported patch asynchronous multipart parsing.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 12:24:11 +0200] rev 5758
imported patch cookie handling: do not use semicolon as it has some tech meaning (web2 -> web)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 09:53:17 +0200] rev 5757
[entity] when .related() is called on a not-yet-saved entity, return an empty rset/list instead of raising an assertion error
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 16 Jun 2010 09:33:04 +0200] rev 5756
[filefield] normalized file names to deal with windows files
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 16 Jun 2010 09:30:30 +0200] rev 5755
[c-c exlog] fix code and documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jun 2010 09:21:49 +0200] rev 5754
[test] support for test on postgres database using the same mecanism as sqlite: one template database generated when necessary + actual test database created from the template
* * *
[test] reset postgres database between test of the same fixture
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:19:44 +0200] rev 5753
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:16:19 +0200] rev 5752
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:30 +0200] rev 5751
[test] properly close connections during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:29 +0200] rev 5750
[repo] on repository initialization, properly shutdown intermediary repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:28 +0200] rev 5749
[repo] on repository shutdown, we've to close the new eid creation connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Jun 2010 18:00:26 +0200] rev 5748
[auto-reload] we should never call load_module with use_sys=False, that may lead to inconsistency with module interdependancy (eg module get imported by another one, then is reimported by the vreg to load its appobjects. Cleanup of sys.modules done before reloading should be enough.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 14 Jun 2010 17:56:10 +0200] rev 5747
[rset] do not filter rsets with __getstate__, ensure whatever flies with pyro has no .req attribute, also set the ._rqlst to None since it will be reconstructed later on demand
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:59:05 +0200] rev 5746
[security] SchemaRelation.has_perm grows to new arguments allowing to specify subject/object entity type when actual eid are not known, but their types are
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:58:06 +0200] rev 5745
[linkto action] refactor to ease overriding to control redirection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Jun 2010 18:58:03 +0200] rev 5744
[hooks] entity_oldnewvalue should never return _MARKER: if the attribute isn't in the entity dict (hence unmodified), return the old value
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 14 Jun 2010 12:13:46 +0200] rev 5743
Use the qunit automatic launcher for existing testcase.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 01 Jun 2010 18:18:26 +0200] rev 5742
Add a QUnitTestCase class to run qunit test case.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Jun 2010 18:48:17 +0200] rev 5741
[twctl] add missing poststop method #1058268
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Jun 2010 18:47:53 +0200] rev 5740
[rset] make rsets picklable (again ?) #1056422
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 16:11:23 +0200] rev 5739
[jstests] nicer test page title
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 16:07:58 +0200] rev 5738
[jstest] get back more tests writen during the sprint by vgodard
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 15:54:29 +0200] rev 5737
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:59:08 +0200] rev 5736
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:57:51 +0200] rev 5735
Added tag cubicweb-debian-version-3.8.4-1 for changeset b7883287f40c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 14:57:50 +0200] rev 5734
Added tag cubicweb-version-3.8.4 for changeset d00d1fab42af
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 13:00:19 +0200] rev 5733
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 13:00:02 +0200] rev 5732
[selectors] relation_possible selector accept None as action, in which case no perms checking is done
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 11:37:17 +0200] rev 5731
3.8.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 11:36:01 +0200] rev 5730
[xhtml] fix soup2xhtml to deal with malformed div,body and html tags which may leads to malformed return value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 09:20:38 +0200] rev 5729
[source] remove debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 08:39:21 +0200] rev 5728
[entity] add .clear() for bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:53 +0200] rev 5727
[3.9] api update (mostly js) + add support for FCKEditor in formContents js function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:52 +0200] rev 5726
[json] fix json serialization for recent simplejson implementation, and test encoding of entities
as with earlier simplejson implementation, iterencode internal stuff
is a generated function, we can't anymore rely on the _iterencode
overriding trick, so move on by stoping isinstance(Entity, dict).
This is a much heavier change than expected but it was expected
to be done at some point, so let's go that way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Jun 2010 07:58:49 +0200] rev 5725
[adapters] enhanced warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:44:03 +0200] rev 5724
[test] fix test broken by 5721:61d6a4caa963, and update it to proper adapters to avoid deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:32:09 +0200] rev 5723
[3.9] update warning message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 18:28:12 +0200] rev 5722
[iprogress] move adapter to entities.adapters
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Jun 2010 17:25:38 +0200] rev 5721
fix wrong calculation of clean_session_interval
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:57:02 +0200] rev 5720
[ITree] more fixes, fix fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:57:00 +0200] rev 5719
[idownloadable] depends on a new mtconverter release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:28:06 +0200] rev 5718
[ITree] fix adapter/_done_init to handle tree_[attribute|relation], add maxlevel argument to base tree view since one side effect of the new code is that it find tree view for entity types it didn't find before, hence one may want to limit tree view depth when it wasn't necessary before
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:28:04 +0200] rev 5717
[3.9] fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:25:15 +0200] rev 5716
[web] move itree adapter to entities, it may be used outside the web interface
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 16:23:07 +0200] rev 5715
[view] add a new entity_call method to entity view protocol, allowing some to work with not yet created entities. Also, start considering 'eid' form parameters where we only consider 'rql', so we can move on bloquing arbitrary rql inputs (more to do on this...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:49 +0200] rev 5714
[idownloadable] refactor IDownloadable primary view to make overriding easier
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:48 +0200] rev 5713
[web] ajax_replace_url superseed build_ajax_replace_url, more generic and relying on the json controller (closes #750090)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 14:16:47 +0200] rev 5712
[form] refactor meta-attributes handling: hide them by default using uicfg.afs instead of returning None (or not, according to skip_meta_attr flag argument) in guess_field
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jun 2010 15:11:30 +0200] rev 5711
[repo] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 13:56:52 +0200] rev 5710
[req] fix format_time w/ 0:0 which is evaluated to False
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 12:53:21 +0200] rev 5709
[view] ensure fallback_oid is specified before trying to select fallback view, else simply raise the exception
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:18:34 +0200] rev 5708
fix merge, forgot to save a buffer :(
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:16:59 +0200] rev 5707
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jun 2010 10:15:26 +0200] rev 5706
[rql2sql] fix special 'X relation NULL' case (used by security insertion), broken by recent removal of IS operator in RQL
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 16:16:54 +0200] rev 5705
[javascript] add a name property to namespaces, mainly for convenience in helpers such as movedToNamespace
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:51:00 +0200] rev 5704
[rql] IS operator killed in rql 0.26.2, use equal instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:44:45 +0200] rev 5703
[security] consider any rql expression refering to X while X is being created as satisfied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:31:12 +0200] rev 5702
[rql] more update to 0.26.2 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 14:21:08 +0200] rev 5701
[querier] fix rset description bug with some union queries
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 13:42:17 +0200] rev 5700
[devtools] fix get_available_port implementation: it should only return the port number if unable to connect
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 12:43:21 +0200] rev 5699
[javascript] move CubicWeb object declaration to cubicweb.js, remove CubicWeb.provide/require, use cw instead of CubicWeb
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 12:39:55 +0200] rev 5698
[javascript] move Deferred implementation to cubicweb.ajax.js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 12:32:54 +0200] rev 5697
[form] fix untested (unread?) has_been_modified implementation...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 10:06:46 +0200] rev 5696
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 10:06:04 +0200] rev 5695
[autoform] fix vreg module name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:58:23 +0200] rev 5694
[pylint] fix detected name errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:54:35 +0200] rev 5693
[pylint] fix detected name errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jun 2010 09:42:24 +0200] rev 5692
[repo server] fix startup bug, lgc.daemon.daemonize return 1 for the parent process, not -1
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 09:42:52 +0200] rev 5691
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 09 Jun 2010 09:41:36 +0200] rev 5690
[source] don't create the eid_creation connection at source initiliaztion time
This fixes the "already opened connection bug" in db-restore for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 19:17:41 +0200] rev 5689
[schema view] only catch key errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 19:17:16 +0200] rev 5688
[schema view] improve it slightly by attributing the same color to rdef of the same relation type
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 07 Jun 2010 19:01:21 +0200] rev 5687
[rset] Add a line break the first result in repr of multiple rows rset
Improve readability of rset while debugging by aligning the first value with the
others if the rset have multiple row. This first line was usually not read as
it' was on the same line that the first part of the repr ("<rset <RQL>, (%i
rows) ...")
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Mon, 07 Jun 2010 18:50:24 +0200] rev 5686
[schema diagram] ticket #191599, make schema image look better
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:16:16 +0200] rev 5685
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:15:39 +0200] rev 5684
[workflow image] remove debug code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:13:41 +0200] rev 5683
[request] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 18:13:39 +0200] rev 5682
[security] view was giving web access to every fs file accessible by the web server process. Fix this security hole by storing file in session data, not direct form parameters
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 17:45:41 +0200] rev 5681
[hooks] fix typo in workflow hooks category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:31:46 +0200] rev 5680
[security hooks] fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:22:24 +0200] rev 5679
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:08:54 +0200] rev 5678
Added tag cubicweb-debian-version-3.8.3-1 for changeset 1ccaa9247860
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Jun 2010 13:08:53 +0200] rev 5677
Added tag cubicweb-version-3.8.3 for changeset 7e6c6a2a272d