Jun Pataleta
a85c424204
MDL-75085 external: Fix external_multiple_structure parameter passing
...
Some calls to the external_multiple_structure's constructor incorrectly
pass parameters where the value for the $description parameter is not
being passed. This results to invalid values being passed for the
$required parameter.
2023-02-02 09:08:29 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Dongsheng Cai
36bc7b07db
MDL-71235 webservices: add activity completion data to web services
2021-04-29 13:52:32 +10:00
Eloy Lafuente (stronk7)
6ada5b713b
Merge branch 'MDL-64528-master' of https://github.com/mackensen/moodle
2019-01-30 21:21:26 +01:00
Charles Fulton
7868aab181
MDL-64528 core_completion: prevent toggling completion in frozen context
2019-01-12 07:37:21 -08:00
Mark Johnson
7672471236
MDL-64123 webservices: Add valueused to completion data
2018-12-19 16:26:35 +00:00
Juan Leyva
0e8b3d929d
MDL-61312 completion: Return completion for teachers via WS
...
core_completion_get_activities_completion_status was not returning
completion information for users with the teacher role only (when it
wasn’t a role allowed to track completion).
2018-01-30 12:19:52 +01:00
Neill Magill
3acb294828
MDL-60945 Web services: Too many progress records retrieved
...
The core_completion_get_activities_completion_status was getting the
progress for all users on the course called, and then discarding all
the records but one.
This change ensures that only progress for the user we are interested in
is retrieved from the database.
This has a side benefit of removing a full table scan from the query
finding the users inside the get_progress_all() method.
2017-12-11 08:41:16 +00:00
Pau Ferrer Ocaña
15ead7a176
MDL-60835 completion: Add overrideby field to completion status WS
2017-11-16 16:35:43 +01:00
Jake Dallimore
b08337c35e
MDL-37361 completion: Consolidate icon logic and clarify web service
...
- Icon generation logic moved to the course renderer.
- Web service should return the completion info only, not HTML.
- JS modified to handle icon rendering in relevant cases.
2017-10-10 17:12:22 +08:00
Jake Dallimore
8fbc41d8d5
MDL-37361 completion: minor code fixes.
2017-10-10 17:12:09 +08:00
Jake Dallimore
77165c9c83
MDL-37361 behat: added a test covering the activity completion report
2017-10-10 17:11:32 +08:00
Jake Dallimore
6f4adc6be4
MDL-37361 completion: make completion overrides visible to students
...
- Set icons in the course/renderer
- Use 'set' in lang strings for simplicity
- Code style fixes
2017-10-10 17:11:13 +08:00
Eiz Eddin Al Katrib
a39918daae
MDL-37361 completion: Enabled overriding activity completion status
2017-10-10 17:10:15 +08:00
Juan Leyva
9db43c7341
MDL-57629 webservice: Fix external functions phpdoc
...
Replace external_external_function_parameters with
external_function_parameters
2017-01-11 16:56:25 +01:00
Juan Leyva
4485f7c549
MDL-49821 webservice: Add active user checks in external functions
2015-09-25 11:33:13 +02:00
Juan Leyva
23b398fc81
MDL-50930 completion: New WS core_completion_mark_course_self_completed
2015-09-11 11:31:12 +02:00
Juan Leyva
edf6db6547
MDL-51281 completion: Fixed incorrect returned parameter type
...
Parameter status in external function get_course_completion_status
2015-09-04 11:14:03 +02:00
Aaron Barnes
03f3f7180f
MDL-49611 completion: Update dangling err_nocriteria lang strings
2015-05-19 22:41:19 +12:00
Costantino Cito
90c326640d
MDL-49313 webservices: New WS get_course_completion_status
2015-04-02 21:58:13 +02:00
Juan Leyva
9cd1093c33
MDL-49314 webservices: Check groups using groups_user_groups_visible
2015-04-01 10:21:17 +02:00
Juan Leyva
604afeff1c
MDL-49314 webservices: Add the new function to the mobile service
...
The commit also include some clean-up
2015-04-01 10:19:25 +02:00
Costantino Cito
5f2406c94a
MDL-49314 webservices: New WS get_activities_completion_status
2015-04-01 10:19:25 +02:00
Juan Leyva
b9d17109e2
MDL-49444 webservices: New WS update_activity_completion_status
2015-03-24 09:50:01 +01:00