Downloads
Download tar.gz
33.6 KB
MD5: 06352d3b1f94af000d8d0633c65d1b96
SHA-1: 11463d6714579db51c64710d272f2ffa0b6b9c5b
SHA-256: 2d0f0e4c38bce51bb8176c1119c50c5e0f2857013736da9e6e16214f173a6ecb
Download zip
40.47 KB
MD5: 0769b81001a33221897e57eb5c3d4805
SHA-1: b3f7a8803b339d53556875f549e271bfdea19a43
SHA-256: 83b06e8bcfb8e6d8f9a48f2cae0603d9e7e107292125217b3c1287b1ce32226d
Release notes
A second beta release for Drupal 6.x, and a highly recommended upgrade for users of all previous releases.
Changes since 6.x-1.0-beta1 (executive summary):
- There are important database changes. You must run
update.phpafter upgrading to this release. In addition, you should also re-save the module's configuration (atadmin/settings/bitcache). - Alternate Bitcache repository backends (known as storage adapters) are now available, with MySQL, PostgreSQL, SQLite and GDBM databases supported in this release and Amazon S3 support in the works.
- The default repository created when Bitcache is first installed is now database-backed instead of file-system-backed. This should alleviate support overhead due to file system issues. For users upgrading from previous releases, the former file-system-backed default repository becomes editable and may be deleted in case it is not needed.
- Developers of dependent projects, such as File Framework, should take note that there have been many API changes (detailed in the CVS changelog). In many cases you can simplify your code, but in some cases your previous code may break if you had relied on the previously-valid assumption that repositories were file-system-backed.
- Numerous minor, and some major, bugs have been fixed, and usability and documentation improved overall.
- You can now set the order in which bitstream lookup proceeds through your configured repositories, as the rows on the repository management screen are now draggable in the same way as on many other Drupal administration screens.
- You can now manage bitstreams by repository, by clicking on the repository's title on the repository management screen.
- You can now prevent (overall, and based on user role) access to the bitstream index while still permitting access to individual bitstreams. This is particularly useful for large-scale Bitcache installations (containing hundreds of thousands of objects or more) where the index was becoming a performance problem.
Changes since 6.x-1.0-beta1 (full CVS changelog):
- Enabled the unit tests to pass by doing away with the SimpleTest 2.x sandboxing.
- Added the new API method
Bitcache_Stream->data()and the new API functionbitcache_id(). - Added Miglius Alaburda to
README.txt; updated sponsor information. - #384000: Triggers do not fire actions by miglius: Implemented triggers for bitstream creation and deletion.
- Added a configurable action for synchronizing with another Bitcache server.
- Implemented fingerprint algorithm/encoding and bitstream compression/encryption options for repositories (albeit they are presently disabled until the corresponding backend updates are completed).
- 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(), andbitcache_get_type(). - Added new API functions
bitcache_get_schema(),bitcache_get_repository_tables()andbitcache_get_adapter_class(). - Renamed
bitcache_get_total_count()tobitcache_get_repository_count(). - Renamed
bitcache_get_total_size()tobitcache_get_repository_size(). - Removed
bitcache_get_repository_path()andbitcache_get_repository_settings(). - Replaced
bitcache_get_repository_proxy()withbitcache_get_repository(NULL). - Changed
Bitcache_Repositoryfrom an interface to an abstract base class. - Made the SQL backend the default when creating a new repository.
- Implemented a PHP Data Objects (PDO) database storage adapter in
adapters/pdo.inc. - Implemented a GDBM database storage adapter in
adapters/dba.inc. - Added a parameter to
bitcache_get_path()that can be used to guarantee a local file path will be returned. - Improved
bitcache_tmpname()to automatically register created temporary files in Drupal's{files}table. - Limited storage adapter selection to available adapters only; added a new API function
bitcache_has_adapter(). - Fixed a PHP notice due to an undefined property when editing PDO repositories.
- Limit bitstream index screen to 100 items for the time being.
- Implemented draggable repository reordering on the repository administration screen.
- Use the repository's description as the repository link's tooltip.
- Fixed bitstream downloads with storage adapters that don't provide a stream resource for use with
fpassthru(). - #400106: ACL permission interactions with Bitcache: Improved access control granularity, allowing access to the bitstream index to be disabled.
- #400106: ACL permission interactions with Bitcache: Fixed permissions for the Bitcache HTTP API endpoint.
- Added a warning about Global Redirect deslash incompatibility to
INSTALL.txt.