Commit graph

132 commits

Author SHA1 Message Date
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
28a3aad887 [core] stop logging curl debug info to stdout 2024-02-13 01:05:35 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
e9e2a01aa3 Merge branch 'branch-2.10' 2024-02-09 16:35:00 +00:00
Shish
062b6d3f4a Back out "use POST when building search results, see #1026"
Original commit changeset: c44822ec47
2024-02-09 14:41:23 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
a9e4c4bdb3 use POST when building search results, see #1026 2024-02-09 11:00:18 +00:00
Shish
c44822ec47 use POST when building search results, see #1026 2024-02-09 10:50:07 +00:00
Shish
fed8e43e36 fmt 2024-02-08 00:50:41 +00:00
Shish
1edb7b6126 more tests 2024-02-07 23:22:24 +00:00
Shish
7adb7348d7 [core] fixes and tests for get_base_href + get_query, see #1024 2024-02-07 22:47:13 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +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
589ff69eea [types] typetypetypetypetype 2024-01-15 15:08:22 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
7b7ec9c83f [tests] phpstan version bump 2024-01-15 14:08:12 +00:00
Shish
802ff336a2 [core,tests] even more types 2024-01-15 14:08:11 +00:00
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