donal72 [Wed, 17 Oct 2007 08:12:06 +0000 (08:12 +0000)]
Rewrite testclient.php to be a service browser for remote Moodles. This should be useful to people who are trying to connect to the API from non-Moodle hosts, or write software to connect to Moodle. MDL-10214, MDL-10174, MDL-10172, MDL-10171
donal72 [Wed, 17 Oct 2007 08:08:12 +0000 (08:08 +0000)]
Change reflection methods to only report on methods that are being published to the inquiring host (instead of all methods that could be published). MDL-10214, MDL-10174, MDL-10172, MDL-10171
tjhunt [Tue, 16 Oct 2007 21:26:50 +0000 (21:26 +0000)]
MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Merged from MOODLE_19_STABLE.
tjhunt [Tue, 16 Oct 2007 20:29:20 +0000 (20:29 +0000)]
MDL-11791 - Custom corners broken on the quiz view page because I missed a global declaration, and PHP empty was hiding the problem. Merged from MOODLE_19_STABLE.
stronk7 [Tue, 16 Oct 2007 16:10:19 +0000 (16:10 +0000)]
Move the update of digestmailtimelast to the end of the
loop to allow digests to be sent over multiple cron
executions if something crash in the middle. MDL-11657
urs_hunkler [Tue, 16 Oct 2007 14:56:19 +0000 (14:56 +0000)]
merged from 1.9 :: Added mod-data-view to the custom corners include list for properly displayed custom corners. They where missing arounfd the contetn area.
donal72 [Tue, 16 Oct 2007 03:26:39 +0000 (03:26 +0000)]
Removed a constraint that caused mnet to fail on clusters, vservers and other network configurations where the mnet client's hostname (as specified in the wwwroot) resolves to an IP address that differs from the IP address that it uses to contact other hosts. This should address MDL-10672
urs_hunkler [Sat, 13 Oct 2007 09:16:46 +0000 (09:16 +0000)]
Merged from 1.9 ::
MDL-11729 :: Removed commenting out loading of the Chameleon files loading.
MDL-11664 :: IE6 can't display transparent PNGs. Added not transparent gifs instead and changed the background for IE6 to a solid colour.
tjhunt [Fri, 12 Oct 2007 15:55:49 +0000 (15:55 +0000)]
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
tjhunt [Fri, 12 Oct 2007 10:36:11 +0000 (10:36 +0000)]
MDL-11699 - Further, backwards-compatible, improvement to the build navigation API to simplify a common case. Also, further improvements to the doc comment, so it is easy to use. Merged from MOODLE_19_STABLE.
tjhunt [Thu, 11 Oct 2007 11:52:34 +0000 (11:52 +0000)]
MDL-11699 - Addendum - rewrite the other half of the function too, so I can understand what it is doing, and fix a couple of minor logic errors along the way. Merged from MOODLE_19_STABLE.
jamiesensei [Wed, 10 Oct 2007 15:23:24 +0000 (15:23 +0000)]
fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions.
tjhunt [Wed, 10 Oct 2007 14:00:41 +0000 (14:00 +0000)]
MDL-11699 - Make build_navigation more helpful by having it optionally build the activity and activityinstance links too, if you pass a $cm object. Note that this only does extra DB queries if you do pass a $cm object, and it does not have all the required fields, but in this case it will winge at you in developer debug mode. If you get your $cm using get_coursemodule_from_instance or get_coursemodule_from_id, which is best practice these days, then you won't have a problem.