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
Shish
b60e8ac5b4
make modify_url work better
2020-03-27 23:35:07 +00:00
Shish
880a702b42
dedupe page_number parsing
2020-03-27 00:23:29 +00:00
Shish
03806d0420
https a bunch of things
2020-03-25 11:47:00 +00:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Shish
c5d8585824
info command
2020-02-23 18:14:35 +00:00
Shish
4ade3452ee
dedupe getSubclassesOf
2020-02-23 18:14:35 +00:00
Shish
0b304bdf2e
use Permissions for Favourites / Artist / Relationships, and also check image lock when sending ImageInfoSet instead of getting each receiver to check it
2020-02-08 00:24:42 +00:00
Shish
aac9cf1fe0
merge some self-contained bits from @sanmadjack's branch
2020-02-07 22:05:27 +00:00
Shish
f70bce113d
BASE_HREF is always defined, but sometimes defined as null
2020-02-01 23:42:40 +00:00
Shish
6d2c92575d
tests for format_milliseconds
2020-02-01 23:03:23 +00:00
Shish
a5c7faeff7
move stream_file to its own function
2020-02-01 21:20:32 +00:00
Shish
43ea7fb70c
replace array_{add,remove} with array_diff
2020-02-01 19:30:32 +00:00
Shish
dcb1f862e6
types
2020-02-01 18:27:21 +00:00
Shish
da42b19d6b
make it more explicit that caret/decaret are for encoding tags into URL paths
2020-01-30 21:50:30 +00:00
Shish
fb80509be9
also escape ? and & in tags
2020-01-30 21:24:16 +00:00
Shish
86d93b2cc2
bool_escape('1') should be True
2020-01-29 20:20:17 +00:00