a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
8babdbd396
MDL-74608 activities: a new option to force the activity language
...
For a long time, Moodle has had the feature to force the language
for a whole course. This change adds the same feature at activity
level.
The course-level feature was controlled by a capability
moodle/course:setforcedlanguage, and I decided to use the same
capability to control this feature. I think a new capability would be
overkill.
2022-08-15 22:15:52 +01:00
62ff1b954f
MDL-66877 mod: Fix WebServices returning unfiltered activity names
2019-11-28 17:18:29 +01:00
41860b7e9e
MDL-59453 mod_lesson: Return lesson contents without html cleaning
...
This is consistent to what is done in the web interface.
2017-07-18 12:24:01 +01:00
63130e328d
MDL-59133 mod_lesson: Return page record in get_user_attempt WS
2017-06-09 12:07:16 +01:00
b50ff71052
MDL-58860 mod_lesson: Fix get_attempts_overview for no attempts
...
WS get_attempts_overview was failing when there weren’t attempts in the
given assignment.
2017-05-09 10:03:39 +02:00
d96d72955e
MDL-58415 mod_lesson: Fix code styles and missing declaration
...
Found by the integrator review:
- Some incorrect code style declaration and phpdocs
- Missing $USER declaration
- Incorrect use of $lesson (should be $this)
2017-04-20 09:58:48 +02:00
9c543014a2
MDL-58415 mod_lesson: Add missing answer fields
...
There were a couple of fields missing when returning the complete
answer information required for offline usage.
2017-04-20 09:58:47 +02:00
f1cdd978aa
MDL-58415 mod_lesson: Out of time should be a string
...
process_eol_page expects a string, right now we are passing a boolean.
We should convert it to the correct string when is set to true, that is
‘normal’
2017-04-20 09:58:46 +02:00
a33c0e30eb
MDL-58415 mod_lesson: Return always allowofflineattempts
...
We need this field always to be able to display if the lesson is
available or not for download
2017-04-20 09:58:46 +02:00
0fc1f24b12
MDL-58415 mod_lesson: Handle correctly review mode
2017-04-20 09:58:45 +02:00
0259109fb5
MDL-58415 mod_lesson: Avoid API http redirections
...
Deep in the lesson API there are some http redirections in special
pages like clusters.
We need to handle it via new parameters to avoid redirections.
2017-04-20 09:58:44 +02:00
f9b99736f4
Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle
2017-03-29 12:51:46 +02:00
86ff8ccd22
MDL-57757 mod_lesson: Handle empty answers
...
This is and edge case created by a bug in the numeric question type.
2017-03-29 11:01:02 +02:00
448a488642
MDL-58329 mod_lesson: New WS function mod_lesson_get_lesson
2017-03-27 14:48:28 +02:00
a0558b5607
MDL-58329 mod_lesson: Refactor to use new exporter
...
Refactor existing WS to use the new summary_exporter
2017-03-27 14:42:11 +02:00
707d50d1c8
MDL-57760 mod_lesson: New WS mod_lesson_get_pages_possible_jumps
2017-03-27 10:47:07 +02:00
87e472bd15
MDL-57759 mod_lesson: Handle offline attempts in view and WS
...
- Notify the user if there are previous offline attempts
- Set the offline attempts and return additional information via Web
Services
2017-03-27 10:41:09 +02:00
79d5e88215
MDL-57757 mod_lesson: New WS mod_lesson_get_user_attempt
2017-03-27 10:37:21 +02:00
899b000d99
MDL-57754 mod_lesson: New Web Service mod_lesson_get_attempts_overview
2017-03-27 10:34:45 +02:00
b7cc51ca60
Merge branch 'MDL-57724-master' of git://github.com/jleyva/moodle
2017-03-22 21:20:03 +01:00
5f3351d747
MDL-57724 mod_lesson: New Web Service mod_lesson_finish_attempt
2017-03-22 17:24:24 +01:00
33c5f9fd63
Merge branch 'MDL-57696-master' of git://github.com/jleyva/moodle
2017-03-22 13:01:03 +01:00
e1f88fe7c4
MDL-57696 mod_lesson: New WS mod_lesson_process_page
2017-03-22 10:54:12 +01:00
2800c3f43d
Merge branch 'MDL-57688-master' of git://github.com/jleyva/moodle
2017-03-22 10:16:54 +01:00
269eb6c810
MDL-57688 mod_lesson: Fix parameter type for pageid and review
2017-03-22 10:09:39 +01:00
ef8d1c9a15
MDL-57693 mod_lesson: New WS mod_lesson_get_page_data
2017-03-21 15:48:18 +01:00
d088632b97
MDL-57688 mod_lesson: New WS mod_lesson_launch_attempt
2017-03-21 15:43:24 +01:00
f4d0909fc0
MDL-57685 mod_lesson: New Web Service mod_lesson_get_pages
2017-03-21 10:53:35 +01:00
f8edef2e58
MDL-57665 mod_lesson: New WS mod_lesson_get_user_timers
2017-03-20 11:18:34 +01:00
ba6b2c11f6
MDL-57664 mod_lesson: New Ws mod_lesson_get_content_pages_viewed
2017-03-20 11:16:55 +01:00
d37472d88f
MDL-57657 mod_lesson: New WS mod_lesson_get_user_attempt_grade
2017-03-16 16:45:02 +01:00
78dbb42c80
MDL-57657 mod_lesson: New WS mod_lesson_get_user_grade
2017-03-16 16:45:01 +01:00
d689c1ed46
MDL-57648 mod_lesson: New Web Service mod_lesson_get_questions_attempts
2017-03-16 16:43:03 +01:00
4ac71790b6
MDL-57645 mod_lesson: New Web Service mod_lesson_view_lesson
2017-03-16 16:40:25 +01:00
630f0e3bce
MDL-57643 mod_lesson: New WS mod_lesson_get_access_information
2017-03-15 11:35:27 +01:00
af0e70b60a
MDL-57633 mod_lesson: New WS mod_lesson_get_lessons_by_courses
2017-01-31 17:01:49 +01:00