298 Commits

Author SHA1 Message Date
Dan Poltawski
df44776afd Merge branch 'MDL-50536-master' of git://github.com/jleyva/moodle 2015-09-22 12:55:46 +01:00
Juan Leyva
bae627b276 MDL-50541 mod_imscp: New Web Service mod_imscp_get_imscps_by_courses 2015-09-21 09:30:59 +02:00
Juan Leyva
580a14c265 MDL-50536 mod_book: New WS mod_book_get_books_by_courses 2015-09-21 09:30:06 +02:00
Juan Leyva
f07a2bb09b MDL-50132 mod_choice: New WS mod_choice_get_choices_by_courses 2015-09-21 09:27:42 +02:00
Juan Leyva
91ea3678a9 MDL-50349 scorm: New WS mod_scorm_get_scorms_by_courses 2015-09-17 18:16:22 +02:00
Juan Leyva
6b5e69ebe6 MDL-50557 mod_scorm: New WS mod_scorm_get_scorm_sco_tracks 2015-09-16 23:18:39 +02:00
Juan Leyva
6b4ceb24cf MDL-50353 scorm: New Web Service mod_scorm_insert_scorm_tracks 2015-09-16 22:07:34 +02:00
Juan Leyva
822e9df70d MDL-50352 scorm: New Web Service mod_scorm_get_scorm_user_data 2015-09-16 19:25:19 +02:00
Juan Leyva
dfe927c8d6 MDL-50351 scorm: New Web Service mod_scorm_get_scorm_scoes 2015-09-16 19:25:17 +02:00
Eloy Lafuente (stronk7)
7bf83951f9 Merge branch 'MDL-50930-master' of git://github.com/jleyva/moodle 2015-09-16 02:11:12 +02:00
Eloy Lafuente (stronk7)
f536f4a77c Merge branch 'MDL-49942-master' of git://github.com/jleyva/moodle 2015-09-15 22:52:13 +02:00
David Monllao
224d819678 Merge branch 'MDL-50964-master' of git://github.com/jleyva/moodle
Conflicts:
	group/tests/externallib_test.php
	lib/db/services.php
2015-09-15 17:09:33 +08:00
David Monllao
8a08668255 Merge branch 'MDL-50966-master' of git://github.com/jleyva/moodle 2015-09-15 16:58:54 +08:00
Juan Leyva
740c354f17 MDL-49942 core_course: New Web Service core_course_search_courses 2015-09-15 09:18:26 +02:00
Andrew Nicols
5a191b2f44 Merge branch 'MDL-51017-master' of git://github.com/jleyva/moodle 2015-09-15 08:23:10 +08:00
Juan Leyva
22de67f4af MDL-51017 mod_scorm: New WS mod_scorm_get_scorm_attempt_count 2015-09-14 10:55:52 +02:00
Andrew Nicols
ac43dc23e4 Merge branch 'MDL-50783-master' of git://github.com/damyon/moodle 2015-09-14 15:52:42 +08:00
Andrew Nicols
08a4dbfe10 Merge branch 'MDL-50994-master' of git://github.com/jleyva/moodle 2015-09-14 15:40:05 +08:00
Damyon Wiese
ba224fb42c MDL-50783 Ajax: Configure how to call a webservice through db/service.php
Now the db/service.php array can contain these extra keys to provide information
on how a webservice may be called:

    'ajax' => true (Default is false)

Replaces the xx_is_allowed_from_ajax callback.

    'loginrequired' => false (Default is true)

Means that this webservice can be called through lib/ajax/service-nosession.php
which sets NO_MOODLE_COOKIES to true (faster). This is only safe for webservices returning
static public data (e.g. get_string).
2015-09-14 15:10:21 +08:00
Andrew Nicols
9608bed133 Merge branch 'MDL-50782-master' of git://github.com/damyon/moodle 2015-09-14 14:00:52 +08:00
Juan Leyva
7ab43ac84a MDL-50994 mod_forum: New Web Service mod_forum_add_discussion 2015-09-11 13:31:36 +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
c0ef63eb38 MDL-50964 core_group: New Web Service core_group_get_activity_groupmode 2015-09-11 11:30:28 +02:00
Juan Leyva
7107c2f066 MDL-50966 core_group: New WS core_group_get_activity_allowed_groups 2015-09-11 11:29:38 +02:00
Eloy Lafuente (stronk7)
e36d7d57ae Merge branch 'MDL-50015-master' of git://github.com/jleyva/moodle 2015-09-10 01:42:06 +02:00
Eloy Lafuente (stronk7)
7650a4c54d Merge branch 'MDL-50537-master' of git://github.com/jleyva/moodle 2015-09-10 01:01:32 +02:00
Dan Poltawski
5760a1b083 Merge branch 'MDL-50944-master' of git://github.com/jleyva/moodle 2015-09-09 14:29:53 +01:00
Costantino Cito
9f7de6317d MDL-50537 mod_chat: New WS mod_chat_get_chats_by_courses 2015-09-09 14:08:01 +02:00
Andrew Nicols
edf84ada39 Merge branch 'MDL-50995-master' of git://github.com/jleyva/moodle 2015-09-09 16:03:05 +08:00
Dan Poltawski
760e38d0f4 Merge branch 'MDL-50013-master' of git://github.com/jleyva/moodle 2015-09-08 15:21:27 +01:00
Dan Poltawski
e90783958c Merge branch 'MDL-50853-master' of git://github.com/jleyva/moodle 2015-09-08 13:37:35 +01:00
Damyon Wiese
5d8c198711 MDL-50782 Ajax: No require_login for all ajax webservice calls
Some webservice functions need to be available without a login, e.g.
fetching strings and templates.

External functions must call validate_context if they require a valid login etc.

Added a new parameter to services.php: "loginrequired". Default is true.
2015-09-08 09:16:58 +08:00
Juan Leyva
6c9b2bb5fe MDL-50013 mod_book: New WS mod_book_view_book 2015-09-04 11:18:10 +02:00
Juan Leyva
e648d036f8 MDL-50015 mod_imscp: New WS mod_imscp_view_imscp 2015-09-04 11:16:58 +02:00
Juan Leyva
5841b9d5d3 MDL-50853 mod_chat: New Web Service mod_chat_view_chat 2015-09-02 17:23:43 +02:00
Juan Leyva
8380bc7fc0 MDL-50853 mod_chat: New Web Service mod_chat_get_chat_latest_messages 2015-09-02 17:23:42 +02:00
Juan Leyva
874aa80f67 MDL-50853 mod_chat: New Web Service mod_chat_send_chat_message 2015-09-02 17:23:41 +02:00
Juan Leyva
e4076a6e4c MDL-50853 mod_chat: New Web Service mod_chat_get_chat_users 2015-09-02 17:23:40 +02:00
Juan Leyva
1ca4cdf3e9 MDL-50853 mod_chat: New Web Service mod_chat_login_user 2015-09-02 17:16:13 +02:00
Juan Leyva
50a2031712 MDL-50995 mod_forum: New WS mod_forum_add_discussion_post 2015-09-02 12:20:06 +02:00
Juan Leyva
4c4d3b7303 MDL-50944 mod_choice: New Web Service mod_choice_view_choice 2015-09-02 10:35:37 +02:00
Juan Leyva
1006459415 MDL-50944 mod_choice: New Web Service mod_choice_submit_choice_response 2015-09-02 10:35:36 +02:00
Juan Leyva
565528cebc MDL-50944 mod_choice: New Web Service mod_choice_get_choice_options 2015-09-02 10:35:36 +02:00
Juan Leyva
b87f31db53 MDL-50944 mod_choice: New Web Service mod_choice_get_choice_results 2015-09-02 10:35:35 +02:00
Marina Glancy
ef4c23ccd2 MDL-50919 tags: new WS core_tag_get_tags 2015-09-02 14:15:16 +08:00
Marina Glancy
8e35585390 MDL-50919 tags: new UI for managing tags 2015-09-02 14:15:13 +08:00
Andrew Nicols
3c81333aa4 Merge branch 'MDL-50008-master' of git://github.com/jleyva/moodle 2015-08-04 16:20:55 +08:00
Andrew Nicols
121eaa6cfe Merge branch 'MDL-49792-master' of git://github.com/jleyva/moodle 2015-08-04 16:17:43 +08:00
Juan Leyva
734c7452d3 MDL-50008 folder: New Web Service mod_folder_view_folder 2015-07-30 23:02:47 +02:00
Juan Leyva
3c779961ad MDL-49792 resource: New WS mod_resource_view_resource 2015-07-30 23:01:21 +02:00