87 Commits

Author SHA1 Message Date
Spine
9c91be8e28 remove parentheses from (new Class())->method() 2025-08-07 16:03:10 +02:00
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
2dcefd7e2b more phpcs rules 2025-02-24 14:37:55 +01: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
33c20b9345 comment author is a User 2024-01-31 09:38:39 +01:00
Spine
5c42da97a3 PMs are sent by creating a conversation in an Inbox 2024-01-01 13:15:58 +01:00
sheepish
f0f1c817e4 fix + refactor warning creation 2024-01-01 13:14:00 +01:00
Spine
1a537d087a rename comment handlers 2023-11-20 21:09:15 +01:00
Spine
32b64ca5c1 phpstanify comments section 2023-11-20 19:56:50 +01:00
Spine
479c240002 refactor get comment body 2023-11-20 19:54:46 +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
ef83c77e66 phpstanify and phpunitify comments 2023-09-19 09:33:06 +02:00
Spine
df8ce7c79d drop obsolete columns in users_info 2023-06-28 09:52:07 +02:00
Spine
7ef78ec95c handle user warnings in a separate table 2023-06-28 09:51:23 +02:00
Spine
412d4388ef Twig filter to generate a local user avatar url 2023-06-28 09:47:31 +02:00
Spine
bf9ffdd4f3 make it easier to build urls with parameters 2023-04-04 19:10:32 +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
c48319b94a simplify comment page constructor use 2023-02-03 11:13:54 +01:00
Spine
a25eb5521d move display decision into template 2023-02-03 11:13:54 +01:00
Spine
81aaea6fbd Subscription => User\Subscription 2023-02-03 11:13:54 +01:00
Spine
3986ec9d82 url() is a BaseObject method 2023-02-03 11:13:53 +01:00
itismadness
c8ecfb4863 Fix PHPCS lint errors 2023-02-03 11:13:52 +01:00
Spine
b7c5ddaeec more tidying in the Util\Time class 2023-02-03 11:13:52 +01:00
Spine
6306e5faa1 remove obsolete utility functions 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
7554f5c66f split subscription code into Subscription and Manager\Subscription classes 2023-02-03 11:13:45 +01:00
Spine
8260fed2f2 remove check_perms() from sections/comments 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
38e5f2d610 move header and footer display into templates 2023-02-03 11:13:43 +01:00
Spine
ce82caae6b nuke enforce_login() and simplify script_start processing 2023-02-03 11:13:43 +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