Juan Leyva
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
Juan Leyva
63130e328d
MDL-59133 mod_lesson: Return page record in get_user_attempt WS
2017-06-09 12:07:16 +01:00
Juan Leyva
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
Juan Leyva
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
Juan Leyva
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
Juan Leyva
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
Juan Leyva
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
Juan Leyva
0fc1f24b12
MDL-58415 mod_lesson: Handle correctly review mode
2017-04-20 09:58:45 +02:00
Juan Leyva
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
David Monllao
f9b99736f4
Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle
2017-03-29 12:51:46 +02:00
Juan Leyva
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
Juan Leyva
448a488642
MDL-58329 mod_lesson: New WS function mod_lesson_get_lesson
2017-03-27 14:48:28 +02:00
Juan Leyva
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
Juan Leyva
707d50d1c8
MDL-57760 mod_lesson: New WS mod_lesson_get_pages_possible_jumps
2017-03-27 10:47:07 +02:00
Juan Leyva
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
Juan Leyva
79d5e88215
MDL-57757 mod_lesson: New WS mod_lesson_get_user_attempt
2017-03-27 10:37:21 +02:00
Juan Leyva
899b000d99
MDL-57754 mod_lesson: New Web Service mod_lesson_get_attempts_overview
2017-03-27 10:34:45 +02:00
David Monllao
b7cc51ca60
Merge branch 'MDL-57724-master' of git://github.com/jleyva/moodle
2017-03-22 21:20:03 +01:00
Juan Leyva
5f3351d747
MDL-57724 mod_lesson: New Web Service mod_lesson_finish_attempt
2017-03-22 17:24:24 +01:00
David Monllao
33c5f9fd63
Merge branch 'MDL-57696-master' of git://github.com/jleyva/moodle
2017-03-22 13:01:03 +01:00
Juan Leyva
e1f88fe7c4
MDL-57696 mod_lesson: New WS mod_lesson_process_page
2017-03-22 10:54:12 +01:00
David Monllao
2800c3f43d
Merge branch 'MDL-57688-master' of git://github.com/jleyva/moodle
2017-03-22 10:16:54 +01:00
Juan Leyva
269eb6c810
MDL-57688 mod_lesson: Fix parameter type for pageid and review
2017-03-22 10:09:39 +01:00
Juan Leyva
ef8d1c9a15
MDL-57693 mod_lesson: New WS mod_lesson_get_page_data
2017-03-21 15:48:18 +01:00
Juan Leyva
d088632b97
MDL-57688 mod_lesson: New WS mod_lesson_launch_attempt
2017-03-21 15:43:24 +01:00
Juan Leyva
f4d0909fc0
MDL-57685 mod_lesson: New Web Service mod_lesson_get_pages
2017-03-21 10:53:35 +01:00
Juan Leyva
f8edef2e58
MDL-57665 mod_lesson: New WS mod_lesson_get_user_timers
2017-03-20 11:18:34 +01:00
Juan Leyva
ba6b2c11f6
MDL-57664 mod_lesson: New Ws mod_lesson_get_content_pages_viewed
2017-03-20 11:16:55 +01:00
Juan Leyva
d37472d88f
MDL-57657 mod_lesson: New WS mod_lesson_get_user_attempt_grade
2017-03-16 16:45:02 +01:00
Juan Leyva
78dbb42c80
MDL-57657 mod_lesson: New WS mod_lesson_get_user_grade
2017-03-16 16:45:01 +01:00
Juan Leyva
d689c1ed46
MDL-57648 mod_lesson: New Web Service mod_lesson_get_questions_attempts
2017-03-16 16:43:03 +01:00
Juan Leyva
4ac71790b6
MDL-57645 mod_lesson: New Web Service mod_lesson_view_lesson
2017-03-16 16:40:25 +01:00
Juan Leyva
630f0e3bce
MDL-57643 mod_lesson: New WS mod_lesson_get_access_information
2017-03-15 11:35:27 +01:00
Juan Leyva
af0e70b60a
MDL-57633 mod_lesson: New WS mod_lesson_get_lessons_by_courses
2017-01-31 17:01:49 +01:00
David Monllao
0bd8383a8b
MDL-55278 search: Updating references to area namespace
2016-07-21 18:38:18 +02:00
David Monllao
e2be996171
MDL-31989 search: New search areas
...
Some search areas have been introduced as part of the initial search API
and search engine API implementation.
- Forum posts
- Glossary enties
- All moodle activities
2016-02-23 10:47:57 +00:00
Mark Nelson
0bfafc5ba0
MDL-46455 mod_*: added restore mapping to events
2015-10-11 18:14:57 -07:00
Stephen Bourget
bb685cf3fa
MDL-49581 Lesson: Remove broken high score function
2015-07-20 20:06:44 -04:00
Jean-Michel Vedrine
247980b0e8
MDL-49642 mod_lesson: Fix issues found during integration review
2015-04-05 15:05:31 +02:00
Jean-Michel Vedrine
e0e1a83e2c
MDL-49642 mod_lesson: Group/user overrides
2015-04-02 13:56:52 +02:00
David Monllao
a2be9de182
Merge branch 'MDL-49430_m29v4' of git://github.com/sbourget/moodle
...
Conflicts:
mod/lesson/version.php
2015-03-24 13:25:26 +08:00
David Monllao
bedf3a0a39
MDL-49470 mod_lesson: Adding text space + unit test refinement
2015-03-24 11:59:05 +08:00
Stephen Bourget
14cdeb7ba9
MDL-49470 Lesson: Add page moved event
...
Conflicts:
mod/lesson/version.php
2015-03-24 11:05:56 +08:00
Stephen Bourget
e0f7b96347
MDL-49430 Lesson: Add restarted and resumed events
2015-03-18 13:30:29 -04:00
Stephen Bourget
1cf8ca343f
MDL-49183 Lesson: Add additional events
2015-02-19 21:16:26 -05:00
Stephen Bourget
8101328a69
MDL-48883 Lesson: Add question viewed and answered events
2015-02-08 20:18:23 -05:00
Stephen Bourget
28c36dd085
MDL-48883 Lesson: Add event for content page viewed
2015-02-08 20:17:41 -05:00
Mark Nelson
943c61051f
MDL-45445 events: added missing 'relateduserid' validation
2014-06-12 20:46:58 -07:00
Mark Nelson
1ea5f1e2d3
MDL-45630 events: removed unnecessary 'the' from event descriptions
2014-05-31 15:27:11 -07:00
Andrew Nicols
02915dfc23
MDL-45357 events: Remove unnecessary the before 'id' in event descriptions
2014-05-06 16:45:05 +08:00