Marcos Del Sol Vives
08b01502a5
Do not cast hard drive size to integer - fixes #1037
2024-02-17 12:32:47 +00:00
Shish
7ee4152942
[core] organise exceptions a bit
2024-02-11 16:03:23 +00:00
Shish
43e8ff3e3e
more tests
2024-02-09 14:41:20 +00:00
Shish
fed8e43e36
fmt
2024-02-08 00:50:41 +00:00
Shish
e0d9a20f4c
cleanup
2024-02-07 23:01:45 +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
e9c8e852a5
[core] attempt to figure out base href from SCRIPT_FILENAME + DOCUMENT_ROOT, see #1024
2024-02-07 18:28:42 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
05199c13cc
[core] kill a secret global
2024-01-20 19:52:18 +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
bf649b012a
fmt
2024-01-19 18:37:15 +00:00
Shish
448e270da8
more typing
2024-01-19 18:33:32 +00:00
Shish
d75b410075
[core] fix more warnings
2024-01-15 21:01:22 +00:00
Shish
589ff69eea
[types] typetypetypetypetype
2024-01-15 15:08:22 +00:00
Shish
7b7ec9c83f
[tests] phpstan version bump
2024-01-15 14:08:12 +00:00
Shish
29fde1388a
[core] only show decimal for KB/MB/etc less than 10
2024-01-08 19:35:25 +00:00
Shish
15582c5138
[core] default cache TTL to null rather than zero, fixes #997
2024-01-07 18:47:32 +00:00
Shish
6a2d3f49e2
typed return arrays too
2024-01-06 21:34:30 +00:00
Shish
d4b86b0e95
[core] redo deltree to also delete dotfiles, fixes #972
2024-01-05 15:30:32 +00:00
Shish
e49fcfa0c7
[core] allow ip_in_range to match exact IPs
2024-01-04 15:07:07 +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
314528801b
make clamp() more robust
2023-06-27 16:11:14 +01:00
Shish
b85e7ec209
manually control timeout, to dump trace data after hitting the limit
2023-06-25 13:40:57 +01:00
Shish
0bb8d88c1f
don't die when stack trace contains bool
2023-02-07 13:16:30 +00:00
Shish
fcfeed8413
fix l2 errors
2023-02-03 20:03:04 +00:00
Shish
d70f68099f
also stringify numbers
2023-01-28 23:41:44 +00:00
Shish
7e64d1b052
more reliable stringing
2023-01-28 18:57:42 +00:00
Shish
8434785da3
??
2023-01-11 00:48:18 +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
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
7babe9d2a6
format
2021-03-14 23:56:23 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Matthew Barbour
8d34fc360c
Added length search to handle #777
2020-10-26 08:58:17 -05:00
Shish
8ad783ff4c
be more snake_case
2020-10-26 00:27:06 +00:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
c783ff0e8d
polyfills for php8's str_starts_with and str_ends_with
2020-10-25 19:15:13 +00:00
Shish
9b878d98d6
replace xml_tag with HTMLElement
2020-10-24 13:46:57 +01:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
b893da927f
format
2020-06-24 17:02:24 +01:00
Matthew Barbour
7a009541ce
Added more explicit failure handling to list_files
2020-06-24 16:59:21 +01:00
Matthew Barbour
587735a866
Added terabyte support to the shorthand functions
2020-06-23 14:58:41 +01:00
Shish
ad1e52bf05
DATABASE_TIMEOUT isn't set in the installer
2020-06-22 16:08:04 +01:00
Matthew Barbour
63b2601e67
Mime type handling overhaul
...
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Matthew Barbour
16c58e266b
Added manual page mode to allow extensions to have direct control of the output
2020-06-03 19:40:43 +01:00
Shish
2cae6cd273
format
2020-04-25 21:36:28 +01:00