]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 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.

18 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)

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

18 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.

18 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

18 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

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

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

18 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!

18 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)

18 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

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

18 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

18 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'

18 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

18 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)

18 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!

18 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.

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

18 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

18 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

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

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

18 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

18 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

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

18 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.

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

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

18 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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

18 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

18 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

18 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

18 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!

18 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.

18 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!

18 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

18 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

18 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!

18 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

18 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

18 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()

18 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.

18 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! ;-)

18 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()

18 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()

18 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

18 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

18 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.

18 years agorecredited the sql_primary_role_subselect function to correct author (much as I would...
mjollnir_ [Tue, 26 Sep 2006 04:41:45 +0000 (04:41 +0000)]
recredited the sql_primary_role_subselect function to correct author (much as I would like to claim it)

18 years agoChanging error to notify so that it's not fatal (and doesn't leak server data)
moodler [Tue, 26 Sep 2006 04:38:00 +0000 (04:38 +0000)]
Changing error to notify so that it's not fatal (and doesn't leak server data)

18 years agoMoved Penny's funky sql function into dmllib.php
moodler [Tue, 26 Sep 2006 04:33:59 +0000 (04:33 +0000)]
Moved Penny's funky sql function into dmllib.php

18 years agofixing a get_record bug (multiple instances)
toyomoyo [Tue, 26 Sep 2006 04:10:33 +0000 (04:10 +0000)]
fixing a get_record bug (multiple instances)

18 years agoChanged CONTEXT_SITE to CONTEXT_SYSTEM MDL-6506
moodler [Tue, 26 Sep 2006 03:57:05 +0000 (03:57 +0000)]
Changed CONTEXT_SITE to CONTEXT_SYSTEM   MDL-6506

18 years agoBrushed up theme oceanblue.
mits [Tue, 26 Sep 2006 03:20:40 +0000 (03:20 +0000)]
Brushed up theme oceanblue.

18 years agoAutomatic installer.php lang files by installer_builder (20060926)
moodler [Tue, 26 Sep 2006 02:47:16 +0000 (02:47 +0000)]
Automatic installer.php lang files by installer_builder (20060926)

18 years agoFixed bug in forum_make_mail_post()
vyshane [Tue, 26 Sep 2006 02:02:27 +0000 (02:02 +0000)]
Fixed bug in forum_make_mail_post()

18 years agofixing missing $
toyomoyo [Tue, 26 Sep 2006 01:50:17 +0000 (01:50 +0000)]
fixing missing $

18 years agoadding roles support for restore
toyomoyo [Tue, 26 Sep 2006 01:43:07 +0000 (01:43 +0000)]
adding roles support for restore

18 years agoFixed visibility.
mits [Tue, 26 Sep 2006 01:38:17 +0000 (01:38 +0000)]
Fixed visibility.

18 years agoupdate enrol/ldap to work with roles.
mjollnir_ [Tue, 26 Sep 2006 01:31:33 +0000 (01:31 +0000)]
update enrol/ldap to work with roles.
Credit: Alastair Pharo <alastair@catalyst.net.nz>

1) Some config settings have changed (ones that related specifically to
teachers and students).  There is a check in place however to migrate
old configurations to new ones.

2) Perviously two syncs happened - one for students, one for teachers.
Now sync gets called the same number of times as there are roles.
Those roles that have config settings associated with them then run
through all the records.  This means syncing takes longer the more
roles you configure (which is expected anyway I suppose).

18 years agoupdate enrol/database to use roles.
mjollnir_ [Tue, 26 Sep 2006 01:30:32 +0000 (01:30 +0000)]
update enrol/database to use roles.
Credit: Alastair Pharo <alastair@catalyst.net.nz>

Database
--------

1) This plugin previously only worked for students.  I have made it so
that you can _optionally_ specify a third column in your external
database that contains some kind of role information (similar to the
other two fields, you can choose any column in the mdl_role table
to map to).  If you do this, then the code loops over for each different
kind of role and queries the external database.

2) There is a *slight* problem to be aware of, if a moodle
configuration was upgraded to use the new role columns, then downgraded
again, some roles might get left behind in the database when the
large-scale sync thing goes through (that is, record pruning doesn't
scale back quite properly). These would be cleaned away by
setup_enrolments at login time, however, and the scenario was unlikely
enough for me to decide to leave it for now.

3) If you don't have role columns there is a 'default role' setting
that you can set (made by Martin D).  This will only be obeyed when no
role columns are specified.  If this is set to 'default', then the
course default role is used, on a per-course basis (which usually
means student apparently).

4) From (3), my understanding is that if no config settings are
changed, and the default role for all upgraded courses is student, that
a smooth upgrade to 1.7 will occur for users of the database enrolment
plugin.

18 years agoHere's a little patch for auth/ldap/lib.php... just stops some
mjollnir_ [Tue, 26 Sep 2006 01:26:27 +0000 (01:26 +0000)]
Here's a little patch for auth/ldap/lib.php... just stops some
errors from popping up.
Credit: Alastair Pharo <alastair@catalyst.net.nz>

18 years agofixing the participants report to work with roles
mjollnir_ [Tue, 26 Sep 2006 01:23:57 +0000 (01:23 +0000)]
fixing the participants report to work with roles

18 years agoFix for typo MDL-6537
moodler [Tue, 26 Sep 2006 01:11:53 +0000 (01:11 +0000)]
Fix for typo MDL-6537

18 years agoFixed display of files
stronk7 [Mon, 25 Sep 2006 23:09:16 +0000 (23:09 +0000)]
Fixed display of files

18 years agoAdded one woody style for all the admin fieldsets
stronk7 [Mon, 25 Sep 2006 22:57:20 +0000 (22:57 +0000)]
Added one woody style for all the admin fieldsets

18 years agoMinor changes to improve behaviour of selections.
stronk7 [Mon, 25 Sep 2006 22:53:39 +0000 (22:53 +0000)]
Minor changes to improve behaviour of selections.

18 years agoOps! I forgot to commit this 2 days ago! Now a lot of
stronk7 [Mon, 25 Sep 2006 22:48:43 +0000 (22:48 +0000)]
Ops! I forgot to commit this 2 days ago! Now a lot of
data fields will be null!

18 years agoPrevent NOT NULL fields to have one DEFAULT NULL clause
stronk7 [Mon, 25 Sep 2006 21:44:21 +0000 (21:44 +0000)]
Prevent NOT NULL fields to have one DEFAULT NULL clause

18 years agoSome notes:
stronk7 [Mon, 25 Sep 2006 21:37:29 +0000 (21:37 +0000)]
Some notes:

- Foreign keys are really cool (at the XMLDB Editor). Define them as necessary
  as they allow as one "formal" structure of the DB. They won't cause problems
  on generation, mainly because only the underlying index will be created.
- Please, put comments inside each table/field/key/index field, mainly because
  XML comments will be deleted if the file is edited by
- The XMLDB Editor. Please use it ;-)
- Also, one unique index was wrong in the XML file, fixed now.

18 years agofixing a string that referred to students and teachers in the config settings for...
mjollnir_ [Mon, 25 Sep 2006 20:59:00 +0000 (20:59 +0000)]
fixing a string that referred to students and teachers in the config settings for stats

18 years agomajor cleanup of unsupported and legacy external pages in admin/; created new hidden...
skodak [Mon, 25 Sep 2006 20:22:55 +0000 (20:22 +0000)]
major cleanup of unsupported and legacy external pages in admin/; created new hidden unsupported category; some other minor fixes and changes

18 years agoSome more strings added...related with the View PHP utility
stronk7 [Mon, 25 Sep 2006 19:26:16 +0000 (19:26 +0000)]
Some more strings added...related with the View PHP utility

18 years agomoodle specific developer debug messages disabled in admin/dbperformance.php page...
skodak [Mon, 25 Sep 2006 19:05:04 +0000 (19:05 +0000)]
moodle specific developer debug messages disabled in admin/dbperformance.php page, because they might interfere with frames

18 years agoXMLDB editor now has admin-tree block
skodak [Mon, 25 Sep 2006 18:29:50 +0000 (18:29 +0000)]
XMLDB editor now has admin-tree block

18 years agoNow generators support to add/drop column defaults
stronk7 [Mon, 25 Sep 2006 18:22:06 +0000 (18:22 +0000)]
Now generators support to add/drop column defaults

18 years agoadmin/upgradesettings.php is now proper hidden external page with correct breadcrums ;-)
skodak [Mon, 25 Sep 2006 18:21:59 +0000 (18:21 +0000)]
admin/upgradesettings.php is now proper hidden external page with correct breadcrums ;-)

18 years agoNow the tests are performed with real data (2 records). Added 4
stronk7 [Mon, 25 Sep 2006 18:20:08 +0000 (18:20 +0000)]
Now the tests are performed with real data (2 records). Added 4
more tests to check compatibility of set/drop defaults...

18 years agochange from UNIQUE KEY to UNIQUE INDEX
sam_marshall [Mon, 25 Sep 2006 17:49:33 +0000 (17:49 +0000)]
change from UNIQUE KEY to UNIQUE INDEX

18 years ago(prev. wiki fix) Fixed broken constant defines
sam_marshall [Mon, 25 Sep 2006 17:47:35 +0000 (17:47 +0000)]
(prev. wiki fix) Fixed broken constant defines

18 years agofixed hidden misc sectionin admin tree block, sorry
skodak [Mon, 25 Sep 2006 17:44:43 +0000 (17:44 +0000)]
fixed hidden misc sectionin admin tree block, sorry

18 years agoWiki enhancement: edit locking (uses AJAX)
sam_marshall [Mon, 25 Sep 2006 17:42:32 +0000 (17:42 +0000)]
Wiki enhancement: edit locking (uses AJAX)

18 years agoUpdated IMS Enterprise enrolment to Moodle 1.7 role infrastructure - MDL-6656
danstowell [Mon, 25 Sep 2006 17:21:07 +0000 (17:21 +0000)]
Updated IMS Enterprise enrolment to Moodle 1.7 role infrastructure - MDL-6656

18 years agoUpdated IMS Enterprise enrolment to Moodle 1.7 role infrastructure
danstowell [Mon, 25 Sep 2006 16:58:06 +0000 (16:58 +0000)]
Updated IMS Enterprise enrolment to Moodle 1.7 role infrastructure

18 years agoFile had a UTF-8 BOM at the start, was causing problems, now removed
sam_marshall [Mon, 25 Sep 2006 14:59:21 +0000 (14:59 +0000)]
File had a UTF-8 BOM at the start, was causing problems, now removed

18 years agoadded styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every...
jamiesensei [Mon, 25 Sep 2006 14:56:45 +0000 (14:56 +0000)]
added styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every theme loads styles_form

18 years agoFixed some width="*" in layout tables
moodler [Mon, 25 Sep 2006 14:40:26 +0000 (14:40 +0000)]
Fixed some width="*" in layout tables

18 years agoRemoved trailing blank line at end of file (was breaking things)
sam_marshall [Mon, 25 Sep 2006 14:35:41 +0000 (14:35 +0000)]
Removed trailing blank line at end of file (was breaking things)

18 years agoAdded some form-groups on the htmleditor page
moodler [Mon, 25 Sep 2006 14:34:33 +0000 (14:34 +0000)]
Added some form-groups on the htmleditor page

18 years agoCleaning up the id and class for each setting
moodler [Mon, 25 Sep 2006 14:18:16 +0000 (14:18 +0000)]
Cleaning up the id and class for each setting