Commit graph

235 commits

Author SHA1 Message Date
discomrade
350b44f250 [speed_hax] extract SPEED_HAX tweaks to extension 2024-06-14 13:52:49 +00:00
Shish
b59fe4c694 Have a common PartListBuildingEvent, fixes #1124 2024-03-28 16:17:18 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
7ee4152942 [core] organise exceptions a bit 2024-02-11 16:03:23 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
7895978d93 fewer globals 2024-02-10 01:55:05 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
6a2d3f49e2 typed return arrays too 2024-01-06 21:34:30 +00:00
Shish
3581945e09 [comment] check null once 2023-12-15 21:25:18 +00:00
Shish
7f98412d8b cache_get_or_set function 2023-12-14 22:02:10 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
33f32f7b22 Revert "INSERT ... RETURNING is well-supported now" - mysql doesn't...
This reverts commit 633d5c5348.
2023-06-25 20:31:11 +00:00
Shish
633d5c5348 INSERT ... RETURNING is well-supported now 2023-06-25 20:25:09 +00:00
Shish
46f75f7b34 [static] allow extensions to customise robots.txt 2023-03-30 20:36:58 +01:00
Shish
648424d5c5 static function for mutation 2023-02-08 00:18:10 +00:00
Shish
ea29e7c954 more fields 2023-02-07 13:27:20 +00:00
Shish
78dbcb8626 comments are non-null 2023-02-04 21:08:14 +00:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
180f21e29e Use graphqlite-like API 2023-02-04 13:29:21 +00:00
Shish
fcfeed8413 fix l2 errors 2023-02-03 20:03:04 +00:00
Shish
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
Shish
9721dc8050 format 2023-02-02 16:50:09 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
e79470d974 experimental graphql api 2023-02-01 21:57:18 +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
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
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
Shish
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
Shish
f57dc61cb7 only hide images if image approbals are enabled 2022-07-10 01:40:04 +01:00
Shish
476808db4b
Merge pull request #863 from jellykells/jellykells/owner_view_unapproved
Allow image owner to view their unapproved images
2022-07-08 22:20:52 +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
jellykells
a0190bff81 run php cs fixer 2021-12-23 22:18:33 -06:00
jellykells
29ed277f6d hide comments made on unapproved images from the comment list 2021-12-23 21:58:55 -06: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
Matthew Barbour
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
Shish
5816aa3084 execute consistently 2020-10-25 21:34:52 +00:00
Shish
4ac9ab2ad6 round up number of comment pages instead of rounding down, fixes #755 2020-10-25 18:06:36 +00:00
Shish
7b3ab71b1e standard post linking - avoid the word "Image" 2020-10-09 13:51:24 +01:00
Shish
f47e35e4e5 make make_link more sane 2020-03-28 14:11:14 +00:00
Shish
85662575c5 stop warning for lack of referer / user-agent - not having those is now pretty normal 2020-03-27 19:42:46 +00:00
Shish
c16e3fd939 dedupe some referer handling 2020-03-27 19:41:34 +00:00
Shish
bc3de6a52a a bunch more testing and fixes for Pools 2020-03-27 14:41:24 +00:00
Shish
6f7e0e5b12 drop logging args that didn't get used in practice 2020-02-01 21:37:07 +00:00