4509 Commits

Author SHA1 Message Date
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
skodak
f5fd4347dd MDL-8973 auth hooks final cleanup; merged from MOODLE_18_STABLE 2007-03-28 08:28:02 +00:00
moodler
999d2214a3 Merged conversion from dos to unix MDL-9088 2007-03-28 07:17:26 +00:00
stronk7
86041b7e84 Now XMLDBStatements support backslashed single quotes.
Merged from MOODLE_18_STABLE
2007-03-27 20:31:18 +00:00
skodak
c7b10b5f67 MDL-9053 - adding new function get_enabled_auth_plugins() - this should make the code simpler and the bug should be gone forever; merged from MOODLE_18_STABLE 2007-03-27 20:26:05 +00:00
toyomoyo
863fb22dd7 merged fix for MDL-9057, invalid contexts should be ignored 2007-03-27 03:04:15 +00:00
skodak
c7888a90bc MDL-9056 Undefined property in lib/db/upgrade.php; merged from MOODLE_18_STABLE 2007-03-26 21:47:46 +00:00
skodak
111e236005 MDL-9055 wrong creation of mnet auth object in require_logout() + minor cleanup; merged from MOODLE_18_STABLE 2007-03-26 20:35:04 +00:00
skodak
922c5b362d MDL-8513 fixed conversion of ldap settings during upgrade to 1.8; merged from MOODLE_18_STABLE 2007-03-26 20:15:45 +00:00
nicolasconnault
86aae61ee7 MDL-8730: These libxml_* functions are PHP5 only. I've wrapped them in function_exists() conditional structures. 2007-03-26 03:42:22 +00:00
nicolasconnault
5db0cffcf6 MDL-8922: Had to modify another bunch of files to fix a simple problem:
when a config block contains a form, the previous form needs to be closed
properly (it was, but there were non-matching closing divs etc...).
2007-03-26 03:06:45 +00:00
toyomoyo
5c91baaa46 patching up module level manageactivies capability so that you only need it assigned at mod level to update an activity 2007-03-26 02:55:03 +00:00
stronk7
b59c7ec0ee Fetch local guest user using DB index.
Merged from MOODLE_18_STABLE
2007-03-23 15:57:46 +00:00
skodak
2c793dc775 MDL-9017 add mime type for ico files; merged from MOODLE_18_STABLE 2007-03-23 13:06:51 +00:00