Commit graph

143 commits

Author SHA1 Message Date
Shish
d1ed1c4b64 footer_html as HTMLElement 2024-09-05 12:27:21 +01:00
Shish
70f7108e22 Replace flexihash with weighted rendezvous hashing
`Flexihash.php` hasn't been maintained for years and isn't php8.4 compatible; WRH is much simpler, and much better balanced, and nearly as fast
2024-09-03 17:19:02 +01:00
Shish
845c8b3d85 [core] Make User::by_name / User::by_id not-null
Nearly everywhere that these functions are called, the result is assumed to be not-null, and a null will break things
2024-08-31 20:39:36 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
d4c17598fb [core] add PetalBot to the list of bots 2024-06-30 01:25:36 +01:00
discomrade
38a7bb542b use <code> where appropriate 2024-06-21 18:24:38 +01:00
discomrade
6ad54565c5 [core] allow relative url in contact link 2024-06-09 17:01:37 +01:00
Shish
4cc9b2f5d3 [core] don't crash when REMOTE_ADDR is 'unix:', fixes #1076 2024-02-22 23:18:38 +00:00
Shish
ae92e42300 [core] Utils tests 2024-02-21 23:51:10 +00:00
Shish
0890de35c1 [core] don't crash if TRUSTED_PROXIES isn't defined, fixes #1061 2024-02-21 14:59:19 +00:00
Shish
db0e788a67 [core] Deduplicate ImageAdditionEvent & ImageInfoSetEvent
Rather than ImageAddition triggering TagsSet/SourceSet/LockSet etc in one way, and ImageInfoSet triggering TagsSet/SourceSet/LockSet in a different way, why not have ImageAddition *just* deal with image addition, and then send a separate ImageInfoSet to deal with all of the metadata setting?
2024-02-20 22:15:24 +00:00
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