Dan Poltawski
1cfff7bcff
Revert "MDL-36369 Non-admin managers could not access list of plugins"
...
This reverts commit 22fae2a0dd
.
2012-11-08 18:24:36 +08:00
Petr Škoda
b5cf59a59d
MDL-36194 remove bogus echo $PAGE->set_title()
...
Credit goes to Dan Poltawski, thanks!
2012-11-07 19:11:25 +01:00
Petr Škoda
4f66c75f20
MDL-36194 add support for editor uninstallation
2012-11-07 13:02:21 +01:00
Dan Poltawski
5c6d2b1480
Merge branch 'wip-MDL-36369-master' of git://github.com/marinaglancy/moodle
2012-11-07 14:34:37 +08:00
Sam Hemelryk
468cc57297
MDL-34342 cache: Added missing include and fixed old lang manager setting
2012-11-06 17:24:20 +13:00
Eloy Lafuente (stronk7)
e24d97f944
MDL-35381 added consistent sorting to the new selector (MDL-34657)
2012-11-06 00:44:42 +01:00
Petr Škoda
9f7b195fe6
MDL-35381 limit teachers to do permissions checks of enrolled users only
2012-11-06 00:08:13 +01:00
Sam Hemelryk
5252ec82a2
Merge branch 'MDL-35998' of git://github.com/mouneyrac/moodle
...
Conflicts:
version.php
2012-11-06 11:00:16 +13:00
Dan Poltawski
918085d048
Revert "MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled"
...
This reverts commit 45f93db912
.
This reverts commit 3f798d4a3d
.
2012-11-05 15:20:22 +08:00
Dan Poltawski
3f798d4a3d
MDL-35260 - fix trailing whitespace
2012-11-05 15:05:13 +08:00
Marina Glancy
22fae2a0dd
MDL-36369 Non-admin managers could not access list of plugins
2012-11-05 12:31:19 +08:00
Marina Glancy
45f93db912
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
2012-11-05 11:46:34 +08:00
Marina Glancy
850acb3560
MDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary
...
- If we want to check fields 'numsections' or 'hiddensections' call course_get_format()->get_format_options()
- We still use extended course object in course/edit.php, update_course(), create_course(), and inside course formats
2012-11-05 11:22:06 +08:00
Marina Glancy
92d38668ac
MDL-35768 MDL-36017 code style corrections
2012-11-02 13:53:48 +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
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
Jerome Mouneyrac
33af788210
MDL-35998 New mobile menu: with CSS url + existing enable mobile web services
2012-10-31 14:25:30 +08:00
Dan Poltawski
0caa0c869b
Merge branch 'MDL-4655-master' of git://github.com/FMCorz/moodle
2012-10-30 11:58:34 +08:00
Frederic Massart
3b7bfbb5b8
MDL-4655 course: Number of courses with summaries to display is configurable
2012-10-18 11:07:17 +08:00
Dan Poltawski
4b3a647cfb
Merge branch 'wip-mdl-30691' of git://github.com/rajeshtaneja/moodle
2012-10-16 16:27:37 +08:00
Dan Poltawski
ac088b1c21
Merge branch 'w42_MDL-35904_m24_mainadmin' of git://github.com/skodak/moodle
2012-10-16 14:50:30 +08:00
Sam Hemelryk
8422094d91
Merge branch 'MDL-35198' of git://github.com/mouneyrac/moodle
2012-10-16 11:23:24 +08:00
Sam Hemelryk
58e033193f
Merge branch 'MDL-32148-master' of git://github.com/StudiUM/moodle
2012-10-16 11:16:33 +08:00
Dan Poltawski
f186ad1f90
Merge branch 'wip-MDL-35339-master' of git://github.com/marinaglancy/moodle
2012-10-15 17:19:44 +08:00
Marina Glancy
38b19bbca1
MDL-35339 call rebuild_course_cache() always (and only) after changing course modules or sections
2012-10-15 14:08:14 +08:00
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
Dan Poltawski
6bea7da1ab
Merge branch 'wip-MDL-35661-master' of git://github.com/marinaglancy/moodle
2012-10-15 13:31:10 +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
550790153a
MDL-35904 send notifications from main admin and improve coding style
2012-10-13 09:52:45 +02: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
Rajesh Taneja
19d69cc9a6
MDL-30691 Adminstration: Added css to break long word in filter table
2012-10-09 10:00:02 +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
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)
da6675d633
Merge branch 'wip-MDL-26348-m24' of git://github.com/samhemelryk/moodle
2012-10-09 01:38:01 +02:00
Eloy Lafuente (stronk7)
65095dad88
Merge branch 'wip-mdl-35397' of git://github.com/rajeshtaneja/moodle
2012-10-09 00:39:05 +02:00
Eloy Lafuente (stronk7)
930ce3f3cd
Merge branch 'wip-mdl-35047' of git://github.com/rajeshtaneja/moodle
2012-10-08 23:56: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
Sam Hemelryk
6fec18203b
MDL-25290 cache: Renamed plugin from cache => cachestore
2012-10-08 09:53:51 +13:00
Sam Hemelryk
f23fbfd849
MDL-25290 cache: Fixed up redirect loop with admin settings for cache stores
2012-10-08 09:53:51 +13:00