55 Commits

Author SHA1 Message Date
Spine
bf69b2e1b7 streamline debug reporting 2025-10-01 09:34:01 +02:00
Spine
1f7eaae26f replace overloaded DEBUG_MODE with specific constants 2025-09-10 13:01:53 +02:00
Spine
9c91be8e28 remove parentheses from (new Class())->method() 2025-08-07 16:03:10 +02:00
Spine
5e386f75d1 remove deprecated phpcs rules and add some more 2025-07-28 17:00:18 +02:00
Spine
96236f2a65 migrate error_log to Postgres 2025-07-28 16:55:16 +02:00
Spine
31f5909642 refactor error messages and add response code 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
8ec8529c7e define an interface to allow the addition of collage entries 2024-12-20 09:39:21 +01:00
Spine
96caf2a968 move db query tracking from Debug to DB class 2024-12-20 09:39:19 +01:00
itismadness
7cdde0aaac Include errorList in error log digest 2024-12-20 09:39:19 +01:00
Spine
d04e7cd7d6 store the request context in the Base class 2024-12-20 09:39:19 +01:00
sheepish
1fe98bad27 fix handling exceptions during sql transaction 2024-12-20 09:39:19 +01:00
Spine
d6055cfe2e enforce PSR12.Classes.ClosingBrace and PSR12.ControlStructures.ControlStructureSpacing 2024-12-20 09:39:18 +01:00
Spine
b61ee988ce add phpmd and tidy up some unused variables 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
fa50e91a3c rename all the IRC config variables to something meaningful 2024-01-01 13:16:55 +01:00
Spine
267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
Spine
ba596c70e4 use 'static' as return type for fluid methods 2023-09-19 13:22:08 +02:00
Spine
15d6410d28 twigify top10 history 2023-06-28 19:59:16 +02:00
Spine
77ebf18b7c Handle unseeded and never-seeded uploads in a sane manner 2023-04-04 19:07:56 +02:00
Spine
532f923fe2 nuke Format:: class, move remaining functions to lib/util 2023-03-08 18:29:06 +01:00
Spine
f16cb8cd33 apply rector to app/ 2023-03-08 18:29:05 +01:00
Spine
3ae02f3602 gut local caching in PHP instance 2023-02-03 11:13:56 +01:00
Spine
e3e3e5ccca split up classes/autoenable into Manager\AutoEnable and User\AutoEnable 2023-02-03 11:13:53 +01:00
Spine
ea14a1b8c5 move classes/db_mysql.class.php class to Gazelle\DB\Mysql 2023-02-03 11:13:52 +01:00
sheepish
4ac6b19f17 remove Irc:sendRaw 2023-02-03 11:13:52 +01:00
Spine
08529d1961 avoid burning PK ids on updates 2023-02-03 11:13:51 +01:00
Spine
98b2c24055 handle SQL errors like everything else 2023-02-03 11:13:51 +01:00
Spine
824ecd9b71 add lost commit 2023-02-03 11:13:51 +01:00
Spine
e2134f92f1 fix: define() typos 2023-02-03 11:13:49 +01:00
Spine
2cbf82932c simplify webpage and scheduler initialization, nuke classes/script_start.php 2023-02-03 11:13:49 +01:00
Spine
bc902fa18d trace problem in Text::to_html() 2023-02-03 11:13:48 +01:00
Spine
cc0d035f34 analysis cases are ints now 2023-02-03 11:13:48 +01:00
Spine
8e8be8fdfd fold similar errors into one entry 2023-02-03 11:13:46 +01:00
Spine
5e63c66024 ensure PHP constants are always defined 2023-02-03 11:13:46 +01:00
Spine
3b8339373b Error logging is backed by the DB, not memcache 2023-02-03 11:13:46 +01:00
Spine
aed4d9fd24 catch Fatal Errors for analysis 2023-02-03 11:13:45 +01:00
Spine
4609d1dd0d use methods to replace direct access to internal Cache properties 2023-02-03 11:13:44 +01:00
Spine
4f5859a3e5 remove $LoggedUser from app Gazelle classes 2023-02-03 11:13:43 +01:00
Spine
d6c409c838 inspect queries directly from debug panel 2023-02-03 11:13:43 +01:00
Spine
cad5488e9e use 7.4 arrow functions 2023-02-03 11:13:43 +01:00
Spine
81996a91e6 remove user_forums_sql() in Manager\Subscription 2023-02-03 11:13:42 +01:00
Spine
5d93574f96 move CACHE class into Gazelle namespace 2023-02-03 11:13:39 +01:00
Spine
1a85bcf43c appify Tracker class 2023-02-03 11:13:39 +01:00
Spine
eb078fa088 remove G class (at the price of a few globals) 2023-02-03 11:13:39 +01:00
Spine
9e26f0aada fix use 2021-03-02 14:08:18 +01:00
Spine
2cbaaa8903 fuck namespaces 2021-03-02 09:45:49 +01:00
Spine
fde345da37 replace send_irc() by Irc::sendRaw() 2021-03-02 08:32:21 +00:00
Spine
70ea8d3c35 Record $_SERVER['REQUEST_URI'] in the debug profile. 2021-01-18 17:43:41 +00:00