server/repository.py
2011-09-22 Sylvain Thénault [repo] ensure we don't restart a task while the repo is shutting down (closes #1942736) stable
2011-09-21 Sylvain Thénault [exceptions] stop catching any exception in various places (closes #1942716) stable
2011-09-15 Sylvain Thénault backport stable
2011-09-15 Florent Cayré refactor entity fetch_rql method to use a RQL syntax tree instead of RQL strings ; closes #1585650
2011-09-13 Sylvain Thénault backout 7780:a1d5365fefc1 stable
2011-09-13 Sylvain Thénault [cubification] moved CWPermission handling into a localperms cube. closes #1914011 stable
2011-08-01 Julien Cristau [repo] Stop setting hashmode on schema stable
2011-07-27 Sylvain Thénault [repo ms] commit/rollback session if it has been created in the method stable
2011-07-27 Sylvain Thénault [datafeed] for datafeed source, we don't want commit in extid2eid but explicitly handled by the source. Also, we should use 'safe' internal session stable
2011-07-27 Sylvain Thénault [session] safe internal sessions don't deactivate integrity hooks stable
2011-07-26 Sylvain Thénault [datafeed / fti] rather control a 'complete' parameter than setting empty attribute values stable
2011-07-07 Sylvain Thénault backport stable
2011-07-05 Sylvain Thénault [repository] catch Exception instead of everything stable
2011-06-29 Sylvain Thénault backport stable
2011-06-29 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
2011-06-27 Sylvain Thénault backport stable
2011-06-22 Sylvain Thénault [3.10] fix typo and error for pre 3.10 migration w/ postgres: we *must* call init_creating else the fti isn't correctly initialized, which may lead to silently rollbacked transaction stable
2011-06-21 Sylvain Thénault [ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
2011-06-15 Sylvain Thénault backport stable
2011-06-15 Sylvain Thénault [repo integrity] test and fix glob add relation where several entities are added at once for a relation of 1? cardinality stable
2011-06-14 Sylvain Thénault fix failures introduced by recent refactoring stable
2011-06-14 Sylvain Thénault [repository] refactor and optimize '?1' relation handling stable
2011-06-14 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
2011-06-14 Sylvain Thénault [repository] refactor/cleanup entity deletion methods stable
2011-05-19 Sylvain Thénault [multi-sources] support for moving an entity from an external source (closes #343818)
2011-05-19 Sylvain Thénault [repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
2011-05-11 Sylvain Thénault [repo cache] there are some relations we don't want to cache, they may cause memory leak stable
2011-05-04 Sylvain Thénault [repository quick start] should modify class attribute to get this actually working (used by a classmethod) stable
2011-04-20 Alexandre Fayolle fix implementation of repository.glob_add_relations (closes ##1625257)
2011-04-15 Alexandre Fayolle [server] improve the speed of setting relations between entities (closes #1625257)
2011-03-29 Alexandre Fayolle allow CW to act as a Pyro Server without registering the server to a Pyro Nameserver (closes #1528533) stable
2011-03-16 Alexandre Fayolle merged back pylint help changes to stable stable
2011-03-16 Alexandre Fayolle help pylint by explicitely defining some attributes oldstable
2011-03-10 Sylvain Thénault backport stable
2011-03-09 Sylvain Thénault [repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206) stable
2011-02-09 Sylvain Thénault [repository] #1460066: backport datafeed cube as cubicweb source
2011-02-09 Sylvain Thénault [repo, ms] fix pb introduced in 6941:9ed02daa7dbb resulting in missing relation deletes when an entity is deleted
2011-02-07 Sylvain Thénault [sources] refactor source creation and options handling
2011-02-07 Sylvain Thénault [repo, ms] optimise external source deletion by using source's eid instead of name
2011-02-01 Sylvain Thénault backport stable
2011-01-25 Alexandre Fayolle improve massive deletion performance stable
2011-01-19 Sylvain Thénault [repo] kill no more needed 'recreate' feature
2011-01-19 Sylvain Thénault [repository auth] cleanup email login by turning it into a proper repo-side authentication plugin
2011-01-13 Sylvain Thénault backport stable
2011-01-11 Sylvain Thénault [repository, pyro] ensure we're still properly registered into pyro name server in a looping task (closes #1336002) stable
2010-12-01 Sylvain Thénault [pyro source] store pyro source mapping file into the database
2010-12-01 Sylvain Thénault [repo source] rename attribute so it's much easier to grasp its role stable
2010-11-05 Sylvain Thénault [repository] don't crash when cascading delete a relation, this may let the database in an inconsistent state anyway, so simply log the error stable
2010-11-02 Sylvain Thénault [repo] don't attempt to read sources from database on quick start. Fix crash after restoring a pre 3.10 database
2010-10-25 Sylvain Thénault [repo] fix crash introduced in 6625:5c20a005bddc
2010-10-25 Sylvain Thénault [pyro source] when cleaning relations of an external entity being cleaned up, only delete local relationsd
2010-10-14 Sylvain Thénault pylint option update
2010-10-13 Sylvain Thénault [entity, repo] move prefill_entity_cache function back to repository due to usage of del_existing_rel_if_needed function which is also defined there
2010-10-12 Sylvain Thénault cleanup and 3.10 updates
2010-10-12 Sylvain Thénault [architecture] introduce adapter to ease transformation of errors before display to the end user. Use it for UniqueTogetherError first
2010-10-12 Sylvain Thénault [repo, entity] move entity cache initialization to a function, and call it before source.add_entity so it may be used in error handler or such
2010-10-08 Sylvain Thénault [schema / sources] store data sources as cubicweb entities
2010-10-08 Sylvain Thénault [hook/operation] nicer api to achieve same result as set_operation, as described in #1253630
2010-10-04 Aurelien Campeas [repo] add a find_users method for under-privileged accounts
2010-09-30 Sylvain Thénault [repo] properly mark object as saved once added to its source (code much probably gone during a merge...)
2010-09-23 Sylvain Thénault backport stable
2010-09-22 Sylvain Thénault [dbapi] get_option_value now has a foreid argument telling the option should be dereferenced to the entity's actual repository (necessary for apycot/local_cache handling) stable
2010-09-16 Sylvain Thénault backport stable into default
2010-09-16 Sylvain Thénault [repo] new method on repo+dbapi.Connection to get a value from repository's configuration stable
2010-09-16 Sylvain Thénault [repo] docstring cleanup stable
2010-09-13 Sylvain Thénault backport stable
2010-09-10 Alexandre Fayolle nicer error reporting for unique together constraints stable
2010-09-07 Sylvain Thénault cleanups stable
2010-09-07 Sylvain Thénault [integrity] fix case where we can get two entities related while the cardinality is single on the object of an inlined relation stable
2010-08-25 Sylvain Thénault [session] cleanup hook / operation / entity edition api
2010-08-25 Sylvain Thénault backport stable
2010-08-20 Sylvain Thénault cleanups stable
2010-08-20 Sylvain Thénault [repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources stable
2010-08-04 Sylvain Thénault backport stable
2010-08-04 Sylvain Thénault [pyro] instance id cleanup, ensure config['pyro-instance-id'] is a fully qualified pyro id on the server side stable
2010-07-26 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
2010-07-26 Sylvain Thénault [session] cleanup session-time / cleanup-session-time...
2010-07-07 Sylvain Thénault backport stable
2010-07-06 Sylvain Thénault [repository] fix so that when repository is shutting down, internal session in transaction are interrupted stable
2010-06-21 Sylvain Thénault backport stable
2010-06-21 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
2010-06-21 Sylvain Thénault backport stable
2010-06-21 Sylvain Thénault [repo] call entity.check() once before_update hooks has been called, to let them a chance to transform data stable cubicweb-version-3.8.5
2010-06-17 Sylvain Thénault [entity] can't do anymore dict(entity) since entity doesn't inherit from dict
2010-06-15 Sylvain Thénault backport stable
2010-06-15 Sylvain Thénault [repo] on repository shutdown, we've to close the new eid creation connection stable
2010-06-14 Aurelien Campeas [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 stable
2010-06-11 Sylvain Thénault backport stable
2010-06-11 Sylvain Thénault [json] fix json serialization for recent simplejson implementation, and test encoding of entities
2010-06-10 Aurelien Campeas [repo] fix typo stable
2010-06-03 Sylvain Thénault backport stable
2010-06-02 Alexandre Fayolle backported to stable some changes made on site for a customer stable
2010-06-02 Alexandre Fayolle log the user name on session opening for easier debugging stable
2010-06-02 Sylvain Thénault backport stable
2010-05-29 Alexandre Fayolle merge back to stable some changes made on site for a customer. stable
2010-05-29 Alexandre Fayolle ldap source logging stable
2010-05-29 Alexandre Fayolle /siteinfo page: display information about the names of the running threads stable
2010-05-26 Sylvain Thénault backport stable
2010-05-26 Sylvain Thénault [web] dont attempt to update last login time on ldap users, avoiding spurious tb in logs (closes #914464) stable
2010-05-20 Sylvain Thénault [entity] continue cleanup of Entity/AnyEntity namespace
2010-05-20 Sylvain Thénault [entity] introduce a new 'adapters' registry
2010-04-30 Sylvain Thénault [vreg repo] shouldn't call init_registration in on hook registry bootstrap, already done before
2010-04-29 Sylvain Thénault [webconfig] refactor/cleanup debug mode management on startup: simply use config.debugmode instead of debug argument everywhere...
2010-04-28 Sylvain Thénault backport oldstable changes stable
2010-04-28 Sylvain Thénault replace logilab-common by CubicWeb in disclaimer oldstable
2010-04-28 Sylvain Thénault backport default into stable: stable is now cw 3.8
2010-04-28 Sylvain Thénault proper licensing information (LGPL-2.1). Hope I get it right this time. stable
2010-04-23 Sylvain Thénault [repo] cleanup
2010-04-23 Sylvain Thénault backport stable
2010-04-22 Alexandre Fayolle [python2.6] don't add a name property on Thread stable
2010-04-15 Sylvain Thénault backport stable
2010-04-15 Sylvain Thénault [repo] fix more indentation pb in repo.glob_update_entity, causing duplicated inline relation hooks call stable
2010-04-09 Sylvain Thénault backport stable
2010-04-08 Adrien Di Mascio [repository] fix bad indentation in glob_update_entity, source.update_entity() should be called once per update stable
2010-04-07 Sylvain Thénault backport stable
2010-04-07 Sylvain Thénault #759035: Automate addition of eid cachekey in RQL analysis
2010-04-06 Alexandre Fayolle log RQL query in case of unexpected failure (priceless when porting to new database) stable
2010-03-31 Sylvain Thénault [repository] forbid usage of set_attributes() in before_add_entity stable
2010-03-31 Sylvain Thénault [optimization] improve massive write performance by optimizing hooks selection stable
2010-03-30 Sylvain Thénault [repo creation] removing existing entities of 'single' cardinality relatino should be considered as 'activeintegrity' hook. Also don't disable that category during repo creation to avoid pb such as two default workflows for one entity types stable
2010-03-30 Sylvain Thénault [repo] we want a hooks manager and hooks initialized event on quick start (we trigger events such as server_backup / server_restore for instance) stable
2010-03-30 Sylvain Thénault [reload] on registry reloading, we should change class of users of opened session stable
2010-03-30 Sylvain Thénault [repo] don't need rset description on those queries stable
2010-03-30 Sylvain Thénault [cleanup] style fixes, add nodes, 0.2 cents refactorings stable
2010-03-30 Sylvain Thénault [repo] on add entity, set cache as soon as possible + fill type/source cache stable
2010-03-30 Sylvain Thénault [repo] more efficient eid cache operations handling based on set_operation; refactor stable
2010-03-26 Sylvain Thénault [repo config] cleanup read_instance_schema / bootstrap_schema / creating mess stable
2010-03-26 Sylvain Thénault cleanup stable
2010-03-26 Sylvain Thénault [form] put qualified name on validation error, should fix #784299 stable
2010-03-24 Sylvain Thénault backport stable
2010-03-23 Sylvain Thénault fix bug with damned transmutation functionality, occuring when using an INSERT query which also add relation to the entity stable
2010-03-19 Sylvain Thénault [repo] call server_startup event in start_looping_task the repo is fully started (registered in pyro for instance)
2010-03-18 Sylvain Thénault backport stable
2010-03-18 Sylvain Thénault [repo] don't call server_shutdown hooks when creating/repairing instance to be consistence with server_startup hooks stable
2010-03-01 Katia Saurfelt server/web api for accessing to deleted_entites
2010-03-12 Sylvain Thénault backport stable
2010-03-11 Sylvain Thénault [repo stats] add cache size stable
2010-03-09 Sylvain Thénault fix hooks control method name + other litle cleanups
2010-03-09 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.
2010-03-08 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.
2010-03-04 Sylvain Thénault backport stable
2010-03-04 Sylvain Thénault [fti] refactor and fix full text indexation handling stable
2010-03-03 Sylvain Thénault assert we are not already shutting down
2010-03-02 Sylvain Thénault do not check for existant entity when relation of single card is added but integrity hooks are deactivated stable
2010-02-26 Sylvain Thénault kill dead/useless code as suggested by pylint stable
2010-02-26 Sylvain Thénault merge debug and info views stable
2010-02-26 arthur added stats for munin collecting #615844 - from 027bbff3659f stable
2010-02-24 Sylvain Thénault [test] skipping versions checking during test is enough, no need for monkey patch stable
2010-02-24 Sylvain Thénault [integrity] skip auto-delete for internal sessions (but *not* for super session, see 4642:921737d2e3a8) stable
2010-02-24 Sylvain Thénault [integrity] temporary fix auto-delete relation (see 4673:6f8b925a29f4 and 4642:921737d2e3a8): we want no read perms, though we want to check delete perms. Should be properly fixed in 3.7 once we've proper security control and [unsafe_]execute behaviour on the repository side stable
2010-02-23 Sylvain Thénault auto-delete relation with single cardinality using execute, not unsafe_execute, so permissions are correctly checked stable
2010-02-19 Sylvain Thénault fix optimisation with super session that may lead to integrity loss stable
2010-02-09 Sylvain Thénault backport stable
2010-02-09 Sylvain Thénault turn down some info logs into debug stable
2010-02-05 Sylvain Thénault fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
2010-01-18 Sylvain Thénault backport stable branch
2010-01-07 Adrien Di Mascio update copyright: welcome 2010 stable
2009-12-09 Sylvain Thénault typos, api update
2009-11-20 Sylvain Thénault backport stable branch (one more time painfully)
2009-11-19 Sylvain Thénault reldefsecurity branch : reldefsecurity
2009-10-21 Sylvain Thénault backport stable branch
2009-10-20 Sylvain Thénault 2.4 compat stable
2009-10-19 Sylvain Thénault 2.4 compat
2009-10-19 Sylvain Thénault backport stable
2009-10-15 Sylvain Thénault cleanup stable
2009-10-15 Sylvain Thénault follow yams 0.25 api changes to improve performance stable
2009-10-13 Sylvain Thénault refactor repo authentication to allow pluggable authentifier to login with something else than a password
2009-10-09 Sylvain Thénault backport stable branch
2009-10-07 Sylvain Thénault fix startup as a daemon stable
2009-10-07 Sylvain Thénault backport stable branch
2009-10-07 Sylvain Thénault set edited_attributes before call to pre_add_hook stable
2009-10-06 Sylvain Thénault add edited_attributes to entities from external sources stable
2009-10-01 Sylvain Thénault [pyro] merge pyro-id / pyro-instance-id options, put all pyro options in the same section of the configuration file stable
2009-09-23 Sylvain Thénault use __regid__
2009-09-23 Adrien Di Mascio [server] backout previous change: forcing HooksRegistry instanciation conflicts with later hooks registration later in tests
2009-09-23 Adrien Di Mascio [tests] force hook registry instanciation for test configs
2009-09-23 Adrien Di Mascio [bootstrap] metadata hooks need to be registered at bootstrap time for db creation
2009-09-23 Sylvain Thénault use .session.repo instead of repo on operation classes
2009-09-23 Sylvain Thénault use .cw_rset instead of rset on appobject classes
2009-09-17 Sylvain Thénault backport 3.5
2009-09-16 Sylvain Thénault refactor to allow explicit card integrity check from client code (eg email hooks for instance) 3.5
2009-09-16 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
2009-08-31 Sylvain Thénault backport 3.5 branch
2009-08-27 Sylvain Thénault [multi-sources] enhance relation'source detection to avoid inconsistency 3.5
2009-08-21 Sylvain Thénault somewhat painful backport of 3.5 branch, should mostly be ok
2009-08-21 Sylvain Thénault backport stable 3.5
2009-08-21 Sylvain Thénault test and fix migration introducing base classes (w/ regard to yams inheritance) stable
2009-08-21 Sylvain Thénault cleanup stable
2009-08-21 Sylvain Thénault make db-restore command work even with no/corrupted database stable
2009-08-20 Sylvain Thénault backport stable branch 3.5
2009-08-20 Sylvain Thénault fix edited_attributes handling when adding entity stable
2009-08-20 Sylvain Thénault start a new workflow engine 3.5
2009-08-17 Sylvain Thénault set edited_attributes before calling hooks for entities from external sources
2009-08-17 Sylvain Thénault fix set_schema/init_cubes order
2009-08-17 Sylvain Thénault backport stable branch
2009-08-17 Sylvain Thénault towards better edited attributes handling stable
2009-08-17 Sylvain Thénault [repo] misc cleanup stable
2009-08-16 Nicolas Chauvat backport stable branch
2009-08-14 Sylvain Thénault oops stable
2009-08-14 Sylvain Thénault [repo] typo stable
2009-08-14 Sylvain Thénault use ._cw instead of .cw_req
2009-08-14 Sylvain Thénault imports cleanup
2009-08-14 Sylvain Thénault [hooks] major refactoring:
2009-08-13 Sylvain Thénault deprecate appobject.vreg and rename appobject instance attributes using cw_ prefix
2009-08-12 Sylvain Thénault Backed out changeset 3f6dfc312760
2009-08-11 Sylvain Thénault [entities] access persistent attributes through entity.cwdb
2009-08-10 Sylvain Thénault [server caching] should set cache before call to after_add_entity hooks
2009-08-07 Sylvain Thénault delete relations one by one to avoid too complex rql analysis
2009-08-05 Sylvain Thénault [hooksmanager] hooks should be reseted after vreg reload
2009-08-05 Sylvain Thénault allow to specify arbitrary argument when recording a looping task func
2009-08-03 Sylvain Thénault [repo] explicitly specifies edited attributes to glob_update_entity
2009-08-03 Sylvain Thénault [pyro] use lgc.pyro_ext, simplify pyro related options
2009-08-03 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
2009-08-02 Sylvain Thénault enable server side entity caching, 25% speedup on codenaf insertion. ALL CW TESTS OK
2009-08-01 Sylvain Thénault R [schema hooks] big refactoring / reorganization for clearer code, a few fixes on the way
2009-08-01 Sylvain Thénault cleanup
2009-07-31 Sylvain Thénault [F repo debugging] log repo event on DBG_REPO debug level
2009-07-31 Sylvain Thénault [R repo, schema] use VIRTUAL_RTYPES const
2009-07-24 Sylvain Thénault major refactoring of database dump/restore:
2009-07-24 Sylvain Thénault application -> instance where it makes sense
2009-07-24 Sylvain Thénault new distinguish repairing/creating from regular start.
2009-07-06 Sylvain Thénault euser->cwuser stable
2009-07-06 Sylvain Thénault move login by email functionnality on the repository side to avoid buggy call to internal_session from the web interface side stable
2009-07-02 Sylvain Thénault new set_session_props method exposed by the repository, use it to be sure session language is in sync the request language stable
2009-06-29 Adrien Di Mascio [repository] do not rollback when freeing pool. This shouldn't be necessary and brings a not-so-small overhead when the page makes a lot of queries stable
2009-06-24 Sylvain Thénault call server_startup hook once pools have been initialized stable
2009-06-11 Sylvain Thénault update transaction data api stable
2009-05-28 Adrien Di Mascio big bunch of copyright / docstring update
2009-05-27 Sylvain Thénault cleanup stable
2009-05-26 Sylvain Thénault #343379: disturbing message on upgrade stable
2009-05-20 Aurelien Campeas shuting -> shutting stable
2009-05-20 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
2009-05-05 Florent add XXX before 2 calls to self.repo.internal_session() on the web interface side tls-sprint
2009-04-24 sylvain thenault delete-trailing-whitespaces tls-sprint
2009-04-17 sylvain thenault rename internal entity types to have CW prefix instead of E tls-sprint
2009-04-15 Florent register_user can now also set an email tls-sprint
2009-04-09 sylvain thenault cleanup tls-sprint
2009-04-09 sylvain thenault oops tls-sprint
2009-04-09 sylvain thenault introduce init_registration method and call it in repo initialization tls-sprint
2009-04-07 sylvain thenault backport default branch tls-sprint
less more (0) -240 tip