21 Commits

Author SHA1 Message Date
Pau Ferrer Ocaña
4ba6f0b6fa MOBILE-3532 utils: Wrap is('ios') calls 2020-09-09 16:50:53 +02:00
sam marshall
d0c93f6416 MOBILE-3188 Web services: Record component that owns WS cache item
This commit adds optional component and componentId fields to the
preSets variable, which are recorded in the wscache table.

These are then used by (a) core site plugins where a module cmid
is available, and (b) the forum (as an example core implementation)
so that module site plugins and forum provide the new data.

(Note that this is not going to be very useful where we retrieve
data for multiple activities at once, which happens for activities
like Page. Still, it is optional.)
2020-09-02 10:21:34 +02:00
Dani Palou
7dadd08a30 MOBILE-3277 siteplugins: Don't clone the js result of init
The init JS can return providers with dependencies, making this clone extremely slow
2020-01-14 09:58:36 +01:00
Dani Palou
ee4bf2944c MOBILE-3213 core: Fix exception when invalidate site plugin content 2019-12-12 09:26:40 +01:00
Pau Ferrer Ocaña
a809f624fe MOBILE-3175 other: Change Copyright author 2019-10-02 09:08:21 +02:00
Albert Gasset
a7c2d22cb8 MOBILE-3147 doc: Remove jsdoc types from all typescript files 2019-09-12 11:15:56 +02:00
Dani Palou
7fc105dc74 MOBILE-3118 siteplugins: Stringify objects copied from otherdata 2019-08-20 12:16:57 +02:00
Dani Palou
2a752cc780 MOBILE-3112 siteplugins: Accept more values in useOtherData 2019-08-02 14:35:45 +02:00
Dani Palou
75ce463362 MOBILE-3036 core: Apply update frequency to all WS calls 2019-05-24 08:26:57 +02:00
Dani Palou
486ad67a31 MOBILE-2928 couse: Use openCourse when opening in current site 2019-04-26 10:07:41 +02:00
Mark Johnson
ba89f9cb30 MOBILE-2800 course: Wait for format before opening course 2019-01-11 12:20:39 +01:00
Dani Palou
9460133e0a MOBILE-2567 siteplugins: Fix error if initResult not defined 2018-09-03 16:45:39 +02:00
Dani Palou
129a6327e6 MOBILE-2376 siteplugins: Parse otherdata and always inject libraries 2018-06-04 10:34:35 +02:00
Dani Palou
eff08198e1 MOBILE-2333 siteplugins: Support CSS files 2018-05-03 15:08:19 +02:00
Dani Palou
28dc1232ad MOBILE-2333 siteplugins: Rename bootstrap to init & treat exceptions 2018-05-02 12:16:15 +02:00
Albert Gasset
5faa1cf5e6 MOBILE-2323 core: Add tslint rule no-unused-variable and fix warnings 2018-03-14 15:38:38 +01:00
Dani Palou
30511db131 MOBILE-2333 siteplugins: Receive otherdata as array instead of string 2018-03-13 09:55:22 +01:00
Dani Palou
489de4fc09 MOBILE-2333 core: Use parseJSON from text utils 2018-03-13 09:13:31 +01:00
Dani Palou
9684f9789a MOBILE-2333 core: Use aliases in imports 2018-03-12 16:45:04 +01:00
Dani Palou
db3fb84547 MOBILE-2333 redirect: Check if there are site plugins loaded 2018-03-12 16:45:04 +01:00
Dani Palou
046b300051 MOBILE-2333 siteplugins: Rename site addons to site plugins 2018-03-12 13:45:14 +01:00