Commit graph

8079 commits

Author SHA1 Message Date
tjhunt
b3a4937663 formslib dates: MDL-16592 by popular demand, a close icon on the popup. 2009-03-16 07:38:27 +00:00
tjhunt
b51709c14c formslib disabledif: MDL-18522 make it work if either end of a disabledif relationship is a set of radio buttons. 2009-03-16 06:09:05 +00:00
tjhunt
562b75b21f formslib durations: MDL-18500 Let the form control the default unit. 2009-03-16 05:57:25 +00:00
tjhunt
bd55319b37 formslib dates: MDL-16592 fix a couple of remaining niggles.
* Hide when focus leaves in almost all cases.
* Reposition the calendar after a delay after changing to a month with a different number of weeks.
2009-03-16 03:42:14 +00:00
tjhunt
9bad31f562 formslib dates: MDL-16592 Fix problem when trying to select a time when the calendar is not visible. 2009-03-16 02:27:08 +00:00
tjhunt
f6b6861d9d javascript: MDL-18568 We don't need a function called uncheckall, as well as one called checknone!
Also, clean up coding style in the popupchecker function.
2009-03-16 02:11:15 +00:00
skodak
cb551e3625 MDL-18550 fixed DML typo and bad coding style - yes sam, whitespace is part of the official coding style! thanks nigel daley for spotting of the typo 2009-03-15 13:29:40 +00:00
tjhunt
8e7cebb0d8 formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
2009-03-13 09:56:53 +00:00
tjhunt
5f5b443ea8 gift import: MDL-18390 better way to get the question type name. 2009-03-13 09:19:01 +00:00
dongsheng
fe4126c8c3 "REPOSITORY, SMB/MDL-16907, remove smb plugin from core" 2009-03-13 02:59:45 +00:00
danmarsden
b555127fc5 MDL-18517 Stats - Course Overview Weighted report returning incorrect information 2009-03-13 02:52:53 +00:00
dongsheng
7a34d20d47 "REPOSITORY/MDL-13766, return unknown type icon for repository api" 2009-03-12 08:02:51 +00:00
stronk7
1263a0ff1d MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow!
Merged from 19_STABLE
2009-03-11 11:22:55 +00:00
tjhunt
f3a076ded4 MDL-18500 New formslib element type duration for periods of time. 2009-03-11 06:07:33 +00:00
dongsheng
7719860b60 "ADMINLIB/MDL-17966, display changes saved in admin page, merged from 1.9" 2009-03-11 02:42:28 +00:00
tjhunt
84e628a027 quiz settings: MDL-18485 Improve quiz settings form
* Reorder form fields to group things more logically.
** and on the corresponding admin page too.

* Set some options to be 'Advanced' by default:
** Apply penalties.
** Each attempt builds on the last.
** Decimal places for question grades.
** The five 'Extra restrictions on attempts' settings. (password, etc.)
* Admins can still change this to suit their institiution at Administration > Plugins > Activity modules > Quiz.
* These new defaults are applied if the admin had not previously set any fields to be advanced.

* Disable some filds when they are not applicable:
** Grading method, if num attempts = 1
** Penaly scheme, if adaptive mode = no
** Each attempt builds of last, if num attempts = 1
** Review after quiz closed options, if no close date.
** Delay between 1st and 2nd attempts, if num attempts = 1
** Delay between later attempts, if num attempts < 3

* Convert quiz.timelimit to be in seconds, for consistency, and ready for the new duration field type (MDL 18500).
** Including ensuring that backup and restore is backwards compatible.

* MDL-5537 New setting, questiondecimalpoints, so, for example, you can show the quiz grade as an integer, but have fractional question grades.
** There is a 'Same as overall decimal points' option, which is the default.

* Improve some field labels.

* Make corresponding changes in the help files.
2009-03-10 08:39:51 +00:00
tjhunt
48f7eb9868 ajaxlib: fix unit tests. 2009-03-10 08:01:57 +00:00
tjhunt
2e710be856 Unit tests: in recurseFolders, skip files/folders whose names begnis with '.'/ 2009-03-10 07:53:42 +00:00
tjhunt
3744f3770c ajaxlib: fix unit tests. 2009-03-10 07:48:29 +00:00
dongsheng
1b25f19692 "FILE_MANAGER, REPOSITORY/MDL-16597, remove padding in file listing" 2009-03-10 07:31:14 +00:00
tjhunt
32fa227255 duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes
This will be a formslib element for entering a time duration, like a quiz time limit. A better version to follow.
2009-03-10 06:46:34 +00:00
tjhunt
25fe66b094 date form fields: MDL-18502 Change the optional 'disabled' checkbox to an 'enabled' on
Better for usability to avoid a double-negative.
2009-03-10 06:44:05 +00:00
tjhunt
de9c561ba9 admin setting: MDL-18485 Improve the display of defaults for admin_setting_text_with_advanced 2009-03-10 06:43:07 +00:00
tjhunt
eba40bfe7a tablelib: Fix typo. 2009-03-10 05:00:16 +00:00
dongsheng
8763ab760b "REPOSITORY, UPGRADE/MDL-18354, upgrade/install repository plugins using moodle hook" 2009-03-10 02:01:24 +00:00
poltawski
6667f9e439 repository/googledocs New repository plugin MDL-16383
Google have now allowed documents to be downloaded via their API
(http://googledataapis.blogspot.com/2009/02/start-downloads.html) so
the google docs repo plugin could be finished.

At the moment i've set the export format hardcoded, hopefully we can allow the
repo api let the user choose later...
2009-03-08 15:53:11 +00:00
dongsheng
a75c78d318 "REPOSITORY/MDL-18354, enabled local and upload repository plugins when upgrading" 2009-03-05 04:40:51 +00:00
tjhunt
c65921d422 Question categories. Move code to a more appropriate place. 2009-03-05 04:19:33 +00:00
tjhunt
6a2084067d Fix comment. 2009-03-05 03:35:13 +00:00
stronk7
e0ec2d45b8 MDL-18440 email_to_user() - avoid some notices ; merged from 19_STABLE 2009-03-04 15:03:00 +00:00
sam_marshall
7a7dbd77d1 MDL-18427: Completion system does not require_once gradelib when used 2009-03-03 17:04:49 +00:00
tjhunt
af52eceef4 qtype admin: MDL-18425 also related to MDL-18355.
Allow question types  to be displayed in order that is better than random or alphabetical. Since we don't know all the qtypes there may be:
1. Store the order in the DB (config plugins).
2. Set up a good default order for the standard types. (Unknown types go at the end by default.)
3. Allow admins to edit the order on the qtype admin screen.
2009-03-03 07:47:32 +00:00
tjhunt
7f92f0ad39 quiz editing: MDL-18355 further refinements to the UI. 2009-03-03 05:13:53 +00:00
danmarsden
bc7ec91a0d MDL-12037 Backup Log - add new field to backup_log table to allow other backup related functions to save log data 2009-03-03 00:06:08 +00:00
stronk7
6dc72d7506 MDL-18420 reserved words - lowercase sqlite reserved words 2009-03-02 19:20:47 +00:00
stronk7
e9fc2f32ef MDL-18420 reserved words - adding 2 new PG reserved words. Merged from 19_STABLE 2009-03-02 19:09:29 +00:00
stronk7
09717fa5ca MDL-18420 reserved words - adding MySQL 5.1 and 6.0 new reserved words ; merged from 19_STABLE 2009-03-02 18:53:59 +00:00
mjollnir_
ea95cf9c05 MDL-16520 portfolio: when an exception happens, kill the active export 2009-03-01 11:01:57 +00:00
skodak
c70552d871 MDL-18407 fixed wrong select 2009-02-28 09:09:09 +00:00
sam_marshall
ca6b2d6801 MDL-18403: Completion system can cause problems if grade completion is somehow enabled when completion is set to manual 2009-02-27 14:35:05 +00:00
tjhunt
a781921fd0 question bank: MDL-16412 Allow admins to enable/disable of each question type 2009-02-25 09:31:49 +00:00
tjhunt
c7ecf78e5f tablelib: MDL-18372 Let people specify a CSS class name to add to the <tr> element. 2009-02-25 08:07:19 +00:00
tjhunt
f3409e53a0 questionlib: fix typo. 2009-02-25 06:12:55 +00:00
jerome
1b12adb81d web service MDL-12886 remove moodleexternal.php from the lib folder 2009-02-24 08:27:07 +00:00
jerome
386f206787 web service MDL-12886 fix capability name 2009-02-24 07:54:33 +00:00
tjhunt
60cd5b5a34 weblib: Improve PHPdoc comment and parameter names. 2009-02-24 05:09:29 +00:00
stronk7
121ff1f93f Annotating some more customizations performed in PHPMailer(); merged from 19_STABLE 2009-02-23 09:09:08 +00:00
skodak
78e3908f92 MDL-18348 CVE-2007-3215 2009-02-23 07:44:03 +00:00
skodak
8f0632f097 MDL-18318 fixed incorrect function param - thanks Aurelijus 2009-02-19 16:21:46 +00:00
sam_marshall
7556422816 MDL-18272, MDL-18271: Conditional availability - grade condition to use percentages not raw grades; use wording rather than >= symbol in form because (apparently) teachers are functionally innumerate. ;) 2009-02-18 17:50:13 +00:00