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
martinlanghoff
cf8133c457
lib/setup moodelib: Introducing moodle_request_shutdown()
...
Now Moodle will have a 'shutdown_function' function. Right now
registered (and useful) only when running under apache + mod_php.
This initial function checks whether memory usage in this process exceeded
10MiB or $CFG->apachemaxmem (int, in bytes). This is really useful to prevent
using more RAM than we have.
2007-04-05 05:04:06 +00:00
skodak
c57d88740f
MDL-8802 fixed byteserving broken by adobe anti xss patch; merged from MOODLE_18_STABLE
2007-04-04 19:45:17 +00:00
jamiesensei
db8e700b0a
fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox
2007-04-04 10:16:22 +00:00
skodak
f76cfc7a3a
MDL-9191 fix for potential incorrect use of get_auth_plugin; merged from MOODLE_18_STABLE
2007-04-04 09:19:31 +00:00
toyomoyo
07076b70a4
fix for MDL-9095, increase blog tag length
2007-04-04 09:13:32 +00:00
nicolasconnault
20355e5ac2
MDL-9138; Edited lib/xmlize.php to return false when the passed file doesn't return any entries (when it's not valid XML or is empty). Also made it much clearer that glossary/import requires an XML file, not just any old file.
2007-04-04 03:35:23 +00:00
skodak
ad56b73774
MDL-9170 https redirect doesn't happen on login page - fixed problem when guest button disabled; merged from MOODLE_18_STABLE
2007-04-03 14:59:56 +00:00
nfreear
008b2b07ab
Fixes bug MDL-9175 "Groups simpletest, fatal errors", also DONOTCOMMIT.
2007-04-03 10:16:51 +00:00
toyomoyo
49860445a6
fix for MDL-8739, restore in course category
2007-04-03 09:19:09 +00:00
tjhunt
5081e0a635
Better way to detect whether a function exists in this version of PHP before redefining it.
2007-04-03 08:34:39 +00:00
tjhunt
1aa7b31dd9
Make sure print_object output is always left-aligned. Also, make it look more like other debugging output.
2007-04-02 15:28:43 +00:00
skodak
e78d624f79
fixed warning when upload fails; merged from MOODLE_18_STABLE
2007-04-02 14:57:56 +00:00
skodak
2c040c29df
MDL-9170 https redirect doesn't happen on login page; merged from MOODLE_18_STABLE
2007-04-02 13:59:36 +00:00
toyomoyo
47bb1aed07
merged fix for MDL-9160, get_my_courses caching issues
2007-04-02 03:53:10 +00:00
toyomoyo
72cf2e3908
admins should not need course:view
2007-04-02 02:37:34 +00:00
tjhunt
b388c7664d
Another attempt to get redirect() to not redirect if an error was output to the screen, to make dubuggin easier. Sorry I had not noticed the bit in the docs that says error_get_last was PHP 5.2.0+.
2007-04-01 22:19:39 +00:00
moodler
b107549c32
Merged MDL-9139 from 1.8
2007-04-01 15:59:04 +00:00
moodler
bf8b3d21ba
Making redirects work again
2007-03-31 02:34:06 +00:00
moodler
d176958817
error_get_last() ? What's that?
2007-03-31 02:30:56 +00:00
skodak
ef4d42fd9e
Added patch from Mark for MDL-9083; merged from MOODLE_18_STABLE
2007-03-30 21:15:39 +00:00
nfreear
5bff085524
Follow up fix for bug MDL-8695 "Form 'required' icon is hidden".
2007-03-30 10:52:45 +00:00
tjhunt
9523cbfcef
Small code cleanup to fix an obscure warning. If you got an error in the middle of creating a quiz attempt, you could get an attempt with no states. Then that caused an error when the attempt was deleted. Merged from MOODLE_17_STABLE.
2007-03-30 10:17:16 +00:00
nfreear
653f890d22
Fixes bug MDL-8695 "Form 'required' icon is hidden", see commit 13 Jan (big woops, forgot to commit on 1/3).
2007-03-30 10:15:18 +00:00
tjhunt
46e910c7cd
Fix notice. Merged from MOODLE_17_STABLE.
2007-03-30 09:34:05 +00:00
skodak
f4f2b8fbf4
MDL-8590 fixed magic quotes in config settings; merged from MOODLE_18_STABLE
2007-03-29 19:05:16 +00:00
tjhunt
fb708c1130
MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:
...
It used not to work with random questions, and there were problems with the computation of the grade, and regrading. Fix thanks to Paulo Matos, who not only fixed the bug and tested it, but was also incredibly patient waiting for me to have time to commit the changes to CVS.
Merged from MOODLE_17_STABLE.
2007-03-29 16:36:16 +00:00
tjhunt
a6b691d84d
Add developer debugging to something that should not happen, and fix one instance of it.
2007-03-29 16:05:55 +00:00