61 Commits

Author SHA1 Message Date
Spine
bcf8e93959 record mem/cpu stats in every request 2025-10-09 09:42:42 +02:00
Spine
bf69b2e1b7 streamline debug reporting 2025-10-01 09:34:01 +02:00
Spine
aa76bc8da8 ensure locked accounts are redirected 2025-09-17 22:07:58 +02:00
Spine
1f7eaae26f replace overloaded DEBUG_MODE with specific constants 2025-09-10 13:01:53 +02:00
sheepish
c5d7865fc6 use curl for ocelot requests 2025-08-27 16:44:44 +02:00
Spine
cac19c9dd4 migrate cookie management to SessionCookie class 2025-08-07 16:03:10 +02:00
Spine
40d2b4060c add artwork to error messges 2025-07-28 16:55:17 +02:00
Spine
3e9d9f3815 migrate IP ban facility to Pg and revamp UI 2025-07-28 16:55:16 +02:00
Spine
96236f2a65 migrate error_log to Postgres 2025-07-28 16:55:16 +02:00
Spine
b34f838f79 rename BaseRequestContext class to RequestContext 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
ed3ec08d08 store the viewer in the request context 2025-05-23 14:41:16 +02:00
sheepish
6c4bf39a1c fix site_disable_ip_history 2025-02-24 14:37:56 +01:00
Spine
e98d6175e4 nuke Users::format_username and Users class 2025-02-24 14:37:56 +01:00
Spine
2dcefd7e2b more phpcs rules 2025-02-24 14:37:55 +01:00
Spine
e1b95fda07 use js vendor libs 2025-02-24 14:37:54 +01:00
Spine
683228acc2 enable PSR1.Classes.ClassDeclaration and PSR1.Files.SideEffects 2024-12-20 09:39:21 +01:00
sheepish
99d3eeb2bb unlock web irc client for disabled users 2024-12-20 09:39:20 +01:00
Spine
fc4cf12664 create mischief for people using badly configured userscripts 2024-12-20 09:39:20 +01:00
Spine
6a627f9e3f further request context refactoring 2024-12-20 09:39:20 +01:00
Spine
96caf2a968 move db query tracking from Debug to DB class 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
fa24df3cd3 nuke page router, we can do better 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
2fdae1d070 refactor user ip address functionality 2024-01-01 13:23:44 +01:00
sheepish
689f4487a4 update cookie encryption 2023-11-20 19:53:58 +01:00
Spine
267f2e1735 remove old phpcs exclusions 2023-10-15 17:50:10 +02:00
Spine
a9e86a0b39 prepare codebase for phpunit v10 2023-10-15 17:47:36 +02:00
sheepish
30320c51ca remove VALID_PAGE 2023-09-19 13:21:42 +02:00
Spine
ef85426b6d add an url logger for DDoS analysis, phpstan tidying 2023-09-19 09:18:16 +02:00
Spine
e3ba156a69 abstract away the global $DB 2023-03-08 18:29:06 +01:00
Spine
2a6e720336 mask more IP address fields for staff 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
792a39cf55 add the option to toggle error_reporting() per user 2023-02-03 11:13:56 +01:00
Spine
6d37fcaf8f upgrade PHP to 8.2 2023-02-03 11:13:55 +01:00
Spine
6a3b46c05e allow toggling of cloaked password fields 2023-02-03 11:13:55 +01:00
Spine
357808a2f1 be lazy in setting the user context for Text::to_html() 2023-02-03 11:13:53 +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
Spine
6306e5faa1 remove obsolete utility functions 2023-02-03 11:13:52 +01:00
Spine
8bae1b20a6 twigify recovery form 2023-02-03 11:13:50 +01:00
Spine
fc2af016e2 Redo Docker environment with Percona 8.0 2023-02-03 11:13:50 +01:00
Spine
c20ce2826e remove unused methods from DB_MYSQL class 2023-02-03 11:13:49 +01:00
Spine
5ccc942bac browsers are beginning to remove the useragent from request headers 2023-02-03 11:13:49 +01:00
Spine
3338906cc0 remove global ob_start/ob_end_flush 2023-02-03 11:13:49 +01:00
Spine
9c573daf48 fix: use a define() instead of a variable 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
cd6906f46c scheduler got a brand new launcher 2023-02-03 11:13:47 +01:00