Commit Graph

45 Commits

Author SHA1 Message Date
Spine
3e9b2bcb4f phpstan level 8 preparation 2025-07-28 16:55:16 +02:00
Spine
2be870508f consistent findById() logic 2025-07-28 16:55:16 +02:00
Spine
1fbf231c6c use GazelleUnitTest\Helper everywhere 2025-07-28 16:55:16 +02:00
Spine
2b37c53e8a replace user->id() method with user->id property 2025-07-28 16:55:16 +02:00
Spine
b34f838f79 rename BaseRequestContext class to RequestContext 2025-07-28 16:55:16 +02:00
Spine
6b8f1ca5c1 use Forum object for access check 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
d82c8ee9ce flush and move thread objects 2025-07-28 16:55:15 +02:00
Spine
1057b358a6 refactor parameter passing for quote notifications 2025-05-23 14:41:16 +02:00
Spine
4c12405906 use forum thread objects instead of ids 2025-05-23 14:41:16 +02:00
Spine
e98d6175e4 nuke Users::format_username and Users class 2025-02-24 14:37:56 +01:00
Spine
683228acc2 enable PSR1.Classes.ClassDeclaration and PSR1.Files.SideEffects 2024-12-20 09:39:21 +01:00
Spine
498c2b65c1 twigify most of the user profile main column 2024-12-20 09:39:21 +01:00
Spine
5d2faf4554 fix phpunit autoload and remove require'd files 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
Spine
07400c0c74 simplify how forum/comment replies are built 2024-12-20 09:39:19 +01:00
Spine
727635cfa9 flush the thread catalogue entry for a modified forum post 2024-12-20 09:39:18 +01:00
Spine
7a8ff83216 non-staff can transition neither locked nor pinned threads 2024-12-20 09:39:18 +01:00
Spine
af80681396 method to retrieve body of first post in a thread 2024-08-02 13:26:00 +02:00
Spine
2ea1710eed Forum::forumList() returns objects, not ids 2024-08-02 13:11:39 +02:00
Spine
0c6b3323b2 jsonify ajax forum thread 2024-04-07 19:56:42 +02:00
Spine
b61ee988ce add phpmd and tidy up some unused variables 2024-04-07 19:56:42 +02:00
Spine
9b4791228b refactor ajax forum endpoint 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
7a4223d13f appify forum transitions 2024-04-07 19:38:07 +02:00
Spine
3d5407a7f6 move secondary class logic to User/Privilege 2024-01-31 09:38:39 +01:00
Spine
b4205ac1a1 pass User and ForumPost objects in ForumThread methods 2024-01-31 09:38:38 +01:00
Spine
7c5bef41f5 twigify forum poll display 2024-01-31 09:38:38 +01:00
Spine
af8a5b4936 pass user objects to Forum methods 2024-01-01 13:16:17 +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
34ab1dc92b forum posts are pinned, not sticky 2023-11-20 19:57:24 +01:00
Spine
267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
Spine
bb61a3d384 generalized featured album toolbox and rework freeleeching 2023-10-15 17:47:58 +02:00
Spine
27b0286305 pass objects to poll methods 2023-09-19 13:21:34 +02:00
Spine
a2adf2a36a a forum post pins itself 2023-09-19 13:20:47 +02:00
Spine
9846c6560a fix flaky time-dependent test 2023-06-28 19:58:58 +02:00
Spine
73ae95896e BaseObject::setField() signals intention more clearly than setUpdate() 2023-06-28 19:55:32 +02:00
Spine
df8ce7c79d drop obsolete columns in users_info 2023-06-28 09:52:07 +02:00
Spine
27dcf361cb use named parameters for forum create() method 2023-04-04 19:10:32 +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
f636f4dd16 move list of requests out to twig 2023-02-03 11:13:55 +01:00
Spine
fb8363f14c Initial forum/thread/poll/post unit tests 2023-02-03 11:13:55 +01:00