Dmitrii Metelkin
f38fc37008
MDL-70855 course: add extra callback for extending course module form
2021-03-01 13:34:46 +11:00
Tuan.Dinh
8aab39c1d2
MDL-70124 course: Activity names are now trimmed.
2021-02-11 11:11:12 +08:00
Ferran Recio
1e7e255d72
MDL-67707 course: add support for PARAM_ALPHANUM module names
2020-03-16 17:52:08 +01:00
Andrew Madden
948a951a4e
MDL-67351 admin: Create new 'required' admin flag setting.
...
Extend the admin flag options, that currently allow the 'advanced' and 'locked' states
of a form setting to be controlled by a plugins admin settings, to also include
the 'required' state. These options appear as a list of checkboxes next to the admin
setting.
2020-01-30 10:49:14 +11:00
Andrew Nicols
fe795b59e4
MDL-67116 form: Require grade in multi-grade-item activities
...
AMOS BEGIN
CPY [rating,rating],[grade_rating_name,rating]
AMOS END
2019-11-13 10:14:37 +08:00
Ryan Wyllie
a492f69caf
MDL-67116 course: allow grading completion for non ratings grade item
2019-11-13 10:11:44 +08:00
Mathew May
dc0145b19e
MDL-66074 core_course: Correct documentation
2019-10-30 10:23:41 +08:00
Andrew Nicols
fcc88fddba
MDL-66079 core_grades: Add support for multiple grade items in an activity
...
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Davo Smith
87c7fb6e9a
MDL-64557 modform: switch disabledIf to hideIf, where appropriate
2019-02-12 10:18:04 +00:00
Shamim Rezaie
ea191cf1b4
MDL-41507 core_group: Consistent default value for FEATURE_GROUPS
2018-12-12 14:03:45 +11:00
Jake Dallimore
de60737dd7
MDL-60145 course: fix bug with group restictions button during mod edit
...
If a mod doesn't support groups, then we remove the grouping element,
and now also the 'add group/group restriction' helper button too.
2018-10-10 08:40:07 +08:00
Troy Williams
f9a7a98a4a
MDL-61012 course: Allow extending class to set
2018-04-24 16:13:29 +12:00
Chernyavskiy Leonid
0e9cda01f1
MDL-60658 course, gradebook: fix missing unformat_float for gradepass
...
Fix incorrect comparison of gradepass variable (with comma as decimal separator)
with grade variable when trying to save assignment settings.
Adds missing unformat_float($data['gradepass']).
2018-03-01 09:26:51 +07:00
Stephen Bourget
dccd9540d0
MDL-61205 completion: allow expected completion to support time
2018-01-11 21:30:13 -05:00
Jake Dallimore
273d310601
MDL-58138 completion: Fixes for a number of small issues.
2017-04-19 11:41:57 +08:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Marina Glancy
06cdda468a
MDL-58139 completion: bulk update completion
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Dan Poltawski
1e4e5c52d7
Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle
2017-04-04 17:07:41 +01:00
Marina Glancy
125c4c4cb8
MDL-57961 course: change wording of module availability
...
renamed Visible to Availability and added help strings
AMOS BEGIN
CPY [availability,core_moodle],[modvisible,core_moodle]
CPY [availability,core_moodle],[modvisiblewithstealth,core_moodle]
CPY [availability,core_moodle],[modvisiblehiddensection,core_moodle]
CPY [show,core_moodle],[modshow,core_moodle]
CPY [hide,core_moodle],[modhide,core_moodle]
AMOS END
2017-04-04 17:05:57 +08:00
Damyon Wiese
7737c79792
MDL-58102 completion: Don't expand completion
...
The form looks wierd with one expanded section.
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
a0a6762ec3
MDL-58102 course: Set sensible defaults for completion form fields
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08: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
Philipp Hager
29df1cade1
MDL-57198 course: add css-classes to restrictbygroup-button
2016-12-08 13:24:18 +01:00
Simey Lameze
bc577c541f
MDL-51267 mod: move the changes from the API to the form file
2016-04-19 16:36:26 +08:00
David Monllao
c3b661403c
Merge branch 'cbe' of git://github.com/FMCorz/moodle
2016-04-19 12:37:11 +08:00
Simey Lameze
819e1ff0ad
MDL-51267 mod_url: make the url and resource forms friendlier
2016-04-19 11:13:18 +08:00
Frederic Massart
91e5464282
MDL-53700 competency: Making CiBoT happier
2016-04-18 11:06:00 +08:00
Frederic Massart
07fc0ec380
MDL-53700 competency: Implementing a URL resolver
2016-04-18 11:06:00 +08:00
Damyon Wiese
8995c2702f
MDL-52534 course: Course module form can be extended by plugins via callbacks.
...
3 new plugin callbacks are available to extend any course module form.
xx_coursemodule_standard_elements()
xx_coursemodule_validation()
xx_coursemodule_edit_post_actions()
This allows you to add elements to the form, extend the validation
and process the extra information once the module has been created/updated.
2016-04-18 10:58:52 +08:00
Mark Nelson
9621d5a7ae
MDL-52252 core_course: removed unused variables
...
The call to 'context_coursecat::instance($COURSE->category);'
was causing Moodle to throw an exception due to non-existent
category.
2016-03-10 13:17:11 +01:00
Marina Glancy
1ea2f7d650
MDL-52252 tags: course module tags small correction
2016-03-09 15:33:25 +08:00
Nadav Kavalerchik
dffcf46f43
MDL-52252 Tags: Add tags to modules (Resources and Activities)
2016-03-09 14:19:47 +08:00
Mark Nelson
664d8be7ea
MDL-48634 core: prevent change of grade values when necessary
...
Three additional checks have been added.
Once grades have been recorded for the activity/grade item -
1) Do not allow the grade type to be changed.
2) Do not allow the scale to be changed.
3) If we are using ratings do not allow the 'Maximum points'
value to be changed.
Also reordered form elements, removed form elements that
were not necessary, added and changed existing language
strings to improve the overall UI.
2016-02-09 17:46:42 +08:00
Damyon Wiese
d629c601c5
MDL-48634 grades: Add an option to rescale when changing the maxgrade
2016-02-05 18:20:17 +08:00
Marina Glancy
1a0df5535e
MDL-52081 forms: Use __construct() for constructors
2015-12-10 13:38:01 +08:00
Mark Nelson
7080b38f2e
MDL-50535 core_course: disabled 'gradepass' field when no ratings set
2015-07-24 13:31:18 -07:00
Marina Glancy
fc55273e0f
MDL-50612 grades: remove gradepass if there is no grading
2015-07-14 13:16:34 +08:00
Pierre GUINOISEAU
7dc5dac678
MDL-50612 grades: do not remove grade box if gradepass field exists
2015-07-14 13:16:31 +08:00
Mark Nelson
9758da6ed5
MDL-50394 core_course: fixed form validation of 'gradepass'
2015-06-02 23:31:46 -07:00
Damyon Wiese
75ece778c5
Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2015-04-07 17:27:17 +08:00
Andrew Hancox
6398ff5387
MDL-49101 core: Add a global admin setting config->requiremodintro
...
Removed requiremodintro setting from all core activity plugins and replace
with a single global setting.
Deprecated moodleform_mod::add_intro_editor and replaced with
moodleform_mod::standard_intro_elements
2015-04-07 10:11:53 +01:00
Marina Glancy
a824e60ab6
MDL-13831 course: validate gradepass only if needed
2015-03-25 10:59:33 +08:00
Marina Glancy
c977b35059
MDL-13831 grades: allow to set gradepass in mod_form
2015-03-23 11:11:37 +08:00
Gregory Faller
8164fad49d
MDL-13831 course: add gradepass field to mod_form
2015-03-23 10:56:56 +08:00
sam marshall
a4c318325c
MDL-47628 Availability: Restrict by selected grouping button
2014-11-28 15:55:41 +00:00
Sam Hemelryk
d28e0a2f76
MDL-47684 mod: better validation of rating options
2014-10-20 08:44:35 +13:00
Dan Poltawski
f6aaa184ab
Revert "MDL-47684 mod: better validation of rating options"
...
This reverts commit 8028df293a
.
2014-10-17 14:27:49 +01:00
Sam Hemelryk
8028df293a
MDL-47684 mod: better validation of rating options
2014-10-16 14:50:56 +13:00
sam marshall
4717a5fca6
MDL-44725 Availability: Replace groupmembersonly - forms (4)
...
Remove groupmembersonly option from module editing forms.
2014-09-02 13:03:13 +01:00
Dan Poltawski
4644e7d067
Merge branch 'MDL-45376-master' of https://github.com/sammarshallou/moodle
2014-05-06 11:16:32 +08:00