Damyon Wiese
235ef57a3d
MDL-51324 forms: Add a new course selector
...
This is a squashed commit containing a number of changes:
This is an ajax driven course selector that has searching etc. It can select single, or multiple courses.
Make course selector accept a list of courses to exclude
courseselector - lookup coursename on setValue
Use the get_course_display_name_in_list function to generate the course names
Add a throttle to auto-complete to reduce spamming the server
Do a single query to fetch all the courses in the mform element when validation fails
Fix core course search function to return results when there are less than 2 chars in the query.
Handle setData with an empty array in new course selector
2016-03-09 13:30:18 +08:00
David Monllao
d30255a08d
Merge branch 'MDL-51579-master' of git://github.com/jleyva/moodle
...
Conflicts:
version.php
2015-10-07 12:48:03 +08:00
Juan Leyva
9748791ba8
MDL-51564 webservice: Review the use of external format_string
2015-10-06 14:00:45 +02:00
Juan Leyva
13bb68199e
MDL-51579 core_course: New Web Service get_course_module_by_instance
2015-10-04 21:11:01 +02:00
Juan Leyva
c515849937
MDL-51371 course: New Web Service core_course_get_course_module
2015-09-23 15:32:15 +02:00
Juan Leyva
740c354f17
MDL-49942 core_course: New Web Service core_course_search_courses
2015-09-15 09:18:26 +02:00
Juan Leyva
1c2b788256
MDL-49796 webservices: Fix the functions description
2015-07-14 11:31:57 +02:00
Juan Leyva
4dfef5e9ef
MDL-49453 webservices: Validate section number (exists and visibility)
2015-04-02 11:06:24 +02:00
Juan Leyva
7aed00d51f
MDL-49453 webservices: New WS core_course_view_course
2015-03-26 16:30:28 +01:00
Juan Leyva
08b66e8616
MDL-49242 webservices: Add filter options in core_course_get_contents
2015-03-06 11:32:12 +01:00
Juan Leyva
12da294e3e
MDL-49174 webservices: Return front page contents in get_contents ws
2015-02-19 15:08:02 +01:00
Dan Poltawski
8edac41831
Merge branch 'MDL-43535_master' of git://github.com/dmonllao/moodle
2015-02-09 22:39:36 +00:00
Eloy Lafuente (stronk7)
4c55046399
Merge branch 'MDL-48357-master' of git://github.com/jleyva/moodle
2015-02-09 15:51:58 +01:00
David Monllao
3c1aa6fdfb
MDL-43535 webservices: Marking functions as deprecated
...
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
are already being used in web services.
2015-02-09 05:42:22 +08:00
Dan Poltawski
1ee0c927b2
Merge branch 'MDL-44071-master' of git://github.com/zbdd/moodle
2015-02-03 12:16:16 +00:00
James Henestofel
70f379639a
MDL-44071 webservices: Sorting courses post deletion.
...
Additional warnings added if particular steps fail.
Signed-off-by: Zachary Durber <zdurber@gmail.com>
2015-02-02 16:37:12 +08:00
Juan Leyva
ca4154ceaf
MDL-48357 webservices: Missing instance property in course contents ws
2015-01-29 14:06:09 +01:00
Tony Levi
0021942592
MDL-48924 backup: Fix some get_file_packer() calls for enabletgzbackups
2015-01-29 22:53:20 +10:30
sam marshall
8d1f33e122
MDL-44070 Conditional availability enhancements (6): core changes
...
Changes core code to use new API instead of the old one when
checking user access to activities and sections.
Includes changes to other libraries that are necessary after
adding the availability system and removing old conditional tables
etc.
2014-04-07 20:11:48 +01:00
Andrew Davis
d35499312d
MDL-30085 core_grade: added a grade web service
2014-03-31 15:15:17 +02:00
Dan Poltawski
73ee2fda6b
MDL-41690 course: remove use of deprecated functions
2014-01-06 10:45:59 +08:00
Francis Devine
5536a5617c
MDL-41417 course: prevent duplicate idnumbers being used when updating a course
2013-09-06 11:34:04 +08:00
Charles Fulton
9930e4267c
MDL-41256 course: improved debugging on course creation
2013-08-26 06:59:33 -07:00
Eloy Lafuente (stronk7)
0b3af0798c
Merge branch 'w29_MDL-40220_m26_core_component' of https://github.com/skodak/moodle
2013-07-17 01:07:21 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Dan Poltawski
1b2f549358
MDL-40536 course/externallib fix incorrect variable
...
Fixes test_import_course_invalid_deletecontent_option() from the
previous commit.
2013-07-12 16:39:41 +08:00
Iñaki Arenaza
7469c51270
MDL-34085 Fix the backup options names in core_course_duplicate_course
...
Fix the option names to match those used by the backup subsystem.
2013-05-30 17:26:29 +02:00
Damyon Wiese
e7c5ee5102
Merge branch 'MDL-30775-master' of git://github.com/mouneyrac/moodle
...
Conflicts:
course/externallib.php
2013-05-02 16:20:30 +08:00
Jerome Mouneyrac
9f3cc17d8f
MDL-30775 get_course_contents: remove warnings when the section is empty
2013-04-30 14:06:44 +08:00
Jerome Mouneyrac
487bc1b627
MDL-38440 WebService get_contents doesn't return the full text of labels
2013-04-26 15:13:03 +08:00
Jerome Mouneyrac
63c7be350b
MDL-34434 Change the texts saying that we'll be removing web service deprecated functions from 2.5
2013-04-17 12:13:04 +08:00
Damyon Wiese
7bf602d9d3
Merge branch 'MDL-26644-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/db/install.xml
lib/db/upgrade.php
2013-04-03 14:32:11 +08:00
Marina Glancy
9bad61dbfe
MDL-38147 deprecated create_course_category(), change usage to coursecat. Also avoid direct DB update of table course_categories
...
changed to usage of
- coursecat::create()
- coursecat::update()
2013-03-25 13:22:26 +11:00
Marina Glancy
6e1d1ee0e7
MDL-38147 deprecated move_category(), course_category_hide(), course_category_show(), change usage to coursecat
...
All usages in core replaced with:
- coursecat::change_parent()
- coursecat::hide()
- coursecat::show()
2013-03-25 13:21:09 +11:00
Marina Glancy
deb65cedc4
MDL-38147 deprecated category_delete_move(), category_delete_full(), change usage to coursecat
2013-03-25 13:21:04 +11:00
Frederic Massart
8819a83601
MDL-26644 course: Remove useless setting completionstartonenrol
...
This commit removes any trace of the setting 'Completion tracking
begins on enrolment' as it does not appear to do anything.
2013-03-25 08:28:01 +08:00
Sam Hemelryk
07ccb35731
Merge branch 'wip-MDL-38144-master' of git://github.com/marinaglancy/moodle
2013-02-26 15:43:26 +13:00
Eloy Lafuente (stronk7)
05fc7ccc82
Merge branch 'MDL-30098_master' of git://github.com/markn86/moodle
...
Conflicts:
course/tests/externallib_test.php
2013-02-25 23:38:20 +01:00
Marina Glancy
db1eed7012
MDL-38144 categories are created in reverse sort order in externallib
2013-02-23 12:06:39 +11:00
Mark Nelson
79949c1ba3
MDL-30098 core_course: adding webservice functions to allow the deletion of module instances
2013-02-06 16:56:17 +08:00
Damyon Wiese
e2adaaf788
MDL-30062 - Fix whitespace
2013-02-05 16:07:08 +08:00
Rajesh Taneja
791723c34a
MDL-30062 Webservices: added update_course webservice
2013-02-05 14:15:53 +08:00
Marina Glancy
9a36be7361
MDL-37085 Properly deprecated functions print_xxx() from course/lib.php
...
- get_print_section_cm_text()
- print_section_add_menus()
- print_section()
- make_editing_buttons()
2013-01-14 15:01:28 +11:00
Jerome Mouneyrac
11d819364e
MDL-30961 get_course_contents: returned activity name should not be check against PARAM_TEXT, it could be anything
2012-11-30 14:22:16 +08:00
Marina Glancy
8d8d4da44d
MDL-36017 renamed formatoptions to courseformatoptions in externallib
2012-11-05 11:40:03 +08:00
Marina Glancy
0e984d9809
MDL-36017 Course now may have format-specific options, numsections and hiddensections are among them
2012-11-02 10:56:22 +08:00
Sam Hemelryk
8422094d91
Merge branch 'MDL-35198' of git://github.com/mouneyrac/moodle
2012-10-16 11:23:24 +08:00
Marina Glancy
71a56e08c8
MDL-35339 avoid using get_all_sections(), get_all_mods() and field section.sequence directly
2012-10-15 14:08:13 +08:00
Jerome Mouneyrac
12fc8acf5b
MDL-35198 replace key_exists by array_key_exists
2012-09-26 15:20:18 +08:00
Ankit Agarwal
1f364c87e3
MDL-34459 course: changing strictness of context calls as needed
2012-07-24 16:20:35 +08:00