Paul Holden
0645319e62
MDL-72309 course: make category a required field in forms.
...
Course category fields were changed en masse from simple select
elements to autocompletes in 93d72205, but weren't defined as
required fields. This could lead to exceptions and/or unexpected
behaviour if their values were cleared prior to form submission.
2021-10-04 08:11:32 +01:00
Julien Boulen
93d7220587
MDL-67278 course: Use autocomplete widget for course category selector
2020-09-02 15:30:34 +02: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
Sara Arjona
88cb8b781d
MDL-61601 cohort: Add theme support for cohorts
...
If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
2018-04-06 08:28:01 +02:00
Marina Glancy
80f98467f8
MDL-36014 cohorts: Allow teachers to view cohorts
...
Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.
AMOS BEGIN
CPY [visible,core_moodle],[visible,core_cohort]
AMOS END
2014-10-03 18:26:34 +08:00
Marina Glancy
274dc06881
MDL-34189 cohorts: Allow admin/manager to see all cohorts on one page
2014-07-28 15:02:27 +08:00
Marina Glancy
4e0b6025ad
MDL-38147 deprecated make_categories_list(), change usage to coursecat
2013-03-25 13:20:46 +11:00
Petr Škoda
6eb8bf7f3a
MDL-35465 improve cohorts coding style
2012-09-16 21:38:28 +02:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Dan Poltawski
abdf2b675b
MDL-34462 cohort: remove uncessary MUST_EXIST params
...
(its now the default)
2012-07-24 15:23:07 +08:00
Frederic Massart
6ca657a772
MDL-34462 Librairies: Replaced deprecated get_context_instance()
2012-07-23 16:22:36 +08:00
Rajesh Taneja
071e68f93e
MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT
2012-07-19 15:44:40 +08:00
Petr Škoda
81f3d7a76c
MDL-34045 fix invalid idnumber field type in cohort form
2012-06-30 07:50:38 +02:00
Petr Skoda
3c8d3d4df2
MDL-31691 treat cohort idnumbers as plain text
2012-05-06 21:37:57 +02:00
Petr Skoda
707f4136c1
fixed phpdocs package and improved author link
2010-09-17 11:51:49 +00:00
Petr Skoda
edaf7ff3e2
spelling typo
2010-09-17 11:50:06 +00:00
Petr Skoda
0defeb1671
MDL-21781 fixed idnumber validation - thanks David for spotting the problem
2010-05-31 15:05:47 +00:00
Martin Dougiamas
bfebaf64d8
MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script.
2010-05-13 02:02:05 +00:00
Petr Skoda
9e1065a812
MDL-21781 cohorts may be moved to different course categories/system context
2010-04-23 09:13:49 +00:00
Petr Skoda
a379029c54
MDL-21781 cohort id duplicates detection
2010-04-23 09:10:05 +00:00
Petr Skoda
b980c56e2e
MDL-21781 very basic cohorts UI
2010-04-23 09:07:51 +00:00