Sara Arjona
634e3594fe
Merge branch 'MDL-76723-main' of https://github.com/junpataleta/moodle
2024-01-24 13:12:15 +01:00
Jun Pataleta
9dcffb4a93
MDL-76723 core_external: Handle format properties properly
...
- If a text format property defines the 'optional' attribute as true,
then the $required parameter that
is passed to \core\external\exporter::get_format_structure() should be
VALUE_OPTIONAL.
- If a default value is provided for a format property,
\core\external\exporter::get_format_structure() should pass the default
value to the external_format_value constructor.
- Added validation for external_format_value for the default parameter.
Debugging will be shown in case an invalid default value is passed.
- Amended unit tests for better coverage.
2023-12-19 15:48:07 +08:00
Jun Pataleta
6f28538750
MDL-80201 core: Check for default format value for exporter::export()
2023-12-19 15:42:08 +08:00
Huong Nguyen
1dda6c86b8
MDL-79041 core: Better handling of the MoodleNet resource URL
...
- Switch use PARAM_TEXT instead of PARAM_URL for resource URL
- Added noreferrer to the Go to MoodleNet drafts button, to avoid the risks associated with opening in
_blank without removing access to the referrer and opener
2023-09-28 11:32:59 +07:00
Huong Nguyen
4ead50e696
MDL-78267 core: Partial course sharing for MoodleNet
2023-09-14 14:59:50 +07:00
Huong Nguyen
514df5a775
MDL-78267 core: Services for partial sharing course to MoodleNet
2023-09-14 14:59:49 +07:00
David Woloszyn
aa179d77d8
MDL-77296 core: Record MoodleNet share progress
2023-08-29 11:26:23 +10:00
Safat
17b565f957
MDL-75318 core: External services for sharing course to MoodleNet
2023-08-22 11:00:06 +10:00
Michael Hawkins
2e024f304a
MDL-75316 core: MoodleNet integration final improvements
2023-04-18 17:00:54 +08:00
Huong Nguyen
58ced4add0
MDL-75316 core_moodlenet: Share to MoodleNet modal and activity menu
...
Originally implemented as MDL-75785
2023-04-18 17:05:07 +08:00
Huong Nguyen
6a877d438b
MDL-75316 core: Webservice for sending activity to MoodleNet
...
Originally implemented as MDL-75933
2023-04-18 17:04:46 +08:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
David Matamoros
b1a142eab4
MDL-74317 output: Remove capability checks in edit mode WS
...
- Removed validation on the change edit mode WS. Permission should
be handled where the edit button is rendered in order to show or not
the button.
2022-05-02 10:45:30 +02:00
Ilya Tregubov
34a0ba3232
Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle
2021-09-29 15:40:39 +02:00
Bas Brands
09f6ce9fed
MDL-71610 theme_boost: add a edit mode switch
2021-09-29 09:25:36 +02:00
David Matamoros
5909d5b0ce
MDL-71943 core: Dynamic (AJAX) tabs in Moodle LMS
2021-09-27 17:53:37 +02:00
Dongsheng Cai
36bc7b07db
MDL-71235 webservices: add activity completion data to web services
2021-04-29 13:52:32 +10:00
Andrew Nicols
4a4a367251
MDL-69215 output: Correct font awesome for themes
2020-07-16 07:29:22 +08:00
Shamim Rezaie
ce80716a8e
MDL-68991 core: delete core_get_userfeedback_url webservice
2020-06-10 16:12:03 +10:00
Shamim Rezaie
363aaf6eaa
MDL-68076 core: log user's click on feedback links
2020-06-04 11:57:26 +10:00
Shamim Rezaie
a3a9539bd7
MDL-68076 core: display the feedback link on footer
2020-06-04 11:57:24 +10:00
Shamim Rezaie
6872c96569
MDL-68076 core: webservice to get the feedback url
2020-06-04 11:38:46 +10:00
Shamim Rezaie
1a4c8e0275
MDL-68076 core: webservice to record feedback actions users take
2020-06-03 17:43:52 +10:00
Peter
13cd05ac14
MDL-65033 mod_forum: Pass the favourites into the exporter
...
Query and pass the favouriting information into the exporter instead of within the exporter itself
2019-04-29 16:27:04 +08:00
Ryan Wyllie
f30f46db39
MDL-64820 forum: fix up issues from review
2019-03-22 09:31:21 +08:00
Ryan Wyllie
f98553fc1b
MDL-64820 external: add paged_content exporter
2019-03-22 09:24:04 +08:00
Peter
432cdac4bd
MDL-64820 core: Exporter read_definition
...
Modified the read_properties_definition to recursively check and set the default array values expected.
2019-03-22 09:24:04 +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
Ryan Wyllie
0377e78e36
MDL-60966 external: contexts can be passed to external format funcs
2017-12-22 13:10:39 +08:00
Andrew Nicols
5ba6507e5b
MDL-59890 calendar: Exporters support for categories
2017-10-03 21:28:32 +08:00
Damyon Wiese
ac40d8b589
MDL-57596 forms: CLEANHTML in persistent forms
...
Add special handling for text fields with the CLEANHTML type. This should
be used when students and teachers can edit the same field (you can't trust those students).
Applies cleaning on submitted data, and on data stored in the DB before it is put back in an editing form.
2017-03-10 18:04:48 +00:00
Eloy Lafuente (stronk7)
7373f641e5
Merge branch 'MDL-57846-master' of git://github.com/jleyva/moodle
2017-02-07 00:12:30 +01:00
Juan Leyva
d472f530ac
MDL-57846 core_exporter: Allow properties description in exporters
2017-02-01 19:10:18 +01:00
Damyon Wiese
13fb78a4f6
MDL-57841 exporter: Allow scalars as related objects
2017-02-01 15:30:56 +08:00
Frederic Massart
4bc68a416e
MDL-57273 core: Exporters support custom formatting parameters
2017-01-20 12:56:19 +08:00
Frederic Massart
6e28143599
MDL-57273 core: Migrating core_competency exporters into core
2017-01-20 12:56:18 +08:00