Commit graph

76 commits

Author SHA1 Message Date
Shish
12a8747020 add another special case for URL parsing, and some tests, see #1236 2024-09-04 19:09:32 +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
7353683a13 no implicit nulls (they are deprecated in php8.4) 2024-09-01 00:06:46 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
8cb87b2469 [core] add a test suite for SQL features 2024-06-20 23:22:58 +01:00
Shish
069fb92f54 [core] test for bool_escape(null) == false 2024-06-19 15:24:05 +01:00
Shish
ae92e42300 [core] Utils tests 2024-02-21 23:51:10 +00:00
Shish
dd6c47484d [core] UserClass tests 2024-02-21 23:38:52 +00:00
Shish
2136be80ab [core] test truncate() properly, and then fix it, and then use it 2024-02-20 15:04:38 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
06db4a12e0 [core] test for order=random_1234 2024-02-17 12:38:16 +00:00
Shish
4e362d816f [core] named constant for nice urls 2024-02-14 12:35:58 +00:00
Shish
3d905b1055 [core] load null-strings as null, fixes #1023 2024-02-12 16:03:37 +00:00
Shish
278286da9f more tests 2024-02-11 14:51:55 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
09774416c3 fix tests 2024-02-10 00:00:02 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
e9e2a01aa3 Merge branch 'branch-2.10' 2024-02-09 16:35:00 +00:00
Shish
9ba9bf0fdf fix tests 2024-02-09 14:54:37 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
e3eeb848b7 Merge branch 'master' into branch-2.10 2024-02-09 11:01:44 +00:00
Shish
4501763540 test encoding 2024-02-09 11:00:18 +00:00
Shish
443ba12002 test encoding 2024-02-09 10:50:07 +00:00
Shish
91715fc937 Merge branch 'branch-2.10' 2024-02-08 00:50:47 +00:00
Shish
fed8e43e36 fmt 2024-02-08 00:50:41 +00:00
Shish
4974359846 Merge branch 'branch-2.10' 2024-02-08 00:41:56 +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
6f165a974a fmt 2024-02-05 13:41:32 +00:00
Shish
92577d355f [core] add custom error messages for stdlib_ex, and a test 2024-02-05 13:25:18 +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
373be4e05c avoid stringy class names 2024-01-20 01:03:02 +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
29fde1388a [core] only show decimal for KB/MB/etc less than 10 2024-01-08 19:35:25 +00:00
Shish
d4b86b0e95 [core] redo deltree to also delete dotfiles, fixes #972 2024-01-05 15:30:32 +00:00
Shish
7673b394f4 [search] get_images function to get specific images in specific order with search visibility (ratings etc) taken into account 2024-01-04 16:55:39 +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
e49fcfa0c7 [core] allow ip_in_range to match exact IPs 2024-01-04 15:07:07 +00:00
Shish
2ac243d20d [core] use rawurlencode/decode consistently, deprecate caret system 2023-12-24 22:42:14 +00:00
Shish
10ba2ccb7f fix search encoding 2023-12-15 07:55:38 +00:00
Shish
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
Shish
e114057dfe PHPUnit 10 (and other bumps) 2023-12-14 00:25:32 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
Shish
314528801b make clamp() more robust 2023-06-27 16:11:14 +01:00
Shish
c81911893f tests 2023-01-11 14:04:35 +00:00
Shish
f91daba264 count less 2023-01-11 11:41:13 +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
a828c3e0e5 more thorough testing for path_to_tags, and handle more edge cases 2022-10-27 17:09:39 +01:00