Dylan Wagstaff
352bc67aa8
Update CI tool configurations to fit SS4 conventions
...
Also update test class to use non-deprecated methods from core (such as
Config::update). Fix a few code sniffer errors.
2017-11-22 18:10:32 +13:00
Dylan Wagstaff
4fb947d0c7
FIX: Use new resource loading syntax for javascript
...
SilverStripe 4 vendormodule types make use of an 'expose' composer
directive to allow assets they provide to be accessed by a web request.
Previously the javascript for the iFrame resizing business tried to load
from a static path that no longer exists (referenced inside PHP), which
caused a fatal error. This has been fixed along with making the
conditional code for enforcing a protocol on the page's request a bit more
readable & easily digestable to developers.
2017-11-22 17:11:34 +13:00
Marco Hermo
5b8e0ba0b1
This merge will upgrade silverstripe iframe module for compatibility with SS4
...
Implement namespacing
Update unit tests
2017-06-19 14:51:10 +12:00
Gordon Anderson
2df66ba223
FIX: getCMSField still works if the Metadata field has been removed by another module
2016-02-24 20:53:19 +07:00
helpfulrobot
15ec879c70
Converted to PSR-2
2015-11-18 16:57:44 +13:00
Ingo Schommer
73d0b87155
Allow forcing of host page protocol
...
Avoid mixed content issues when host page is https://
but iframe URL is specified as http://.
2014-11-19 16:04:22 +13:00
Elliot Sawyer
95101fcbc6
Disallow javascript protocol in IFrameURL using a whitelist of allowed schemes. Includes unit testing and a docblock to IFramePage validate function to explain exceptions and return types
2014-07-16 16:17:17 +12:00
Robert Curry
7991734b08
Move fields above metadata on IFramePage
2013-02-27 16:37:48 +13:00
Mateusz Uzdowski
021e508ca9
ENHANCEMENT: refactor the IFramePage, add tests
2012-06-05 11:30:13 +12:00
Mateusz Uzdowski
70cc4427d0
ENHANCEMENT: add auto-sizing iframes, cleanup
2012-06-01 17:21:05 +12:00
Andrew O'Neil
d2345539c6
FEATURE: Allow content at top and bottom of iframe
2009-06-04 02:35:03 +00:00
Andrew O'Neil
04e5b3fc22
Disable dynamic height for now, until i can get it working
2009-03-03 05:41:44 +00:00
Andrew O'Neil
0f2de8f7ed
Intial implementation
2009-02-27 02:41:21 +00:00