Shish
e97198aa10
format
2022-07-09 23:37:43 +01: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
3061a9d7d5
avoid warning when HTTP_X_FORWARDED_PROTO isn't set
2022-01-01 10:29:32 +00:00
jellykells
7b7596167a
add support for x-forwarded-proto header
2021-12-26 00:16:07 +00:00
Shish
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
68a128c0ea
don't log user errors into the server error log
2021-11-16 14:52:26 +00:00
Shish
58db685b29
more error handling
2021-11-10 19:33:51 +00:00
Shish
4c4b26f098
write internal errors to error log
2021-11-06 16:46:05 +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
8ad783ff4c
be more snake_case
2020-10-26 00:27:06 +00:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
c783ff0e8d
polyfills for php8's str_starts_with and str_ends_with
2020-10-25 19:15:13 +00:00
Matthew Barbour
688fb8b04b
Added ability to upload multiple files through a single upload input
2020-06-25 00:42:43 +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
eecd35d175
turn 'Use of undefined constant' into an error
2020-06-24 13:00:46 +01:00
Matthew Barbour
919a3039c4
Added user API key system
2020-06-23 15:14:04 +01:00
Matthew Barbour
bccb206369
formatting pass
2020-06-03 19:58:13 +01:00
Matthew Barbour
007e07e507
Various changes to cron uploader:
...
Removed count limit, the cron job now checks the max PH execution time and auto-stops itself at 80% of that value.
Now skips os-specific image cache files like thumbs.db and the __macosx folder.
Changed failed folder re-deployment to allow re-deploying to populated queue, making it easier to re-process lots of failed batches all at once.
Changed page to output as a stream, allowing a long-running process to provide output as it runs rather than just at the very end.
Changed import loop to use the yield convention, allowing faster consumption of found files and lower memory use overall.
2020-06-03 19:57:27 +01:00
Shish
f47e35e4e5
make make_link more sane
2020-03-28 14:11:14 +00:00
Shish
7b9c9dc208
Make SHM_FORM generate the correct targets
2020-03-27 14:46:55 +00:00
Shish
03806d0420
https a bunch of things
2020-03-25 11:47:00 +00:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Matthew Barbour
cff72263dc
Added text to transcode message to indicate file size change
2020-03-02 15:41:43 +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
d749784e95
remove redundant escaping and split load_balance_url into a separate function with testing
2020-02-09 16:02:37 +00:00
Shish
cdaecb3380
format
2020-02-06 03:10:30 +00:00
Shish
81880f7458
Make installer nice again
2020-02-06 02:19:51 +00:00
Shish
f0f3cc7aa0
merge layout stuff into Page class
2020-02-01 18:11:11 +00:00
Shish
da42b19d6b
make it more explicit that caret/decaret are for encoding tags into URL paths
2020-01-30 21:50:30 +00:00
Shish
fb80509be9
also escape ? and & in tags
2020-01-30 21:24:16 +00:00
Shish
c2231432f3
no make_link for forms
2020-01-30 10:31:11 +00:00
Shish
831906681e
fixes for mysql
2020-01-30 09:01:19 +00:00
Shish
6d3ca01424
format
2020-01-29 00:49:26 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +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
b0237ddd97
more stuff to util.php
2020-01-27 19:05:43 +00:00
Shish
dba89e9d13
make all themes have a Page class, to simplify loading
2020-01-27 18:35:36 +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
4bd1d8b6ee
forms
2020-01-26 23:23:15 +00:00
Shish
50f3d04f0c
transload error log-ish
2020-01-26 23:23:01 +00:00
Shish
cddf6e9d5f
more types
2020-01-26 19:44:36 +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
f5ccffdaf4
shm_simple_form
2020-01-26 13:29:04 +00:00
Shish
73c63e3477
microhtml for user page
2020-01-16 19:13:12 +00:00
Shish
70db0ce5bd
flash_message -> page->flash, with no cookies
2019-12-15 19:47:18 +00:00