Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +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
Shish
4e57e04ddf
fix a lot of tests
2020-01-29 20:22:50 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
95ef5940fc
consistently use colon parameters
2019-11-27 11:47:38 +00:00
Shish
f79eafc91e
format
2019-11-04 00:42:06 +00:00
Shish
d17e207984
Have get_arg never return null
...
90% of places assume it will never return null, and they will break in
weird ways if it does return null
2019-11-04 00:40:10 +00:00
Shish
b568933f45
remove extension metadata comments (we have metadata objects now)
2019-11-02 20:19:09 +00:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05: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
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
dc10a18086
lots of minor doc tweaks, type hints, etc
2016-06-19 17:41:40 +01:00
Shish
d30665d274
more deduping
2015-09-27 21:09:27 +01:00
Shish
1ac88e8923
more comments
2015-09-27 12:38:48 +01:00
Shish
78c44c7067
more tidying shimmie api and user page
2015-09-27 02:00:02 +01:00
Shish
8c1e3bc92a
mark tests as public
2015-09-26 11:17:13 +01:00
Shish
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
jgen
e37c5cb9d0
More linting!
2014-04-28 02:23:45 -04:00
jgen
1ca3865a1c
Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag )
2014-04-25 22:54:51 -04:00
jgen
709366b70c
Explicitly declare these class variables.
2014-04-24 18:44:46 -04:00
Shish
67f1c1c51d
store enabled exts in a config file, rather than moving directories around
2012-03-31 18:59:28 +01:00