Ensure that loading state is dismissed when mediaRequested / responseReceived events are canceled.
Tests: added a TC for adding a widget via dialog, with canceled media mediaRequested event.
Added config test suite.
Fixed dev sample.
Added response caching feature.
This listener is no longer needed.
Moved event doc strings.
Added a TC for checking if mediaembed changed with dialog was reloaded.
* used customized dialog to widget creation / edit
* widget.setLoading method moved to the plugin
* changed interface of the mediaembed.fireMediaRequested method
* moved widget initialization to happen after the responseReceived event
* first steps to remove widget.castToLink()
* canceling mediaembed events won't cause downcast to link anymore
* cleaned up lang file
* adjusted tests
Fixed upcast test, widegt test suite is no longer needed.
Improved paste test suite.
Changed paste behavior, updated dialog.
Tests: Added bogus BR handling.
Loading is now concerned about multiple, parallel calls. Moved loading tests to its own suite.
Mediaembed will now automatically remove the script element, and clear callbacks object on successful response.
Renamed config mediaEmbed_disablePasteUpcast to mediaEmbed_disablePaste. Removed unused methods createUrlElement and insertUrl.
Code reorganization, added some comments.
No need for extra editor.
Added missing fixture.
Removed deprecated mediaembed.providerHandlesUrl function and ability to filter accepted domains by a string.