Mathew May
06e50afd5e
MDL-66077 course: Add WS to get list of users in a cmid
...
Part of MDL-66074
2019-10-28 13:55:12 +08:00
Tim Schroeder
d9d041e867
MDL-66944 course: fixed copy-paste-error in comment
2019-10-17 18:15:08 +02:00
Davo Smith
8d166d7745
MDL-66017 block_myoverview: filter by custom course field
2019-10-09 14:25:52 +01:00
Mark Johnson
d91aa1e760
MDL-65327 performance: Lazy-load module name strings
2019-09-20 08:59:34 +01:00
Adrian Greeve
5872c4d43e
Merge branch 'MDL-65969-master' of git://github.com/jleyva/moodle
2019-08-29 11:14:07 +08:00
Alexander Bias
cd4abbc740
MDL-66016 block_myoverview: Add 'All' course filter
2019-08-23 20:44:19 +02:00
Juan Leyva
62b40d2743
MDL-65969 course: Indicate when the module is not linking to a new page
2019-08-15 20:33:08 +01:00
sam marshall
107ab4b97b
MDL-65931 Web services: get_courses_by_field minor inefficiency
...
When called with a list of course IDs, this change makes it preload
the contexts and categories before further processing. This saves a
number of queries, depending on how many courses you call it for.
(Typically the function is called with a list of all your enrolled
courses.)
The change may also improve performance for other web services that
call the validate_courses function.
2019-07-10 18:27:42 +01:00
Sara Arjona
c128ccc142
MDL-57487 course: final deprecation external::get_activities_overview
2019-06-14 17:41:18 +02:00
Juan Leyva
bfae6ca704
MDL-65212 course: Return custom fields in WS
...
External function core_course_external::get_courses_by_field was not returning custom course fields.
2019-04-30 15:19:45 +02:00
Eloy Lafuente (stronk7)
ff3c8c0e6c
Merge branch 'MDL-64656-master' of git://github.com/jleyva/moodle
2019-04-11 20:12:13 +02:00
Juan Leyva
6c344ff282
MDL-64656 core_tag: Return tags in modules and blog
2019-04-11 10:20:44 +02:00
Marina Glancy
76f2d89471
MDL-10965 course: search only courses with completion
...
it is quite often when we need to have an autocomplete element that searches courses that
have completion enabled. This commit adds an option for the 'course' form element, and also
changes two places where we search for courses with completion. This should fix MDL-58989
2019-04-10 12:35:29 +02:00
Marina Glancy
beff3806d6
MDL-10965 courses: capability to browse course list
2019-04-10 12:35:28 +02:00
Adrian Greeve
02b342bb70
MDL-65019 core_course: Update to fix whitespace.
2019-04-05 09:33:13 +08:00
Adrian Greeve
abd898606d
Merge branch 'MDL-65019-master' of git://github.com/jleyva/moodle
2019-04-05 09:15:18 +08:00
Mathew May
3828422d82
MDL-60339 course: Course editing only checked against site:manageblocks.
...
Add in additional capabilities to the page. When all_editing_caps is called it'll check against
moodle/site:manageblocks & added capabilities. If moodle/site:manageblocks
was not set the user would have trouble editing the page.
2019-03-22 13:47:16 +08:00
Juan Leyva
acfd5e8329
MDL-65019 core: Return repository type for main file
2019-03-20 15:29:53 +01:00
Adrian Greeve
98c49e1a91
Merge branch 'MDL-64026-master' of git://github.com/jleyva/moodle
2019-03-07 10:01:25 +08:00
Sara Arjona
d5cd071777
Merge branch 'MDL-64123_master' of https://github.com/marxjohnson/moodle
2019-01-30 17:46:03 +01:00
Juan Leyva
9b8aed89d8
MDL-64026 course: Return content summary information via WS
2019-01-30 12:40:25 +01:00
Marina Glancy
bbf60b1412
MDL-57898 core_customfield: coding style fixes
2019-01-18 14:28:24 +01:00
David Matamoros
7a0162f17a
MDL-57898 core_course: add custom fields support to courses
...
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:18 +01:00
Mark Johnson
7672471236
MDL-64123 webservices: Add valueused to completion data
2018-12-19 16:26:35 +00:00
Mihail Geshoski
329f1f23ff
MDL-63969 core_course: Store favourite courses in the course context
...
The course favourites were previously set in the system context which
is not right as they should be stored in the course context.
2018-11-16 12:20:17 +08:00
Víctor Déniz Falcón
4f6680a1e9
MDL-63062 block_recentlyaccessedcourses: add starred icon
2018-11-05 23:51:49 +00:00
Victor Deniz
98a52c80bb
MDL-63062 block_recentlyaccessedcourses: add web service
2018-11-05 23:46:43 +00:00
Andrew Nicols
f3d077d0a7
Merge branch 'MDL-63457-master' of git://github.com/peterRd/moodle
2018-11-01 15:03:34 +08:00
Juan Leyva
1de51367f7
MDL-63522 course: Return completion info in get_course_content WS
2018-10-29 11:11:38 +01:00
Juan Leyva
1206a4878c
MDL-63522 course: Return more fields in get_course_content WS
...
We need those fields on the mobile app to be able to render the course view properly.
2018-10-29 11:10:51 +01:00
Peter
7dcb274c9e
MDL-63457 block_myoverview: Update getters for enrolled courses
...
* Update the enrol courses getter to accept an 'exclude course' id array
* Use the db query to filter hidden courses
2018-10-29 08:36:59 +08:00
Peter
e6f03948d7
MDL-63457 block_myoverview: Hide courses from individual overview blocks
...
* add new preferences for hidden courses
* Modified course filter to use the user preference
* Behat test
* Regex update
* Toggle hide/show
* Update enrolled_course getter to pass hidden value
* provider
* unit tests
2018-10-29 08:32:05 +08:00
Bas Brands
3cfff88516
MDL-63058 block_myoverview: starring and storing preferences
2018-10-20 17:53:35 +02:00
Eloy Lafuente (stronk7)
1a51deaf69
Merge branch 'MDL-63583-master' of git://github.com/jleyva/moodle
2018-10-16 00:29:02 +02:00
Jun Pataleta
6bcf1e76c4
Merge branch 'MDL-63337-master' of git://github.com/bmbrands/moodle
2018-10-15 21:03:16 +08:00
Bas Brands
6481a21fc3
MDL-63337 block_myoverview: enrol_get_my_courses sort ul.timeaccess
2018-10-15 08:42:08 +02:00
Andrew Nicols
489dd14569
Merge branch 'MDL-63542-master' of git://github.com/jleyva/moodle
2018-10-15 10:57:38 +08:00
David Monllao
a169745489
MDL-60710 course: Fix incorrect reference to role
2018-10-10 10:57:47 +02:00
Juan Leyva
bd4a6a7060
MDL-63583 course: Include course/lib.php always
...
core_course_get_courses_by_field WS must include always course/lib.php to not depend on functions including it.
2018-10-08 16:32:15 +02:00
Juan Leyva
10b88bf2c7
MDL-63542 core_course: Support stealth activities in WS
2018-10-05 14:51:01 +02:00
David Knuplesch
a487a3edf2
MDL-60710 course: setting to show/hide duplicate coursecontact
2018-10-01 13:39:17 +02:00
Ryan Wyllie
2c1d19fde6
MDL-63044 course: add get_enrolled_courses_by_timeline_classification
2018-09-27 13:10:44 +08:00
Marina Glancy
442f12f81a
MDL-62742 core: rename coursecat->core_course_category
...
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Jake Dallimore
bdd410a6f4
MDL-54830 core_course: fix maxbytes logic in course_update web service
...
The service should allow the special value of 0 (site limit) to be set.
2018-07-16 10:41:17 +08:00
Marina Glancy
d80533be40
MDL-62790 course: cap check in core_course_get_categories
2018-07-03 12:01:15 +08:00
Juan Leyva
8c9a196409
MDL-61521 course: Add missing text formatting for category name
2018-04-26 12:21:22 +02:00
Juan Leyva
cf58a2d528
MDL-61198 course: Return course format options in WS
2018-04-05 11:05:47 +01:00
Davo Smith
1433a07881
MDL-52811 course: prevent setting of 'lang' without permission
2018-02-01 17:07:12 +00:00
Juan Leyva
6db2423551
MDL-60738 webservice: Clean theme and lang properly
...
Sometimes the "theme" and "lang" fields in the user and course tables
in the database are set to incorrect values (uninstalled or
non-existent themes and language packs).
This makes Web Services functions to fail because the WS server
validate the returned data using the validate_param function that clean
parameters.
2017-11-20 09:37:30 +01:00
David Monllao
3fdecc2841
Merge branch 'MDL-60377-master' of git://github.com/jleyva/moodle
2017-10-30 11:42:11 +01:00