Shish
cafef06b14
[core] avoid making convert show an error message
2024-01-09 15:26:45 +00:00
Shish
48b3de3c6e
[core] fix error in error handling
2024-01-04 23:10:31 +00:00
Shish
ff04083ad5
[handle_archive] merge tags from inside the archive and the form, fixes #483
2024-01-04 15:55:48 +00:00
Shish
c5395df243
[core] trust x-forwarded-for from trusted proxies, see #800
2024-01-04 14:50:36 +00:00
Shish
64e6460f22
don't look at cookies if bearer token was ok
2023-12-17 00:08:06 +00:00
Shish
282d13f632
Use nginx Unit rather than the php development server
2023-12-16 23:03:04 +00:00
Shish
b1c6894fbc
cleaner extension loading
2023-12-16 01:31:46 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Luana
aef5bc9e2e
SHM_ functions in its own file
2023-08-16 15:40:08 +01:00
Luana
a5e585d991
SHM_A
2023-08-16 15:40:08 +01:00
Luana
0978ef99e3
MicroHTML on pools ext
2023-08-16 15:40:08 +01:00
Luana
8202367eaa
build_selector and make_form_microhtml as SHM_ functions
2023-08-16 15:40:08 +01:00
Luana
34b608c4b7
ratings ext fully MicroHTML
2023-07-03 16:35:43 +01:00
Shish
304a86b554
types
2023-06-27 16:11:14 +01:00
Shish
05da99c428
fix error in error handler
2023-04-03 22:14:41 +00:00
Shish
9b435f6fc3
Allow auth via Bearer token
2023-02-07 13:24:56 +00:00
Shish
689b2b13af
send_event(T) -> T
2023-02-04 20:50:26 +00:00
Shish
ab874cffd3
Let's not implement our own cache abstraction layer
2023-02-02 16:49:41 +00:00
Shish
215b30dfca
get_debug_info_arr
2023-01-28 19:03:15 +00:00
Shish
d663c7892a
fix stringing
2023-01-28 19:02:41 +00:00
Shish
c81911893f
tests
2023-01-11 14:04:35 +00:00
Shish
2a18322dd5
god damn it php
2023-01-11 13:27:57 +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
4ff93c63c3
new php-cs-fixer, new opinions about what is today's preferred format...
2022-10-27 17:21:46 +01:00
Shish
a828c3e0e5
more thorough testing for path_to_tags, and handle more edge cases
2022-10-27 17:09:39 +01:00
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