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
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
Shish
e6a402cd4e
Merge branch 'custom_ratings' into develop
2019-09-29 14:41:14 +01:00
matthew
cf8ed3b134
Added UserLoginEvent
2019-09-29 14:21:23 +01:00
Matthew Barbour
761834b6fa
Updated tests to generate user config
2019-09-29 14:20:40 +01:00
Matthew Barbour
3b6ad05b6d
Updated test extension test
2019-08-07 16:36:39 -05:00
matthew
aa5a04fbd3
Further adjusting tests for user config
...
Renamed Rating to ImageRating to prevent test system from trying to make an extension of it
2019-08-07 15:49:59 -05:00
Matthew Barbour
3560a19f79
Updated tests to generate user config
2019-08-07 15:49:58 -05:00
Matthew Barbour
a82fb56063
Added force flag to image deletion event to override trash extension
2019-07-05 18:31:31 +01:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
0aec16aa5b
specify DB in docker env
2019-02-02 12:06:30 +00:00
Shish
f772b30301
fix some tests
2018-11-07 15:12:09 +00:00
Shish
b2f10ea5ab
split up files in core/ for saner management
2018-11-05 22:30:18 +00:00
Shish
cdfc97d19b
begin tests in core
2018-11-05 20:53:58 +00:00
Shish
bc68137797
use svg-sanitize to sanitize SVG files
2018-02-20 22:00:24 +00:00
Shish
54da35f5db
fix warning in local mode
2017-09-22 19:09:07 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
df3f061533
PHPUnit 6
2017-09-21 04:16:36 +01:00
Shish
1566ff7eaa
un-confuse phpunit
2017-09-17 19:37:30 +01:00
Shish
860e828c3e
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-09-17 18:59:59 +01:00
Shish
e1d6ff0f4e
composer update
2017-09-17 18:16:07 +01:00
jgen
f492c6c2c3
Ensure that the Image object tag_array and the metadata array tags are always arrays.
2017-05-12 00:57:50 -07:00
Scrutinizer Auto-Fixer
1caef6d633
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-03-12 23:45:38 +00:00
jgen
9cf325d195
Try global namespace
2017-03-09 01:31:41 -08:00
Shish
28c10d1748
unit tests are input too
2016-07-30 23:08:08 +01:00
Shish
f3a3c76988
better test router
2016-06-18 00:45:58 +01:00
Shish
76c2815b2b
unit test bettering
2016-06-17 23:42:12 +01:00
Shish
c41c9d680f
search tests
2016-06-06 22:42:40 +01:00
Shish
793bc3614b
loooooooads of artists refactoring and tidying
2015-09-27 01:03:58 +01:00
Shish
c337abe280
skip tests for extensions who don't support the current db
2015-09-21 10:05:32 +01:00
Shish
13dfb8861f
more tests
2015-09-20 21:20:28 +01:00
Shish
9f10f923fe
chdir() in phpunit bootstrap
2015-09-20 20:04:16 +01:00
Shish
83a1336b76
more test
2015-09-20 20:04:16 +01:00
Shish
ec484c1144
more phpunit-ing
2015-09-20 20:04:13 +01:00
Shish
2d622cf908
put test svg in a file
2015-09-20 20:03:29 +01:00
Shish
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
Shish
e3959e5ec8
remove simpletest
2015-09-20 20:03:29 +01:00
Shish
e2b6f2c2dd
global management
2015-08-02 19:41:06 +01:00
Shish
0b385d05af
wibble init into a separate bootstrap file, for more unit-testability
2015-08-02 19:40:57 +01:00
Shish
4f413e7386
using system php-fpm always gets us php5.3 ~_~
2015-08-01 17:43:57 +01:00
Shish
21a1b176c6
separate router from index.php
2015-08-01 16:36:07 +01:00
Shish
ac5f0f611c
also install sqlite driver
2015-08-01 14:12:58 +01:00
Shish
cb9cc07d30
add test-info
2015-08-01 14:05:42 +01:00
jgen
b3f9925839
PHPDoc all the things!
2014-04-28 18:22:57 -04:00
jgen
a7faefc5e0
Spelling.
2014-04-24 22:35:01 -04:00