Commit Graph
101 Commits
Author SHA1 Message Date
Spine f8cda3d5c4 allow .avif images in bbcode 2024-12-20 09:39:20 +01:00
Spine fef2d5bf8f stricter phpstan ruleset and rector suggestions 2024-12-20 09:39:20 +01:00
Spine d04e7cd7d6 store the request context in the Base class 2024-12-20 09:39:19 +01:00
sheepish 2e7b2ac16f minor bbcode cleanup 2024-12-20 09:39:18 +01:00
Spine d8de7fb8e6 add lazy/eager image loading attributes 2024-12-20 09:39:18 +01:00
sheepish 62d7da7e27 make artists_group.Name a foreign key 2024-04-07 19:57:14 +02:00
sheepish 9c139f2bf6 bbcode svg-img support 2024-04-07 19:56:42 +02:00
Spine 6a7e10e96b apply phpcs PSR12.Files.FileHeader PSR12.Operators.OperatorSpacing... 2024-04-07 19:46:35 +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
sheepish 56cde2ef5a fix bbcode empty list entry at document end 2024-04-07 19:46:02 +02:00
Spine 66e4b3e7c0 upgrade to phpunit v10 2024-01-31 09:38:39 +01:00
Spine 267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
sheepish d8534a7998 some bbcode render fixes 2023-09-19 13:19:58 +02:00
Spine 0d76843327 strip out blocky DOM elements that screw up user custom titles 2023-09-19 13:15:43 +02:00
Spine 84ad4cee32 address some issues raised by latest phpstan version 2023-09-19 09:31:03 +02:00
Spine 84206773f4 add imageproxy cache bucket 2023-06-28 09:49:44 +02:00
Spine 937b8794c0 clean phpstan warnings in Text class, add the possibility allow local image caching 2023-06-28 09:49:04 +02:00
Spine 4074b87877 more phpstan strict checks and their consequences 2023-04-04 19:10:11 +02:00
Spine e3ba156a69 abstract away the global $DB 2023-03-08 18:29:06 +01:00
Spine df89658205 more tests for Text class 2023-03-08 18:29:06 +01:00
sheepish da78c55a14 fix bbcode tex rendering 2023-03-08 18:29:05 +01:00
Spine f639c36c25 torrentid links link to torrent 2023-02-03 11:13:55 +01:00
Spine 19a5ddaf5f remove usage of Torrents::* and Artists::* methods 2023-02-03 11:13:55 +01:00
Spine 6a2380f2a0 a torrent.php url in bbcode should resolve the torrentid if present 2023-02-03 11:13:54 +01:00
Spine e11233d3a3 ImageProxy constructed with a User 2023-02-03 11:13:53 +01:00
Spine 357808a2f1 be lazy in setting the user context for Text::to_html() 2023-02-03 11:13:53 +01:00
Spine 596c47e50f fix rendering of bbcode that begins with "[*] ..." 2023-02-03 11:13:52 +01:00
Spine a23d2792cb render deleted non-Music [pl] links correctly 2023-02-03 11:13:52 +01:00
Spine 70f9a739b9 better handling of bogus [*] markup 2023-02-03 11:13:52 +01:00
Spine 122509d4d6 unfuck artist bbcode 2023-02-03 11:13:52 +01:00
Spine 5d8b31dbb1 avoid crashing on bad markup 2023-02-03 11:13:52 +01:00
Spine 41474ebbbc deal with nonsense ids 2023-02-03 11:13:52 +01:00
Spine b0e0525c1f don't crash on bbcode garbage 2023-02-03 11:13:52 +01:00
Spine 531117464c remove warnings and refactor Text::resolve_url() 2023-02-03 11:13:51 +01:00
Spine 29bda2ff64 Move forum post functionality into ForumPost and Manager/ForumPost classes 2023-02-03 11:13:51 +01:00
Spine df1398596b don't raise a warning if the torrent id points to nothing 2023-02-03 11:13:51 +01:00
Spine 9580fcdf19 break out thread implementation into ForumThread class 2023-02-03 11:13:51 +01:00
Spine e8dd6df4b7 remove warning on empty list elements (e.g. [#][#]foo) 2023-02-03 11:13:51 +01:00
Spine dc9514bac8 replace strpos() with str_contains()/str_begins_with()/str_ends_with() 2023-02-03 11:13:50 +01:00
Spine 6b0984a35c revamp user profile and edit templates 2023-02-03 11:13:49 +01:00
Spine ce73223e90 the shenanigans to render forums.php?action=viewthread&postid=1 (no thread id) 2023-02-03 11:13:48 +01:00
Spine bc902fa18d trace problem in Text::to_html() 2023-02-03 11:13:48 +01:00
Spine 870e18785d Complete overhaul of the configuration architecture 2023-02-03 11:13:47 +01:00
Spine 9f3125c832 simplify the bootstrapping of a functional Gazelle context 2023-02-03 11:13:47 +01:00
Spine 64c9574e3c use thread and post url() methods 2023-02-03 11:13:47 +01:00
itismadness 4a0329cd24 Reset ToC Headlines per full_format 2023-02-03 11:13:46 +01:00
Spine 61eb0fa60f appify image proxy 2023-02-03 11:13:45 +01:00
Spine c0427796b8 add url() and link() methods to BaseObject 2023-02-03 11:13:44 +01:00
Spine 1af48fbeb6 first wave of $LoggedUser removal from classes/ 2023-02-03 11:13:44 +01:00