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
Shish
94635c0c00
add some tests
2020-01-28 00:47:30 +00:00
Shish
a887077ac8
remove redundant escapes
2020-01-28 00:16:22 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
d705578f79
formatting
2019-12-15 15:31:44 +00:00
Shish
d6fe059b67
stringer() function, because php lacks a good repr() D:
2019-12-07 22:51:28 +00:00
Shish
a9993b47a8
working microcrud for ipbans
2019-11-27 21:06:14 +00:00
Matthew Barbour
6b22f6da3f
Cleanup
2019-11-01 23:55:23 -05:00
Matthew Barbour
016fb6be65
Small fixes and corrections
2019-11-01 23:47:53 -05:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
Shish
0f4a0275b5
use is_int instead of is_numeric if we want to reject numeric strings, should fix #681
2019-09-29 17:58:56 +01:00
Shish
e6a402cd4e
Merge branch 'custom_ratings' into develop
2019-09-29 14:41:14 +01:00
Shish
f5119b20a3
formatting
2019-09-29 14:32:51 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
3d1b964812
Proposed extension info change to allow getting info for unloaded extensions
2019-08-07 15:34:11 -05:00
matthew
c906df6956
Added iterator_map and iterator_map_to_array
...
Moved the path join/sanitize to pollyfills
2019-07-07 11:11:57 +01:00
Matthew Barbour
af263bc2a5
Fix the flv mime type mapping
2019-07-05 16:25:03 +01:00
Shish
f078b283bd
pull a bunch of small fixes from #659
2019-06-14 13:16:58 +01:00
Matthew Barbour
8cdab6623a
Changed clamp function to allow null values
2019-06-13 18:17:38 +01:00
Shish
bf473f6d51
more lint fixes
2019-05-29 18:23:29 +01:00
Shish
1b114bfea8
url_escape handles null
2019-05-28 19:48:41 +01:00
Shish
93cc732d39
fix tests
2019-05-28 19:00:23 +01:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
Shish
ead3a5a588
php7 assertions, no strings
2019-01-06 10:40:39 +00:00
Shish
b2f10ea5ab
split up files in core/ for saner management
2018-11-05 22:30:18 +00:00