Commit Graph
51 Commits
Author SHA1 Message Date
Spine 944e045feb mysql must not do any data escaping/mangling 2025-07-28 16:55:17 +02:00
Spine 31f5909642 refactor error messages and add response code 2025-07-28 16:55:16 +02:00
Spine 964a39ef6a legacy View class inherits from Base 2025-07-28 16:55:16 +02:00
Spine 36cda91529 declare strict types and Gazelle namespace 2025-05-23 14:41:16 +02:00
Spine 71fd328d5a replace HTML entities by UTF-8 codepoints (UTF-8 won) 2024-12-20 09:39:21 +01:00
Spine aa155e0d90 change all error(0) calls to descriptive messages 2024-12-20 09:39:21 +01:00
Spine 1ecf60170b enable Generic.WhiteSpace.ScopeIndent and PSR1.Methods.CamelCapsMethodName 2024-12-20 09:39:20 +01:00
sheepish 6c538e9edc phpstan add globals type hints to sections/ 2024-12-20 09:39:20 +01:00
sheepish 62d7da7e27 make artists_group.Name a foreign key 2024-04-07 19:57:14 +02:00
Spine 338a1feb54 apply phpcs PSR2.Methods.FunctionClosingBrace PSR12.Classes.ClassInstantiation 2024-04-07 19:46:30 +02:00
Spine 32b64ca5c1 phpstanify comments section 2023-11-20 19:56:50 +01:00
Spine 267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
Spine a630144931 phpstanify DB\Mysql 2023-10-15 17:48:06 +02:00
sheepish d8534a7998 some bbcode render fixes 2023-09-19 13:19:58 +02:00
sheepish be72aab5b6 fix some potential xss vectors 2023-09-19 13:15:43 +02:00
Spine 0cceae3f56 replace torrents.Time by torrents.created; phpstan cleansing 2023-09-19 13:15:43 +02:00
Spine 412d4388ef Twig filter to generate a local user avatar url 2023-06-28 09:47:31 +02:00
Spine e3ba156a69 abstract away the global $DB 2023-03-08 18:29:06 +01:00
Spine 819fca8655 first pass of phpstan level 4 in sections/ 2023-03-08 18:29:05 +01:00
Spine bafe2c76b9 apply rector rectifications to sections/* 2023-02-03 11:13:55 +01:00
Spine ad030451b1 merge comment display and reply widget 2023-02-03 11:13:55 +01:00
Spine 669a416496 use link methods for comment titles 2023-02-03 11:13:55 +01:00
Spine a25eb5521d move display decision into template 2023-02-03 11:13:54 +01:00
itismadness c8ecfb4863 Fix PHPCS lint errors 2023-02-03 11:13:52 +01:00
Spine de643e2e55 refactor bits of the comments page 2023-02-03 11:13:51 +01:00
Spine 8260fed2f2 remove check_perms() from sections/comments 2023-02-03 11:13:45 +01:00
itismadness ee8e2597a4 Fix getting edit history of non-forum comments 2023-02-03 11:13:42 +01:00
Spine 200b7a5908 use an options array for View::show_header 2023-02-03 11:13:41 +01:00
Spine a91999728e Paginator comments 2023-02-03 11:13:41 +01:00
Spine 95de520e33 Removal of global $LoggedUser array - phase II 2023-02-03 11:13:41 +01:00
Spine e99cec7092 missed one $Viewer 2023-02-03 11:13:41 +01:00
Spine 26fc0ed8d7 Removal of global $LoggedUser array - phase I 2023-02-03 11:13:41 +01:00
Spine ba75a17bc2 remove postid arg from paginators 2023-02-03 11:13:40 +01:00
Spine 0b157d9897 remove last Users::user_info() calls from sections/ 2023-02-03 11:13:40 +01:00
Spine 897f842e27 remove G:: from sections/ 2023-02-03 11:13:39 +01:00
Spine 306ecd8b95 fix global db being clobbered in comments 2021-03-14 18:44:47 +00:00
Spine 5786a19973 restore DB context for loop 2021-03-02 08:30:19 +00:00
Spine a2fc9c6012 Refactor user avatar display 2021-02-24 22:55:54 +00:00
Spine a908ffe677 nuke the Comments:: url methods 2021-02-12 17:43:07 +00:00
Spine c285d00bae fix in-place comment edit 2020-12-11 19:55:05 +01:00
itismadness 2decf41f1f fix page count being wrong when viewing comments for user 2020-11-04 19:43:33 +00:00
Spine e3b94a557e restore comment pagination 2020-09-08 11:47:44 +00:00
Spine 623bef0882 restore pagination on comments 2020-09-07 00:06:06 +02:00
Spine 2dc0707928 no edit on comments by others 2020-09-06 23:40:04 +02:00
Spine da4427ae5b de-dup results when a user owns more than one upload in a group 2020-09-04 18:27:02 +02:00
Spine f651e36975 Twiggy comments 2020-08-14 19:07:55 +00:00
kilogitty a4af98197d Replace all empty array() initializers with [] (#43) 2019-10-15 21:46:31 +00:00
kilogitty ecec8541e5 Replace all short tags with regular php tags (#35) 2019-10-13 18:12:49 +00:00
Spine d7e79c814f convert tabs to spaces, take 2 (#13) 2019-09-18 19:37:35 +00:00
itismadness 918569872a Fix language on links on several comments page always referring to 'you' instead of 2017-09-05 17:29:02 -04:00