Commit graph

4649 commits

Author SHA1 Message Date
nicolasconnault
619a59a70f MDL-9506 Set up the unit test bed and continued to implement gradebook API. 2007-04-24 08:50:19 +00:00
nicolasconnault
42bbccd722 MDL-9506 Finished initial draft of gradebook API. 2007-04-24 05:41:28 +00:00
toyomoyo
5cb564aa4a grades tables 2007-04-24 03:28:31 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
tjhunt
7c77033fb6 MDL-9524 - Formslib gets confused if a required field is frozen. Merged from MOODLE_18_STABLE. 2007-04-23 16:19:25 +00:00
nicolasconnault
5834dcdb1d MDL-9506 First draft of gradelib, and the stubs for the unit tests. 2007-04-23 09:00:32 +00:00
skodak
9170670188 MDL-9233 denied and allowed email address domains are not matched correctly 2007-04-21 20:06:56 +00:00
skodak
80274abfa1 MDL-9429 make clear that alternate change password url is used only when user is logged in, for example change url may contain $USER->username; other minor cleanup 2007-04-20 10:02:38 +00:00
toyomoyo
4de19d9296 adding a new key 2007-04-20 01:39:22 +00:00
mjollnir_
c68e9d06f6 xmldb: added $CFG options for disabling next / previous value checkings & enforced comment checking. merged from mahara :) 2007-04-20 00:10:52 +00:00
skodak
85fbf88489 MDL-9151 fixed missing global definition, sorry :-( 2007-04-19 12:18:44 +00:00
jamiesensei
dac786f300 MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists. 2007-04-19 08:57:54 +00:00
toyomoyo
0856223c50 mechanism to install events 2007-04-19 08:45:30 +00:00
skodak
e0ac8448c7 MDL-9151 HTML Purifier cleaning support - enable switch is in experimental section
MDL-9435 Reviewved url cleaning in redirect()
2007-04-18 21:52:03 +00:00
poltawski
2acc1f9678 MDL-8209 - Force admin/index.php to redirect to upgrade settings screen
when some admin settings are not set.
2007-04-18 09:39:49 +00:00
toyomoyo
ec36253d73 adding core events tables 2007-04-18 09:05:42 +00:00
skodak
1659a9982d MDL-9403 Add "application/xhtml+xml" mime type for *.xhtml resource files 2007-04-17 22:14:15 +00:00
skodak
886c109d8d MDL-9416 Double quotes and tags in helpable item breaks XHTML strict; merged from MOODLE_18_STABLE 2007-04-17 20:42:29 +00:00
mattc-catalyst
6db8acb6a5 Breadcrumbs: pagelib changes
- Modified page class to use build_navigation for creating breadcrumbs.
- Added print_header method to page_generic_activity to make derived
  classes print the page headers the correct way.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:48:48 +00:00
mattc-catalyst
ac4feb59af Breadcrumbs: Core functionality changes
- Added build_navigation function to create an XHTML breadcrumb list and to
  allow filtering of breadcrumbs to remove the activity from the trail.
- modified print_navigation to print the output of build_navigation whilst
  maintaining backward compatibility with old style string breadcrumbs.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:44:32 +00:00
skodak
77ac808e51 MDL-4421 unwanted space in formatted time; merged from MOODLE_18_STABLE 2007-04-16 18:51:52 +00:00
poltawski
59465949fa MDL-9318 Improving the maxbytes setting.
Maxbytes admin is now a dropdown box, and has the option to set as 'server limit'.
get_max_uploaded_sizes will now add maxbytes to its list of settings, if its
available for selection.
2007-04-16 15:56:38 +00:00
ikawhero
334415e93f Merging changes from 1.8
Display custom profile fields in profile page - see MDL-9285
Menu type stores the value rather than the index - see comments on MDL-9285
General tidy up and renaming of funtions in field class.
2007-04-16 02:49:33 +00:00
martinlanghoff
08c58ff103 moodle_request_shutdown(): silence errors when apache_child_terminate() is disallowed - (MDL-9350) 2007-04-16 00:24:27 +00:00
skodak
8f660562d8 MDL-8839 fixed markdown cleaning before editting of existing untrusted text; merged from MOODLE_18_STABLE 2007-04-15 21:54:34 +00:00
skodak
57714e475e MDL-9300 The aspell spell-checker does not work in 1.8; merged from MOODLE_18_STABLE 2007-04-15 17:04:26 +00:00
stronk7
a7a7fa8306 Fixing typo causing purge of accelerator cache not working. MDL-9349
Merged from MOODLE_18_STABLE
2007-04-15 11:11:48 +00:00
tjhunt
c73189115f Work round PHP4 being a stinking pile of crap. 2007-04-13 10:03:10 +00:00
tjhunt
0558f04745 Reveted Nick's alleged typo fix. Thank you very much for trying to fix my code, but your change is definitely wrong. get_context_instance needs to be passed a coursemoduleid, not a coursemodule object. Why did you think there was a typo? And neither of us had noticed that I had left some debug code in. Removing that. 2007-04-13 08:12:08 +00:00
toyomoyo
115a622d8c merged MDL-9273 related fixes 2007-04-13 05:40:11 +00:00
martinlanghoff
76ab1c33d9 Bug fix: 'off by one'month bug in mupltiple locations.
When the system/user time zone was set to GMT-13 months would lag behind by
one month.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-13 05:04:57 +00:00
nicolasconnault
f4c0d852a2 Fixed a typo inadvertently introduced by Tim Hunt in revision 1.85.2.10. 2007-04-13 01:26:22 +00:00
tjhunt
b423cff11a MDL-9325 - mod/quiz:ignoretimelimits does not work. This is a really horrific short-term fix to a problem not of my making. Merged from MOODLE_18_STABLE. 2007-04-12 22:16:47 +00:00
tjhunt
99ba746d29 MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.
If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).

If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
2007-04-12 15:58:32 +00:00
martinlanghoff
7f36ba112b moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer 2007-04-12 03:25:57 +00:00
martinlanghoff
9d411c734b Fixed 'off by one' month bug in month select boxes generated by
print_date_selector when users time zone set to GMT-13.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt <mattc@catalyst.net.nz>
2007-04-12 00:41:31 +00:00
mjollnir_
bd903ae9de merged: fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first from MOODLE_16_STABLE, and fixed up some weirdness in the reports 2007-04-11 23:53:15 +00:00
tjhunt
dcc2ffde63 MDL-9082 - moodle/question:manage does not let you create questions. Also: * remove useless option from print_question_icon * use the right module context in question_list * a bit of XHTML strrrict in question_list Merged from MOODLE_18_STABLE. 2007-04-11 22:57:46 +00:00
toyomoyo
177d4abf11 adding idnumber field for course modules and modedit form 2007-04-11 09:19:24 +00:00
skodak
77b4d4be49 MDL-9075 utf-8 bom is now stripped from uploaded users cvs file; merged from MOODLE_18_STABLE 2007-04-10 15:32:37 +00:00
toyomoyo
d5cf76e3ff merged fix for MDL-9238 2007-04-10 08:57:48 +00:00
mjollnir_
64aea3f055 Merged from MOODLE_17_STABLE:
add support for https source for popups

previously fullscreen.php tried to load any javascript files that were
running in the popup's parent.
If the source of the script didn't start with "http:" it was assumed
that it must be a relative path. This caused problems when it tried to
make it into an absolute path.
Fixed Regex to include support for https
Credit: Peter Bulmer <peterb@catalyst.net.nz>
2007-04-09 20:40:22 +00:00
skodak
afe413989b MDL-9216 has capabilitiy does not respect doanything if admin userid specified and $USER is not admin; merged from MOODLE_18_STABLE 2007-04-09 11:11:31 +00:00
stronk7
84a13375f0 Better approach. Use higher level MetaIndexes() and avoid some MySQL warnings. MDL-9256
Merged from MOODLE_18_STABLE
2007-04-09 00:11:22 +00:00
stronk7
9770914d5f Now MySQL looks for existing index names. MDL-9256
Merged from MOODLE_18_STABLE
2007-04-08 22:59:54 +00:00
stronk7
5a9fc42658 Now $CFG->apachemaxmem is respected.
Merged from MOODLE_18_STABLE
2007-04-07 16:08:51 +00:00
skodak
7e810d419a MDL-8429 Upgrade ADOdb to 4.9.4 2007-04-07 08:30:19 +00:00
skodak
239ade458c MDL-9239 New fromslib password element with reveal option; merged from MOODLE_18_STABLE 2007-04-06 14:18:02 +00:00
jamiesensei
632b88d5a2 see MDL-8886.
fixes bug that meant :

       $mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 0);
       $mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 3);
       $mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 4);

didn't work.
2007-04-06 06:01:11 +00:00
skodak
4db9bff7ec MDL-9218 Processing of role assignments produces PHP notices; merged from MOODLE_18_STABLE 2007-04-05 08:43:06 +00:00