This release fixes a number of issues identified in the v1.4 release. This is the first maintenance release for v1.4 and we recommend you install the update asap.
IMPORTANT: This update will cause you to be logged out after updating (this is because the session files are now being stored in a new location). Please ensure Bugify has “write” access to all its own files.
- Fixing issue with the rotate logs job spamming the queue if the job couldn’t finish.
- Fixed cache issue with “users” view helper.
- Changing location Bugify uses to store sessions and update files (this is a significant change).
- Fixing issue with Markdown not formatting blockquotes correctly.
- Fixed issue with API /auth method.
- Fixed check for ZipArchive support (used for unzipping updates)
- Fixed issue with related issues for users without access to those issues.
- Increased git/hg revision length to 12 chars on display (stores whole hash in db)
- Added new /tidy URL to perform post-update tasks and ensure the db is up-to-date
- Added check for magic quotes (should be disabled).
- Added support for auto-saving draft issues.
Session files and usage of /tmp
Previously, Bugify was storing session files in /tmp by default (it was possible to change in the config file). Bugify also used /tmp when updating (it would download the update zip file to /tmp, unzip it in /tmp and copy the files from there).
Some web hosts restrict what can be done in /tmp, and this was causing issues for some Bugify customers. Some customers experienced frequent log outs (due to the session files being removed from /tmp by a separate process), and others couldn’t use the auto-update system because their host restricts the number of files a user can store in /tmp – and unzipping the update went over the limit.
For these reasons, we are no longer using /tmp in Bugify. Instead, we Bugify has its own “temp” folder within its own files. Bugify will now (for future updates after this one) download the update zip to ./application/temp and unzip it there etc. Sessions are now stored by default in ./application/temp/sessions.
Due to the session folder change, you will probably be logged out after updating to this version (because the session file was in /tmp and now Bugify expects it to be in ./application/temp/sessions). So you will need to log back in.
Because of this change, it’s important that Bugify has write access to its own files. It needs to be able to create the ./application/temp and ./application/temp/sessions folders (or you will need to manually create them). This update will still be using /tmp, but for updates following this one, the new ./application/temp folder will be used.
We also snuck in a new feature for automatically saving issues as you write them. If you walk away, forget, lose your session etc, the next time you go to write an issue you’ll be offered to load the previously saved draft (or discard it). Generally you wouldn’t notice this feature – it’ll only become apparent when you need it… when you were in the middle of writing a long issue, got distracted, then realised you must’ve lost the entire thing.
Drafts are saved every 5 seconds, and only if either the subject or description has some content.