Commit Graph

313 Commits

Author SHA1 Message Date
DariusIII f1912e5e74 Fix views inconsistencies 2026-08-09 14:37:39 +02:00
DariusIII 17309315b8 Fix restore and verify buttons in admin user list 2026-08-08 12:36:56 +02:00
DariusIII e1d1c3cee7 Use manticore for mediainfo data 2026-08-07 16:01:41 +02:00
DariusIII 0800786471 Fix issue preventing schema import. Closes #1866 2026-08-07 11:03:37 +02:00
DariusIII dbbe5e6f56 Update processrunner. Closes #1867 2026-08-07 08:47:47 +02:00
DariusIII cbfe7f1c26 Fix nfo_import missing log 2026-08-04 15:34:07 +02:00
DariusIII 94b14596d7 Fix issue with sizes 2026-08-04 15:23:41 +02:00
DariusIII 728aafde93 Trim group names on import 2026-08-04 13:04:19 +02:00
DariusIII 1b9455bdaa Add horizon nonce 2026-08-04 12:49:21 +02:00
DariusIII fbf036598a Update to latest tmux pane handling 2026-08-04 11:51:35 +02:00
DariusIII 14eb5c85c0 Update main monitor pane 2026-08-04 10:47:02 +02:00
DariusIII 0bad27d5a1 Fix issues in namefixing 2026-08-04 09:52:25 +02:00
DariusIII a10aae7f05 Update namefixing 2026-08-04 08:49:07 +02:00
DariusIII d384f3d60d Update additional postprocessing 2026-08-04 01:00:24 +02:00
DariusIII de9007c9a5 Respect imported nzb category 2026-08-03 23:49:54 +02:00
DariusIII f0a7e1a017 Update cbp handling 2026-08-03 16:48:25 +02:00
DariusIII acf387e56e Fix query 2026-08-03 00:19:35 +02:00
DariusIII e9e23c5027 Update API category display code 2026-08-02 23:58:52 +02:00
DariusIII ed1f4e8fa3 CS fix 2026-08-02 22:50:26 +02:00
DariusIII afb06af625 Update manticore search usage 2026-08-02 22:49:50 +02:00
DariusIII 7906148f7f Update dashboard widgets 2026-07-20 13:07:56 +02:00
DariusIII ba7cef9b3c Fix image links 2026-07-16 16:45:14 +02:00
DariusIII b27fb8d86b Make webp default format for images 2026-07-16 15:57:20 +02:00
DariusIII 091b4b1265 Fix manticore indexes check 2026-07-15 15:31:00 +02:00
DariusIII 6009a4edb8 Update remove crap 2026-07-15 15:01:18 +02:00
DariusIII 9643d4dd0b Update manticore indexes 2026-07-15 14:22:31 +02:00
DariusIII a37f3bd3c8 Use first party image support 2026-07-14 22:41:51 +02:00
DariusIII de005d3e7e Update nzb and nfo import 2026-07-14 20:18:04 +02:00
DariusIII 567a614a02 Update APIv2 endpoints 2026-07-14 16:49:15 +02:00
DariusIII efd52fb1d8 Improve search handling in manticore and elasticsearch 2026-07-14 16:10:02 +02:00
DariusIII 064154ad12 Try to gain API speed 2026-07-14 13:26:18 +02:00
DariusIII 4a54077480 Fix issue with wrong date() 2026-07-14 12:53:54 +02:00
DariusIII 92b1c39613 Update API and APIv2 handling 2026-07-14 12:32:04 +02:00
DariusIII 5ee33502b1 Update nzb creation 2026-07-13 16:51:10 +02:00
DariusIII 0eae1a7ca9 Harden 2FA 2026-07-13 13:07:17 +02:00
DariusIII b5b6841eca Update admin area views and controllers 2026-07-13 11:36:42 +02:00
DariusIII 645eba20e2 Update additional PP 2026-07-12 16:30:39 +02:00
DariusIII 1e6c6f5193 Update APIv2 controller 2026-07-12 12:03:34 +02:00
DariusIII 01ee665a24 Update APIv2 speed 2026-07-12 11:06:31 +02:00
DariusIII e11318eb2c Update XML_Response for API 2026-07-12 10:20:19 +02:00
DariusIII 138c0bfc30 Fix remember me behavior 2026-07-12 09:46:19 +02:00
DariusIII 5a54fbe457 Fix issue in XMLResponse class 2026-07-11 15:22:49 +02:00
DariusIII a3a6fd8e4a Add missing files 2026-07-11 12:05:47 +02:00
DariusIII 60c85e2e63 Add tests 2026-07-11 10:04:38 +02:00
DariusIII ccb79f13b9 Update API handling 2026-07-11 10:00:01 +02:00
DariusIII f6c18cdeac Update views and related controllers 2026-07-10 21:31:19 +02:00
DariusIII 81d60db201 Add test 2026-07-10 16:31:59 +02:00
DariusIII 06379f25cb Revert "Fix getCategoryExclusionById() excluding every category for role-only users" 2026-07-09 08:14:18 +02:00
DariusIII 8a63ee6700 Merge pull request #1860 from joemeyer76/fix/category-exclusion-role-permissions
Fix getCategoryExclusionById() excluding every category for role-only users
2026-07-04 09:29:36 +02:00
joemeyer76 b0fd5491a0 Fix NNTPService::getXOVER() TypeError on NNTP error responses
getXOVER() declared its return type as `array|string|NNTPService`, which
does not include DariusIII\NetNntp\Error. The underlying NNTP client
legitimately returns an Error object whenever the server responds with
an error to an XOVER command (e.g. a group with no matching articles,
or a range past the group's high-water mark) -- both call sites in
BinariesService already guard for exactly this case via
NNTPService::isError($result). Because the declared return type
excluded Error, PHP raised a TypeError before either caller ever got a
chance to run that check:

    App\Services\NNTP\NNTPService::getXOVER(): Return value must be of
    type App\Services\NNTP\NNTPService|array|string, DariusIII\NetNntp\Error
    returned

In practice this crashed the first XOVER call that hit any error
response, which made historical backfill (`update:backfill` /
`multiprocessing:backfill`) unusable beyond the very first successful
chunk for a group -- backfill by its nature keeps requesting older and
older ranges until it walks off the group's actual history, at which
point the server error becomes inevitable.

Every sibling method on this class that the NNTP client can answer with
an Error object (doConnect, doQuit, getOverview, getGroups, getMessages,
getMessagesByMessageID) already declares `mixed` for this same reason.
This change brings getXOVER() in line with that existing convention
rather than introducing a new pattern.

Added a regression test that uses reflection to assert getXOVER()'s
return type permits DariusIII\NetNntp\Error (or is unrestricted via
`mixed`), plus a sanity check that NNTPService::isError() correctly
identifies Error instances. Verified the test fails against the old
`array|string|NNTPService` signature and passes against `mixed`.

Manually verified against a live NNTP server: `update:backfill` on a
real group ran 15+ chunks past the point where it previously crashed on
the very first error response, with no exceptions.
2026-07-03 20:21:36 -04:00