1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

44 Commits

Author SHA1 Message Date
Nick Liu
ded595d704
Renamed e_shims to eShims
To follow @myovchev's convention like eHelper

Per @CaMer0n
2018-10-31 12:32:58 -05:00
Nick Liu
4c6828be93
Moved autoload responsibility to e107_class.php
Instead of every independently operating client code figuring out its
own autoload policies, the e107 class file e107_class.php now takes care
of autoloading.

Any client that uses the e107 class will automatically benefit from
autoloading for e107.

This cuts down on potential code duplication, and e107::getSingleton()
is no longer tied to trying to figure out the class path.

This commit REMOVES support for the unused constant flag
E107_DISABLE_AUTOLOAD introduced in
bdef2707b4cafe34e5485d8733138a0e87f43a39 and the unused autoload code
introduced in f4cee9289087c0119bc6797f7dfb7792a62b0be3.
2018-10-31 08:22:14 -05:00
Nick Liu
ee1a5b1278
Replaced all direct readfile()s with shim
Fixes: #3528
2018-10-31 08:04:59 -05:00
Cameron
45de0a49f3 PHP Notice removal 2018-07-22 13:03:06 -07:00
Cameron
17760d975c Added comment about set_urls() 2018-07-22 11:39:56 -07:00
Cameron
eef624c93b Send a 500 error response code when thumb.php fails due to an exception. 2018-07-21 13:07:44 -07:00
Deltik
d1a69b0c16
Defers SITEURL and dependencies until SQL loaded
This is the least intrusive solution I could come up with.

Anything else I tried to reduce technical debt would break the very
tangled dependency web, so I settled for this.

Fixes: #3033
2018-02-12 06:54:15 -06:00
Cameron
93ab7996c7 Minor fixes and debug. 2017-11-09 10:15:36 -08:00
Cameron
cfd6e42260 Thumbnail cache-file name-generation moved to e_parse_class.php as thumbCacheFile() 2017-10-24 11:19:06 -07:00
Cameron
c55d04b37f Use https for placehold. 2017-01-17 12:48:45 -08:00
Cameron
cfbd9c85fb Performance improvement for thumb.php 2016-12-19 13:49:39 -08:00
Cameron
29bcee56ec Thumbnail cropping fixes. thumbUrl() support added. 2016-10-11 14:58:08 -07:00
Cameron
a4636ba66e Thumbnailer can now crop based on quadrant. Example: w=300&h=200&c=[value] Value options: a=auto t=top b=bottom c=center l=left r=right 2016-10-11 14:02:53 -07:00
Cameron
5b5607ddbb Thumb Cache enabled. 2016-06-02 08:39:48 -07:00
Cameron
998f2f592b Check added to thumb.php in case of UTF8-BOM in e107_config.php or any other output which could corrupt images. 2016-06-02 08:38:39 -07:00
Cameron
8ebb804f60 Issue #1648 - remove debug info from thumb.php 2016-05-15 06:36:41 -07:00
Cameron
0afa769dab Thumbnail cache issue #1648 2016-05-13 07:14:49 -07:00
Cameron
42246f7381 Bulk mail templates can now resize images to keep email sizes smaller. eg. {MEDIA1: w=500} Improved debugging of thumb.php. 2016-05-11 18:52:42 -07:00
Cameron
767b496c69 Issue #1257 Added SEF Thumb Urls for Avatar images. 2016-02-04 12:42:48 -08:00
Cameron
edba19ef0a Make thumbnails progressive for performance. 2016-02-03 11:30:27 -08:00
SecretR
7acd910150 Thumb script now supports the early include feature 2015-10-26 16:30:24 +02:00
Cameron
027a74f5b0 Code cleanup 2015-02-15 02:37:36 -08:00
Cameron
3b54047253 Preference added for thumbnail quality generated by thumb.php. Can have a dramatic effect on page-load times/performance. 2014-02-05 09:43:10 -08:00
Cameron
78397acfd1 Disable resizeUp on icons 2014-01-08 04:25:18 -08:00
Cameron
0fc0a5c876 Additional checks added before creating a watermark. resizeUp option enabled. 2014-01-08 03:43:17 -08:00
Cameron
5a4d97ca9a Bootstrap3 news and search-menu template fixes.
New thumb.php placeholder feature added.
New {GLYPH} shortcode added. Usage: {GLYPH=time}
2013-12-31 09:59:19 -08:00
Cameron
c27b33963c Tweak on last commit (thumbnailer) 2013-11-20 00:43:36 -08:00
Cameron
eab58f26ba Thumbnail: Adaptive resize from the top for a better result in more cases. 2013-11-20 00:20:47 -08:00
Cameron
d50b355cf1 Headers Already sent - add better debug info. 2013-05-05 14:12:03 -07:00
CaMer0n
bfb687dfd5 Session quick fix. Image resizing etc. 2012-09-03 23:02:45 +00:00
CaMer0n
189e866f31 Gallery image-download option added. 2012-08-14 04:22:40 +00:00
CaMer0n
1f073d0552 Media-Manager fixes and refinements 2012-07-18 06:34:26 +00:00
CaMer0n
4cfe5c4387 Fixes related to Gallery image import, watermarks and thumbnails. 2012-07-14 10:40:40 +00:00
CaMer0n
f8b522a1aa Watermark now applies site-wide when activated. 2012-07-12 10:15:12 +00:00
CaMer0n
cadadb29b9 Upgrade PHP thumb and watermarks for images added 2012-07-02 01:32:56 +00:00
CaMer0n
25d7cb258d Work on override class and multi-site support. 2012-06-08 06:03:07 +00:00
secretr
c345daea83 thumb - basic admin area detection 2011-01-03 13:02:43 +00:00
secretr
f3ab862313 improved browser cache control, clear browser cache added to cache administration 2010-12-17 17:21:48 +00:00
secretr
e34d294993 porting some 0.7 environment changes 2010-12-13 11:22:57 +00:00
secretr
803a8435e5 thumb path detection typo 2010-12-03 11:56:55 +00:00
secretr
9f96a5bbd3 IN PROGRESS - Tasks EONE-10, EONE-11: more paths added, 'nice' urls are supported now (see thumb.php) 2010-03-10 12:48:05 +00:00
secretr
80168ed08b IN PROGRESS - task EONE-10: System thumbnails - resize fixes and improvements 2010-03-10 10:00:37 +00:00
secretr
2a0529f631 IN PROGRESS - task EONE-10: System thumbnails
- media manager now uses thumb.php
- form handler uses thumb.php (UI) when type is image and parameter thumb is passed 
- minor issues fixed
- thumbUrl() method added (Parser, for now)
2010-03-09 16:05:41 +00:00
secretr
d5f06fc0bc IN PROGRESS - issue EONE-10: System thumbnails - on-the-fly thumbnailing 2010-03-08 16:15:45 +00:00