mirror of
https://github.com/itflow-org/itflow
synced 2026-09-02 04:45:15 +00:00
Changelog update
This commit is contained in:
@@ -12,7 +12,7 @@ This file documents all notable changes made to ITFlow.
|
||||
2. **Update the files from Maintenance > Update as normal.** The old page pulls the new files and reports success, then drops you into 26.09 running against the 26.08 database. Errors at that point are expected and stop as soon as step 3 completes.
|
||||
3. **Run the database update from the command line.** Run it as the user that owns the ITFlow files — the script tells you which user if you get it wrong:
|
||||
```bash
|
||||
sudo -u www-data php /path/to/itflow/scripts/update_cli.php --update_db
|
||||
sudo -u www-data php /var/www/itflow.example.com/scripts/update_cli.php
|
||||
```
|
||||
It applies every pending version from 2.6.8 to 2.7.8 in order and reports each one as it goes. If a step fails it stops there without advancing the recorded version, so you can fix the cause and run it again.
|
||||
4. **Check it took.** Maintenance > Update should show the database up to date and the Queue Update button available.
|
||||
@@ -22,7 +22,7 @@ From here on the command line is optional. Maintenance > Update hands the work t
|
||||
### Breaking Changes and Notes
|
||||
|
||||
- Updates are no longer applied by your browser. Maintenance > Update either hands the job to cron, which runs it in the background, or you run it from the shell. As a side effect ITFlow now updates cleanly on hardened hosts that disable PHP's shell functions, which it could not do before.
|
||||
- Database updates have been removed from the web interface entirely. Cron applies them as part of a queued update, or you run `php scripts/update_cli.php --update_db` yourself.
|
||||
- Database updates have been removed from the web interface entirely. Cron applies them as part of a queued update, or you run `php scripts/update_cli.php` yourself.
|
||||
- Running `php scripts/update_cli.php` with no arguments updates the files and then the database in one go, and the file update is forced — any local edits you have made to shipped files are discarded. Use `--update_db` if you only want the database half; it never touches your files.
|
||||
- If you have added your own CSS or JavaScript under `agent/custom/`, expect it to need updating. The interface has moved to a new major version of the framework it is built on and most class names have changed. Details are in Developer Updates below.
|
||||
- Deleting a payment now requires Full access to both Sales and Financial, up from Modify. Refunding requires the same. Deleting a payment removes money from the books, so it is treated as a delete rather than an edit — agents who could remove payments before may no longer be able to.
|
||||
|
||||
Reference in New Issue
Block a user