server/session.py
Tue, 13 Sep 2011 15:41:11 +0200 Sylvain Thénault [cubification] moved CWPermission handling into a localperms cube. closes #1914011
Tue, 13 Sep 2011 15:40:06 +0200 Sylvain Thénault backout 7780:a1d5365fefc1 stable
Tue, 13 Sep 2011 14:48:24 +0200 Sylvain Thénault [cubification] moved CWPermission handling into a localperms cube. closes #1914011 stable
Wed, 07 Sep 2011 17:50:09 +0200 Julien Jehannet [session] take care of non-ascii characters in login and session id (closes: #1910849)
Tue, 06 Sep 2011 11:59:21 +0200 Sylvain Thénault [hooks control] test and fix session.reset_hooks_mode_categories, closes #1908680 stable
Tue, 02 Aug 2011 17:37:55 +0200 Sylvain Thénault [querier] we should not insert None but skip the line when some unknown eid is detected (closes #1892491) stable
Wed, 27 Jul 2011 14:17:47 +0200 Sylvain Thénault [session] safe internal sessions don't deactivate integrity hooks stable
Mon, 18 Jul 2011 15:48:34 +0200 Sylvain Thénault [session] add session id to closed connection errors
Wed, 29 Jun 2011 16:04:01 +0200 Sylvain Thénault backport stable
Wed, 29 Jun 2011 16:02:24 +0200 Sylvain Thénault [repo, looping task] raise a custom exception when repository is shuting down, avoid looping task to be restarted in such case. Closes #1021276 stable
Tue, 21 Jun 2011 10:57:25 +0200 Sylvain Thénault [ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
Fri, 17 Jun 2011 18:53:33 +0200 Sylvain Thénault backport stable
Thu, 16 Jun 2011 19:38:28 +0200 Sylvain Thénault cleanup and assert we don't import unexpected stuff stable
Wed, 15 Jun 2011 17:16:19 +0200 Sylvain Thénault backport stable
Tue, 14 Jun 2011 15:37:09 +0200 Sylvain Thénault [session] deprecates schema_rproperty in favor of more optimized rtype_eids_rdef which return the rdef (so reusable to gather other data) stable
Tue, 14 Jun 2011 13:46:36 +0200 Sylvain Thénault [repository] new hook selector according to configuration's repairing flag stable
Mon, 06 Jun 2011 15:03:00 +0200 Sylvain Thénault backport stable
Mon, 06 Jun 2011 14:41:00 +0200 Sylvain Thénault [session] provide a simple transaction context manager for session. Closes #1725640 stable
Thu, 19 May 2011 18:48:26 +0200 Sylvain Thénault backport stable
Thu, 19 May 2011 17:53:46 +0200 Sylvain Thénault [session] new methods on session to ease access to security/hooks control context managers stable
Thu, 19 May 2011 10:53:11 +0200 Sylvain Thénault [repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Thu, 28 Apr 2011 17:05:22 +0200 Alexandre Fayolle [hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)
Tue, 10 May 2011 14:08:41 +0200 Sylvain Thénault backport stable
Tue, 10 May 2011 12:07:54 +0200 Sylvain Thénault [session] enhance session's transaction storage handling to fix cases where commit/rollback is done while in the context of hooks_control/security_enabled managers. Closes #1412648: commit or rollback during postcreate reset hooks control state
Tue, 10 May 2011 10:28:29 +0200 Sylvain Thénault [session] nicer local variable names
Mon, 09 May 2011 14:35:10 +0200 Sylvain Thénault [session] lock self._closed and session.close to avoid race conditions stable
Sat, 07 May 2011 09:37:07 +0200 Sylvain Thénault [session selector] missing not stable
Fri, 06 May 2011 18:21:31 +0200 Sylvain Thénault [session] new selectors according to session type (eg user or internal stable
Fri, 15 Apr 2011 15:42:17 +0200 Alexandre Fayolle [server] improve the speed of setting relations between entities (closes #1625257)
Mon, 28 Mar 2011 16:41:36 +0200 Sylvain Thénault [repository] fix crash in optimized [add|remove]_relation w/ inlined relation (broken by cw 3.10 refactoring) stable
Mon, 28 Mar 2011 16:39:49 +0200 Sylvain Thénault [server] move EditedEntity class to its own module, to avoid cyclic dependency when needed from e.g. session.py stable
Wed, 16 Mar 2011 09:37:46 +0100 Alexandre Fayolle help pylint by explicitely defining some attributes oldstable
Tue, 08 Mar 2011 17:55:15 +0100 Sylvain Thénault Add a "closed" property on session stable
Fri, 22 Oct 2010 09:15:35 +0200 Sylvain Thénault [pylint] fix a bug of pylint detected errors and i18n pb (calling builtins._ instead of req._)
Sat, 09 Oct 2010 00:05:52 +0200 Sylvain Thénault [schema / sources] store data sources as cubicweb entities
Wed, 06 Oct 2010 14:04:26 +0200 Sylvain Thénault backport stable
Fri, 01 Oct 2010 18:49:47 +0200 Sylvain Thénault [repo transaction] fix rollback behaviour as discussed on the mailing-list: instead of rollbacking automatically on Unauthorized/ValidationError, mark the transaction as uncommitable and disallow commiting stable
Wed, 25 Aug 2010 18:29:55 +0200 Sylvain Thénault update documentation to follow 6142:8bc6eac1fac1 changes. Try to make it better and move most doc with code on the way
Wed, 25 Aug 2010 10:29:18 +0200 Sylvain Thénault [session] cleanup hook / operation / entity edition api
Fri, 06 Aug 2010 17:49:20 +0200 Sylvain Thénault backport stable
Fri, 06 Aug 2010 17:33:07 +0200 Sylvain Thénault [session] should be _cw, not req stable
Wed, 28 Jul 2010 16:31:32 +0200 Sylvain Thénault backport stable
Wed, 28 Jul 2010 11:37:02 +0200 Sylvain Thénault [session] this log should be at the debug level, not info stable
Mon, 26 Jul 2010 12:15:11 +0200 Sylvain Thénault [dbapi] cleanup shared data api: let access to transaction from dbapi, we can write it after all... Also, querydata is better named txdata
Wed, 07 Jul 2010 13:01:44 +0200 Sylvain Thénault backport stable
Tue, 06 Jul 2010 17:09:14 +0200 Sylvain Thénault [repository] fix so that when repository is shutting down, internal session in transaction are interrupted stable
Mon, 05 Jul 2010 19:05:56 +0200 Sylvain Thénault [session] don't log reraised error occured during precommit
Mon, 05 Jul 2010 18:25:19 +0200 Sylvain Thénault [schema migration] import refactoring to fix #1109558 and enhances things on the way
Thu, 01 Jul 2010 17:06:37 +0200 Sylvain Thénault backport stable
Wed, 23 Jun 2010 09:27:52 +0200 Alexandre Fayolle [session] refactor session handling so that when calling session.close(), pool of long running transaction of the same session is properly freed stable
Mon, 21 Jun 2010 15:34:46 +0200 Sylvain Thénault backport stable
Mon, 21 Jun 2010 15:32:26 +0200 Sylvain Thénault [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 stable
Mon, 21 Jun 2010 13:23:11 +0200 Sylvain Thénault backport stable
Mon, 21 Jun 2010 08:52:13 +0200 Sylvain Thénault [session] when rollback_on_failure is false, we should not try to reconnect if the sql raised an error stable
Fri, 18 Jun 2010 15:41:39 +0200 Sylvain Thénault [session] update session's timestamp in session.execute, so long running transactions are not erroneously closed by the repository stable
Fri, 18 Jun 2010 14:56:01 +0200 Sylvain Thénault [repo session] expected argument is the source, not the session stable
Thu, 10 Jun 2010 10:16:59 +0200 Sylvain Thénault backport stable
Wed, 09 Jun 2010 14:21:08 +0200 Sylvain Thénault [querier] fix rset description bug with some union queries stable
Thu, 20 May 2010 20:50:00 +0200 Sylvain Thénault [entity] continue cleanup of Entity/AnyEntity namespace
Fri, 30 Apr 2010 12:14:15 +0200 Sylvain Thénault [webconfig] introduce property sheets. Use them to replace external_resources
Thu, 29 Apr 2010 14:21:59 +0200 Sylvain Thénault [webconfig] cleanup base_url management
Wed, 28 Apr 2010 12:24:20 +0200 Sylvain Thénault backport oldstable changes stable
Wed, 28 Apr 2010 12:15:52 +0200 Sylvain Thénault replace logilab-common by CubicWeb in disclaimer oldstable
Wed, 28 Apr 2010 12:14:22 +0200 Sylvain Thénault backport default into stable: stable is now cw 3.8
Wed, 28 Apr 2010 10:06:01 +0200 Sylvain Thénault proper licensing information (LGPL-2.1). Hope I get it right this time. stable
Tue, 13 Apr 2010 19:43:51 +0200 Sylvain Thénault backport stable
Tue, 13 Apr 2010 15:46:46 +0200 Sylvain Thénault [session] better readability stable
Fri, 09 Apr 2010 15:10:26 +0200 Sylvain Thénault backport stable
Fri, 09 Apr 2010 11:16:00 +0200 Sylvain Thénault [session] no way for queries from an InternalSession to be a dbapi query stable
Wed, 07 Apr 2010 14:26:35 +0200 Sylvain Thénault #759035: Automate addition of eid cachekey in RQL analysis
Thu, 01 Apr 2010 11:48:18 +0200 Sylvain Thénault nicer warning stable
Wed, 31 Mar 2010 12:53:24 +0200 Sylvain Thénault [session] try to reconnect on unexpected error in system_sql. We need this for proper reconnection of pool used by hooks or looping task doing sql queries (such as cw_cleanup_transaction) stable
Tue, 30 Mar 2010 11:17:21 +0200 Sylvain Thénault [undo] consistent is/is_instance_of processing stable
Tue, 30 Mar 2010 10:57:42 +0200 Sylvain Thénault [querier] introduce RepeatList class, used to optimize size of data returned for result set description stable
Fri, 26 Mar 2010 16:13:27 +0100 Sylvain Thénault add note stable cubicweb-version-3.7.2
Thu, 25 Mar 2010 14:00:01 +0100 Sylvain Thénault [cleanup] useless try except stable
Wed, 24 Mar 2010 14:11:01 +0100 Sylvain Thénault backport pending_operations on hi-jacked session, see comment stable
Wed, 24 Mar 2010 11:00:02 +0100 Sylvain Thénault [repo] fix warning message and implementation of bw compat unsafe_execute stable
Wed, 17 Mar 2010 09:16:30 +0100 Sylvain Thénault [session] fix hijack_user: most transaction_data should be copied (everything but the entity cache
Mon, 01 Mar 2010 11:26:14 +0100 Katia Saurfelt server/web api for accessing to deleted_entites
Fri, 12 Mar 2010 16:11:56 +0100 Sylvain Thénault backport stable
Fri, 12 Mar 2010 15:01:52 +0100 Sylvain Thénault [notification] fix dumb name error in hijack user
Thu, 11 Mar 2010 16:49:43 +0100 Sylvain Thénault [session] del session's thread local store on close stable
Tue, 09 Mar 2010 12:07:16 +0100 Sylvain Thénault [refactor] drop rset.vreg attribute, vreg should be accessed through rset.req. Also kill decorate_rset, simply set rset.req where we were calling this method.
Tue, 09 Mar 2010 11:05:29 +0100 Sylvain Thénault backport stable
Tue, 09 Mar 2010 11:00:48 +0100 Sylvain Thénault fix hooks control method name + other litle cleanups
Tue, 09 Mar 2010 10:59:50 +0100 Sylvain Thénault cleanup stable
Tue, 09 Mar 2010 08:59:43 +0100 Sylvain Thénault [repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Mon, 08 Mar 2010 19:02:35 +0100 Sylvain Thénault move hooks activation control on session object, so we can have a per transaction control. Added a new `hooks_control` context manager for usual modification of hooks activation.
Wed, 03 Mar 2010 18:31:08 +0100 Sylvain Thénault cleanup
Wed, 03 Mar 2010 17:42:19 +0100 Sylvain Thénault cleanups stable
Fri, 26 Feb 2010 13:24:47 +0100 Sylvain Thénault pylint style fixes stable
Fri, 26 Feb 2010 07:03:38 +0100 Sylvain Thénault [session] fix memory leak: local thread data living in a thread that never finishes (eg, the main thread) may not be properly freed stable
Fri, 26 Feb 2010 06:59:16 +0100 Sylvain Thénault [session] user.login is usually an unicode string, so implements __unicode__ instead of __str__ stable
Wed, 10 Feb 2010 08:08:17 +0100 Sylvain Thénault rephrase
Tue, 09 Feb 2010 12:41:44 +0100 Sylvain Thénault backport stable
Tue, 09 Feb 2010 12:38:59 +0100 Sylvain Thénault turn down some info logs into debug stable
Mon, 08 Feb 2010 21:27:30 +0100 Sylvain Thénault backport stable
Mon, 08 Feb 2010 13:35:07 +0100 Sylvain Thénault backport stable
Mon, 08 Feb 2010 13:42:22 +0100 Alexandre Fayolle add a note about modifying read only attribute stable
Mon, 08 Feb 2010 13:33:09 +0100 Sylvain Thénault must use in-place modification, pending_operations is a read-only property stable
Mon, 08 Feb 2010 13:05:19 +0100 Sylvain Thénault backport stable
Mon, 08 Feb 2010 13:03:38 +0100 Sylvain Thénault fix session's commit handling: when an operation failed in [pre]commit, call rollback_event as well for already processed operation, not only the revert<event> callback stable
Mon, 08 Feb 2010 11:08:55 +0100 Sylvain Thénault backport stable branch and some vreg cleanups:
Mon, 08 Feb 2010 09:57:25 +0100 Sylvain Thénault errors on postcommit should never occurs, log it as critical stable
Fri, 05 Feb 2010 11:56:57 +0100 Sylvain Thénault fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Mon, 18 Jan 2010 19:21:30 +0100 Sylvain Thénault backport stable branch
Thu, 07 Jan 2010 16:52:32 +0100 Adrien Di Mascio update copyright: welcome 2010 stable
Mon, 07 Dec 2009 06:51:33 -0800 Sandrine Ribeau return relation property using rdef.get
Thu, 03 Dec 2009 17:17:43 +0100 Sylvain Thénault backport stable into default
Thu, 03 Dec 2009 11:39:31 +0100 Aurelien Campeas add postcommit_event on Operations stable
Wed, 07 Oct 2009 12:31:08 +0200 Sylvain Thénault backport stable branch
Fri, 02 Oct 2009 14:22:23 +0200 Sylvain Thénault [session cache] ensure we're not modifying cached rset/entities, they may be used elsewhere stable
Wed, 23 Sep 2009 09:34:10 +0200 Sylvain Thénault use .cw_rset instead of rset on appobject classes
Tue, 22 Sep 2009 19:33:47 +0200 Sylvain Thénault use 3.6 attributes
Thu, 17 Sep 2009 15:16:53 +0200 Sylvain Thénault backport 3.5
Wed, 16 Sep 2009 21:29:17 +0200 Adrien Di Mascio [gettext] provide GNU contexts to avoid translations ambiguities 3.5
Wed, 16 Sep 2009 14:24:31 +0200 Sylvain Thénault refactor so that rql rewriter may be used outside the server. Enhance it to be usable for RRQLExpression as well 3.5
Mon, 14 Sep 2009 11:25:56 +0200 Sylvain Thénault backport 3.5
Mon, 14 Sep 2009 11:23:31 +0200 Sylvain Thénault backport stable 3.5
Mon, 14 Sep 2009 11:08:57 +0200 Sylvain Thénault [repo] take care of inlined relation in session.[add|delete]_relation stable
Mon, 14 Sep 2009 10:15:11 +0200 Sylvain Thénault [repo] set entity.rset & co when needed stable
Thu, 10 Sep 2009 08:13:22 +0200 Sylvain Thénault backport 3.5
Thu, 10 Sep 2009 08:03:18 +0200 Sylvain Thénault merge 3.5
Thu, 10 Sep 2009 08:02:52 +0200 Sylvain Thénault [notification] should get actual session here stable
Tue, 08 Sep 2009 16:00:14 +0200 Sylvain Thénault backport stable 3.5
Tue, 08 Sep 2009 15:37:46 +0200 Sylvain Thénault enhance notification mecanism: recipients may return user entities, which will be used to create a fake session so one can check security during notification if necessary stable
Tue, 08 Sep 2009 15:30:14 +0200 Sylvain Thénault enhance notification mecanism: recipients may return user entities, which will be used to create a fake session so one can check security during notification if necessary 3.5
Wed, 02 Sep 2009 10:24:15 +0200 Sylvain Thénault backport 3.5
Wed, 02 Sep 2009 10:23:38 +0200 Sylvain Thénault backport stable 3.5
Tue, 01 Sep 2009 17:25:00 +0200 Sylvain Thénault don't fail when trying to update relation cache for relation deletion, this may occurs regularly stable
Fri, 21 Aug 2009 16:26:20 +0200 Sylvain Thénault somewhat painful backport of 3.5 branch, should mostly be ok
Fri, 21 Aug 2009 08:29:15 +0200 Sylvain Thénault [session] add delete_relation in the same way as add_relation, document them 3.5
Tue, 18 Aug 2009 00:22:10 +0200 Sylvain Thénault [session] temporary fix, need .req on internal manager
Mon, 17 Aug 2009 18:25:57 +0200 Sylvain Thénault backport stable branch
Mon, 17 Aug 2009 12:11:04 +0200 Sylvain Thénault [session] use isinstance instead of testing value of is_super_session since we hack it in the add_relation method stable
Fri, 14 Aug 2009 15:53:12 +0200 Sylvain Thénault [repo] more deprecation
Fri, 14 Aug 2009 11:13:18 +0200 Sylvain Thénault [hooks] deprecates hookhelper module
Thu, 13 Aug 2009 09:30:03 +0200 Sylvain Thénault rename and move cw.RequestSessionMixIn to cw.req.RequestSessionBase; move some appobjects methods where they actually belong to
Wed, 12 Aug 2009 18:40:52 +0200 Nicolas Chauvat R put version info in deprecation warnings
Wed, 12 Aug 2009 18:06:23 +0200 Sylvain Thénault merge
Wed, 12 Aug 2009 18:05:19 +0200 Sylvain Thénault Backed out changeset 3f6dfc312760
Tue, 11 Aug 2009 18:41:39 +0200 Nicolas Chauvat backport stable branch
Tue, 11 Aug 2009 18:13:33 +0200 Sylvain Thénault [session cache] always append to description, turn it into a list if necessary stable
Tue, 11 Aug 2009 17:27:27 +0200 Sylvain Thénault [entities] access persistent attributes through entity.cwdb
Tue, 11 Aug 2009 17:03:27 +0200 Sylvain Thénault [session pool] dont check closed session when calling set_pool from super_session
Tue, 04 Aug 2009 17:11:50 +0200 Sylvain Thénault [R] use req.entity_from_eid
Mon, 03 Aug 2009 10:50:57 +0200 Sylvain Thénault R [vreg] important refactoring of the vregistry, moving behaviour to end dictionnary (and so leaving room for more flexibility ; keep bw compat ; update api usage in cw
Sun, 02 Aug 2009 12:00:17 +0200 Sylvain Thénault enable server side entity caching, 25% speedup on codenaf insertion. ALL CW TESTS OK
Sat, 01 Aug 2009 16:18:14 +0200 Sylvain Thénault R [session] property for quick access to repo.schema
Sat, 01 Aug 2009 01:24:03 +0200 Sylvain Thénault oops, should have been in a earlier commit (give rollback_on_failure to doexec)
Sat, 01 Aug 2009 00:01:12 +0200 Sylvain Thénault merge
Fri, 31 Jul 2009 22:37:28 +0200 Nicolas Chauvat R [all] logilab.common 0.44 provides only deprecated
Fri, 31 Jul 2009 23:45:07 +0200 Sylvain Thénault [R repo session] add_relation method use in hooks
Fri, 31 Jul 2009 23:44:16 +0200 Sylvain Thénault [R hooks] optmize insertion by using direct repository methods when possible
Fri, 31 Jul 2009 14:25:30 +0200 Sylvain Thénault backport stable branch
Thu, 30 Jul 2009 12:01:17 +0200 Sylvain Thénault [repo session] ability to ask session to keep it's pool set even when only read queries are done, necessary at least during migration stable
Fri, 24 Jul 2009 10:36:57 +0200 Adrien Di Mascio [server] take a chance to grab base-url from all-in-one config if not specified explicitly
Wed, 08 Jul 2009 07:44:41 +0200 Sylvain Thénault typo, no error if thread isn't in running set stable
Tue, 07 Jul 2009 12:24:40 +0200 Sylvain Thénault give session to doexec so it's able to rollback the connection on unexpected error stable
Mon, 29 Jun 2009 21:15:07 +0200 Sylvain Thénault test fixes, all server tests ok, except unittest_migractions (due to inter-tests-side-effects...) stable
Mon, 29 Jun 2009 16:09:35 +0200 Sylvain Thénault doomed myself, merge stable
Mon, 29 Jun 2009 16:06:48 +0200 Sylvain Thénault * deprecate session.entity method stable
Sat, 27 Jun 2009 00:59:36 +0200 Sylvain Thénault mark session.entity method as obsolete stable
Thu, 11 Jun 2009 19:04:20 +0200 Sylvain Thénault simplify transaction data api, reorganize code stable
Mon, 08 Jun 2009 20:35:26 +0200 Sylvain Thénault fix [re]set_pool prototype stable
Fri, 05 Jun 2009 16:41:09 +0200 Sylvain Thénault oops stable
Fri, 05 Jun 2009 16:35:44 +0200 Sylvain Thénault fix potential race-condition stable
Thu, 28 May 2009 09:20:07 +0200 Adrien Di Mascio big bunch of copyright / docstring update
Wed, 20 May 2009 14:19:02 +0200 Sylvain Thénault two in one: #343320: Logging out while deleting a CWUser blocks the cw server / #342692: ensure transaction state when Ctrl-C or other stop signal is received stable
Mon, 04 May 2009 17:03:30 +0200 sylvain thenault delete-trailing-whitespaces, missing import tls-sprint
Tue, 07 Apr 2009 09:30:23 +0200 sylvain thenault backport default branch tls-sprint
Thu, 26 Mar 2009 18:21:22 +0100 sylvain thenault somewhat handle corrupted database when manually building a database
Mon, 23 Mar 2009 17:55:59 +0100 sylvain thenault pylint cleanup tls-sprint
Tue, 10 Mar 2009 11:35:52 +0100 sylvain thenault use datetime instead of mx.DateTime tls-sprint
Mon, 02 Mar 2009 21:03:54 +0100 sylvain thenault backport stable branch, take care a lot of conflicts occured, this may be the revision you're looking for... tls-sprint
Mon, 02 Mar 2009 20:44:14 +0100 sylvain thenault import updates tls-sprint
Thu, 26 Feb 2009 13:12:39 +0100 sylvain thenault update copyright
Tue, 24 Feb 2009 11:59:53 +0100 Aurelien Campeas fix imports : common.utils -> utils tls-sprint
Wed, 18 Feb 2009 00:46:10 +0100 ludal remove dead code
Tue, 17 Feb 2009 22:37:11 +0100 ludal simple optimization and readability fix
Wed, 05 Nov 2008 15:52:50 +0100 Adrien Di Mascio Showtime !
less more (0) tip