Schema modifications

Description

The database schema has been modified and a CWSearch entity has been added. When a search is processed, a CWSearch entity is created. This latter is responsible to store filepath computed by the adapter from the entities in rset.

rql_download: Schema

schema.CWSearch([name]) An entity used to save a search which may contains resources on the server file system.

rql_download: Associated hooks

hooks.CWSearchAdd(req, event, **kwargs) CubicWeb hook that is called before adding the new CWSearch entity.
hooks.CWSearchExpirationDateHook(req, event, ...) On startup, register a task to add an expiration date to each CWSearch.
hooks.CWSearchDelete(req, event, **kwargs) On startup, register a task to delete old CWSearch entities.