Arthur Lutz <arthur.lutz@logilab.fr> [Fri, 16 Nov 2012 11:52:06 +0100] rev 8595
[server] implement base_url with secure=True (closes #2508638)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:41:38 +0100] rev 8594
[validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59
the creation of the `translate` method in the 23a10f049447 yams commit.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 15:27:40 +0100] rev 8593
[wsgi] saner use of `self.config` instead of `config`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 17:14:18 +0100] rev 8592
[server] fix repository initialisation
Changeset d753d6a6798f was breaking database creation. Dropping the
`config.creating` clause lead to trying to load the schema from database even in
creation mode. Conditional are a bit altered and reordered to prevent this to
happen.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Oct 2012 09:56:52 +0200] rev 8591
[web test] make unittest_viewselectors work if rdflib isn't available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:43 +0200] rev 8590
[js/ajax] documentation of 'reload' is missing an argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:22 +0200] rev 8589
[ldapfeed] move docstring to the class instead of the module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Nov 2012 11:12:13 +0100] rev 8588
[hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:43:11 +0100] rev 8587
[startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:40:24 +0100] rev 8586
[ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Nov 2012 11:06:24 +0100] rev 8585
[dbapi] provide get_option_value over DBAPIRequest (closes #2515522)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:05 +0200] rev 8584
Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:04 +0200] rev 8583
Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:42:26 +0200] rev 8581
[entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes.
Also rewrite a storage test currently failing because cache of the entity created by the
test transaction, distinct from the entity created internally and given to hooks and all,
has its attributes cache not updated. As this doesn't seems a proper usage, rewrite it
as expected.
Much probably closes #2423719 definitly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Oct 2012 16:54:22 +0200] rev 8580
[repository] move modification of appobject_path to repository initialization code so we can restore it later to avoid side effect on the config. Fix regression introduced in d32ab8570e5d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Oct 2012 18:42:13 +0200] rev 8579
[req / session] drop is_internal_session (buggy) compat on base request by implementing necessary methods on internal manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:18:13 +0200] rev 8577
[test] use session commit/rollback to be consistent with the test
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Oct 2012 15:47:12 +0200] rev 8575
[ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515)
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport stable
Florent Cayré <florent.cayre@logilab.fr> [Tue, 02 Oct 2012 16:44:55 +0200] rev 8572
fix no more running zmq repository test (closes #2500153)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Sep 2012 17:49:54 +0200] rev 8571
[dbapi] load_appobjects must attempt to load available cubicweb configurations to avoid error when some object use a persistent propery (CWProperty) defined there. Closes #2497697
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 12:47:45 +0200] rev 8569
[ajax] reload function should set 'processing' cursor. Closes #2503899
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:49:34 +0200] rev 8568
[misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Sep 2012 16:45:26 +0200] rev 8567
[views/boxes] re-establish the proper selector (closes #2496294)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:40:35 +0200] rev 8566
[ldapparser] raise specific error if the configuration is wrong (closes #2498164)
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 08 Oct 2012 17:50:12 +0200] rev 8565
[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 17:04:44 +0200] rev 8564
[c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 21 Sep 2012 15:03:59 +0200] rev 8563
mock ``CWUser.prefered_language()`` on InternalManager objects.
The recent split of patches for session refactoring broke this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 14:15:39 +0200] rev 8562
[session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820
One should use session method rather than direct usage of the context manager
of the same name.
Fix default argument values for consistency with the context manager: when one
omit an argument, meaning is "keep the current value", not "disable security".
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 14:50:06 +0200] rev 8561
[session] promote usage of [deny|all]_all_hooks_but session methods rather than hooks_control context manager directly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:25:48 +0200] rev 8560
[web app] move set of status_out into validation_error_handler to ease readability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:24:32 +0200] rev 8559
[workflow test] don't use session.user, subject to internal changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:07:13 +0200] rev 8558
[db creation test] more testing of db initialization: call build_db_cache and ensure admin user exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:52:17 +0200] rev 8557
[source synchronization hooks] Fix/enhance system source hooks
They are broken if launched during repository initialization (this was not the
case yet, but will be soon...). Add additional checks to ensure one doesn't try
to store system source config in the database, as it will be ignored in favor of
the "sources" file.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:48:55 +0200] rev 8556
[validation error] refactor validation error handling so translation is done on the web side
Users should now use cubicweb.validation_error helper function that will activate the feature
with other handy behaviours. Also test testing for message in errors should call
exception.tr(unicode) before comparing.
Using bare ValidationError keep backward compat.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8555
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8554
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:24 +0200] rev 8553
Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:23 +0200] rev 8552
Added tag cubicweb-version-3.15.4 for changeset 63260486de89
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 17 Sep 2012 17:48:02 +0200] rev 8551
[facets] add link 'focus on selection' (closes #525277)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:08:55 +0200] rev 8550
[server/utils] catch ValueError from password verification
passlib can raise ValueError when it can't recognized a hash. Treat
that as a wrong password.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:59:25 +0200] rev 8549
[test] reindent and use request() rather than bare session
this avoid error due to implementation details of session
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Sep 2012 15:03:52 +0200] rev 8548
[repo] fix debug code in DBG_REPO mode (closes #2469942)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Sep 2012 17:26:15 +0200] rev 8547
[datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:17:10 +0200] rev 8546
[sources/native] automatically update passwords using deprecated hashes on login
Closes #2465904
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 17:42:24 +0200] rev 8545
[repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 21:51:54 +0200] rev 8544
massive copyright update to avoid clutering later patches
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:50:28 +0200] rev 8543
minor cleanups/typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:36:22 +0200] rev 8542
[session / querier] reorganize code to building result set descriptions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:44:33 +0200] rev 8541
[web] search state doesn't need cnx, remove useless test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:31:07 +0200] rev 8540
[schema] rename schema permissions function: session may also be a request, use _cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:02:06 +0200] rev 8539
[repo initialisation] during repo creation, load all hooks and entities code
this simplify code and make it more consistent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:53:59 +0200] rev 8538
[request/session] refactor language handling: don't attempt to sync web/repo languages
This decouple thing and make code easier to understand. Previous behaviour was fine
w/ validation error that were translated on the server side, but isn't satisfying for
notification and all. Now:
* translations should be done on the ui side (see previous validation error
refactoring)
* consistent behaviour: each side (web/repo) is responsible to deal with its
request/session of language, no weird interaction between them on this topic
* drop on the way the 'session properties' api, used only for that matter.
-> much simpler/cleaner/saner api
The thing missing being a way for user to tell "My favorite language is xxx but I also
want cw to consider my http language header)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:00:09 +0200] rev 8537
[config] turn internal configuration methods building appobjects search path into normal method rather than class method
as this is useless and make path filters difficult to override (we had to
override the class attribute, as instance attributes were not seen).
Also rename related methods for consistency with current vocabulary
David Douard <david.douard@logilab.fr> [Mon, 03 Sep 2012 12:26:20 +0200] rev 8536
fix missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Sep 2012 14:01:59 +0200] rev 8535
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 07 Sep 2012 13:48:55 +0200] rev 8534
[hooks/syncshema] fix logging level and nicer message (wrong changeset published previously)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 13:19:39 +0200] rev 8533
[hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Aug 2012 11:43:43 +0200] rev 8532
[cwctl] show a better diagnostic message on version violation (closes #2464800)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:07:59 +0200] rev 8531
[tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657
also do a small cleanup on the way, and properly implements render_entity rather than cell_call,
as one would expect regarding default PrimaryView code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:52:41 +0200] rev 8530
[migration] fix backward compat for rename_relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:09:17 +0200] rev 8529
[datafeed] make cnxset handling of datafeed source more robust
currently we may run in some cases where the session has no more cnxset
depending on errors and parser's handling of the cnxset.
Also, free the cnxset and reacquire it later, letting a chance to other
threads to run.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:38:43 +0200] rev 8528
don't use rset.rowcount in predicates, this makes them usable with other types such as lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:11:05 +0200] rev 8527
[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Aug 2012 11:19:44 +0200] rev 8526
[ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Aug 2012 13:29:37 +0200] rev 8525
[entity edition] don't remove values from attribute cache on the repository side
This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a.
closes #2423719 ?
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 18:11:24 +0200] rev 8524
fix ldapuser test
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 16:50:28 +0200] rev 8523
Prepare 3.15.4
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 13:55:59 +0200] rev 8522
migration: replace empty passwords with random ones on upgrade
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 12:52:45 +0200] rev 8521
ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 16:58:08 +0200] rev 8520
[source/native] only system source users should be authenticated by the native source (closes #2465883)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 17:20:06 +0200] rev 8519
[web test] fix test broken by 199fefe396ab
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Aug 2012 14:19:30 +0200] rev 8518
[fti] add some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 14:17:22 +0200] rev 8517
[form] add assertion to ensure field has a name when `role_name` is called
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:29 +0200] rev 8516
Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:28 +0200] rev 8515
Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Aug 2012 14:20:08 +0200] rev 8514
[pkg] prepare 3.15.3 release
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 19:00:22 +0200] rev 8513
[entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)
Rely on a changes in yams instead where we have guarantee to have only comparable objects.
This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly
closes #2423719
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Aug 2012 09:42:36 +0200] rev 8512
[tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038
This is useful for tabs holding a self-posted form for instance.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 18:52:27 +0200] rev 8511
[web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040
(eg if you want to use them in .session_key)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 10:09:11 +0200] rev 8510
[test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout
This repairs test introduced by dcd9bc1d1bca which closes #2439846
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Aug 2012 10:47:27 +0200] rev 8509
[entity] fix deprecation warnings (closes #2423719)
David Douard <david.douard@logilab.fr> [Thu, 02 Aug 2012 12:48:31 +0200] rev 8508
merge oldstable in stable
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:48 +0200] rev 8507
Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:47 +0200] rev 8506
Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 18:30:36 +0200] rev 8505
[ui] provide an autocomplete RQL bar (closes #2439846)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 01 Aug 2012 09:20:47 +0200] rev 8504
[ajax] improve backward compatibility for redefined ajax functions (closes #2447189)
If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube,
the cube version should still takes the precedence<
=> check for existing ajax function on deprecated controller _before_ checking
ajax function availability on the new one.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 16:16:50 +0200] rev 8503
prepare version 3.14.9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:32:54 +0200] rev 8502
[composite] apply composite on new enty too (closes #2450679)
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:25:28 +0200] rev 8501
[storage] relies on event=='deleted' to detect "delete" event (closes #2450680)
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 11:04:45 +0200] rev 8500
[composite] apply composite on new enty too
Before this changesets, automatic deletion did not applied to entity created in
the same transaction. This patch remove this filtering in the dedicated
operation.
The original filtering where introduced by 5d889b4928bb but no rational where
found for this changes.
The former behavior is seen as inconsistent and creates bug in some cubes.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 10:57:03 +0200] rev 8499
[storage] relies on event=='deleted' to detect "delete" event
When we delete a previously edited entity, it *will* have a cw_edited attribute
even if the goal is to delete it. The function get an argument that explicitly
contains the "delete" event. The code now uses that instead.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jul 2012 11:19:11 +0200] rev 8498
[web navigation] previous / next icons are missing mandatory alt attribute
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 31 Jul 2012 10:12:06 +0200] rev 8497
[testlib] consider rset for template / view selection (closes #2447183)
The original code did something like:
kwargs['rset'] = rset
viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs)
kwargs.pop('rset')
return self._test_view(viewfunc, view, template, kwargs)
meaning that by the time ``viewfunc`` (i.e. the lambda function) is called,
``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 17:51:00 +0200] rev 8496
[documentation] fix some ReST compilation problems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 15:06:55 +0200] rev 8495
[test] remove no more necessary attribute cache manipulation to repair test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 11:19:16 +0200] rev 8494
[entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression
* when an attribute is listed in dont-cache-attrs, purge any previous value
* test value is actually modified in EditedEntity.__setitem__ before adding
attribute to dont-cache-attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 10:16:25 +0200] rev 8493
[entity/hooks] fix regression introduced by 4ba11607d84a
on create_entity, attributes weren't cached, but they are since 4ba11607d84a
and this triggered a bug: used values may be transformed by hooks (e.g.
TidyHtmlFields), ending in invalid value in the cache. This is the regression.
Now, set_attributes used to update the attributes cache while suffering from
the very same pb. This is the now fixed old bug.
Transformed attributes are now recorded in a transaction shared variable, and
those are omitted from the client cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:11 +0200] rev 8492
[doc] use :meth: and remove doc to deprecated methods
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 Jul 2012 22:45:32 +0200] rev 8491
[doc] add passlib to list of dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:09 +0200] rev 8490
Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:08 +0200] rev 8489
Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 14:50:44 +0200] rev 8488
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 12:45:43 +0200] rev 8487
[web test] fix tests broken by 8de41063d629
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 15:17:32 +0200] rev 8486
3.15.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 11:31:34 +0200] rev 8485
[web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:57:48 +0200] rev 8484
[config] load_configuration should not crash because of fs errors. Closes #2286215
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:46 +0200] rev 8483
[entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719
Allowing similar usage as create_entity/cw_instantiate.
Update cw code base to remove deprecated calls.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 09:01:54 +0200] rev 8482
[workflow ui] fix state/transition edition form on existing entity. Closes #2423531
It should not return unrelated entities only in case where the entity
exists.
Also fix a deprecation warning, vocabulary values should be an
unicode string.
Florent Cayré <florent.cayre@logilab.fr> [Fri, 20 Jul 2012 11:42:59 +0200] rev 8481
[predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:25:55 +0200] rev 8480
[book] fix build warnings/errors. Closes #2430042
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:46:27 +0200] rev 8479
[ldap feed] add missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 16:41:10 +0200] rev 8478
[ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:22:51 +0200] rev 8477
[config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:31:15 +0200] rev 8476
[book] Some tweaks to fix cubicweb-documentation package generation
- Fix up PYTHONPATH setting to make sure sphinx can find cubicweb modules
- Add a few missing build-dependencies
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 Jul 2012 10:27:04 +0200] rev 8475
[webconfig] debug mode should not be special wrt data_url handling (closes #2405487)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 10:25:22 +0200] rev 8474
[test] missing future import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 20 Jun 2012 12:30:57 +0200] rev 8473
[ldap] allow working connection to some ADs (closes #2408829)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 18 Jul 2012 17:26:59 +0200] rev 8472
[entity] fix unrelated_rql for creation form vocabulary for relation with specific permissions (closes #2423854)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:06:52 +0200] rev 8471
[form widgets] fix JQueryDatePicker and JQueryTimePicker so they consider widget custom attributes. Closes #2423720
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jul 2012 15:58:20 +0200] rev 8470
[web app] handle Redirect raised during session establishment, as this may be used by eg openid authentication. Closes #2430018
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 17:16:28 +0200] rev 8469
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jul 2012 15:32:40 +0200] rev 8468
[ldapuser2ldapfeed] fix confusing script structure and decode the extid to avoid an UnicodeDecodeError (closes #2413437)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 11:08:36 +0200] rev 8467
[migraction] rename rename_relation method to rename_relation_type for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Jul 2012 14:29:52 +0200] rev 8466
[web app] only log tb when explicitly asked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Jul 2012 13:42:27 +0200] rev 8465
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 12:38:06 +0200] rev 8464
[views/tables|css] show actions in small tabs instead of menu indirection (closes #2004109)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:52 +0200] rev 8463
stable is now 3.15
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 15:07:23 +0200] rev 8462
oldstable is now 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 10:33:19 +0200] rev 8461
[test] update server security test using login and new temporary_permissions context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jul 2012 11:11:15 +0200] rev 8460
[testlib] introduce temporary_permissions context manager
Fix a test failure due to cached method on the way as usage of the context manager
enforce proper interaction with schema objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 13:57:23 +0200] rev 8459
[rql2sql] remove debug print and fix bug introduced in 8469:69ad9a509bc3
Florent Cayré <florent.cayre@logilab.fr> [Mon, 09 Jul 2012 12:24:05 +0200] rev 8458
[html form] use __linkto url parameter value as a default value of the corresponding field in a creation form (closes #2407770)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 12:22:43 +0200] rev 8457
[rql2sql] fix generated SQL when an attribute relation with a variable is ored with another attribute relation. Closes #2410405
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:01:09 +0200] rev 8456
[repository] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Jul 2012 09:47:28 +0200] rev 8455
[ui] actions box should be displayed if there are some actions, not if context is an entity. Closes #2419040
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 14:31:13 +0200] rev 8454
backport stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Jun 2012 15:57:05 +0200] rev 8453
[packaging] bump rql dependency to 0.29 (closes #2410042)
Needed for add_eid_restriction with 4 args, usage of which was
introduced in changeset aed065b97f12 (refactor entity fetch_rql method
to use a RQL syntax tree instead of RQL strings)
Florent Cayré <florent.cayre@logilab.fr> [Wed, 04 Jul 2012 17:56:46 +0200] rev 8452
[rql security] fix rql bug when using yams inheritance and read permissions (closes #2410156)
problems occurings when querying using is_instance_of while a subtype has some permissions
not shared by the parent type
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Jul 2012 09:01:42 +0200] rev 8451
[c-c schema] devtools: the output file for cw-ctl schema is not supposed to exist
When using the 'file' type, logilab-common errors out if the file
doesn't exist. Which, if the option refers to an output file, is not so
useful. Use 'string' instead.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:33 +0200] rev 8450
[fti] allow usage of custom RQL to fetch entities to index (closes #2410509)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 09:00:32 +0200] rev 8449
[fti] make db-rebuild-fti accept etypes on command line (closes #2410508)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jul 2012 09:00:30 +0200] rev 8448
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 06 Jul 2012 08:59:28 +0200] rev 8447
[fti] drop entity cache once an etype is indexed (closes #2410507)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jul 2012 11:01:51 +0200] rev 8446
[server/utils] add_looping_task can be used any time (closes #2408814)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 27 Jun 2012 18:10:59 +0200] rev 8445
[formrenderers] if a tag object gets there, it blows (closes #2410462)
- cwtags monkeypatches cubicweb's UStringIO's .write and .getvalue methods
- but it cannot monkeypatch list.append ...
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:21:12 +0200] rev 8444
[login] redirect to real instance root if no postlogin_path is provided
When not postlogin_path is provided, the login form issue a redirect to "/".
The instance root may not be at "/" on the server. Then issuing a redirect to
"/" send the user to the wrong location.
We now redirect to "." which works fine because the "login" controller a direct
children of instance root (http://babar.com/instance/login).
All other redirection of the login controller use relative path too and then
rely on this relative path from the login controleur to the instance root. This
mechanism may be considered fragile and may deserve a proper fix. but this is to
be discussed and implemented in another changeset.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Jun 2012 15:55:03 +0200] rev 8443
[web/application] declare default 'content' value sooner (closes #2406560)
It may be used while processing AuthenticationError. Such error may be raised
before the former declaration.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Jun 2012 10:06:11 +0200] rev 8442
[views/tabs] fix rql/eid param conflict when either one is already in the request form (closes #2405249)
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:23 +0200] rev 8441
Added tag cubicweb-debian-version-3.15.1-1 for changeset fe5e60862b64
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 14:53:22 +0200] rev 8440
Added tag cubicweb-version-3.15.1 for changeset 783a5df54dc7
David Douard <david.douard@logilab.fr> [Mon, 11 Jun 2012 10:00:02 +0200] rev 8439
[debian] prepare 3.15.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Jun 2012 09:22:11 +0200] rev 8438
[server/tests] fix tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Jun 2012 16:47:07 +0200] rev 8437
[registry|ajaxcontroller] the @ajaxcontroller decorator ought to return a compatible object (closes #2385155)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:33:53 +0200] rev 8436
[cwconfig] shutup on absent i18n/ mo files when in operating in tests
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 07 Jun 2012 18:24:37 +0200] rev 8435
[datafeed] correctly distinguish checked/updated
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:30:54 +0200] rev 8434
[ldapfeed] do not crash on ldap user deletion + pull + already deactivated users, cleanups (closes #2392933)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Jun 2012 10:26:34 +0200] rev 8433
[server/session,repo] turn InternalSession, hence repo.internal_session, into a context manager (closes #2393651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 18:07:46 +0200] rev 8432
[ldapparser] missing return
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 17:05:32 +0200] rev 8431
[ldapparser] remove spurious print
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 May 2012 15:56:21 +0200] rev 8430
fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 17:18:00 +0200] rev 8429
[ldapfeed] fix crash on sql cursor usage (closes #2380246)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:51:24 +0200] rev 8428
[sources/ldapfeed] do not user cwuri as url (closes #2380324)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 May 2012 16:19:21 +0200] rev 8427
[web/views/staticcontroller] safety belt for unguessed mimetypes (closes #2380304)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 May 2012 14:01:05 +0200] rev 8426
[server/hook] fix identation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:17:46 +0200] rev 8425
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:26 +0200] rev 8424
Added tag cubicweb-debian-version-3.14.8-1 for changeset 81394043ad22
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 16:01:25 +0200] rev 8423
Added tag cubicweb-version-3.14.8 for changeset 15fe07ff6872
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 12:27:43 +0200] rev 8422
[css] do not use display:block for all images, but only for rest generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 May 2012 11:43:11 +0200] rev 8421
3.14.8
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 23 May 2012 11:41:27 +0200] rev 8420
[css] make ReST align statement works for images (closes #1280176)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2011 14:33:26 +0100] rev 8419
[doc] cubicweb.view documentation (closes: #2099962)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:05:03 +0200] rev 8418
[docstrings] typos corrected
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:04:00 +0200] rev 8417
[views] enable paginate toggle on RsetTableView (closes #2200675)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 11:00:29 +0200] rev 8416
[ui] display author name in box instead of login (closes #1529147)
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 23 May 2012 10:52:42 +0200] rev 8415
[doc] remove deprecated doc (wrong link) (closes #2329206)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 May 2012 17:37:49 +0200] rev 8414
Fixes for compatibility with passlib 1.6 (closes #2356393)
Somebody missed the memo about API backwards compatibility:
- calc_checksum is renamed _calc_checksum
- passlib.utils.handlers.GenericHandler strict keyword removed
- bytes vs str vs unicode issues
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 22 May 2012 18:51:09 +0200] rev 8413
[formrenderers] Factor-out render_title to ease customisation in derived classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 May 2012 12:41:18 +0200] rev 8412
[IE] use document.createStyleSheet to add CSS dynamically (closes #2356261)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 May 2012 14:17:09 +0200] rev 8411
[pkginfo] the before_shutdown event was not in 3.15.0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 16 May 2012 09:57:57 +0200] rev 8410
[migration] do not crash if the conf file is already migrated (closes #2361061)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:44:45 +0200] rev 8409
[datafeed] fix/finish cleanup started by auc in 8393:c25b96ae4f8a: parser.process prototytpe is (url, raise_on_error=False). Drop partialcommit argument which were never specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:30 +0200] rev 8408
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:25:41 +0200] rev 8407
[logs table view] properly translate level buy using the correct msgid. Closes #2356329
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 May 2012 15:24:07 +0200] rev 8406
[data import] don't crash if value isn't in the file, simply no key/value in the output dict. Closes #2356328
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 14:43:08 +0200] rev 8405
[logs table view] only put values starting with http in <a> tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 May 2012 10:57:14 +0200] rev 8404
[db-api] fix typo leading to crash on client connection (config has no translations). Closes #2357044