Commit Graph

745 Commits

Author SHA1 Message Date
Petr Škoda
3db309dcc4 MDL-37191 do not timeout when uninstalling plugins 2012-12-21 15:58:25 +01:00
Frederic Massart
97a8edddf0 MDL-27901 navigation: Notice when an admin node name is already used 2012-12-10 12:29:41 +08:00
Danny Wahl
e46fce762a MDL-23504 Theme: Extended support of colors in color picker 2012-12-10 09:54:45 +08:00
Dan Poltawski
8204e57309 Merge branch 'MDL-36559-master-int' of git://github.com/FMCorz/moodle 2012-11-27 10:50:31 +08:00
Adrian Greeve
341bfedf90 MDL-36795 - lib / administration: maxsections now limits the default setting for numsections.
In the default course settings, setting the maximum number topics / weeks  to 0 would not
change the default number of sections on the same page as any other number would.
A more appropriate check has been put in place.

This also incorporates a fix for MDL-28584. The course edit screen now also checks to see
if maxsections is set or numeric. If it is not set or numeric then it defaults to 52.
2012-11-26 14:41:50 +08:00
Frederic Massart
fa9c0aab13 MDL-36633 usability: Styling over the admin pages 2012-11-21 17:29:13 +08:00
Petr Škoda
5689fb0bc8 MDL-36719 try to work around course format caching issue in installer 2012-11-20 15:41:06 +01:00
Frederic Massart
06b7ed0a45 MDL-36415 usability: Use new up/down and ordering icons 2012-11-16 12:47:09 +08:00
Tim Hunt
837e181225 MDL-36369 qtypes and qbehaviour settings permissions.
The correct policy is that users with moodle/question:config can set the
default settings for particular qtypes. However, it requires
moodle/site:config in order to do manage qbehaviours or manage qtypes.
2012-11-13 16:07:28 +00:00
Marina Glancy
e75324a53e MDL-36369 Question types and behaviour settings should not require moodle/site:config 2012-11-13 15:14:03 +00:00
Marina Glancy
3776335ce2 MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled 2012-11-10 15:34:29 +08:00
Petr Škoda
4f66c75f20 MDL-36194 add support for editor uninstallation 2012-11-07 13:02:21 +01:00
Sam Hemelryk
db19da5612 MDL-35998 admin: Fixed whitespace 2012-11-06 14:32:18 +13: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
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
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
33af788210 MDL-35998 New mobile menu: with CSS url + existing enable mobile web services 2012-10-31 14:25:30 +08:00
Sam Hemelryk
8422094d91 Merge branch 'MDL-35198' of git://github.com/mouneyrac/moodle 2012-10-16 11:23:24 +08:00
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Jerome Mouneyrac
12fc8acf5b MDL-35198 replace key_exists by array_key_exists 2012-09-26 15:20:18 +08:00
Rossiani Wijaya
8510d731bb MDL-34984 admin setting: fixed labeling and shortname display for admin setting 2012-09-07 15:34:38 +08:00
Eloy Lafuente (stronk7)
444af7c65f MDL-34853 code style fixes 2012-08-22 03:25:40 +02:00
Petr Škoda
38257347ed MDL-34853 add new admin setting for duration (time in seconds) 2012-08-22 03:00:11 +02:00
sam marshall
c57fc98b27 MDL-33041 (1) Add subplugin support for 'editor' plugins 2012-08-10 14:57:57 +02:00
Sam Hemelryk
60312b3189 Merge branch 'master_MDL-32002' of git://github.com/danmarsden/moodle 2012-08-08 09:43:44 +12:00
Dan Marsden
760007a274 MDL-32002 Plagiarism plugins - add support for deleting plugins 2012-08-01 09:56:19 +12:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Rajesh Taneja
071e68f93e MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT 2012-07-19 15:44:40 +08:00
Petr Skoda
c52551dc3c MDL-8249 localise standard role names and descriptions if empty 2012-07-06 08:22:34 +02:00
Petr Škoda
afe1cf72a0 MDL-34125 fix regression when deleting activity modules
Credit goes to Gordon Bateson.
2012-07-01 10:04:54 +02:00
Andrew Davis
184ec2d68f MDL-31488 admin: made admin_externalpage_setup() try to guess the reason why the requested section couldnt be found 2012-05-09 11:58:02 +08:00
Jerome Mouneyrac
bc81eadb19 MDL-27547 When deleting a local plugin containing a built-in service, the built-in service is not deleted 2012-04-11 14:49:14 +08:00
Aparup Banerjee
12b8995749 Merge branch 'MDL-31853_admin_externalpage_setup' of git://github.com/davosmith/moodle 2012-03-14 09:16:27 +08:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Davo Smith
f4a46019ca MDL-31853 Fix pagelayout problem with admin_externalpage_setup 2012-03-02 16:12:45 +00:00
Eloy Lafuente
6b7f1717e9 MDL-31604 Fix capabilities displayed without spaces causing text going out of the screen 2012-02-13 10:43:30 +08:00
Eloy Lafuente (stronk7)
ec43e2267c Merge branch 'MDL-30408-master' of git://github.com/sammarshallou/moodle 2012-01-17 01:43:19 +01:00
Petr Skoda
00b9c582d8 MDL-31170 fix automatic blog blocks hiding/unhiding after blog level change 2012-01-15 13:40:12 +01:00
sam marshall
5813c7f7dc MDL-30408 Allow modules the choice to not appear on 'Add a...' lists
This is useful for modules which are created by the system and are not supposed to be created by users. There are various reasons for doing this in third-party modules.
2012-01-12 17:29:54 +00:00
Petr Skoda
544832790d MDL-30327 standardise block deletion process 2011-11-19 16:56:11 +01:00
Aparup Banerjee
f6f2bebd0c MDL-28436 webservice : fixed missing field in query 2011-10-13 09:54:25 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Rajesh Taneja
48a614d97e MDL-29079 Administration: Added space between checkboxes on general backup setting page 2011-09-19 13:32:38 +08:00
Eloy Lafuente (stronk7)
1a3c27d0b6 Merge branch 'MDL-28990' of git://github.com/mouneyrac/moodle 2011-08-23 02:35:05 +02:00
Petr Skoda
925c5efd3e MDL-29031 drop unused block tables 2011-08-21 17:56:06 +02:00
Jerome Mouneyrac
fa698a15a8 MDL-28990 add web service mobile overview 2011-08-19 11:45:18 +08:00
John Beedell
51f2d42f4f MDL-28421 Improve admin config class
admin_settings_configmultiselect_modules to include default value
2011-07-25 10:02:04 +01:00
Tim Hunt
c141b05f7d MDL-25357 Allow maximum number of sections to be set by the admin. Also allow 0 sections at an choice.
Also fix one bad <br/> in another lang string.
2011-07-04 15:35:03 +01:00
Sam Hemelryk
797cedc7cf MDL-25249 Tidied up calendar variable passing and removed session abuse 2011-06-29 14:50:38 +08:00