Commit Graph

33 Commits

Author SHA1 Message Date
7b3ab71b1e standard post linking - avoid the word "Image" 2020-10-09 13:51:24 +01:00
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
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
c2231432f3 no make_link for forms 2020-01-30 10:31:11 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
8f688fd2c6 lints 2019-10-02 10:10:47 +01:00
a7bddb1dac get rid of is_admin, fixes #676 2019-09-29 19:01:09 +01:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
a41e99d1af Renamed graphics extension to media extension 2019-07-08 08:07:08 -05:00
3859e27839 New Graphics extension
Added constants to several extensions
2019-07-08 08:07:02 -05:00
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
014a4c2cd2 Added extension constant lists to resize and rotate extensions so that they weren't rendering their controls ont he wrong image types 2019-06-18 13:25:45 -05:00
37fe743f65 Changed "images" and "thumbs" usages to constants 2019-06-15 11:20:11 -05:00
064b24ffc1 formatting pass 2019-06-14 13:47:50 +01:00
d1102cd635 Merge from sanmadjack:develop 2019-06-14 13:46:55 +01:00
f078b283bd pull a bunch of small fixes from #659 2019-06-14 13:16:58 +01:00
97f60b3ea5 Better error handling for GD code 2019-06-12 17:40:43 -05:00
eb4292316d Added webp upload and thumbnailing support
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -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
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
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
8c2d8df81d use html5 input types
we would use type='url' for source but non-urls can be used as source too
2015-04-18 10:39:34 +01:00
a58bdbdc62 More PHP Doc comments. 2014-04-29 17:45:13 -04:00
d4ac6ca451 Such linting, such wow. Much clean. 2014-04-28 02:56:58 -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
db5aa56300 remove a bunch of dead code 2014-03-29 11:44:34 +00:00
e9b0553876 use upload_tmp_dir as temp place, see #297
We changed a line like this some time ago in upload/main
2013-07-21 02:10:17 +02:00
99e431598c streamline rotation 2012-08-18 21:12:44 +01:00
7ec7ca623b rotate ext from Agasa 2012-08-18 21:10:35 +01:00