stronk7 [Wed, 14 Oct 2009 17:53:38 +0000 (17:53 +0000)]
MDL-19057 dml tests: Completed (and passed in all the big four!) the
set_field_select() tests. Including nulls, booleans, zeros, empties,
quotes and backslashes, some php operations, clobs and blobs. Going
to mimic all them to insert/update_record tests.
skodak [Mon, 12 Oct 2009 21:46:16 +0000 (21:46 +0000)]
MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days
samhemelryk [Mon, 12 Oct 2009 05:39:32 +0000 (05:39 +0000)]
navigation MDL-20521 Fixed caching issue with admin tree
Added methods that allow a navigation cache to be marked as volatile so that it is destroyed on shutdown, forcing the next page to load to completely regenerate the navigation structure.
Caches are marked as volatile automatically if the load is within the system context, and can optionally be marked as volatile by calling PAGE->navigation->clear_cache() if desired.
skodak [Thu, 8 Oct 2009 22:34:34 +0000 (22:34 +0000)]
MDL-19474 One year and a half ago we started designing and implementing our new databse abstraction layer which included brand new moodle native drivers. Today we are finally removing old legacy drivers that were still using adodb internally. From now on the adodb will be used only in some authentication and enrolment plugins, we are probably going to drop adodb there too later in 2.x. Thanks everybody who helped test and improve our new drivers, even bigger thanks to all the great developers who created ADOdb!
ericmerrill [Thu, 8 Oct 2009 04:52:33 +0000 (04:52 +0000)]
My Moodle/Courses: MDL-20472 get_my_courses returns 2 more courses then limit. Repairs two off by one errors in get_my_courses and get_user_courses_bycap.
moodler [Thu, 8 Oct 2009 04:33:55 +0000 (04:33 +0000)]
tinymce/video MDL-19611 Restoring the video button so at least it works and we can do demos and tests. If there are still security issues then please describe them.
skodak [Wed, 7 Oct 2009 21:55:27 +0000 (21:55 +0000)]
MDL-12886 new sample simple REST web service layer - this is kind of proposal outlining a bit improved OOP WS server framework; please note it fully works including most of the security checks and authentication - more details in notes at the top of the file; the missing bit is token based authentication
stronk7 [Tue, 6 Oct 2009 01:14:47 +0000 (01:14 +0000)]
MDL-12922 adding 'moodle/restore:rolldates' cap to control who can roll dates on restore
(defaults to current settings: only course creators (and admins) are able to roll) Merged from 19_STABLE
stronk7 [Mon, 5 Oct 2009 17:23:31 +0000 (17:23 +0000)]
MDL-18469 checksum restore in-session objects - both in manual restore and
import, create checksums of the critical in-session objects (info, course_header
and restore) to be able to check in restore_execute.html that all the information
has arrived properly without any trim/error. Merged from 19_STABLE
stronk7 [Mon, 5 Oct 2009 16:56:52 +0000 (16:56 +0000)]
NOBUG. Restoring of backups performed in different TZ/DST was causing incorrect roll to happen.
Prevent any roll of dates if differences are < 24h. Merged from 19_STABLE
stronk7 [Mon, 5 Oct 2009 16:32:15 +0000 (16:32 +0000)]
MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was
causing restore dates to be rolled based in the course where the backupfile is stored
and not in the target course. Merged from 19_STABLE
stronk7 [Mon, 5 Oct 2009 10:31:46 +0000 (10:31 +0000)]
MDL-18469 restore missing session info - add a quick re-test of xml file
before any further processing by restore_execute(). More coming. Merged
from 19_STABLE