30 Commits

Author SHA1 Message Date
Spine
13e41b2a9b replace id() method with id property in BaseUser derived classes 2025-07-28 16:55:16 +02:00
Spine
d5f3941e7a BaseObject knows how to remove itself from the database 2025-07-28 16:55:16 +02:00
Spine
feb53d80ea public readonly BaseObject.id 2025-05-23 14:41:16 +02:00
Spine
2dcefd7e2b more phpcs rules 2025-02-24 14:37:55 +01:00
Spine
7de8c0bbf5 fix: move users_info update into modify() 2024-04-07 19:39:21 +02:00
Spine
cf8ad21593 move users_info update into modify() 2024-04-07 19:38:23 +02:00
Spine
f772d17e25 update rector, protect the consts! 2024-01-31 09:38:38 +01:00
Spine
ba596c70e4 use 'static' as return type for fluid methods 2023-09-19 13:22:08 +02:00
Spine
1efbc2ea15 refactor tableName() as a class constant 2023-09-19 13:21:25 +02:00
Spine
2b35070697 move Discogs logic into a testable class 2023-09-19 13:15:43 +02:00
Spine
73ae95896e BaseObject::setField() signals intention more clearly than setUpdate() 2023-06-28 19:55:32 +02:00
Spine
dadd9f3630 unit tests for modifying an artist 2023-06-28 19:55:32 +02:00
Spine
26da300318 move donation logic from User to User\Donor 2023-06-28 09:47:10 +02:00
Spine
b108334c94 BaseObject::$info may be set to null 2023-05-01 19:01:29 +02:00
Spine
bf9ffdd4f3 make it easier to build urls with parameters 2023-04-04 19:10:32 +02:00
Spine
f16cb8cd33 apply rector to app/ 2023-03-08 18:29:05 +01:00
Spine
01265bbcb2 renormalize BaseObject::info() 2023-02-03 11:13:55 +01:00
Spine
fa68a7ddfd flush() returns itself 2023-02-03 11:13:55 +01:00
Spine
3986ec9d82 url() is a BaseObject method 2023-02-03 11:13:53 +01:00
Spine
b9727d0381 major conversion to 8.0 constructors, using readonly where obvious 2023-02-03 11:13:53 +01:00
Spine
130257aea5 move Manager/ReportV2 to Manager/Torrent/Report 2023-02-03 11:13:53 +01:00
Spine
2f3b41f9fe remove only use of BaseObject::setUpdateRaw() 2023-02-03 11:13:53 +01:00
Spine
895487fc49 steer around Mysql brane-damage 2023-02-03 11:13:49 +01:00
Spine
56d868441c use class instance variables of db, cache, twig 2023-02-03 11:13:46 +01:00
Spine
c0427796b8 add url() and link() methods to BaseObject 2023-02-03 11:13:44 +01:00
Spine
cad5488e9e use 7.4 arrow functions 2023-02-03 11:13:43 +01:00
Spine
2afda5c127 Split wiki functionality between Manager and BaseObject 2023-02-03 11:13:43 +01:00
Spine
c2da62155c appify create, modify, remove, warn comments 2020-12-27 19:00:14 +00:00
Spine
33b5708012 Handle user warnings and staff notes in the User object 2020-10-31 10:20:31 +00:00
Spine
6609bb67c5 refactor collages, phase II 2020-10-14 17:22:56 +00:00