Commit Graph

110 Commits

Author SHA1 Message Date
Marina Glancy d80533be40 MDL-62790 course: cap check in core_course_get_categories 2018-07-03 12:01:15 +08:00
Andrew Nicols 1144ae255f Revert "MDL-61876 admin: set default forceclean=1"
This reverts commit c182f060fa.
2018-05-08 13:28:12 +08:00
Eloy Lafuente (stronk7) fc8cc24c85 Merge branch 'MDL-61521-master' of git://github.com/jleyva/moodle 2018-05-08 01:41:32 +02:00
Juan Leyva 8c9a196409 MDL-61521 course: Add missing text formatting for category name 2018-04-26 12:21:22 +02:00
Marina Glancy c182f060fa MDL-61876 admin: set default forceclean=1 2018-04-17 09:39:22 +08:00
Juan Leyva cf58a2d528 MDL-61198 course: Return course format options in WS 2018-04-05 11:05:47 +01:00
Davo Smith 4a9624af21 MDL-52811 course: fix unit tests broken by setforcedlanguage 2018-02-01 17:07:23 +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
Dan Poltawski b4a5f2b63e Merge branch 'MDL-59019-master' of git://github.com/jleyva/moodle 2017-07-11 14:06:11 +01:00
Eloy Lafuente (stronk7) 1dac440f55 MDL-58813 phpunit: pick test from 32_STABLE to fix expected behavior 2017-06-26 19:46:05 +02:00
Juan Leyva 7ddb5f25b3 MDL-59019 course: Fix grade field type in WS get_course_module 2017-06-07 16:53:36 +01:00
Mark Nelson a526c706f4 MDL-56251 core: fixed failing unit tests 2017-05-05 12:14:56 +08:00
Jun Pataleta 428f7864a1 MDL-58794 core_course: Use a simpler future timestamp for test 2017-05-03 14:52:38 +08:00
Jun Pataleta 8011a2bf47 Merge branch 'MDL-58720-master' of git://github.com/jleyva/moodle 2017-05-01 10:47:52 +08:00
Juan Leyva 935429e2a5 MDL-58720 course: Return restricted sections and modules in get_contents
core_course_get_contents was only checking for modules visible by the
user (via uservisible).
It was not checking for modules that are not visible for the user but
should be displayed in the course because they have access restrictions
configured.
2017-04-27 10:53:17 +02:00
Jake Dallimore 4c7dc6af94 Merge branch 'MDL-58659-master' of git://github.com/jleyva/moodle 2017-04-24 12:02:20 +08:00
Juan Leyva ef83fc2a33 MDL-58659 course: Add missing enddate field in get_courses_by_field 2017-04-20 12:53:10 +02:00
Marina Glancy 0cbc248dd3 MDL-58140 completion: access control refinements
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Dan Poltawski a9d3bf7666 Merge branch 'MDL-58465-master' of git://github.com/ankitagarwal/moodle 2017-04-17 10:41:16 +01:00
Marina Glancy a0cf7ee8de MDL-55939 course: no permission is needed to view frontpage 2017-04-07 16:04:29 +08:00
Eloy Lafuente (stronk7) aa2b5b214d Merge branch 'wip-MDL-57769-master' of https://github.com/marinaglancy/moodle 2017-04-05 01:31:08 +02:00
Ankit Agarwal 75c597daed MDL-58465 unittests: Fix invalid use of exception 2017-04-03 09:24:34 +05:30
Mark Nelson e9dfeec94e MDL-57434 core: deprecated xxx_print_overview() and related functions
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Marina Glancy 89b909f6de MDL-57769 course: prepare to remove numsections option 2017-03-30 08:26:12 +08:00
Pau Ferrer Ocaña fb41d2f0ef MDL-57990 course: Add sortorder as public field 2017-03-03 11:53:52 +01:00
Marina Glancy 8341055eb4 MDL-4782 course: Allow activities in the "stealth" mode
Add field 'visibleoncoursepage' to the course_modules table
Add site-wide setting for turning on stealth mode availability
Add callback for "stealth" mode support in the course formats
Change display of modules/sections availability on the course page
2017-02-14 16:38:05 +08:00
David Monllao 461d6d390c Merge branch 'MDL-57392-master' of git://github.com/jleyva/moodle 2017-01-09 13:40:14 +01:00
Dan Poltawski 6dbe175454 Merge branch 'MDL-57395-master' of git://github.com/jleyva/moodle 2017-01-02 11:46:44 +00:00
Pau Ferrer Ocaña 7180cdc7b5 MDL-57512 categories: Use maxcategorydepth only when getting all cats 2016-12-29 11:30:57 +01:00
Juan Leyva 879a8f56c9 MDL-57395 course: New Web Service core_course_get_updates_since 2016-12-28 11:24:40 +01:00
Juan Leyva e45fc71e2a MDL-57392 course: Return course filters status via WS
Return active filters in core_course_get_courses_by_field
2016-12-27 09:31:29 +01:00
Dan Poltawski 203f51d627 MDL-57064 tests: update externallib test 2016-11-23 13:00:29 +00:00
David Monllao 26aa08b2f8 Merge branch 'MDL-56307-master' of git://github.com/jleyva/moodle 2016-10-25 17:33:08 +08:00
Juan Leyva 25adfbaa4a MDL-56307 course: Support new returned data in WS 2016-10-25 10:10:55 +01:00
Juan Leyva 26659f626a MDL-56307 course: New Web Service core_course_check_module_updates 2016-10-25 10:10:53 +01:00
David Monllao 48f43096e0 Merge branch 'MDL-55074-master' of git://github.com/damyon/moodle 2016-10-24 12:33:51 +08:00
Pau Ferrer Ocaña 28ff87bec1 MDL-56533 course: Add outcome scale information on get_course_module WS 2016-10-21 10:37:44 +02:00
Damyon Wiese 245d354c6c MDL-55074 theme_boost: Unit test fixes for all these changes 2016-10-21 12:40:06 +08:00
Damyon Wiese 99061152af MDL-55074 theme_boost: Navigation and blocks
This patch includes a big set of changes that are all designed to work together to provide
a better way to navigate in the new theme, and a different way of working with blocks.

Blocks have been moved to a "drawer" that can be opened and closed (this is remembered in a user pref).

A new "flat navigation" element is also available in a drawer - which should let you do 90% of things
without needing to open the "blocks" drawer.

The flat navigation is build from specific parts of the nav tree - the top nodes like "calendar, dashboard" are
hand picked. There is a mycourses node listing your enrolled courses.

There is a node for the current course, built from the top nodes in the current course node in the nav tree.

Administrators have a link to the Site admin settings here too.

These nav elements are used by the templates for the new theme, which also has a resigned layout for login and signup.

There have also been some additional fixes / improvements to the scss for the new theme which goes along with these
layout changes.

This set of changes is a collaboration between Martin, Damyon and Alberto (thanks!).
2016-10-21 12:37:33 +08:00
Eloy Lafuente (stronk7) adc77f07c5 Merge branch 'MDL-22078_master' of https://github.com/dmonllao/moodle 2016-10-05 12:22:07 +02:00
Dan Poltawski 742d23c68f Merge branch 'MDL-55739-master' of git://github.com/jleyva/moodle 2016-10-04 17:58:27 +01:00
Juan Leyva 796876b0ab MDL-55739 course: Update get_course_module to return new data 2016-10-04 13:00:35 +01:00
Daniel Neis Araujo fbcdb0d710 MDL-22078 course: add end date 2016-10-03 09:51:36 +08:00
Juan Leyva 80adabef0e MDL-55100 course: New Web Service get_courses_by_field 2016-09-29 12:20:49 +01:00
Damyon Wiese 644fcbb629 MDL-55837 themes: base and canvas themes removed
Look for them in the plugins DB if you still need them.
2016-09-19 13:35:13 +08:00
Juan Leyva c874d9aa81 MDL-55415 course: Fix unit tests after fixing beat issues 2016-09-07 15:00:56 +01:00
Juan Leyva b9050b106e MDL-55415 course: New WS core_course_get_user_administration_options 2016-09-05 15:42:48 +01:00
Juan Leyva c115ff6ab5 MDL-55415 course: New WS core_course_get_user_navigation_options 2016-09-05 15:42:47 +01:00
Eloy Lafuente (stronk7) 7647f3887f Merge branch 'MDL-54801-master' of git://github.com/jleyva/moodle 2016-07-26 19:54:53 +02:00
David Monllao 837cec00f9 Merge branch 'wip-mdl-55091-m' of https://github.com/rajeshtaneja/moodle
Conflicts:
	lib/upgrade.txt
2016-07-26 10:14:30 +08:00