Commit Graph

1618 Commits

Author SHA1 Message Date
ab874cffd3 Let's not implement our own cache abstraction layer 2023-02-02 16:49:41 +00:00
5ef6268e54 fix caching for userconfigs 2023-02-02 16:39:36 +00:00
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
e79470d974 experimental graphql api 2023-02-01 21:57:18 +00:00
d70f68099f also stringify numbers 2023-01-28 23:41:44 +00:00
215b30dfca get_debug_info_arr 2023-01-28 19:03:15 +00:00
d663c7892a fix stringing 2023-01-28 19:02:41 +00:00
7e64d1b052 more reliable stringing 2023-01-28 18:57:42 +00:00
f0ee76e7c7 format 2023-01-11 19:45:26 +00:00
9b6f40e06e updates 2023-01-11 18:39:46 +00:00
c81911893f tests 2023-01-11 14:04:35 +00:00
2a18322dd5 god damn it php 2023-01-11 13:27:57 +00:00
f91daba264 count less 2023-01-11 11:41:13 +00:00
9587bedae0 argh 2023-01-11 11:18:16 +00:00
5a64e8729b nits 2023-01-11 11:15:26 +00:00
91b354f6f8 assert 2023-01-11 10:12:19 +00:00
f0c8affc07 fmt 2023-01-11 00:51:57 +00:00
8434785da3 ?? 2023-01-11 00:48:18 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
165eea11b1 all the strict_types 2023-01-10 21:21:26 +00:00
c2b946f282 Fix database not detected on installation 2023-01-10 22:34:47 +09:00
af522b3c0b Update memcache conditon matching
Add an additional OR conditional for memcache usage. If you use the DSN as listed at https://github.com/shish/shimmie2/wiki/Performance#software-cache the memcache section will never run because it is looking only for DSNs with 'memcached' causing an exception to be thrown on the first access as the cache is never setup.
2022-11-12 19:33:03 -06:00
d2f5796c22 format 2022-10-28 01:46:48 +01:00
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
522b57da37 bump 2022-10-27 23:31:54 +01:00
47ab0eda0a Jesus heckin' christ PHP is awful
PHP-CS-Fixer 3.12.0 on my laptop gives different results to PHP-CS-Fixer
3.12.0 in github...
2022-10-27 17:29:24 +01:00
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
caa3c80de4 Use Y-m-d H:i:s for default 'posted' date 2022-10-27 17:09:39 +01:00
a828c3e0e5 more thorough testing for path_to_tags, and handle more edge cases 2022-10-27 17:09:39 +01:00
22ec34ea52 format 2022-09-27 17:38:15 +01:00
10e63a0666 Fixing bulk add bug, tag is set to "\" if no other tags are present 2022-09-27 02:12:24 -05:00
e97198aa10 format 2022-07-09 23:37:43 +01:00
b2792481fa fix no handler for 'bulk_download'
Shimmie out of the box has bulk downloads enabled for the 'user' and 'base', but perform bulk actions isn't enabled, so it goes to a handler not found page. This fixes that.
2022-07-06 08:57:10 -04:00
b859e1fc60 Merge pull request #869 from thoughever/reverse_proxy
X-Real-IP support and Varnish PURGE config options
2022-05-01 10:42:54 +01:00
6bc1ec4f81 Allow setting $image->posted values 2022-04-29 11:21:57 -07:00
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
3061a9d7d5 avoid warning when HTTP_X_FORWARDED_PROTO isn't set 2022-01-01 10:29:32 +00:00
7b7596167a add support for x-forwarded-proto header 2021-12-26 00:16:07 +00:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
bed0db40d7 mark invalid url as user error 2021-11-16 14:55:37 +00:00
68a128c0ea don't log user errors into the server error log 2021-11-16 14:52:26 +00:00
58db685b29 more error handling 2021-11-10 19:33:51 +00:00
4c4b26f098 write internal errors to error log 2021-11-06 16:46:05 +00:00
6377ea19cc don't crash if recaptcha repsonse is empty 2021-11-06 16:17:38 +00:00
d932178670 don't crash when the user searches with no positive tags and multiple non-existent negative tags 2021-10-06 17:02:29 +00:00
3f0a8399d1 clarify some nullables 2021-09-25 13:40:41 +01:00
e7808096ff format 2021-09-22 16:02:33 +01:00
3bb1566df2 Allow db->set_timeout(null) to disable DB timeouts, see #874 2021-09-22 15:42:41 +01:00
8bd781cc8c CSS and JS files configurable by themes 2021-07-26 12:26:03 +01:00
faf35cc884 video references image width / height 2021-03-16 01:49:48 +00:00