moodler [Wed, 3 Jan 2007 01:37:20 +0000 (01:37 +0000)]
$CFG->debugdisplay now controls PHP errors too
toyomoyo [Wed, 3 Jan 2007 00:41:50 +0000 (00:41 +0000)]
MDL-7861, fixing tags
skodak [Tue, 2 Jan 2007 22:44:59 +0000 (22:44 +0000)]
MDL-8018 testing and bugfixing of curl emulation library + added download_file_content() into filelib.php
skodak [Tue, 2 Jan 2007 20:38:20 +0000 (20:38 +0000)]
MDL-8018 initial import of curl emulation library and handy HTTPRetriever
http://code.blitzaffe.com/pages/phpclasses/files/libcurl_emulator_52-7
http://code.blitzaffe.com/pages/phpclasses/files/http_retriever_52-6
skodak [Tue, 2 Jan 2007 10:27:59 +0000 (10:27 +0000)]
MDL-8032 remove repeated dashes from navmenu - replace with CSS styling
skodak [Tue, 2 Jan 2007 10:00:38 +0000 (10:00 +0000)]
MDL-7861 I have noticed that the last change in weblib.php moodle.cvs.sourceforge.net/moodle/moodle/lib/weblib.php?r1=1.722&r2=1.723 broke validation because name and id attributes are not the same, committing fix, please review ;-)
skodak [Tue, 2 Jan 2007 09:49:10 +0000 (09:49 +0000)]
removed ooo log output format now replaced by ods
skodak [Tue, 2 Jan 2007 09:45:03 +0000 (09:45 +0000)]
MDL-7742 CSS hooks for styling of section add menu
skodak [Tue, 2 Jan 2007 09:33:07 +0000 (09:33 +0000)]
MDL-7742 added nested drop down box to add activities/resources to course, 3rd party mods can specify type
MDL-6987 preparation for migration of mod/assignment/mod.html
toyomoyo [Tue, 2 Jan 2007 07:47:07 +0000 (07:47 +0000)]
MDL-7861, fixing broken xhtml
toyomoyo [Tue, 2 Jan 2007 07:43:56 +0000 (07:43 +0000)]
MDL-7861, fixing missing space
toyomoyo [Tue, 2 Jan 2007 06:49:30 +0000 (06:49 +0000)]
fixed a bug in calendar as one can have multiple role_assignments in a course
toyomoyo [Tue, 2 Jan 2007 06:10:35 +0000 (06:10 +0000)]
MDL-7871, replacing & with &
toyomoyo [Tue, 2 Jan 2007 05:55:57 +0000 (05:55 +0000)]
MDL-7861, replacing document.abc with document.getElementById('abc')
toyomoyo [Tue, 2 Jan 2007 05:04:11 +0000 (05:04 +0000)]
chaning reference from document.abc to document.getElementById('abc'), MDL-7861
toyomoyo [Tue, 2 Jan 2007 04:37:45 +0000 (04:37 +0000)]
MDL-7861, fixing missing tag
moodler [Tue, 2 Jan 2007 03:11:53 +0000 (03:11 +0000)]
installer.php lang files by installer_builder (
20070102)
toyomoyo [Tue, 2 Jan 2007 02:21:54 +0000 (02:21 +0000)]
MDL-7861, fixing javascript
toyomoyo [Tue, 2 Jan 2007 01:59:49 +0000 (01:59 +0000)]
MDL-7861, fixing javascript
toyomoyo [Tue, 2 Jan 2007 01:41:14 +0000 (01:41 +0000)]
MDL-7861, adding cdata to javascript
vyshane [Tue, 2 Jan 2007 01:25:40 +0000 (01:25 +0000)]
XHTML fixes for MDL-7861.
skodak [Mon, 1 Jan 2007 13:36:42 +0000 (13:36 +0000)]
MDL-7977 new isguestuser() function implementation
skodak [Mon, 1 Jan 2007 13:26:20 +0000 (13:26 +0000)]
MDL-8028 Add separate addslashes_js function for javascript quoting
moodler [Sun, 31 Dec 2006 03:15:28 +0000 (03:15 +0000)]
installer.php lang files by installer_builder (
20061231)
skodak [Sat, 30 Dec 2006 22:45:40 +0000 (22:45 +0000)]
MDL-8028 Add separate addslashes_js function for javascript quoting
skodak [Sat, 30 Dec 2006 21:40:22 +0000 (21:40 +0000)]
MDL-8029 removed obsoleted use of isteacher() from user view
skodak [Sat, 30 Dec 2006 21:32:53 +0000 (21:32 +0000)]
MDL-8029 removed obsoleted use of isadmin() from authenticate_user_login()
skodak [Sat, 30 Dec 2006 21:25:13 +0000 (21:25 +0000)]
MDL-8029 removed obsoleted use of nvl() from weblib
skodak [Sat, 30 Dec 2006 21:22:36 +0000 (21:22 +0000)]
MDL-8029 removed obsoleted optional_variable() from ldap config
skodak [Sat, 30 Dec 2006 21:18:15 +0000 (21:18 +0000)]
MDL-8029 obsoleted html_entity_decode() and file_get_contents() emulation removed from moodlelib
skodak [Sat, 30 Dec 2006 21:14:24 +0000 (21:14 +0000)]
MDL-8029 obsoleted file_get_contents() emulation removed from filelib
skodak [Sat, 30 Dec 2006 21:10:23 +0000 (21:10 +0000)]
MDL-8029 obsoleted ob_end_clean() emulation removed from chat
skodak [Sat, 30 Dec 2006 21:05:17 +0000 (21:05 +0000)]
nvl() function moved to deprecated - my +1 for removing it together with friends xxx_variable() from HEAD ;-)
skodak [Sat, 30 Dec 2006 19:45:24 +0000 (19:45 +0000)]
MDL-8022 Chat accessibility - new gui_basic should integrated and fully working now
+ improved print_user_picture() to allow images with empty alt to prevent repetitive reading of usernames in jaws when username is printed next to avatar
skodak [Sat, 30 Dec 2006 18:21:47 +0000 (18:21 +0000)]
MDL-7948 some more messaging accessiblity fixes -missing css changes
mark-nielsen [Sat, 30 Dec 2006 17:31:37 +0000 (17:31 +0000)]
Modified some strings and added a few others
mark-nielsen [Sat, 30 Dec 2006 17:29:44 +0000 (17:29 +0000)]
modified some strings to add more meaning to buttons and links
left menu, clock and media file all display like blocks
some general code cleanup eg: went through several of the todo's in the code
skodak [Sat, 30 Dec 2006 11:20:26 +0000 (11:20 +0000)]
MDL-7948 some more messaging accessiblity fixes
skodak [Sat, 30 Dec 2006 10:55:32 +0000 (10:55 +0000)]
MDL-7956 - fix problem with messages sent at the same time
skodak [Fri, 29 Dec 2006 22:52:01 +0000 (22:52 +0000)]
MDL-7829 zipping with binary zip broken under windows when moodledata on different disk
skodak [Fri, 29 Dec 2006 22:34:56 +0000 (22:34 +0000)]
MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy
skodak [Fri, 29 Dec 2006 22:34:56 +0000 (22:34 +0000)]
MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy
skodak [Fri, 29 Dec 2006 21:17:43 +0000 (21:17 +0000)]
MDL-7837 auth_ldap_bulk_insert() fails when user data contains single quotes - patch by IƱaki Arenaza
skodak [Fri, 29 Dec 2006 20:57:48 +0000 (20:57 +0000)]
MDL-8007 mimetype support for htc files, see support.microsoft.com/kb/306231
skodak [Fri, 29 Dec 2006 20:36:05 +0000 (20:36 +0000)]
MDL-8016 A language string for blog needs to remove "\n".
skodak [Fri, 29 Dec 2006 20:16:50 +0000 (20:16 +0000)]
MDL-8021 resource "Link to a file or web site", when created, doesn't open in a new window - fixed recourse typo
skodak [Fri, 29 Dec 2006 18:33:41 +0000 (18:33 +0000)]
MDL-8022 chat accessiblity
- new gui_basic that can be used as fallback or accessible option to gui_header_js - it is not compatible with chat daemon
- todo: CSS styling, beeping, JS fallback code in view.php and noframes fallback in gui_header_js
- minor changes in messaging language strings
- minor coding style improvements
moodler [Fri, 29 Dec 2006 03:07:43 +0000 (03:07 +0000)]
installer.php lang files by installer_builder (
20061229)
ikawhero [Fri, 29 Dec 2006 02:36:41 +0000 (02:36 +0000)]
Minor change so code works on all versions of PHP
skodak [Thu, 28 Dec 2006 21:21:44 +0000 (21:21 +0000)]
MDL-8015 improved file uploading
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
jamiesensei [Thu, 28 Dec 2006 16:44:47 +0000 (16:44 +0000)]
better code formatting
jamiesensei [Thu, 28 Dec 2006 16:12:22 +0000 (16:12 +0000)]
removed all 'Revert' buttons from forms and removed it altogether from add_action_buttons method since it was decided it didn't contribute to usability.
jamiesensei [Thu, 28 Dec 2006 15:43:47 +0000 (15:43 +0000)]
fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling)
jamiesensei [Thu, 28 Dec 2006 09:32:45 +0000 (09:32 +0000)]
changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
moodler [Thu, 28 Dec 2006 03:08:48 +0000 (03:08 +0000)]
installer.php lang files by installer_builder (
20061228)
martinlanghoff [Wed, 27 Dec 2006 22:55:12 +0000 (22:55 +0000)]
rcache_getforfill() - better phpdoc
martinlanghoff [Wed, 27 Dec 2006 22:47:51 +0000 (22:47 +0000)]
$MCACHE - rework memcached support - some rework on eaccelerator
We now have a wrapper memcached support class to handle
initial connection setup, provide the common denominator
calls, plus getforfill() and friends.
The eaccelerator class now returns false to match memcached. The
downside of this is that we cannot store booleans as a false value
is indistinguishable from a false that indicates error or 'key not
found'.
martinlanghoff [Wed, 27 Dec 2006 22:47:14 +0000 (22:47 +0000)]
$MACHE: add support for eaccelerator/memcached, change the $MCACHE calling convention a bit
- this effectively breaks memcached support for the moment
martinlanghoff [Wed, 27 Dec 2006 22:46:31 +0000 (22:46 +0000)]
rcache functions -- use a saner memory cache API
Push into the $MCACHE object
- dealing with getforfill() nuances
- dealing with moodle-host prefixes
martinlanghoff [Wed, 27 Dec 2006 22:45:47 +0000 (22:45 +0000)]
rcache_set() and rcache_table_unset(): use a configurable TTL
martinlanghoff [Wed, 27 Dec 2006 22:45:13 +0000 (22:45 +0000)]
init_memcached(): only use pconnect if configured to do so
Make pconnections optional - only use pconnect if $CFG->memcachedpconn is
set. In current versions of the memcache client in PECL (v2.0.1),
memcache_pconnect() is buggy and will segfault if reusing a pconnection
to a server that has gone away or restarted.
And hope for a more stable client library in PECL ;-)
martinlanghoff [Wed, 27 Dec 2006 22:44:39 +0000 (22:44 +0000)]
Introducing $MCACHE - Memory-based cache
$MCACHE is initially based on core API that is shared between memcached and
turckmmcache/eaccelerator. The core operations are add(), set() and delete()
This initial implementation uses the PECL-based PHP client. Would be trivial
to add support for a PHP-based client.
The $MCACHE facility can be used for DB cache, text filters cache, and possibly
for sessions.
martinlanghoff [Wed, 27 Dec 2006 22:40:38 +0000 (22:40 +0000)]
rcache_* calls - flesh out logic and use $MCACHE if available
- move from $CFG->enablerecordcache <count> to $CFG->rcache <type>
- if $CFG->rcache === 'internal' use the cache array
otherwise, attempt to use $MCACHE
- implement and use rcache_getforfill() to catch thundering herds
- the cache lifetime is hardcoded to 2s until we understand better the
possible race conditions against updates that are not happening via
update_record() / delete_record()
martinlanghoff [Wed, 27 Dec 2006 22:40:16 +0000 (22:40 +0000)]
get_performance_info(): fixup rcache stats
0 cache misses is valid and probably a good score ;-)
martinlanghoff [Wed, 27 Dec 2006 22:39:32 +0000 (22:39 +0000)]
dmllib: introducing the rcache_* functions for record cache handling
Abstracted Sam's initial work with $record_cache into a series of functions
that abstract things _just enough_ that we can use an internal
in-memory-array implementation or something that is shared across
processes, like memcached or the turckmmcache/eaccelerator caches.
Also
- added hit/miss stats tracking and reporting
- removed max entries limiting as it was buggy - var names mismatches
and not counting unset()s
skodak [Wed, 27 Dec 2006 16:06:17 +0000 (16:06 +0000)]
MDL-7950 Display only new messages option and other minor changes in jsless messaging ui
martinlanghoff [Wed, 27 Dec 2006 01:49:14 +0000 (01:49 +0000)]
redirect(): fix protocol name in redirection header()
martinlanghoff [Tue, 26 Dec 2006 22:48:36 +0000 (22:48 +0000)]
raise_memory_limit() earlier -- resolves OOM on 64-bit platforms
On 64-bit platforms the in-memory footprint of our libraries is quite a bit
larger than usual, and we hit the 8MB default memory limit before we call
raise_memory_limit(). This patch moves raise_memory_limit() and
get_realsize() to setuplib so we can call them earlier, and moves the
call to _before_ we include the libraries.
On AMD64, for MOODLE_17_STABLE the footprint is about 9.5MB. Diet time? :-)
moodler [Tue, 26 Dec 2006 03:11:17 +0000 (03:11 +0000)]
installer.php lang files by installer_builder (
20061226)
skodak [Mon, 25 Dec 2006 22:38:56 +0000 (22:38 +0000)]
MDL-7956 Add frameless and JSless message composition option - message text area a bit smaller
skodak [Mon, 25 Dec 2006 22:34:05 +0000 (22:34 +0000)]
MDL-7956 Add frameless and JSless message composition option
stronk7 [Mon, 25 Dec 2006 19:51:17 +0000 (19:51 +0000)]
Now excel can be generated under iso-8859-1 (safer) based on the
$CFG->excelisofiles (true/false) value. It allows iso-8859-1
compatible sites to use better Excel generation. MDL-7993.
skodak [Mon, 25 Dec 2006 18:22:28 +0000 (18:22 +0000)]
MDL-7996 Add ods export support - basic functions needed for 1.8 release should be all working fine, more improvements later ;-)
skodak [Fri, 22 Dec 2006 22:30:11 +0000 (22:30 +0000)]
MDL-7996 Add ods export support - more formatting improvements and other fixes
tjhunt [Fri, 22 Dec 2006 15:39:40 +0000 (15:39 +0000)]
MDL-8003 - part - Use formslib for question editing forms
This commit does two things:
1. Gives question types he opion to use formslib for their editing forms, instead of the old mechanism.
2. Converts the truefalse question type to formslib.
tjhunt [Fri, 22 Dec 2006 13:29:20 +0000 (13:29 +0000)]
New param type: PARAM_NUMBER, for floating point numbers.
tjhunt [Fri, 22 Dec 2006 12:52:13 +0000 (12:52 +0000)]
MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
Also, cleanup of mod/quiz/index.php
skodak [Fri, 22 Dec 2006 10:37:02 +0000 (10:37 +0000)]
MDL-7996 Add ods export support - row height implemented
skodak [Fri, 22 Dec 2006 10:26:34 +0000 (10:26 +0000)]
MDL-7996 Add ods export support - column width fixed
skodak [Fri, 22 Dec 2006 10:04:50 +0000 (10:04 +0000)]
MDL-7996 Add ods export support - added changing of column width
toyomoyo [Fri, 22 Dec 2006 07:19:00 +0000 (07:19 +0000)]
MDL-7861, fixing xhtml tags
toyomoyo [Fri, 22 Dec 2006 06:31:34 +0000 (06:31 +0000)]
MDL-7861, fixing tags
toyomoyo [Fri, 22 Dec 2006 05:58:28 +0000 (05:58 +0000)]
MDL-7861, fixing broken tags
moodler [Fri, 22 Dec 2006 05:42:36 +0000 (05:42 +0000)]
Fixed lots of XHTML errors but still not working correctly in Strict
toyomoyo [Fri, 22 Dec 2006 05:20:20 +0000 (05:20 +0000)]
fixing broken tags for MDL-7861
moodler [Fri, 22 Dec 2006 05:01:17 +0000 (05:01 +0000)]
Added CDATA to Javascript
moodler [Fri, 22 Dec 2006 04:55:41 +0000 (04:55 +0000)]
Fixed XHTML and Javascript insertion of tags into the templates
moodler [Fri, 22 Dec 2006 04:52:13 +0000 (04:52 +0000)]
Added CDATA to Javascript
moodler [Fri, 22 Dec 2006 04:35:06 +0000 (04:35 +0000)]
Add CDATA to Javascript
moodler [Fri, 22 Dec 2006 04:25:00 +0000 (04:25 +0000)]
Added CDATA to Javascript
toyomoyo [Fri, 22 Dec 2006 04:23:43 +0000 (04:23 +0000)]
taking out unwanted/broken strings from mod_form to make form xhtml strict MDL-7861
moodler [Fri, 22 Dec 2006 04:19:52 +0000 (04:19 +0000)]
Added CDATA to Javascript
moodler [Fri, 22 Dec 2006 04:17:56 +0000 (04:17 +0000)]
Added CDATA to Javascript
toyomoyo [Fri, 22 Dec 2006 02:51:41 +0000 (02:51 +0000)]
MDL-7861, fixing broken tag
vyshane [Fri, 22 Dec 2006 02:34:42 +0000 (02:34 +0000)]
More fixes in grade_display_letter_grades(). MDL-7861.
vyshane [Fri, 22 Dec 2006 02:26:09 +0000 (02:26 +0000)]
xhtml fix in grade_display_letter_grades() for MDL-7861.
vyshane [Fri, 22 Dec 2006 02:23:52 +0000 (02:23 +0000)]
xhtml fixes in grade_display_grade_weights() for MDL-7861.
vyshane [Fri, 22 Dec 2006 02:14:28 +0000 (02:14 +0000)]
xhtml fix in grade_display_grade_preferences(). For MDL-7861.
toyomoyo [Fri, 22 Dec 2006 02:10:41 +0000 (02:10 +0000)]
MDL-7861, fixing xhtml forms
toyomoyo [Fri, 22 Dec 2006 01:16:51 +0000 (01:16 +0000)]
fixing warning