Commit Graph
43 Commits
Author SHA1 Message Date
Spine 7c0d9bebdf more tests for more coverage 2025-08-07 16:03:09 +02:00
Spine 2e9476bcdf upgrade to phpstan to v2.1.12 2025-07-28 16:55:17 +02:00
Spine 3e9b2bcb4f phpstan level 8 preparation 2025-07-28 16:55:16 +02:00
Spine f34afafebc record torrent flag add/remove in torrent log 2025-07-28 16:55:16 +02:00
Spine 2be870508f consistent findById() logic 2025-07-28 16:55:16 +02:00
Spine 6a90ea2c45 prepare for phpstan 2.0 2025-07-28 16:55:16 +02:00
Spine ed3ec08d08 store the viewer in the request context 2025-05-23 14:41:16 +02:00
Spine 49a8d567f0 logging facility is available from BaseContext 2025-02-24 14:37:56 +01:00
Spine 3b3470d734 migrate site log to postgres (phase I) 2025-02-24 14:37:56 +01:00
Spine 1a0a76393e return the proxied image in the torrent group API result 2025-02-24 14:37:55 +01:00
Spine 683228acc2 enable PSR1.Classes.ClassDeclaration and PSR1.Files.SideEffects 2024-12-20 09:39:21 +01:00
Spine 1c4d7d19c9 revamp tag management 2024-12-20 09:39:20 +01:00
Spine 5d2faf4554 fix phpunit autoload and remove require'd files 2024-12-20 09:39:20 +01:00
Spine 2c4e09d3d4 modify and remove TGroup artists through the ArtistRole class 2024-12-20 09:39:19 +01:00
Spine 32c8890980 add unit tests for tgroup voting 2024-08-02 13:27:51 +02:00
Spine 00137f74f2 fix: artist names on tgroup add request 2024-04-07 19:56:42 +02:00
Spine 338a1feb54 apply phpcs PSR2.Methods.FunctionClosingBrace PSR12.Classes.ClassInstantiation 2024-04-07 19:46:30 +02:00
Spine 4b0af108ab reformat phpcs Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma 2024-04-07 19:46:19 +02:00
Spine 75b66a20c2 pass user objects to Tag methods 2024-04-07 19:37:39 +02:00
Spine 3d5407a7f6 move secondary class logic to User/Privilege 2024-01-31 09:38:39 +01:00
Spine 231c3706c9 check tgroup ownership with a user object 2024-01-31 09:38:38 +01:00
Spine 5b4de30050 pass objects to Log methods 2024-01-01 13:16:25 +01:00
Spine 31ad7771bd refactor assigning a torrent to a new group 2023-11-20 21:09:16 +01:00
Spine d5a95c2bc6 encapsulate download logic in a testable class 2023-11-20 21:09:15 +01:00
Spine 8d8cf523a9 phpstan more things 2023-11-20 19:56:00 +01:00
Spine 267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
Spine e6013cf123 Display the list of revoked tokens; more User unit tests 2023-09-19 13:15:43 +02:00
Spine ef83c77e66 phpstanify and phpunitify comments 2023-09-19 09:33:06 +02:00
sheepishandSpine 7ab6876a8b move upload form to Gazelle\Upload and phpstanify 2023-09-19 09:30:37 +02:00
Spine 55ac3a307e appify torrent split 2023-09-19 09:28:40 +02:00
Spine 2c1496a036 refresh torrent group stats in a more bullet-proof manner 2023-06-28 19:57:57 +02:00
Spine d4057012de add unit test for torrent group merge 2023-06-28 19:57:51 +02:00
Spine d3cef1e410 look harder for images in latest uploads 2023-06-28 19:55:32 +02:00
Spine 73ae95896e BaseObject::setField() signals intention more clearly than setUpdate() 2023-06-28 19:55:32 +02:00
Spine 07f89d5d03 Nuke old Tags class and add unit tests 2023-06-28 19:55:32 +02:00
Spine 3a3749ac9e address phpstan issues in upload form 2023-06-28 19:55:32 +02:00
Spine e80181cdc6 BaseUser inherits from BaseObject 2023-05-01 17:04:51 +02:00
Spine 488cd03885 unit test group category change 2023-04-04 19:10:11 +02:00
Spine 4074b87877 more phpstan strict checks and their consequences 2023-04-04 19:10:11 +02:00
Spine 83aa91bd71 fix some easy phpstan level 7 issues 2023-04-04 19:00:57 +02:00
Spine e3ba156a69 abstract away the global $DB 2023-03-08 18:29:06 +01:00
Spine 6ab58ab20f create torrent groups with Manager\TGroup::create() 2023-02-03 11:13:56 +01:00
Spine f636f4dd16 move list of requests out to twig 2023-02-03 11:13:55 +01:00