New features
Changes to timeout handling
The timeout no longer starts by default to enable more use-cases like a "delete file two days after the recipient downloaded the file" timeout (more info on that in the README
).
You can still get the old behavior by checking the checkbox "Start timeout immediately" when publishing a file in the admin interface.
Existing files that have not been downloaded yet will switch to the new default behavior. For those files, you can manually start the timeout by downloading the file once.
Subdir mode
Newly published files are now stored in a subdirectory for each published file inside the data/files
directory. This makes direct file URLs harder to guess and also ensures that the original filenames of the uploaded files can be kept without having to append a suffix to the filename.
You can disable this feature in the config if you prefer to keep all files in the top-level. The file URLs of existing files are unaffected in all cases.
Fixes & improvements
- If a relative "Expires" time (e.g.
+ 1 year
) is given when publishing a file, the relative time is now calculated from the "Created" time and not from the current time - The list of items in the admin interface is now always sorted alphabetically
- Fixed display of items with uppercase characters in the items list
- Form labels on the publish page are now properly linked to the form inputs
- Improved HTML semantics in the admin interface
- Code refactoring, improved error messages
- Improved and extended automated tests to cover a few more edge-cases
Other changes
- Upgraded Kirby to version 3.2.2