moodle.git
15 years agoA notice about versions
moodler [Wed, 27 Sep 2006 16:45:40 +0000 (16:45 +0000)]
A notice about versions

15 years agoupgraded tableless pear quickform packages
jamiesensei [Wed, 27 Sep 2006 16:31:11 +0000 (16:31 +0000)]
upgraded tableless pear quickform packages

15 years agoadded empty setHelpButton method to moodleform_hidden
jamiesensei [Wed, 27 Sep 2006 16:09:15 +0000 (16:09 +0000)]
added empty setHelpButton method to moodleform_hidden

15 years agofixed small typo
jamiesensei [Wed, 27 Sep 2006 16:07:37 +0000 (16:07 +0000)]
fixed small typo

15 years agoadded comments to show how to add nested fieldset container for groups of items
jamiesensei [Wed, 27 Sep 2006 16:06:56 +0000 (16:06 +0000)]
added comments to show how to add nested fieldset container for groups of items

15 years agonew security features added acceptGet, optional_param, required_param, clean_param...
jamiesensei [Wed, 27 Sep 2006 16:00:19 +0000 (16:00 +0000)]
new security features added acceptGet, optional_param, required_param, clean_param, methods added to form class

15 years agomodifications made to demo new security features
jamiesensei [Wed, 27 Sep 2006 15:58:45 +0000 (15:58 +0000)]
modifications made to demo new security features

15 years agodemos new security features optional_param, acceptGet
jamiesensei [Wed, 27 Sep 2006 15:57:21 +0000 (15:57 +0000)]
demos new security features optional_param, acceptGet

15 years agoFixed up some wrong entries in the log_display table MDL-6516
moodler [Wed, 27 Sep 2006 14:08:17 +0000 (14:08 +0000)]
Fixed up some wrong entries in the log_display table   MDL-6516

NOTE:  The dates are a month in advance for $version here!  We need
to increment very slowly until it catches up, and make sure that we
manage the versions in HEAD very carefully after we branch for 1.7

15 years agoAdd eu to allowed domains
moodler [Wed, 27 Sep 2006 12:57:33 +0000 (12:57 +0000)]
Add eu to allowed domains

15 years agoWiki: Improve page locking to make it more robust and support non-javascript users...
sam_marshall [Wed, 27 Sep 2006 11:22:57 +0000 (11:22 +0000)]
Wiki: Improve page locking to make it more robust and support non-javascript users (not very friendlily, though...)

15 years agoWiki: correct behaviour in Postgres with pages that have ' in name
sam_marshall [Wed, 27 Sep 2006 11:21:59 +0000 (11:21 +0000)]
Wiki: correct behaviour in Postgres with pages that have ' in name

15 years agoWiki: correct column type on Postgres update (fixes Search and Links tabs, matches...
sam_marshall [Wed, 27 Sep 2006 11:21:01 +0000 (11:21 +0000)]
Wiki: correct column type on Postgres update (fixes Search and Links tabs, matches what's in install.xml anyhow)

15 years agoWiki: Fix wiki-linking to not be case-sensitive.
sam_marshall [Wed, 27 Sep 2006 11:20:16 +0000 (11:20 +0000)]
Wiki: Fix wiki-linking to not be case-sensitive.

15 years agoChanged wiki help to clarify that the wiki markup only works when not using the WYSIW...
sam_marshall [Wed, 27 Sep 2006 11:18:40 +0000 (11:18 +0000)]
Changed wiki help to clarify that the wiki markup only works when not using the WYSIWYG editor. (This was seriously confusing our users!)

15 years agofixed incorrectly quoted $LIKE in forum recent activity sql
skodak [Wed, 27 Sep 2006 10:44:25 +0000 (10:44 +0000)]
fixed incorrectly quoted $LIKE in forum recent activity sql

15 years agofixed default proxyport value
skodak [Wed, 27 Sep 2006 10:30:54 +0000 (10:30 +0000)]
fixed default proxyport value

15 years agofixed incorrect user id when updating in uploaduser.php
skodak [Wed, 27 Sep 2006 09:50:48 +0000 (09:50 +0000)]
fixed incorrect user id  when updating in uploaduser.php

15 years agoFIxed up log headers etc MDL-6714
moodler [Wed, 27 Sep 2006 09:22:29 +0000 (09:22 +0000)]
FIxed up log headers etc   MDL-6714

15 years agoadding support for roles in backups
toyomoyo [Wed, 27 Sep 2006 08:59:27 +0000 (08:59 +0000)]
adding support for roles in backups

15 years agoCHecking Enrique Castro's fix for MDL-6366, to help wiki pagenames not get reset
moodler [Wed, 27 Sep 2006 08:49:42 +0000 (08:49 +0000)]
CHecking Enrique Castro's fix for MDL-6366, to help wiki pagenames not get reset

15 years agoFixed MDL-6334 by removing the group-setting popup
moodler [Wed, 27 Sep 2006 08:29:24 +0000 (08:29 +0000)]
Fixed MDL-6334 by removing the group-setting popup

15 years agoSome more debugging in course/rest.php (to error log)
moodler [Wed, 27 Sep 2006 08:02:26 +0000 (08:02 +0000)]
Some more debugging in course/rest.php (to error log)

15 years agoFixed a possible notice
moodler [Wed, 27 Sep 2006 08:01:22 +0000 (08:01 +0000)]
Fixed a possible notice

15 years agoSome extra changes from the duplicate work I did on upgradesettings.php
moodler [Wed, 27 Sep 2006 07:49:34 +0000 (07:49 +0000)]
Some extra changes from the duplicate work I did on upgradesettings.php

main change is that adminsettings is now an ID on the form

15 years agoFixes for empty logs array MDL-6145
moodler [Wed, 27 Sep 2006 07:41:38 +0000 (07:41 +0000)]
Fixes for empty logs array   MDL-6145

15 years agoReverting first until we have a fix for converting the wrong context levels
vyshane [Wed, 27 Sep 2006 07:18:25 +0000 (07:18 +0000)]
Reverting first until we have a fix for converting the wrong context levels

15 years agoCONTEXT_MODULE should really be CONTEXT_BLOCK
vyshane [Wed, 27 Sep 2006 07:11:06 +0000 (07:11 +0000)]
CONTEXT_MODULE should really be CONTEXT_BLOCK

15 years agoAdded skipview field backup and restore
bobopinna [Wed, 27 Sep 2006 06:58:28 +0000 (06:58 +0000)]
Added skipview field backup and restore

15 years agoAdded support for add_index() and drop_index()
stronk7 [Tue, 26 Sep 2006 23:17:24 +0000 (23:17 +0000)]
Added support for add_index() and drop_index()

15 years agoXMLDBTable wrappers to create and drop indexes
stronk7 [Tue, 26 Sep 2006 23:16:09 +0000 (23:16 +0000)]
XMLDBTable wrappers to create and drop indexes

15 years agoNow all the generators support creating and dropping indexes
stronk7 [Tue, 26 Sep 2006 23:15:20 +0000 (23:15 +0000)]
Now all the generators support creating and dropping indexes

15 years agoAdding test for create index and drop index.
stronk7 [Tue, 26 Sep 2006 23:08:44 +0000 (23:08 +0000)]
Adding test for create index and drop index.

15 years agoFix one place where index->type was being used instead of index->unique
stronk7 [Tue, 26 Sep 2006 22:46:05 +0000 (22:46 +0000)]
Fix one place where index->type was being used instead of index->unique

15 years agocoverted /admin/ to proper /$CFG->admin/ in paths
skodak [Tue, 26 Sep 2006 21:10:14 +0000 (21:10 +0000)]
coverted /admin/ to proper /$CFG->admin/ in paths

15 years agoupgradesettings.php now using the same CSS as settings.php , part II.
skodak [Tue, 26 Sep 2006 20:54:05 +0000 (20:54 +0000)]
upgradesettings.php now using the same CSS as settings.php , part II.

15 years agoupgradesettings.php now using the same CSS as settings.php
skodak [Tue, 26 Sep 2006 20:51:28 +0000 (20:51 +0000)]
upgradesettings.php now using the same CSS as settings.php

15 years ago'changed width of label from 40% to 30% to make the textarea fit'
urs_hunkler [Tue, 26 Sep 2006 19:30:57 +0000 (19:30 +0000)]
'changed width of label from 40% to 30% to make the textarea fit'

15 years ago'added width and height to qfrow to make it render correcly in FF, changed qfelement...
urs_hunkler [Tue, 26 Sep 2006 19:23:28 +0000 (19:23 +0000)]
'added width and height to qfrow to make it render correcly in FF, changed qfelement to display:block'

15 years agofixed legacy comment upgrade code in assignment and journal
skodak [Tue, 26 Sep 2006 19:18:21 +0000 (19:18 +0000)]
fixed legacy comment upgrade code in assignment and journal

15 years agoAdded support for PHP generation on create/drop/rename indexes and keys
stronk7 [Tue, 26 Sep 2006 19:05:55 +0000 (19:05 +0000)]
Added support for PHP generation on create/drop/rename indexes and keys

15 years agoReplaced XMLDB own implementation of the concat function to use
stronk7 [Tue, 26 Sep 2006 18:34:48 +0000 (18:34 +0000)]
Replaced XMLDB own implementation of the concat function to use
the new, ultra-cool, ADOdb based, concat_sql(). Thanks, Martin Langhoff!

15 years agoOne wrong use of onespace2empty() - an strange function - :-/
stronk7 [Tue, 26 Sep 2006 18:27:44 +0000 (18:27 +0000)]
One wrong use of onespace2empty() - an strange function - :-/
in the DIRTY HACK was causing not info to be returned under Oracle
by the get_field_sql() function, so sequence numbers were broken.

15 years agoDon't CREATE OR REPLACE TRIGGER but just CREATE it
stronk7 [Tue, 26 Sep 2006 18:10:27 +0000 (18:10 +0000)]
Don't CREATE OR REPLACE TRIGGER but just CREATE it
(so we'll be able to detect duplicate name with an
error instead of getting false success)

15 years agoBrushed up theme oceanblue.
mits [Tue, 26 Sep 2006 18:00:27 +0000 (18:00 +0000)]
Brushed up theme oceanblue.

15 years agoIncreasing log_display->field because sql_concat() (one
stronk7 [Tue, 26 Sep 2006 17:43:37 +0000 (17:43 +0000)]
Increasing log_display->field because sql_concat() (one
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.

15 years agoOps, scorm->skipview default must be 1
stronk7 [Tue, 26 Sep 2006 16:58:49 +0000 (16:58 +0000)]
Ops, scorm->skipview default must be 1

15 years agomodified api to create an htmleditor element
jamiesensei [Tue, 26 Sep 2006 16:40:35 +0000 (16:40 +0000)]
modified api to create an htmleditor element

15 years agocopy/paste typo
stronk7 [Tue, 26 Sep 2006 16:27:39 +0000 (16:27 +0000)]
copy/paste typo

15 years agoAdding scorm->skipview to PostgreSQL
stronk7 [Tue, 26 Sep 2006 15:56:18 +0000 (15:56 +0000)]
Adding scorm->skipview to PostgreSQL

15 years agoAdding scorm->skipview to XMLDB file!
stronk7 [Tue, 26 Sep 2006 15:25:29 +0000 (15:25 +0000)]
Adding scorm->skipview to XMLDB file!

15 years agoAdded the new features MDL-4482 and MDL-6534 (Course structure view.php skip)
bobopinna [Tue, 26 Sep 2006 14:40:00 +0000 (14:40 +0000)]
Added the new features MDL-4482 and MDL-6534 (Course structure view.php skip)

15 years agoFixed a bug in mode selection
bobopinna [Tue, 26 Sep 2006 14:37:13 +0000 (14:37 +0000)]
Fixed a bug in mode selection

15 years agoAdded skip view page feature
bobopinna [Tue, 26 Sep 2006 14:25:59 +0000 (14:25 +0000)]
Added skip view page feature

15 years agoadding static element class to registry of Moodleform elements
jamiesensei [Tue, 26 Sep 2006 13:55:51 +0000 (13:55 +0000)]
adding static element class to registry of Moodleform elements

15 years ago'added space before styles_form to correct CSS loading'
urs_hunkler [Tue, 26 Sep 2006 13:48:00 +0000 (13:48 +0000)]
'added space before styles_form to correct CSS loading'

15 years agofile describing a static form element for moodle with setHelpButton method
jamiesensei [Tue, 26 Sep 2006 13:32:15 +0000 (13:32 +0000)]
file describing a static form element for moodle with setHelpButton method

15 years agoChecked in Nick's patch from MDL-6699 to aid installation when there
moodler [Tue, 26 Sep 2006 13:31:57 +0000 (13:31 +0000)]
Checked in Nick's patch from MDL-6699 to aid installation when there
are a LOT of students (it was running out of memory)

15 years agoAdded a PEAR extension that was missing, and permission from
moodler [Tue, 26 Sep 2006 12:07:48 +0000 (12:07 +0000)]
Added a PEAR extension that was missing, and permission from
Mark Wiesemann for his renderers.   Yay!

15 years agochanged some assignments to assignment by reference when instantiating objects.
jamiesensei [Tue, 26 Sep 2006 11:13:51 +0000 (11:13 +0000)]
changed some assignments to assignment by reference when instantiating objects.

15 years agoFixed a problem with Firefox
bobopinna [Tue, 26 Sep 2006 10:26:03 +0000 (10:26 +0000)]
Fixed a problem with Firefox

15 years agoDowngraded a new feature to fix the module
bobopinna [Tue, 26 Sep 2006 10:23:37 +0000 (10:23 +0000)]
Downgraded a new feature to fix the module

15 years ago* added error message for setHelpButton method not existing
jamiesensei [Tue, 26 Sep 2006 09:42:42 +0000 (09:42 +0000)]
* added error message for setHelpButton method not existing
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names

15 years agoBrushed up theme oceanblue.
mits [Tue, 26 Sep 2006 09:39:10 +0000 (09:39 +0000)]
Brushed up theme oceanblue.

15 years agoadmin bookmark cleanup
skodak [Tue, 26 Sep 2006 09:25:37 +0000 (09:25 +0000)]
admin bookmark cleanup

15 years agoWe have permission for HTML_Quickform and HTML_Common
moodler [Tue, 26 Sep 2006 09:12:21 +0000 (09:12 +0000)]
We have permission for HTML_Quickform and HTML_Common

...

Bertrand Mansion
http://www.mamasam.com      - creative internet solutions
http://golgote.freeflux.net - blog

15 years agomore changes, restoring of role assignments now work in course, mods and blocks insta...
toyomoyo [Tue, 26 Sep 2006 09:05:44 +0000 (09:05 +0000)]
more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work

15 years agofixed another missing global $CFG
skodak [Tue, 26 Sep 2006 08:49:47 +0000 (08:49 +0000)]
fixed another missing global $CFG

15 years agoFix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for...
vyshane [Tue, 26 Sep 2006 08:37:56 +0000 (08:37 +0000)]
Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums.

15 years agoMoved in datamodels directory
bobopinna [Tue, 26 Sep 2006 08:21:46 +0000 (08:21 +0000)]
Moved in datamodels directory

15 years agoNot used for now
bobopinna [Tue, 26 Sep 2006 08:20:23 +0000 (08:20 +0000)]
Not used for now

15 years agobasic validation fix for text admin settings
skodak [Tue, 26 Sep 2006 08:16:17 +0000 (08:16 +0000)]
basic validation fix for text admin settings

15 years agoSplitted all the scorm/aicc library in type separeted files
bobopinna [Tue, 26 Sep 2006 08:00:16 +0000 (08:00 +0000)]
Splitted all the scorm/aicc library in type separeted files

15 years agoFixed a problem with reporting and multiattempts
bobopinna [Tue, 26 Sep 2006 07:57:33 +0000 (07:57 +0000)]
Fixed a problem with reporting and multiattempts

15 years agoFixed some problems with reporting and multiattempts
bobopinna [Tue, 26 Sep 2006 07:56:07 +0000 (07:56 +0000)]
Fixed some problems with reporting and multiattempts

15 years agofixed defaults
skodak [Tue, 26 Sep 2006 07:39:04 +0000 (07:39 +0000)]
fixed defaults

15 years agoUpdated README for MDL-6693
moodler [Tue, 26 Sep 2006 07:17:54 +0000 (07:17 +0000)]
Updated README for MDL-6693

15 years agofixed autologinguests warning
skodak [Tue, 26 Sep 2006 06:34:29 +0000 (06:34 +0000)]
fixed autologinguests warning

15 years agofixed missing global $CFG
skodak [Tue, 26 Sep 2006 06:31:18 +0000 (06:31 +0000)]
fixed missing global  $CFG

15 years agofile delete and rename warnings polished
skodak [Tue, 26 Sep 2006 06:29:04 +0000 (06:29 +0000)]
file delete and rename warnings polished

15 years agocorrect xml parsing for mod level assignment and override
toyomoyo [Tue, 26 Sep 2006 06:02:10 +0000 (06:02 +0000)]
correct xml parsing for mod level assignment and override

15 years agouser: remove deprecated sql_paging_limit(), use offset, limit parameters
martinlanghoff [Tue, 26 Sep 2006 05:11:50 +0000 (05:11 +0000)]
user: remove deprecated sql_paging_limit(), use offset, limit parameters

15 years agomod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
martinlanghoff [Tue, 26 Sep 2006 05:11:29 +0000 (05:11 +0000)]
mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters

15 years agomod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
martinlanghoff [Tue, 26 Sep 2006 05:11:05 +0000 (05:11 +0000)]
mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters

15 years agodmlib: set_field() now has the Oracle DIRTY HACK too!
martinlanghoff [Tue, 26 Sep 2006 05:10:39 +0000 (05:10 +0000)]
dmlib: set_field() now has the Oracle DIRTY HACK too!

15 years agodmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_f...
martinlanghoff [Tue, 26 Sep 2006 05:10:18 +0000 (05:10 +0000)]
dmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_fieldset_sql()

This covers most (all?) the gaps in data retrieval except get_recordset_sql().

To tackle get_recordset_sql,  where the actual data retrieval is done within
AdoDB, we would have to to wrap around AdoDB with a subclass, but that would
be dirty, dirty, dirtier.

15 years agosql_concat(): fixed param order thinko -- and now it works too!
martinlanghoff [Tue, 26 Sep 2006 05:09:48 +0000 (05:09 +0000)]
sql_concat(): fixed param order thinko -- and now it works too!

15 years agosearch: removed dbtype-specific select - MySQL can now handle grownup syntax
martinlanghoff [Tue, 26 Sep 2006 05:09:26 +0000 (05:09 +0000)]
search: removed dbtype-specific select - MySQL can now handle grownup syntax

15 years agosearch: fixed mysql-isms - tablenames without prefix and with backticks
martinlanghoff [Tue, 26 Sep 2006 05:09:01 +0000 (05:09 +0000)]
search: fixed mysql-isms - tablenames without prefix and with backticks

15 years agosearchlib can use sql_ilike too!
martinlanghoff [Tue, 26 Sep 2006 05:08:39 +0000 (05:08 +0000)]
searchlib can use sql_ilike too!

15 years agodata, forum, glossary: use sql_ilike() for a portable LIKE operator
martinlanghoff [Tue, 26 Sep 2006 05:08:18 +0000 (05:08 +0000)]
data, forum, glossary: use sql_ilike() for a portable LIKE operator

15 years agosql_ilike() -- added notes on Oracle support or lack thereof
martinlanghoff [Tue, 26 Sep 2006 05:07:28 +0000 (05:07 +0000)]
sql_ilike() -- added notes on Oracle support or lack thereof

15 years agomessage/lib.php: use sql_ilike()
martinlanghoff [Tue, 26 Sep 2006 05:07:05 +0000 (05:07 +0000)]
message/lib.php: use sql_ilike()

15 years agomod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
martinlanghoff [Tue, 26 Sep 2006 05:06:44 +0000 (05:06 +0000)]
mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()

Cleaned up several dbtype conditionals too.

15 years agoIntroducing sql_concat_join($sep, $array) helper
martinlanghoff [Tue, 26 Sep 2006 05:05:54 +0000 (05:05 +0000)]
Introducing sql_concat_join($sep, $array) helper

returns the SQL to do the equivalente of a join() or implode()
on the DB server. Watch the RDBMS work! ;-)

15 years agomessage_history_link() - replace use sql_concat() and sql_like()
martinlanghoff [Tue, 26 Sep 2006 05:05:32 +0000 (05:05 +0000)]
message_history_link() - replace use sql_concat() and sql_like()

15 years agomod/quiz: replace $db->Concat() with sql_concat()
martinlanghoff [Tue, 26 Sep 2006 05:05:10 +0000 (05:05 +0000)]
mod/quiz: replace $db->Concat() with sql_concat()

15 years agocourse/lib.php: remove unused global
martinlanghoff [Tue, 26 Sep 2006 05:04:40 +0000 (05:04 +0000)]
course/lib.php: remove unused global

15 years agoUse sql_concat() in course/lib.php
martinlanghoff [Tue, 26 Sep 2006 05:03:46 +0000 (05:03 +0000)]
Use sql_concat() in course/lib.php

15 years agoIntroducing sql_concat() - and use it in sql_fullname()
martinlanghoff [Tue, 26 Sep 2006 05:02:59 +0000 (05:02 +0000)]
Introducing sql_concat() - and use it in sql_fullname()

sql_concat() is just a passthrough to $db->Concat() -- it doesn't
add any value, and I think the dispatching is somewhat expensive.

Just using $db->Concat() should be good enough, were it not for
consistency in our DM API.