Migration from Repository 2
Improvements and differences to Repository Stack 2, and how to migrate an existing project.
Improvements and Differences to Repository Stack 2
No theme dependency. Repository Stack 2 depended on a page specific Blankstrap 5 (or Foundry v3) theme, because it was built with Bootstrap and jQuery. Repository Stack 3 needs neither: it works with every theme, and its styles are scoped so that they do not interfere with the rest of the page.
New optional features. Multi-select with bulk actions, download of a selection as zip, asking before replacing on copy / move, trash with undo, grid view, breadcrumb navigation, web-safe upload file names, protected mode and a color scheme setting (including dark mode). See New Features.
Security. Login throttling for the basic authentication, CSRF protection, safe delivery of files, stricter path checks and safe archive extraction.
Same behavior by default. All new features are switched off by default. Without enabling them, Repository 3 behaves like Repository 2.
PHP 8.2. Repository Stack 3 requires PHP 8.2 or higher.
New stack. Repository 3 is a separate stack (it is not installed as an update of Repository 2), and it publishes its files into a new site asset folder (repo3). Repository 2 and Repository 3 can be installed side by side in RapidWeaver, so you can migrate page by page.
Migration from Repository Stack 2
- Make sure your server runs PHP 8.2 or higher (see Prerequisites).
- Download and install Repository Stack 3.
- Open the page where Repository Stack 2 is placed on, and place Repository Stack 3 on the same page.
- Take over all settings from Repository Stack 2, especially the authentication settings (username, password hash, UserAccess or Sitelok settings), the installation directory (starting point and subfolder) and the permissions. Your files stay where they are; Repository 3 uses the same folder if you enter the same installation directory.
- Afterwards, remove Repository Stack 2 from the page.
- Optional: enable the new features you want to use.
- Republish all files.
Please be aware that it is not possible to use Repository Stack 2 and 3 on the same page.
Theme
Repository 3 is framework agnostic. It no longer needs jQuery, Bootstrap or any other framework, so you can place it on pages using Blankstrap 5, Foundry 3, Foundation or any other theme. A page specific Blankstrap 5 theme is no longer required.