Marina Glancy
722e6ba947
MDL-35339 Deprecate add_mod_to_section(), create new function course_add_cm_to_section()
...
Function add_mod_to_section() has very confusing arguments when object looks like record from
table course_modules but field ->section refers to relative section number (course_sections.section).
In table course_modules the field section refers to course_sections.id.
Also add_mod_to_section() does not update table course_modules and does not call rebuild_course_cache()
which developer can forget to do afterwards.
- Added function course_add_cm_to_section()
- In the core code add_mod_to_section() is replaced with course_add_cm_to_section()
- Function add_mod_to_section() is deprecated
2012-10-15 14:08:13 +08:00
Marina Glancy
99e9f9a69d
MDL-35339 deprecate function get_all_sections()
2012-10-15 14:08:13 +08:00
Marina Glancy
71a56e08c8
MDL-35339 avoid using get_all_sections(), get_all_mods() and field section.sequence directly
2012-10-15 14:08:13 +08:00
Ankit Agarwal
76b4a3d118
MDL-30845 formslib: Removing persistant true as its not needed anymore
2012-10-15 14:01:47 +08:00
Ankit Agarwal
83e9b8f9de
MDL-30845 formslib: Freeze should always be with persistantfreeze set to false since Frozen text fields are now rendered as input fields
2012-10-15 14:01:46 +08:00
Ankit Agarwal
3ec55b9e0a
MDL-30845 accessibility: changing the way input fields are rendered when they are not-editable
2012-10-15 14:01:46 +08:00
Dan Poltawski
6bea7da1ab
Merge branch 'wip-MDL-35661-master' of git://github.com/marinaglancy/moodle
2012-10-15 13:31:10 +08:00
Dan Poltawski
ecfe814e0f
on-demand release 2.4dev
2012-10-15 13:24:09 +08:00
Sam Hemelryk
d4797177b5
MDL-36047 cache: Fixed up issues with PHP 5.3.2 and 5.3.7
2012-10-15 12:35:23 +08:00
Ankit Agarwal
777417d171
MDL-35889 blocks: Adding a legend to the fieldset
2012-10-15 11:22:45 +08:00
Frederic Massart
8136753abf
MDL-35892 repository: prepare_listing recursively prepares the data
2012-10-15 09:46:04 +08:00
Frederic Massart
7dab27b313
MDL-35664 filepicker: Filepicker knows about the current path and uses it
2012-10-15 09:46:03 +08:00
Frederic Massart
15396bba9b
MDL-35171 Forms: Date selector always gets UTF-8 strings
2012-10-15 09:46:02 +08:00
Frederic Massart
4c897a815c
MDL-32294 course: Add resource/activity dropdown have labels
2012-10-15 09:46:02 +08:00
AMOS bot
6f7a109f21
Automatically generated installer lang files
2012-10-15 00:34:55 +00:00
Eloy Lafuente (stronk7)
61bfc2c13b
weekly release 2.4dev
2012-10-15 00:21:38 +02:00
Eloy Lafuente (stronk7)
535c3e874f
Merge branch 'install_master' of git://git.moodle.cz/moodle-install
2012-10-15 00:07:26 +02:00
Eloy Lafuente (stronk7)
990853afbe
Merge branch 'wip-MDL-25290-m24-compact' of git://github.com/samhemelryk/moodle
2012-10-14 23:32:40 +02:00
Petr Škoda
f763b33dba
MDL-36031 add unit tests for expiry notifications of manual enrolments
2012-10-13 21:21:53 +02:00
Petr Škoda
4c9e03f0ac
MDL-36031 implement message redirection for unit testing
2012-10-13 20:00:54 +02:00
Petr Škoda
e0db105bab
MDL-35917 fix cohort phpdocs
...
Credit goes to Brian Kremer, thanks!
2012-10-13 17:54:30 +02:00
Petr Škoda
fe67134eaa
MDL-35854 fix username generator
...
This eliminates infinite loop and also fixes potentially invalid email derived from usernames created from unicode first/last name.
2012-10-13 09:57:35 +02:00
Petr Škoda
550790153a
MDL-35904 send notifications from main admin and improve coding style
2012-10-13 09:52:45 +02:00
Petr Škoda
3ed5751685
MDL-35904 improve caching in get_admin() and fix order of records from get_admins()
2012-10-13 09:52:39 +02:00
Petr Škoda
83828a7725
MDL-35955 use built in spell checker if tinymce spelling plugin disabled
2012-10-13 09:49:58 +02:00
Tim Hunt
1c76fc96d1
MDL-35964 blocks: prevent undeletable blocks being deleted!
...
This commit simplifies the logic, so that $CFG->undeletableblocks
applies to all blocks, not just ones on certain page types in the
system context.
It also makes the setting apply to adding blocks, so you cannot
accidentally add a block that you cannot delete.
2012-10-12 20:36:02 +01:00
Andrew Robert Nicols
a0bef1fb08
MDL-34354 Set default width for all chooser dialogues
2012-10-12 10:21:28 +01:00
Damyon Wiese
26af81027f
MDL-35726: Use a different form identifier for each form when using "Save and next"
...
This prevents a bug where the next student feedback will default to the values that
were on the last submitted form. This is a similar case to having multiple instances
of the same form on the same page - each one needs a unique identifier to distinguish
between them. In this case I include the $rownum which changes as you go to each student
in the list.
2012-10-12 12:03:40 +08:00
Damyon Wiese
1defeabf2c
MDL-35710: Minor comment formatting fixes
2012-10-12 08:45:15 +08:00
Ruslan Kabalin
c14685e80f
MDL-35710 mod_assign Add submission_editable paramenter to event object
...
This will allow to keep assessable_submitted event object structure consistent
throughout the system, while particular modules could define own parameters
within params variable.
This module defines submission_editable parameter to reflect if user can edit
submission before assessment has been done.
2012-10-12 08:40:42 +08:00
Ruslan Kabalin
f04523f07e
MDL-35710 mode_assign Make submission event trigger name more precise
2012-10-12 08:40:42 +08:00
Jonathan Harker
f335bebd83
MDL-36015 lib/bennu: use static functions correctly.
2012-10-12 13:31:47 +13:00
Eloy Lafuente (stronk7)
2105f57590
Merge branch 'MDL-35858-master' of git://github.com/FMCorz/moodle
2012-10-12 02:15:34 +02:00
Rossiani Wijaya
2628edb110
MDL-33815 Online Users block: Add query condition to filter out deleted users and lastaccess date greater than now
2012-10-11 16:02:16 +08:00
Ankit Agarwal
89eee2f36d
MDL-28965 administration: Updating description string for the setting navshowallcourses
2012-10-11 14:22:34 +08:00
Ankit Agarwal
0f357885b2
MDL-34274 book: adding restore log rules for the new actions
2012-10-11 13:32:00 +08:00
Ankit Agarwal
d3bf90ae04
MDL-34274 book: Adding ability to log chapter updates
2012-10-11 11:46:15 +08:00
Ankit Agarwal
131688cf94
MDL-34274 book: Adding ability to log chapter view and chapter print
2012-10-11 11:46:15 +08:00
Adrian Greeve
c0e98e83c8
MDL-25275 - mod/data - Added a check box to eliminate date searches if desired.
2012-10-11 11:27:26 +08:00
Ankit Agarwal
b512b9dee2
MDL-31010 comments: setup_course should update if passed courseid is different from the cached one
2012-10-11 10:55:37 +08:00
Eloy Lafuente (stronk7)
28990bbef4
Merge branch 'MDL-35715-master' of git://git.luns.net.uk/moodle
2012-10-11 01:48:53 +02:00
Andrew Robert Nicols
e4a8f00c03
MDL-35959 Correct footer for M.core.dialogue
2012-10-10 11:01:52 +01:00
Eloy Lafuente (stronk7)
566682e8e5
Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle
2012-10-10 11:22:22 +02:00
Petr Škoda
9f4a3c73cd
MDL-28980 fix notification defaults to use new expirynotify combo logic
2012-10-10 11:19:10 +02:00
Eloy Lafuente (stronk7)
05c301a109
Merge branch 'w41_MDL-35691_m24_intsizes' of git://github.com/skodak/moodle
2012-10-10 10:58:22 +02:00
Petr Škoda
633f324896
MDL-35691 fix bogus mysql integer size detection
2012-10-10 10:33:18 +02:00
Eloy Lafuente (stronk7)
f6bfcaf6b3
Merge branch 'master_MDL-34848' of git://github.com/danmarsden/moodle
2012-10-10 09:57:00 +02:00
Eloy Lafuente (stronk7)
be205a847a
Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle
2012-10-10 09:50:25 +02:00
Petr Škoda
da6cf13f00
MDL-28980 use correct instance when informing enroller
2012-10-10 09:45:16 +02:00
Petr Škoda
493057fd27
MDL-28980 fix repeated enroller expiry notification
2012-10-10 09:41:30 +02:00