Commit graph

222 commits

Author SHA1 Message Date
Shish
b3aa0fc381
Merge branch 'main' into speed-hax 2024-08-31 22:00:30 +01:00
Shish
399a56ac79 [dev] bump phpstan strictness
no more null surprises
2024-08-31 21:25:20 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
be842308d9 [core] have a system level SECRET variable, to be used as a salt separate from DATABASE_DSN 2024-06-21 00:18:43 +01:00
discomrade
350b44f250 [speed_hax] extract SPEED_HAX tweaks to extension 2024-06-14 13:52:49 +00:00
Shish
82b8991fa4 [ci] sqlite3 is installed by default, and show versions first 2024-02-23 14:10:29 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
7adb7348d7 [core] fixes and tests for get_base_href + get_query, see #1024 2024-02-07 22:47:13 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +00:00
Shish
e507105212 comments 2024-01-15 23:04:19 +00:00
Shish
321cb62400 dfgsdfs 2024-01-15 23:00:36 +00:00
Shish
60cfa5d6c2 mysql?? 2024-01-15 22:59:45 +00:00
Shish
641821f6f1 databases?? 2024-01-15 22:56:06 +00:00
Shish
5d120cd0c8 [tests] put tests inside transactions 2024-01-15 22:50:43 +00:00
Shish
7909e743fd argh 2024-01-15 21:30:37 +00:00
Shish
ad42cf80f2 shell?? 2024-01-15 21:26:55 +00:00
Shish
2a494504f3 [core] all image columns should be statically or dynamically defined - nothing undefined 2024-01-15 18:52:07 +00:00
Shish
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
Shish
9c742b56b8 [tests] phpstan bump 2024-01-15 14:22:00 +00:00
Shish
7b7ec9c83f [tests] phpstan version bump 2024-01-15 14:08:12 +00:00
Shish
802ff336a2 [core,tests] even more types 2024-01-15 14:08:11 +00:00
Shish
65ac7d8440 [tests] set phpstan error format to be more clickable 2024-01-15 12:18:12 +00:00
Shish
646f95f91a [core] bump microcrud version, add types 2024-01-15 12:14:41 +00:00
Shish
c303630ae2 [ci] also set INSTALL_DSN in db setup 2024-01-05 16:03:04 +00:00
Shish
c5395df243 [core] trust x-forwarded-for from trusted proxies, see #800 2024-01-04 14:50:36 +00:00
Shish
a3d7a05f71 move db setup to a script for easier re-use 2024-01-04 00:15:08 +00:00
Shish
fcdddd6f96 also unlink data/test-trace.json 2023-12-31 18:41:08 +00:00
Shish
6df0f4f307 put runtime-generated data into data/ 2023-12-31 17:42:04 +00:00
Shish
21a7912f9b [docker] router.php isn't used any more 2023-12-30 03:21:52 +00:00
Shish
282d13f632 Use nginx Unit rather than the php development server 2023-12-16 23:03:04 +00:00
Shish
71341be3a8 move testcase to core, so that require(ext/X/*.php) can work 2023-12-16 10:52:50 +00:00
Shish
b1c6894fbc cleaner extension loading 2023-12-16 01:31:46 +00:00
Shish
dba8acea02 enable static analysis for all themes 2023-12-16 01:25:56 +00:00
Shish
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
Shish
e114057dfe PHPUnit 10 (and other bumps) 2023-12-14 00:25:32 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
c5273c4b05 urldecode REQUEST_URI when doing custom routing, fixes #919 2023-06-27 21:39:10 +01:00
Shish
133f805302 more efficient docker build 2023-06-27 11:27:11 +01:00
Shish
ead3c1fde9 filter out PHP's noise, rather than silencing all output 2023-06-27 02:30:49 +01:00
Shish
cad3357e38 allow setting upload_max_filesize by docker environment variable, see #915 2023-06-27 01:55:32 +01:00
Shish
36951db563 use DataUploadEvent fields rather than required metadata 2023-02-24 22:42:03 +00:00
Shish
cfa7434d8d user creation 2023-02-24 21:12:58 +00:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
180f21e29e Use graphqlite-like API 2023-02-04 13:29:21 +00:00
Shish
fcfeed8413 fix l2 errors 2023-02-03 20:03:04 +00:00
Shish
8e79aa95a9 test with more errors 2023-02-03 16:52:08 +00:00
Shish
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
4e6481d311 try to crash less if GID is already in use, see #896 2023-01-30 21:57:32 +00:00