Commit Graph

20 Commits

Author SHA1 Message Date
0db32f2ccc Image to Post - random 2020-10-26 10:53:03 -05:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
9b5d963aa3 Added ImageDownloadingEvent that allows extensions to stop a user from viewing an image or perform other operations on the image before the image is downloaded to the user 2020-06-24 16:55:58 +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
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
6d3ca01424 format 2020-01-29 00:49:26 +00:00
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
b56e390676 Lots of linting again. 2014-04-28 03:26:35 -04:00
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
c065e38145 adds widget/thumb option to random_thumb ext (for #323)
this code was suggested in the comments, but never actually added
2014-02-16 04:38:58 +00:00
540e82a27a Actually use the mime type. 2012-04-15 20:00:27 -04:00
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00