9 Commits

Author SHA1 Message Date
Dani Palou
d98088f6a6 MOBILE-2333 siteaddons: Support creating new components
Now site addons can return a ComponentRef instead of the component class in the getComponent functions of the delegates. This means they can create a new component on the fly using CoreCompileProvider.instantiateDynamicComponent
2018-03-12 13:45:13 +01:00
Dani Palou
ffa5a53fc6 MOBILE-2333 siteaddons: Support multiple templates in get_content 2018-03-12 13:45:13 +01:00
Dani Palou
52a73f4138 MOBILE-2333 siteaddons: Support basic course format site addons 2018-03-12 13:45:13 +01:00
Dani Palou
b2c4b65024 MOBILE-2333 siteaddons: Support course options site addon 2018-03-12 13:45:13 +01:00
Dani Palou
141f979cea MOBILE-2333 siteaddons: Support restrict users and courses 2018-03-12 13:45:10 +01:00
Dani Palou
8e87a1ade9 MOBILE-2333 siteaddons: Run bootstrap JS and pass result to content JS 2018-03-12 13:33:07 +01:00
Dani Palou
6d9df59e67 MOBILE-2333 siteaddons: Display context menu for module site addons 2018-03-12 13:32:12 +01:00
Dani Palou
dc88b83bbb MOBILE-2333 siteaddons: Prefetch offlinefunctions 2018-03-12 13:28:13 +01:00
Dani Palou
c3ca95e838 MOBILE-2333 siteaddons: Support singleactivity with site addons
CoreSiteAddonsProvider provider code was split in two to prevent circular dependencies CoreSiteAddonsModuleIndexComponent
2018-03-12 13:28:13 +01:00