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
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
Frederic Massart
15396bba9b
MDL-35171 Forms: Date selector always gets UTF-8 strings
2012-10-15 09:46:02 +08: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
4c9e03f0ac
MDL-36031 implement message redirection for unit testing
2012-10-13 20:00:54 +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
Andrew Robert Nicols
e4a8f00c03
MDL-35959 Correct footer for M.core.dialogue
2012-10-10 11:01:52 +01: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
Marina Glancy
43aadf0401
MDL-33857 Increase performance of queries for Server files repository (small improvements)
2012-10-10 15:21:27 +08:00
Marina Glancy
b8de262139
MDL-33857 Increase performance of queries for Server files repository
...
- file_info class now has new methods get_non_empty_children and count_non_empty_children; added default implementation;
- all core classes extending file_info have their implementation of those methods;
- class repository_local_file used for caching get_children() results is removed;
- class repository_local rewritten to use new methods from file_info;
- added caching of retrieved modules in file_browser::get_file_info_context_module() - this query is slow and executed multiple times on big servers
2012-10-10 15:21:26 +08:00
Sam Hemelryk
c2e899a444
MDL-22955 output: Forced SVG use in unit tests for pix to fix unit test fails
2012-10-10 14:14:50 +08:00
Aparup Banerjee
e5dba28cca
Merge branch 'w41_MDL-35839_m24_enroldeletecleanup' of git://github.com/skodak/moodle
2012-10-10 10:29:33 +08:00
Eloy Lafuente (stronk7)
dbaf9d448d
Merge branch 'wip-MDL-22955-m24' of git://github.com/samhemelryk/moodle
2012-10-10 00:35:11 +02:00
Simon Coggins
98ce522494
MDL-35581 lib: Help popups misaligned for right-to-left languages
2012-10-10 08:54:50 +13:00
Eloy Lafuente (stronk7)
2beba29760
MDL-35898 test reset: tidyup comments (forgot to amend previous commit, grrr).
2012-10-09 11:56:42 +02:00
Eloy Lafuente (stronk7)
02c4953ea5
Merge branch 'w41_MDL-35898_m24_coursereset' of git://github.com/skodak/moodle
2012-10-09 11:54:15 +02:00
Petr Škoda
13d5c93872
MDL-35898 include static course caches in test resets
2012-10-09 09:43:08 +02:00
Aparup Banerjee
7b1c902acc
Merge branch 'wip-MDL-30754-m24' of git://github.com/samhemelryk/moodle
2012-10-09 14:32:13 +08:00
Adrian Greeve
f417479e3d
MDL-35850 - Lib - csv files are now trimmed for white space and new lines at the end of the file.
2012-10-09 13:16:26 +08:00
Aparup Banerjee
99baba4079
Merge branch 'w41_MDL-35795_m24_hebrewunzip' of git://github.com/skodak/moodle
2012-10-09 10:16:30 +08:00
Marina Glancy
2567584d5e
MDL-35661 Loading of plugin settings for webservices plugins (plugininfo_webservice)
...
- webservicesettings must be only created if user has site:config capability, otherwise the nodes are added to non-existing parent
2012-10-09 09:58:00 +08:00
Marina Glancy
c517dd68f7
MDL-35661 Loading of plugin settings for repositories plugins (plugininfo_repository)
2012-10-09 09:57:59 +08:00
Marina Glancy
eb30df1e5f
MDL-35661 Removed function plugininfo_local::get_settings_url() introduced in MDL-35442
...
Local plugins do not create settings node with particular name, there is no standard way to
return the settings url
2012-10-09 09:57:59 +08:00
Marina Glancy
e8d169320b
MDL-35661 Loading of plugin settings for message processors (plugininfo_message)
2012-10-09 09:57:59 +08:00
Marina Glancy
d98305bdda
MDL-35661 Loading of plugin settings for plagiarism plugins (plugininfo_plagiarism)
2012-10-09 09:57:58 +08:00
Marina Glancy
66f3684a38
MDL-35661 Loading of plugin settings for qtype plugins (plugininfo_qtype)
2012-10-09 09:57:58 +08:00
Marina Glancy
1de1a6665c
MDL-35661 Loading of plugin settings for filters plugins (plugininfo_filter)
2012-10-09 09:57:58 +08:00
Marina Glancy
5827bf96ed
MDL-35661 Loading of plugin settings for Tinymce plugins (plugininfo_tinymce)
2012-10-09 09:57:57 +08:00
Marina Glancy
087001ee42
MDL-35661 Loading of plugin settings for editor plugins (plugininfo_editor)
2012-10-09 09:57:57 +08:00
Marina Glancy
79c5c3fa96
MDL-35661 Loading of plugin settings for enrol plugins (plugininfo_enrol)
2012-10-09 09:57:57 +08:00
Marina Glancy
cbe9f609f8
MDL-35661 Loading of plugin settings for auth plugins (plugininfo_auth)
2012-10-09 09:57:53 +08:00
Marina Glancy
870d42809a
MDL-35661 Loading of plugin settings for blocks (plugininfo_block)
2012-10-09 09:56:46 +08:00
Marina Glancy
fde6f79fae
MDL-35661 Loading of plugin settings for modules (plugininfo_mod)
2012-10-09 09:56:42 +08:00
Marina Glancy
5cdb1893a9
MDL-35661 Add functionality to plugininfo_base to load settings and check the settings url
...
- added plugin_manager and plugininfo_base::load_settings(), get_settings_section_name()
2012-10-09 09:44:59 +08:00
Eloy Lafuente (stronk7)
b9570857db
Merge branch 'MDL-35141-master' of git://github.com/sammarshallou/moodle
2012-10-09 00:46:49 +02:00
Eloy Lafuente (stronk7)
ec467d04d9
Merge branch 'w41_MDL-35645_m24_tinymcebuttons' of git://github.com/skodak/moodle
2012-10-09 00:31:08 +02:00
Eloy Lafuente (stronk7)
9f707d6c9b
Merge branch 'MDL-35395' of git://github.com/timhunt/moodle
2012-10-09 00:25:53 +02:00
Eloy Lafuente (stronk7)
f374702e75
Merge branch 'w41_MDL-35691_m24_intsizes' of git://github.com/skodak/moodle
2012-10-08 23:51:26 +02:00
Eloy Lafuente (stronk7)
311eb89695
Merge branch 'w41_MDL-35714_m24_testgc' of git://github.com/skodak/moodle
2012-10-08 22:51:45 +02:00
Adrian Greeve
c0a059260f
MDL-35265 - blog - Update code for removing orphaned blog association data.
2012-10-08 10:07:47 +08:00
Sam Hemelryk
2a2d855e14
Merge branch 'MDL-35667_extra_credit_loop' of git://github.com/andyjdavis/moodle
2012-10-08 10:15:49 +13:00