moodle.git
16 years agoAdded some strings
bobopinna [Fri, 29 Sep 2006 06:20:53 +0000 (06:20 +0000)]
Added some strings

16 years agoAdded a progress bar for the role assignments
moodler [Fri, 29 Sep 2006 06:19:47 +0000 (06:19 +0000)]
Added a progress bar for the role assignments

16 years agoAdd MS-SQL to installer :-)
moodler [Fri, 29 Sep 2006 06:11:47 +0000 (06:11 +0000)]
Add MS-SQL to installer :-)

16 years agofixing a redundant order by clause
toyomoyo [Fri, 29 Sep 2006 05:46:02 +0000 (05:46 +0000)]
fixing a redundant order by clause

16 years agocommentary text renamed to general feedback
toyomoyo [Fri, 29 Sep 2006 05:45:24 +0000 (05:45 +0000)]
commentary text renamed to general feedback

16 years agoHeader and footer should include $CFG->header and $CFG->footer, just in
moodler [Fri, 29 Sep 2006 05:43:48 +0000 (05:43 +0000)]
Header and footer should include $CFG->header and $CFG->footer, just in
case the chosen theme doesn't exist any more

16 years agoJust tidying up code while reading it
moodler [Fri, 29 Sep 2006 05:35:37 +0000 (05:35 +0000)]
Just tidying up code while reading it

16 years agoadded a new temp config variable to help track maint mode before and after migration...
toyomoyo [Fri, 29 Sep 2006 03:10:38 +0000 (03:10 +0000)]
added a new temp config variable to help track maint mode before and after migration MDL-6182, not fixing in stable yet due to the lack of support of unset_config function.

16 years agoSlight change to Copyright notice to link to our License page, not Gnu site
moodler [Fri, 29 Sep 2006 02:39:39 +0000 (02:39 +0000)]
Slight change to Copyright notice to link to our License page, not Gnu site

16 years agofix for MDL-5670
toyomoyo [Fri, 29 Sep 2006 02:19:27 +0000 (02:19 +0000)]
fix for MDL-5670

16 years agoMoving some tests up and down and introducing some more
stronk7 [Thu, 28 Sep 2006 23:16:29 +0000 (23:16 +0000)]
Moving some tests up and down and introducing some more
tests about changing column types. Not working yet unded mssql

16 years agoMoving some change_field_XXX() functions and introducing
stronk7 [Thu, 28 Sep 2006 23:14:52 +0000 (23:14 +0000)]
Moving some change_field_XXX() functions and introducing
change_field_type(). Seems to work everywere but under
mssql (due to some problems with default constraints).
Will see it tomorrow.

16 years agoprevent nulls to become nulls (oracle error)
stronk7 [Thu, 28 Sep 2006 23:06:04 +0000 (23:06 +0000)]
prevent nulls to become nulls (oracle error)
and defaults null to become defaults null
when temporary columns are used

16 years agoAdding two more tests (create and drop foreign keys)
stronk7 [Thu, 28 Sep 2006 22:11:06 +0000 (22:11 +0000)]
Adding two more tests (create and drop foreign keys)

16 years agoDon't rely on index names to decide if we have to drop one key
stronk7 [Thu, 28 Sep 2006 22:05:11 +0000 (22:05 +0000)]
Don't rely on index names to decide if we have to drop one key

16 years agominor adjust. keytype to drop keys is not needed anymore. now it's
stronk7 [Thu, 28 Sep 2006 21:47:36 +0000 (21:47 +0000)]
minor adjust. keytype to drop keys is not needed anymore. now it's
defined in mysql generator (the only one needing it)

16 years agoone more
koenr [Thu, 28 Sep 2006 21:32:20 +0000 (21:32 +0000)]
one more

16 years agofew typos. Thanks a lot for spotting Mits!
koenr [Thu, 28 Sep 2006 21:31:34 +0000 (21:31 +0000)]
few typos. Thanks a lot for spotting Mits!

16 years agofixed MDL-3484
koenr [Thu, 28 Sep 2006 20:58:55 +0000 (20:58 +0000)]
fixed MDL-3484

16 years agofixed one wrong constant
stronk7 [Thu, 28 Sep 2006 20:12:00 +0000 (20:12 +0000)]
fixed one wrong constant

16 years agochanged mysql drop index syntax. Nothing relevant.
stronk7 [Thu, 28 Sep 2006 20:11:30 +0000 (20:11 +0000)]
changed mysql drop index syntax. Nothing relevant.

16 years agoArgh! More than 3 hours searching for this error! I was calling one
stronk7 [Thu, 28 Sep 2006 20:06:08 +0000 (20:06 +0000)]
Argh! More than 3 hours searching for this error! I was calling one
constructor with wrong number of parameters and PHP said nothing at
all (with DEVELOPER level of debugging). Horrible OOP !

16 years agoprevent some warnings on tables without indexes
stronk7 [Thu, 28 Sep 2006 19:43:17 +0000 (19:43 +0000)]
prevent some warnings on tables without indexes

16 years agoNow keys and indexes are PERFECT (argh, Oracle, once more was causing problems)
stronk7 [Thu, 28 Sep 2006 18:56:21 +0000 (18:56 +0000)]
Now keys and indexes are PERFECT (argh, Oracle, once more was causing problems)

16 years agosome more settings go to XMLDBGenerator (as they are default)
stronk7 [Thu, 28 Sep 2006 18:39:33 +0000 (18:39 +0000)]
some more settings go to XMLDBGenerator (as they are default)

16 years agosome more settings go to XMLDBGenerator (as they are default)
stronk7 [Thu, 28 Sep 2006 18:31:28 +0000 (18:31 +0000)]
some more settings go to XMLDBGenerator (as they are default)

16 years agoremoved one more unneeded file from adodb library
skodak [Thu, 28 Sep 2006 18:29:54 +0000 (18:29 +0000)]
removed one more unneeded file from adodb library

16 years agoFixed addmin setting colors.
mits [Thu, 28 Sep 2006 17:48:12 +0000 (17:48 +0000)]
Fixed addmin setting colors.

16 years agoAdding some more tests about adding and dropping keys
stronk7 [Thu, 28 Sep 2006 17:35:52 +0000 (17:35 +0000)]
Adding some more tests about adding and dropping keys

16 years agoadd_key() and drop_key() are working (with sync of undelying
stronk7 [Thu, 28 Sep 2006 17:30:14 +0000 (17:30 +0000)]
add_key() and drop_key() are working (with sync of undelying
indexes automated)

16 years agoadd_key() and drop_key() are working (with sync of undelying
stronk7 [Thu, 28 Sep 2006 17:25:00 +0000 (17:25 +0000)]
add_key() and drop_key() are working (with sync of undelying
indexes automated)

16 years agoDeleting some parameters that aren't needed anymore. Code will
stronk7 [Thu, 28 Sep 2006 17:20:21 +0000 (17:20 +0000)]
Deleting some parameters that aren't needed anymore. Code will
decide if creating underlying indexes for keys automatically now.

Also, add_key() and drop_key() are working (with sync of undelying
indexes automated)

16 years agoDeleting some parameters that aren't needed anymore. Code will
stronk7 [Thu, 28 Sep 2006 17:02:49 +0000 (17:02 +0000)]
Deleting some parameters that aren't needed anymore. Code will
decide if creating underlying indexes for keys automatically now.

16 years agoAdded PHP 5.0.x restriction to Moodle 1.7. MDL-5653
stronk7 [Thu, 28 Sep 2006 16:46:52 +0000 (16:46 +0000)]
Added PHP 5.0.x restriction to Moodle 1.7. MDL-5653

16 years agoreverting last commit, expect new fixes soon
skodak [Thu, 28 Sep 2006 15:34:54 +0000 (15:34 +0000)]
reverting last commit, expect new fixes soon

16 years agoFixed a capability name: MDL-6727
moodler [Thu, 28 Sep 2006 15:06:07 +0000 (15:06 +0000)]
Fixed a capability name:   MDL-6727

16 years agoGuest should not see My Courses MDL-6736
moodler [Thu, 28 Sep 2006 14:48:29 +0000 (14:48 +0000)]
Guest should not see My Courses    MDL-6736

16 years agoadded PARAM types to calls using "required_param" and "optional_param" functions
gbateson [Thu, 28 Sep 2006 13:24:36 +0000 (13:24 +0000)]
added PARAM types to calls using "required_param" and "optional_param" functions

16 years agomoved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css...
jamiesensei [Thu, 28 Sep 2006 10:32:23 +0000 (10:32 +0000)]
moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : moodle.org/mod/forum/discuss.php?d=54907

16 years agochanges in backup/restore for roles. fixed bug related to wrong context in backuplib...
toyomoyo [Thu, 28 Sep 2006 09:15:14 +0000 (09:15 +0000)]
changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling

16 years agoUnenrol fixed to support other users too and better workflow
moodler [Thu, 28 Sep 2006 08:55:04 +0000 (08:55 +0000)]
Unenrol fixed to support other users too and better workflow

16 years agoOne more debugging removed
moodler [Thu, 28 Sep 2006 08:38:27 +0000 (08:38 +0000)]
One more debugging removed

16 years agoRemoved excess debugging that is no longer very useful
moodler [Thu, 28 Sep 2006 08:37:19 +0000 (08:37 +0000)]
Removed excess debugging that is no longer very useful

16 years agoMerged fix for MDL-6681
vyshane [Thu, 28 Sep 2006 08:29:17 +0000 (08:29 +0000)]
Merged fix for MDL-6681

16 years agoFixes for MDL-3975
vyshane [Thu, 28 Sep 2006 07:29:50 +0000 (07:29 +0000)]
Fixes for MDL-3975

Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.

16 years agoUpdated tags
moodler [Thu, 28 Sep 2006 07:22:36 +0000 (07:22 +0000)]
Updated tags

16 years agoRemoved duplicate capability moodle/course:managequestions MDL-6610
moodler [Thu, 28 Sep 2006 07:17:39 +0000 (07:17 +0000)]
Removed duplicate capability moodle/course:managequestions    MDL-6610

16 years agoDocumentation and strings for Default Role
moodler [Thu, 28 Sep 2006 07:07:54 +0000 (07:07 +0000)]
Documentation and strings for Default Role

16 years agoFIxed heading on assign roles in course context
moodler [Thu, 28 Sep 2006 07:00:28 +0000 (07:00 +0000)]
FIxed heading on assign roles in course context

16 years agoFixed a typo
moodler [Thu, 28 Sep 2006 06:48:50 +0000 (06:48 +0000)]
Fixed a typo

16 years agoStarted out fixing MDL-6624 and it turned into a fairly major cleanup
moodler [Thu, 28 Sep 2006 06:41:07 +0000 (06:41 +0000)]
Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging

16 years agoCleaning up user index a bit
moodler [Thu, 28 Sep 2006 06:04:39 +0000 (06:04 +0000)]
Cleaning up user index a bit

16 years agocalendar admin page cleaned up
vinkmar [Thu, 28 Sep 2006 04:46:09 +0000 (04:46 +0000)]
calendar admin page cleaned up

16 years agoFirst cut at an overview page for the user listing (when you first arrive)
moodler [Thu, 28 Sep 2006 04:45:39 +0000 (04:45 +0000)]
First cut at an overview page for the user listing (when you first arrive)

16 years agoAdded count_role_users() as a more efficient thing to do than get_role_users()
moodler [Thu, 28 Sep 2006 04:42:49 +0000 (04:42 +0000)]
Added count_role_users() as a more efficient thing to do than get_role_users()

16 years agowrapping group element in a fieldset tag
jamiesensei [Thu, 28 Sep 2006 04:19:56 +0000 (04:19 +0000)]
wrapping group element in a fieldset tag

16 years agonow wrapping a group element in a fieldset tag, brought id tag on checkboxes and...
jamiesensei [Thu, 28 Sep 2006 04:18:35 +0000 (04:18 +0000)]
now wrapping a group element in a fieldset tag, brought id tag on checkboxes and radio boxes in line with moodle universal form structure

16 years agoenrol/db/enrol.php ignore delt'd usrs when enroling
martinlanghoff [Thu, 28 Sep 2006 01:20:42 +0000 (01:20 +0000)]
enrol/db/enrol.php  ignore delt'd usrs when enroling

Previously the import process would throw a non-fatal error when it found a
non-one number of users with the remote key.  This meant that
when there was a deleted user with the same remote key as an existing user, it
would throw an error, and report that there were no users for that remote key.
Fixed it so that it now ignores deleted users, and provides more accurate
and more precise error messages in the event that there are further
problems.

Author: Peter Bulmer

16 years agoauth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
martinlanghoff [Thu, 28 Sep 2006 01:05:10 +0000 (01:05 +0000)]
auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
Previous operation was update all moodle fields from the external database
during each login & sync ignoring this setting. Now if this setting is
'oncreation' then the field is only copied once (on creation of user).

16 years agoComments.
martinlanghoff [Thu, 28 Sep 2006 00:13:07 +0000 (00:13 +0000)]
Comments.

16 years agoAllow Chinese/Japanese UTF-8 strings to be truncated at character
martinlanghoff [Thu, 28 Sep 2006 00:10:23 +0000 (00:10 +0000)]
Allow Chinese/Japanese UTF-8 strings to be truncated at character

boundaries instead of word boundaries. (fix MDL-5378)

16 years agoFix for breadcrumb problem (MDL-6271).
martinlanghoff [Thu, 28 Sep 2006 00:08:50 +0000 (00:08 +0000)]
Fix for breadcrumb problem (MDL-6271).

16 years agofixed logic of moodle_install_roles() - it now calls update_capabilities() after...
skodak [Wed, 27 Sep 2006 22:59:37 +0000 (22:59 +0000)]
fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later.

16 years agoMerging in changes from Doug Dixon and Mike Lee to update the codebase
jgraham909 [Wed, 27 Sep 2006 22:57:33 +0000 (22:57 +0000)]
Merging in changes from Doug Dixon and Mike Lee to update the codebase

16 years agoadded default settings for admin_setting_special_backupdays()
skodak [Wed, 27 Sep 2006 22:25:15 +0000 (22:25 +0000)]
added default settings for admin_setting_special_backupdays()

16 years agofixed array_shift($roles) warning during upgrade from 1.6
skodak [Wed, 27 Sep 2006 22:16:23 +0000 (22:16 +0000)]
fixed array_shift($roles) warning during upgrade from 1.6

16 years agofixed validation of course category for site course MDL-6715
skodak [Wed, 27 Sep 2006 20:43:04 +0000 (20:43 +0000)]
fixed validation of course category for site course MDL-6715

16 years agochanges to html structure for rendering of forms in line with http://moodle.org/mod...
jamiesensei [Wed, 27 Sep 2006 19:12:52 +0000 (19:12 +0000)]
changes to html structure for rendering of forms in line with moodle.org/mod/forum/discuss.php?d=54907#250816

16 years agochanges to style sheet in line with http://moodle.org/mod/forum/discuss.php?d=54907...
jamiesensei [Wed, 27 Sep 2006 19:10:31 +0000 (19:10 +0000)]
changes to style sheet in line with moodle.org/mod/forum/discuss.php?d=54907#250816

16 years agoFixed bug in PHP generation of indexes.
stronk7 [Wed, 27 Sep 2006 18:47:24 +0000 (18:47 +0000)]
Fixed bug in PHP generation of indexes.

16 years agoadd checks for stale contextid in role_assignments and overrides into load_user_capab...
skodak [Wed, 27 Sep 2006 18:11:36 +0000 (18:11 +0000)]
add checks for stale contextid in role_assignments and overrides into load_user_capability() MDL-6708

16 years agoadded strict context level checks to get_context_instance() MDL-6709 , the reason...
skodak [Wed, 27 Sep 2006 17:58:17 +0000 (17:58 +0000)]
added strict context level checks to get_context_instance() MDL-6709 , the reason is to find typos and buggy code that would be otherwise unnoticed

16 years agosanitise request in create_context() and show debug info when appropriate MDL-6715
skodak [Wed, 27 Sep 2006 17:50:53 +0000 (17:50 +0000)]
sanitise request in create_context() and show debug info when appropriate MDL-6715

16 years agoFixed Bug MDL-6647 - PG version not being fetched properly.
stronk7 [Wed, 27 Sep 2006 17:48:45 +0000 (17:48 +0000)]
Fixed Bug MDL-6647 - PG version not being fetched properly.
(http://tracker.moodle.org/browse/MDL-6647)

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

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

16 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

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

16 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

16 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

16 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

16 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

16 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

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

16 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...)

16 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

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

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

16 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!)

16 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

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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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