Commit Graph

166 Commits

Author SHA1 Message Date
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
Shish fb4a07a3d6 name top level of trace after test class 2020-01-31 01:13:49 +00:00
Shish 831906681e fixes for mysql 2020-01-30 09:01:19 +00:00
Shish 4e57e04ddf fix a lot of tests 2020-01-29 20:22:50 +00:00
Shish 6d3ca01424 format 2020-01-29 00:49:26 +00:00
Shish e8a72b0291 clear in setUp 2020-01-29 00:37:31 +00:00
Shish 30bf856f98 test tracing 2020-01-28 23:57:43 +00:00
Shish 7472d6faf0 Add a secret 'static' media engine for fast unit testing 2020-01-28 22:23:03 +00:00
Shish 615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
Shish 9ea70b0055 separate VERSION for tests 2020-01-27 20:02:39 +00:00
Shish af48aa504b stop ENABLED_MODS 2020-01-27 20:00:23 +00:00
Shish 59c89ee135 Stop failing to have a separate SCORE_VERSION 2020-01-27 19:57:07 +00:00
Shish 15d1e4ef17 Remove MIN_PHP_VERSION - that's not a thing that end users can change 2020-01-27 19:54:51 +00:00
Shish 22c7cab0cd Merge AUTO_DB_UPGRADE into SPEED_HAX 2020-01-27 19:52:54 +00:00
Shish 3c5e6f0746 delete search-accel stuff - built-in queries are faster now 2020-01-27 19:49:50 +00:00
Shish 87d1e21679 merge COMPILE_ELS into SPEED_HAX 2020-01-27 19:48:20 +00:00
Shish 88afc12c13 testing DSN from environment 2020-01-27 19:40:14 +00:00
Shish 7e43e2e304 split www stuff to index.php and test things to tests/bootstrap.php 2020-01-27 19:28:58 +00:00
Shish b0237ddd97 more stuff to util.php 2020-01-27 19:05:43 +00:00
Shish b03eb861d4 AUTO_DB_UPGRADE define 2020-01-27 18:55:23 +00:00
Shish 903679dc53 more stuff into regular functions 2020-01-27 18:24:11 +00:00
Shish 9b50e98927 move some installer bits to util.php 2020-01-27 17:47:28 +00:00
Shish 5dab234630 create test users individually 2020-01-27 13:00:09 +00:00
Shish 3631084afd format 2020-01-26 16:38:26 +00:00
Shish 9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish 849d04bf7a more phpunit 2019-11-21 17:18:43 +00:00
Shish 1e4f08e9e9 updates for phpunit 8 2019-11-21 17:16:11 +00:00
Shish 659ef7dac9 update dependencies 2019-11-14 18:24:09 +00:00
Shish 14ca4f545d stub config so scrutinizer stops complaining about missing define()s 2019-10-01 13:28:38 +01:00
Shish 54067f02a4 fix merge 2019-09-29 15:44:59 +01:00