-
Improvement
-
Resolution: Fixed
-
Critical
-
2.9, 3.1
-
MOODLE_29_STABLE, MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-50032-master -
Pre-built services are good, but they have limitations:
- You cannot add new functions (it will require modify the lib/db/services.php and upgrade the site)
- You cannot add new functions via add-ons
We need to allow admins (and plugins) to add and remove existing functions, in this way it will be possible to:
- Create standard Moodle plugins that add new functions (or remove) to the Mobile service
For the record, the functionality that finally was implemented was:
- Add a new attribute "services" in the external functions declaration (/db/services.php file), in this attribute you can now indicate a list of prebuilt services where do you want to add the function.
In this way, via a contributed plugins you can add external functions to the official mobile service to extends its functionality.
This also has the advantage that now Moodle plugins are self-containing. The plugins are responsible of adding their functions to the service (previously, the core services had the plugins external functions hardcoded)
- blocks
-
MDL-54032 Stop defining core functions included in mobile service in the 'central array'
- Closed
-
CONTRIB-6313 Support the certificate module in the Mobile app
- Closed
- has a non-specific relationship to
-
MOBILE-1150 Configure service to use from Moodle itself
- Closed
- has been marked as being related by
-
MDL-50783 Allow some ajax external functions to be called without a session
- Closed
- is duplicated by
-
MDL-49397 Allow plugins to add functions to standard services
- Closed
- will help resolve
-
MDL-45235 db/services.php Moodle Mobile Service declaration includes plugin functions
- Closed
-
MOBILE-925 Add support for remote add-ons
- Closed
-
MDL-49397 Allow plugins to add functions to standard services
- Closed