Reminder: COPS 4.x releases require PHP 8.4+
For more information about client-side virtual shelves, see resources/shelves/README.md. Server-side shelves intend to replicate most of the features on the server-side per session/user/shared, so that you don't need to share or export/import local shelves between devices. They should also work for devices with limited or no Javascript support.
Note: feedback and contributions are welcome in the form of issues and/or pull requests :-)
Change log
4.6.1 - 20261026 Add virtual shelves + fix issues
- Changes in config/default.php file:
- new $config['cops_use_client_shelves'] to use client-side shelves
- new $config['cops_use_server_shelves'] to use server-side shelves (WIP)
- new $config['cops_twig_cache_directory'] to cache compiled Twig templates
- Experiment with server-side virtual shelves in 'twigged' template (WIP)
- Add option to cache compiled Twig templates for server-side rendering
- Use sqlite function to filter queries by book idlist for shelves
- Add random books option to bootstrap5 menu - see PR #184 from @dunxd
- Remove 'bootstrap' template in this release - see issue #181 from @mikespub
- Clean up provide_kepub checks and Ignore_Title.kepub.epub in URLs - see issue #182 from @dunxd
- Try client-side virtual shelves (favorites) in supported templates
Full Changelog: 4.5.4...4.6.1