Commit Graph

20 Commits

Author SHA1 Message Date
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
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
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
95ef5940fc consistently use colon parameters 2019-11-27 11:47:38 +00:00
f79eafc91e format 2019-11-04 00:42:06 +00:00
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
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
93cc732d39 fix tests 2019-05-28 19:00:23 +01:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
dc10a18086 lots of minor doc tweaks, type hints, etc 2016-06-19 17:41:40 +01:00
d30665d274 more deduping 2015-09-27 21:09:27 +01:00
1ac88e8923 more comments 2015-09-27 12:38:48 +01:00
78c44c7067 more tidying shimmie api and user page 2015-09-27 02:00:02 +01:00
9af5995dcc PHPUnit proof of concept 2015-09-20 20:03:29 +01:00
e37c5cb9d0 More linting! 2014-04-28 02:23:45 -04:00
709366b70c Explicitly declare these class variables. 2014-04-24 18:44:46 -04:00
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00