Repository navigation
Core
- #3579 Editing a torrent (edit plugin) or updating its trackers (retrackers plugin) now checks the download directory before the torrent is erased for the reload. A directory the reload would refuse no longer leaves the torrent removed from the list; edit reports the directory error instead.
- #3581 rCache logs a lock or temporary file it cannot open (a directory in the way, a read-only settings directory) to the ruTorrent log instead of raising a PHP warning. Return values are unchanged.
Interface
- #3587 Adding torrents and the log_history plugin work again when the page is opened with credentials in its address (
http://user:pass@host/). fetch() rejected those addresses before sending anything; requests now go out without the credentials in the URL, and the browser still sends the ones it has for the page. Fixes #3586.
Plugins
- #3583 telegram: a queued record that cannot be removed (for example a directory named
0001.event) no longer makes the queue drain loop and log without end, and a sent record that cannot be removed is no longer sent again on every pass. Such entries are logged once and skipped. - #3585 create: with torrenttools as the creator, every torrent was made hybrid (v1 and v2) even with the hybrid box unticked. A hybrid torrent is now made only when the box is ticked.
- #3585 autotools, datadir: a hard link that falls back to a copy (as it does across filesystems) no longer logs a warning for each file.
- #3585 httprpc: a cache directory that cannot be made or written to no longer logs a warning on every list request; listing is done in full, as before.
Development
- #3580 Tests for the telegram drain on an unreadable record and for a restored mobile label filter before the label panel is filled.
- #3582 Tests call
setAccessible()only before PHP 8.1, removing the PHP 8.5 deprecations from the test output; two test stand-ins no longer raise notices. - #3584 The PHP test runner fails a test file on any PHP warning, notice, deprecation or error, in the test and in the PHP processes it starts; tests that provoke one declare it. CI runs PHP without Xdebug and with the JIT off to avoid startup warnings.
- #3585 Test drivers no longer start child PHP processes with
error_reporting=0, so diagnostics in the code they run fail the test file.
What's Changed
- edit, retrackers: check the reload directory before erasing by @IvanShift in #3579
- Assorted tests by @xirvik in #3580
- rCache: log a lock or temporary file that cannot be opened by @xirvik in #3581
- Tests no setaccessible by @xirvik in #3582
- telegram: skip queued records that cannot be removed by @xirvik in #3583
- Tests php diagnostics by @xirvik in #3584
- Tests children report diagnostics by @xirvik in #3585
- Send fetch() requests without the credentials in the page address by @xirvik in #3587
- Bump version to 5.3.25 by @xirvik in #3588
Full Changelog: v5.3.24...v5.3.25