Commit graph

195 commits

Author SHA1 Message Date
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
Shish
5a64e8729b nits 2023-01-11 11:15:26 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
165eea11b1 all the strict_types 2023-01-10 21:21:26 +00:00
Shish
b23b234900 quieter logging, because logging got extra-verbose recently... 2022-12-31 15:50:36 +00:00
thoughever
f15407bc75 X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality

Global config define REVERSE_PROXY_X_HEADERS

Config host and port for varnish PURGE

config option to specify PURGE protocol

exception in curl purge now shows error code

ipv6 x-real-ip addresses are now validated properly

X-Forwarded-Proto enabled by define
2022-01-20 22:25:22 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
3f5930b4cb simplify and add tests for upload (and replace) path 2020-10-28 20:51:34 +00:00
Shish
e8561f6a04 test pages with args properly 2020-10-27 21:19:19 +00:00
Shish
69112fdee3 phpunit9 2020-10-24 18:55:07 +01:00
Shish
2197b15012 Add core/sanitize_php.php
A small number of PHP-sanity things (eg don't silently ignore errors) to
be included right at the very start of index.php and tests/bootstrap.php
2020-06-24 14:54:46 +01:00
Shish
06bd4589da option for admins to create new users 2020-05-19 19:33:51 +01:00
Shish
2cae6cd273 format 2020-04-25 21:36:28 +01:00
Shish
1d389f0156 make tests/router.php more like .htaccess 2020-04-02 22:31:57 +01:00
Shish
b60e8ac5b4 make modify_url work better 2020-03-27 23:35:07 +00:00
Shish
5ea7cc5b36 SCRIPT_NAME instead of PHP_SELF to find self for niceurl test 2020-03-27 19:03:46 +00:00
Shish
bc3de6a52a a bunch more testing and fixes for Pools 2020-03-27 14:41:24 +00:00
Shish
5f5b858175 allow images and thumbs to be cached when served in docker 2020-03-25 19:57:50 +00:00
Shish
ad9cca36b1 improvements to run inside docker 2020-03-22 15:23:23 +00:00
Shish
fea8f90f68 backwards-compatible registry 2020-03-19 03:40:29 +00:00
Shish
c528cd9a42 extensions in stand-alone mode 2020-03-19 00:47:47 +00:00
Shish
6fbdeb2b32 router working with niceurls 2020-03-18 20:27:52 +00:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
41a205d24a avoid having nice_urls as both system and admin setting 2020-02-09 16:36:22 +00:00
Shish
641fd5a16f remove CACHE_HTTP - client side page cache causes more problems than it solves 2020-02-09 16:25:17 +00:00
Shish
3c78b5685e remove runtime-coverage -- when we want coverage, we enable it at the PHP runtime level 2020-02-09 16:08:35 +00:00
Shish
ce8da04d3a dedupe BASE_URL / BASE_HREF 2020-02-01 22:26:08 +00:00