Marina Glancy
695705f5d4
MDL-36317 Execute course format callback when course or module is set on page
2012-11-02 11:02:22 +08:00
Marina Glancy
e010b8503e
MDL-35769 Give more flexibility for course formats to extend course navigation
...
global_navigation::load_course_sections() now has more parameters and ensures
that current section and activity is loaded. This will allow course formats
to display hierarchical sections in navigation and have one callback for
overwriting whole course navigation
2012-11-02 10:58:21 +08:00
Marina Glancy
8bc345339a
MDL-36017 IMS-CC export does not filter result by numsections because it is now optional
2012-11-02 10:56:22 +08:00
Marina Glancy
0e984d9809
MDL-36017 Course now may have format-specific options, numsections and hiddensections are among them
2012-11-02 10:56:22 +08:00
Marina Glancy
b5cf83f080
MDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specific options
...
- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
case instead of $course = $DB->get_record('course'); we use:
$course = course_get_format($courseorid)->get_course(); This way all format-specific options
are added to the $course object
2012-11-02 10:56:19 +08:00
Marina Glancy
7b7d2f4d12
MDL-36017 Added default fields to format_legacy::course_format_options()
...
Fields coursedisplay, numsections, hiddensections are now the default fields for formats being converted from Moodle 2.3 or earlier
2012-11-02 10:55:24 +08:00
Marina Glancy
d6cd57deb6
MDL-35768 Backup and restore of course format-specific options
2012-11-02 10:55:24 +08:00
Marina Glancy
0360443020
MDL-35768 Backup and restore of section format-specific options
2012-11-02 10:55:24 +08:00
Marina Glancy
aea2e3c30d
MDL-35768 Allow caching of section format options in course.sectioncache
2012-11-02 10:55:24 +08:00
Marina Glancy
fc79ede5a1
MDL-35768 Added format-specific options to edit course and section forms
...
- Course format may define additional fields (format options) to store for course and each section
- Edit course form allows to edit format-specific options and refreshes their list on format change
- Course format may provide it's own form for editing a section
- Default form for editing section allows to edit all format-specific fields
- Class section_info refactored, it defines magic methods such as __get() to access basic section
information and format-specific options (retrieved only on the first request)
- format_base::update_course_format_options() allows to watch pre-update state of the course,
format_legacy automatically copies the options with the same names between formats
2012-11-02 10:55:23 +08:00
Marina Glancy
29ac9fc1f8
MDL-35768 create table course_format_options, increase length of course.format field
2012-11-02 10:55:21 +08:00
Steve Bader
27e3057838
MDL-30921 navigation: Added aria-role to the navbar content
2012-11-02 10:58:23 +13:00
Sam Hemelryk
537ba512e5
MDL-30921 output: Added the main role to the main content area
2012-11-02 10:58:23 +13:00
Sam Hemelryk
5c4581fc08
MDL-30921 blocks: Better default aria role given
2012-11-02 10:58:23 +13:00
Sam Hemelryk
91d941c34c
MDL-30921 blocks: Added aria-labelledby and aria-label for blocks
2012-11-02 10:58:23 +13:00
Sam Hemelryk
697f7bd701
MDL-30921 blocks: Added a method to inject aria roles into block structure
2012-11-02 10:58:23 +13:00
Sam Hemelryk
b3def15507
MDL-34527 forum: Fixed up a couple of SQL queries causing issues in Oracle.
2012-11-02 10:49:50 +13:00
Nadav Kavalerchik
d0ec3a5564
MDL-36069 - Right align TEXTAREA "Format selector" listbox, when in RTL mode (theme/standard)
2012-11-01 20:17:15 +02:00
Nadav Kavalerchik
29c368d4b7
MDL-35512 - Two left pointing arrows appear after clicking "left indent activity/resource" arrow, when in RTL mode
2012-11-01 20:07:51 +02:00
David Mudrák
54abf6df70
MDL-35421 Support the new conclusion field in backup and restore
2012-11-01 17:36:40 +01:00
David Mudrák
4c61fcd825
MDL-35421 Display the conclusion when the workshop is closed
...
There is a new task implemented for the teachers so they are expected to
provide the conclusion at the end of the assessment phase.
2012-11-01 17:36:40 +01:00
David Mudrák
5a49f825bd
MDL-35421 Make the new conclusion field editable via mod_form
2012-11-01 17:36:40 +01:00
David Mudrák
d898206247
MDL-35421 Add conclusion text fields into the workshop table
2012-11-01 17:36:40 +01:00
Huy Hoang
e8c07ff705
MDL-34695 Wiki Module: add prevention to create new record when userid is 0
2012-11-01 17:14:45 +08:00
Adrian Greeve
24054bb28a
MDL-36112 - mod/data: Importing URLs no longer generates php warnings.
...
Also included a slight alteration of the URL field class to display the Choose a link button next to the right input area.
Made an alteration to the url field class
2012-11-01 16:47:38 +08:00
Frederic Massart
68acd1157e
MDL-33766 files: Improved validation of areamaxbytes
2012-11-01 16:47:06 +08:00
Frederic Massart
380c122fe2
MDL-33766 files: Capability to ignore userquota
2012-11-01 16:46:42 +08:00
Frederic Massart
21e3ea77a3
MDL-33766 files: Support for userquota/size limit in draft areas
2012-11-01 16:46:42 +08:00
Adrian Greeve
eb6e0c613d
MDL-35961 - mod/data: Removed duplicate data_content join in simple searches. Thanks to Patrick Pollet (patrick.pollet@insa-lyon.fr) for his patch
2012-11-01 16:28:19 +08:00
Andrew Robert Nicols
21b678dbca
MDL-36023 AJAX Move the instantiation of the dialogue to display time
2012-11-01 07:54:58 +00:00
Andrew Robert Nicols
2757a205c8
MDL-36092 Course/AJAX Ensure that dropdown resource pickers are shown when JS is disabled
2012-11-01 07:50:41 +00:00
Mark Nelson
fdd375e1a4
MDL-36271 feedback: Fixed variable typo
2012-11-01 15:46:25 +08:00
Dan Poltawski
6109f2112c
weekly release 2.4dev
2012-11-01 14:52:00 +08:00
Dan Poltawski
fc43eaa133
Fix incorrect permissions
2012-11-01 14:51:29 +08:00
Dan Poltawski
4e90ac1598
weekly release 2.4dev
2012-11-01 14:15:24 +08:00
Dan Poltawski
fe74dad062
Merge branch 'install_master' of git://git.moodle.cz/moodle-install
2012-11-01 14:12:49 +08:00
Ankit Agarwal
af985a19bd
MDL-34520 gradebook: Missing droplow setting in gradebook backup
2012-11-01 13:36:29 +08:00
Rajesh Taneja
52fa70f382
MDL-36238 Blocks: Logs page close session write, so editing is set before
2012-11-01 12:14:18 +08:00
Dan Poltawski
926f51436b
Revert "MDL-34332 completion: timeenrolled not always set correctly"
...
This reverts commit 154a72b002
.
2012-11-01 12:02:49 +08:00
Jonathon Fowler
70a9f27b1b
MDL-34695 wiki: ensure the correct individual subwiki is used/created for a user
2012-11-01 11:47:11 +08:00
Dan Poltawski
92c99211af
MDL-25290 MUC - add dbname to settings hash
2012-11-01 10:41:18 +08:00
Dan Poltawski
3b92a11098
Merge branch 'MDL-36315' of git://github.com/stronk7/moodle
2012-11-01 10:02:47 +08:00
Dan Poltawski
11b748f662
Merge branch 'MDL-34910_fix' of git://github.com/dmonllao/moodle
2012-11-01 09:56:46 +08:00
Eloy Lafuente (stronk7)
d4d7984308
MDL-36315 backup: reduce the DST tests failing-window
...
This reduces the period of time that some of the unit tests
for calculate_next_automated_backup() are failing right now
(from 1week to just some hours around the DST changes).
Note it's not the final solution because they will still fail
when New_York or Brussels DST changes are about to happen, but
to get this completely fixed we'll need to wait to switch from
current custom TZ/DST support to PHP built-in one.
2012-11-01 02:40:56 +01:00
AMOS bot
38292094a2
Automatically generated installer lang files
2012-11-01 00:36:37 +00:00
Eloy Lafuente (stronk7)
ed24620d0c
MDL-36304 - Left align "marked out of" in RTL Q preview
...
Credit goes to Nadav Kavalerchik for fixing it @ MDL-36033
2012-10-31 19:32:47 +01:00
Jerome Mouneyrac
489987af77
MDL-35998 move mobile under web services + leave enable mobile under manage web service too
2012-10-31 17:10:42 +08:00
Aparup Banerjee
9b18e58bcb
Merge branch 'MDL-36130' of git://github.com/aolley/moodle
2012-10-31 14:51:16 +08:00
Dan Poltawski
cedf976367
MDL-35964 - blocks: add missing global $CFG
...
Thanks Rosie!
2012-10-31 14:28:24 +08:00
Jerome Mouneyrac
33af788210
MDL-35998 New mobile menu: with CSS url + existing enable mobile web services
2012-10-31 14:25:30 +08:00