Sara Arjona
8e5b007c3e
Merge branch 'MDL-64657-310' of git://github.com/jleyva/moodle into MOODLE_310_STABLE
2020-10-08 14:15:38 +02:00
Paul Holden
b9f8e3e114
MDL-69625 course: return raw custom field value in external method.
...
For clients that wish to consume the original value of the custom
field (e.g. timestamps for date fields), rather than the formatted
version, add a new "valueraw" property to the returned data.
2020-10-05 10:40:33 +01:00
Sara Arjona
e2a73965ca
Merge branch 'MDL-68098-310' of git://github.com/dpalou/moodle into MOODLE_310_STABLE
2020-10-01 12:56:23 +02:00
Dani Palou
f4bdb898c7
MDL-68098 ws: Fix WebServices broken by filters HTML
2020-09-23 12:08:40 +02:00
Juan Leyva
0ad2d843d7
MDL-64657 course: Return hidden section names when configured
2020-09-22 11:53:04 +02:00
Juan Leyva
fdb7f85140
MDL-68935 course: Return context data in get_content WS
2020-09-16 12:43:53 +02:00
Mathew May
fbbfe9aa00
MDL-68928 core_course: Select activity chooser footer
2020-08-18 19:02:25 +02:00
Paul Holden
9dbb05ffe0
MDL-60260 course: validate external fields on create/update course.
...
Ensure course fullname/shortname fields are not empty.
2020-07-29 19:57:16 +01:00
Mathew May
16d77f1884
MDL-67883 core: Make core ready for MoodleNet.
2020-06-05 11:47:42 +08:00
Adrian Greeve
cd09777dbd
MDL-67262 core_course: Added the ability to recommend activities.
...
This allows an adminsitrator or a user with
'moodle/course:recommendactivity' to recommend activities in the
activity chooser.
2020-02-24 10:59:55 +08:00
Adrian Greeve
54561c885e
MDL-67585 core_course: Removing functions introduced this release.
...
For the initial rewrite of the activity chooser we had some
temporary functions to make everything work. These have been replaced
with different functions and so these functions are now being removed.
2020-02-20 11:42:23 +08:00
Adrian Greeve
5c78541f80
MDL-67585 core_course: Service factory for course content items.
2020-02-20 11:42:23 +08:00
Jake Dallimore
85b4eec5b7
MDL-67585 core_course: new web service to return course content items
2020-02-20 11:42:23 +08:00
Jake Dallimore
a826857844
MDL-67585 core_course: added web services for content item favourites
...
Two new services:
add_content_item_to_user_favourites
remove_content_item_from_user_favourites
2020-02-20 11:42:23 +08:00
Mathew May
05b27f2118
MDL-67264 core_course: Activity chooser new feature
...
Roll in the base for the new activity chooser
It renders all modules into a modal
Gives the user to add from either the base or help screens
All checked by accessability tools with great coverage
Adds minimal overhead to the course edit setup time
Co-authored-by: Mathew May <mathewm@hotmail.co.nz >
Co-authored-by: Mihail Geshoski <mihail@moodle.com >
2020-02-12 12:35:03 +08:00
Mathew May
e3bb3da406
MDL-66359 core_course: Modify get_enrolled_users_by_cmid
...
We need to also provide a user's group along with the current information
2019-11-07 10:47:45 +08:00
Mathew May
9d752481fc
MDL-66381 core_course: Modify get_enrolled_users_by_cmid
...
We need to also provide a user's picture along with the current information
2019-11-01 11:46:37 +08:00
Mathew May
dc0145b19e
MDL-66074 core_course: Correct documentation
2019-10-30 10:23:41 +08:00
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