User: arto Branch: HEAD Date: Thu, 12 Mar 2009 11:13:05 +0000 Added files: /modules/bitcache/adapters file.inc sql.inc Modified files: /modules/bitcache bitcache.admin.inc bitcache.inc bitcache.install bitcache.module bitcache.server.inc Log message: Changelog: - Implemented support for multiple storage adapters that provide backends for Bitcache repositories. - Factored out the file system storage adapter into adapters/file.inc. - Implemented a Drupal-specific SQL database storage adapter in adapters/sql.inc. - Added a storage adapter selection box to the repository creation screen. - Added a storage adapter listing to the module's settings screen. - Improved the usability of the repository creation screen. - Implemented repository-limited bitstream listing and management screens. - Prevented modification of the default repository or repositories explicitly owned by modules. - Refactored the storage of repository definitions and related API functions. - Defined a new database table, {bitcache_data}, to serve as the default Bitcache repository. - Added schema update #6002 for creating the new {bitcache_data} table. - Defined a new database table, {bitcache_repositories}, for holding repository definitions and configuration. - Added schema update #6003 for creating the new {bitcache_repositories} table. - Added schema update #6004 for migrating repository definitions from the {variable} table to {bitcache_repositories}. - Provided a new hook, hook_bitcache_algorithms(), for declaring fingerprinting, compression and encryption algorithms. - Provided a new hook, hook_bitcache_adapters(), for declaring storage adapters for Bitcache. - Added a new API function bitcache_get_adapters() for retrieving information on available storage adapters. - Added new API functions bitcache_get_path(), bitcache_get_size(), and bitcache_get_type(). - Added new API functions bitcache_get_schema(), bitcache_get_repository_tables() and bitcache_get_adapter_class(). - Renamed bitcache_get_total_count() to bitcache_get_repository_count(). - Renamed bitcache_get_total_size() to bitcache_get_repository_size(). - Removed bitcache_get_repository_path() and bitcache_get_repository_settings(). - Replaced bitcache_get_repository_proxy() with bitcache_get_repository(NULL). - Changed Bitcache_Repository from an interface to an abstract base class. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/adapters/... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/adapters/... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/bitcache.... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/bitcache.... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/bitcache.... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/bitcache.... http://cvs.drupal.org/diff.php?path=contributions/modules/bitcache/bitcache....