moodle.git
14 years agoMDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progre...
skodak [Thu, 25 Jan 2007 00:04:02 +0000 (00:04 +0000)]
MDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progress ;-)
* new editadvanced form for creating of users and editing without restrictions
* elliminated fantom changeme user
* updated links and installation process
* see TODO comments in code

14 years agoMnet: We haven't been updating the last_connect_time field. Let's do that.
donal72 [Wed, 24 Jan 2007 23:17:08 +0000 (23:17 +0000)]
Mnet: We haven't been updating the last_connect_time field. Let's do that.

14 years agoMnet: Minor: Fix a comment
donal72 [Wed, 24 Jan 2007 23:15:24 +0000 (23:15 +0000)]
Mnet:  Minor:  Fix a comment

14 years agomnet: $CFG->mnet_dispatcher_mode - ensure we set it on install and upgrade, silence...
martinlanghoff [Wed, 24 Jan 2007 22:17:42 +0000 (22:17 +0000)]
mnet: $CFG->mnet_dispatcher_mode - ensure we set it on install and upgrade, silence warnings - MDL-8284

14 years agoAdded conditional rename/add for field external
bobopinna [Wed, 24 Jan 2007 20:24:51 +0000 (20:24 +0000)]
Added conditional rename/add for field external

14 years agoModified a bit the child iterator that wasn't working under Safari.
stronk7 [Wed, 24 Jan 2007 19:39:59 +0000 (19:39 +0000)]
Modified a bit the child iterator that wasn't working under Safari.
Tested with FF and Safari. Needs test with IE.

14 years agoPrevent rename_field() to be executed if no full specs of
stronk7 [Wed, 24 Jan 2007 17:54:53 +0000 (17:54 +0000)]
Prevent rename_field() to be executed if no full specs of
the original field are provided. MDL-8296

14 years agoAdd full specs for current field in rename_field() PHP
stronk7 [Wed, 24 Jan 2007 16:54:49 +0000 (16:54 +0000)]
Add full specs for current field in rename_field() PHP
generation from the editor. Part of MDL-8296

14 years agoChanged drop and add with rename
bobopinna [Wed, 24 Jan 2007 15:33:46 +0000 (15:33 +0000)]
Changed drop and add with rename
Fixed a problem with md5hash field

14 years agofixed some small typos I introduced.
jamiesensei [Wed, 24 Jan 2007 15:13:46 +0000 (15:13 +0000)]
fixed some small typos I introduced.

14 years agoNew IE-only css
moodler [Wed, 24 Jan 2007 13:22:11 +0000 (13:22 +0000)]
New IE-only css

14 years agoNew pix from Urs
moodler [Wed, 24 Jan 2007 13:21:00 +0000 (13:21 +0000)]
New pix from Urs

14 years agoA small bug in rename_field means that you need to specify the field in detail for...
moodler [Wed, 24 Jan 2007 13:17:03 +0000 (13:17 +0000)]
A small bug in rename_field means that you need to specify the field in detail for it to work.

This will be fixed by Eloy later.

MDL-8237

14 years agorenamed external to updatefreq
bobopinna [Wed, 24 Jan 2007 10:39:24 +0000 (10:39 +0000)]
renamed external to updatefreq
renamed md5_result to md5hash

14 years agorenamed field external changed it to updatefreq
bobopinna [Wed, 24 Jan 2007 10:32:45 +0000 (10:32 +0000)]
renamed field external changed it to updatefreq
renamed filed md5_result in md5hash

14 years agoAdded some new settings to theme config.php so that a file meta.php can be
moodler [Wed, 24 Jan 2007 09:20:32 +0000 (09:20 +0000)]
Added some new settings to theme config.php so that a file meta.php can be
automatically included into the HEAD section of the current theme.

Supports parent and standard files too.

I added this to support the inclusion of some IE specific CSS  :-( which needs
to be done from HTML and not CSS, (MDL-7782) but it could be used to include other things
as well, or even to run some PHP code, set various vriables etc without messing
up the theme header.html (and regardless of the theme being used).

14 years agoAdded code to the scorm_view_display function to update the SCORM activities which...
csantossaenz [Wed, 24 Jan 2007 07:27:40 +0000 (07:27 +0000)]
Added code to the scorm_view_display function to update the SCORM activities which have to be updated every time they are used

14 years agoAdded code to the scorm_cron function to update the SCORM activity every day when...
csantossaenz [Wed, 24 Jan 2007 07:26:37 +0000 (07:26 +0000)]
Added code to the scorm_cron function to update the SCORM activity every day when this option is selected

14 years agoAdded some docs from MDL-6798
moodler [Wed, 24 Jan 2007 07:08:50 +0000 (07:08 +0000)]
Added some docs from MDL-6798

14 years agoMerged from 1.7
vyshane [Wed, 24 Jan 2007 05:58:59 +0000 (05:58 +0000)]
Merged from 1.7

14 years agomnet: auth/mnet cron() now clears out stale sessions -- how did we miss this?
martinlanghoff [Wed, 24 Jan 2007 04:25:56 +0000 (04:25 +0000)]
mnet: auth/mnet cron() now clears out stale sessions -- how did we miss this?

14 years agomnet: fix SSO breakage if the same user was using multiple browsers
martinlanghoff [Wed, 24 Jan 2007 04:15:50 +0000 (04:15 +0000)]
mnet: fix SSO breakage if the same user was using multiple browsers

14 years agoUI now selects the relevant grouping and/or group when these are passed as GET parame...
vyshane [Wed, 24 Jan 2007 03:03:10 +0000 (03:03 +0000)]
UI now selects the relevant grouping and/or group when these are passed as GET parameters to the script.
Also fixed javascript for hiding view buttons. Was not working in IE [insert swear words here].

14 years agoMnet: Bugfix for rev 1.10: Update user's enrolment information on jump/land
donal72 [Tue, 23 Jan 2007 23:07:29 +0000 (23:07 +0000)]
Mnet:  Bugfix for rev 1.10: Update user's enrolment information on jump/land

14 years agoMnet: Restore query to check that an outgoing RPC call is permitted by the client...
donal72 [Tue, 23 Jan 2007 22:30:43 +0000 (22:30 +0000)]
Mnet:  Restore query to check that an outgoing RPC call is permitted by the client machine's admin

14 years agoMnet: Users mnethostid now defaults to the admin user's mnethostid: MDL-8253
donal72 [Tue, 23 Jan 2007 22:03:48 +0000 (22:03 +0000)]
Mnet:  Users mnethostid now defaults to the admin user's mnethostid:  MDL-8253

14 years agoAuth: Typo fix: exprire -> expire MDL-8151
donal72 [Tue, 23 Jan 2007 21:35:08 +0000 (21:35 +0000)]
Auth:  Typo fix:  exprire -> expire MDL-8151

14 years agoMnet: Rename field: access to accessctrl for Oracle interop: MDL-8237
donal72 [Tue, 23 Jan 2007 21:27:50 +0000 (21:27 +0000)]
Mnet:  Rename field: access to accessctrl for Oracle interop:  MDL-8237

14 years agomnet: as reported by Eloy - login failures should be helpful to mnet users _only_...
martinlanghoff [Tue, 23 Jan 2007 20:56:59 +0000 (20:56 +0000)]
mnet: as reported by Eloy - login failures should be helpful to mnet users _only_ if mnet and auth/mnet are running

14 years agoFixes incorrect group function documentation (MDL-7380)
nfreear [Tue, 23 Jan 2007 19:51:05 +0000 (19:51 +0000)]
Fixes incorrect group function documentation (MDL-7380)

14 years agoFixes bug MDL-8234, "New groups code & AS keyword" - fixed typo in last commit.
nfreear [Tue, 23 Jan 2007 19:11:40 +0000 (19:11 +0000)]
Fixes bug MDL-8234, "New groups code & AS keyword" - fixed typo in last commit.

14 years agoFixes bug MDL-8234, "New groups code & AS keyword"
nfreear [Tue, 23 Jan 2007 19:08:22 +0000 (19:08 +0000)]
Fixes bug MDL-8234, "New groups code & AS keyword"

14 years ago$form is an object (from data_submitted).
stronk7 [Tue, 23 Jan 2007 16:33:15 +0000 (16:33 +0000)]
$form is an object (from data_submitted).

14 years agoChanging some more incorrect uses of get_records and count_records with '1'. MDL...
stronk7 [Tue, 23 Jan 2007 16:21:21 +0000 (16:21 +0000)]
Changing some more incorrect uses of get_records and count_records with '1'. MDL-8280

14 years agoWHERE '1' is not cross-db. MDL-8280
stronk7 [Tue, 23 Jan 2007 16:09:00 +0000 (16:09 +0000)]
WHERE '1' is not cross-db. MDL-8280

14 years agoMDL-8096 two submit buttons not needed anymore now that we have advanced settings...
skodak [Tue, 23 Jan 2007 10:11:12 +0000 (10:11 +0000)]
MDL-8096 two submit buttons not needed anymore now that we have advanced settings button; two submit buttons are accessibility problem anyway

14 years agoMDL-8096 fixed country selection
skodak [Tue, 23 Jan 2007 10:04:59 +0000 (10:04 +0000)]
MDL-8096 fixed country selection

14 years agoSet some sizes on the selects for group management (make it look better)
moodler [Tue, 23 Jan 2007 09:06:10 +0000 (09:06 +0000)]
Set some sizes on the selects for group management  (make it look better)

14 years agoAdded a summary to layout tables "layout tables" for further accessibility
moodler [Tue, 23 Jan 2007 08:28:55 +0000 (08:28 +0000)]
Added a summary to layout tables "layout tables" for further accessibility

14 years agoFixed some JS issues for IE. MDL-8183.
vyshane [Tue, 23 Jan 2007 06:20:47 +0000 (06:20 +0000)]
Fixed some JS issues for IE. MDL-8183.

14 years agoFix for MDL-6966.
vyshane [Tue, 23 Jan 2007 05:42:15 +0000 (05:42 +0000)]
Fix for MDL-6966.

14 years agoAdded styles to support recent changes to MDL-8101
moodler [Tue, 23 Jan 2007 05:41:35 +0000 (05:41 +0000)]
Added styles to support recent changes to MDL-8101

14 years agoFixed up styles for simple boxes see MDL-8101
moodler [Tue, 23 Jan 2007 05:37:26 +0000 (05:37 +0000)]
Fixed up styles for simple boxes   see MDL-8101

14 years agoPEAR Services_JSON.
vyshane [Tue, 23 Jan 2007 05:19:28 +0000 (05:19 +0000)]
PEAR Services_JSON.

14 years agoFIxed site identifier
moodler [Tue, 23 Jan 2007 04:58:50 +0000 (04:58 +0000)]
FIxed site identifier

14 years agoLittle fix for typo (see MDL-8061)
moodler [Tue, 23 Jan 2007 03:39:56 +0000 (03:39 +0000)]
Little fix for typo  (see MDL-8061)

14 years agoAutomatic installer.php lang files by installer_builder (20070123)
moodler [Tue, 23 Jan 2007 03:20:01 +0000 (03:20 +0000)]
installer.php lang files by installer_builder (20070123)

14 years agoMnet: Update user's enrolment information on jump/land
donal72 [Tue, 23 Jan 2007 02:38:54 +0000 (02:38 +0000)]
Mnet:  Update user's enrolment information on jump/land

14 years agoFIxed extra debugging info
moodler [Tue, 23 Jan 2007 02:14:29 +0000 (02:14 +0000)]
FIxed extra debugging info

14 years agoFixed a typo
moodler [Tue, 23 Jan 2007 01:15:13 +0000 (01:15 +0000)]
Fixed a typo

14 years agoChanging some stripslashes() to stripslashes_safe() because it
stronk7 [Mon, 22 Jan 2007 23:23:30 +0000 (23:23 +0000)]
Changing some stripslashes() to stripslashes_safe() because it
was causing some real backslashes to be lost in some qtypes. MDL-8217

Merged from MOODLE_17_STABLE

14 years agoMDL-8250 moved version include before main install to allow release info display...
skodak [Mon, 22 Jan 2007 22:32:00 +0000 (22:32 +0000)]
MDL-8250 moved version include before main install to allow release info display before install

14 years ago(MDL-8250) install/upgrade autopilot
skodak [Mon, 22 Jan 2007 20:15:12 +0000 (20:15 +0000)]
(MDL-8250) install/upgrade autopilot

14 years agoMDL-8262 fixed require_course_login and $COURSE logic
skodak [Mon, 22 Jan 2007 18:49:42 +0000 (18:49 +0000)]
MDL-8262 fixed require_course_login and $COURSE logic

14 years agoMDL-7861 fixed regression caused by one of previous commit related to print_single_bu...
skodak [Mon, 22 Jan 2007 18:23:14 +0000 (18:23 +0000)]
MDL-7861 fixed regression caused by one of previous commit related to print_single_button() and friends - old & handling restored, thanks Eloy for spotting the problem :-)

14 years agoAdding FK + Unique Indexes to the groups module. MDL-8240
stronk7 [Mon, 22 Jan 2007 17:50:42 +0000 (17:50 +0000)]
Adding FK + Unique Indexes to the groups module. MDL-8240

14 years agoFix XMLDBEditor for groups. Wasn't being intanciated properly.
stronk7 [Mon, 22 Jan 2007 17:27:04 +0000 (17:27 +0000)]
Fix XMLDBEditor for groups. Wasn't being intanciated properly.

14 years agoremoved xhtml strict todo comment - already fixed
skodak [Mon, 22 Jan 2007 16:03:34 +0000 (16:03 +0000)]
removed xhtml strict todo  comment - already fixed

14 years agoCorrected a warning related to a variable which could be used with no assigned value
csantossaenz [Mon, 22 Jan 2007 08:48:38 +0000 (08:48 +0000)]
Corrected a warning related to a variable which could be used with no assigned value

14 years agoMade is_mnet_remote_user() a bit more robust MDL-8253
moodler [Mon, 22 Jan 2007 08:25:20 +0000 (08:25 +0000)]
Made is_mnet_remote_user() a bit more robust        MDL-8253

14 years agoFixed MDL-8183.
vyshane [Mon, 22 Jan 2007 06:57:40 +0000 (06:57 +0000)]
Fixed MDL-8183.

14 years agoFixed loader image removal. MDL-8183.
vyshane [Mon, 22 Jan 2007 06:06:08 +0000 (06:06 +0000)]
Fixed loader image removal. MDL-8183.

14 years agomnet: update_enrolments() WIP
martinlanghoff [Mon, 22 Jan 2007 05:46:40 +0000 (05:46 +0000)]
mnet: update_enrolments() WIP

14 years agomnet: remove extra paranoid check in the mnet xmlrpc client
martinlanghoff [Mon, 22 Jan 2007 05:32:14 +0000 (05:32 +0000)]
mnet: remove extra paranoid check in the mnet xmlrpc client

 - Donal - this needs review. I don't think we can assume the remote
   end has the same service/method mappings we do. This will preclude
   us from using stuff we don't have installed the "server" code for
   but perhaps we do have the client code for.

14 years agomnet: send user enrolment information from SP to IDP at landing time, WIP
martinlanghoff [Mon, 22 Jan 2007 04:41:17 +0000 (04:41 +0000)]
mnet: send user enrolment information from SP to IDP at landing time, WIP

14 years agoWhoops, forgot to set the cache :-) MDL-8149
moodler [Mon, 22 Jan 2007 03:28:06 +0000 (03:28 +0000)]
Whoops, forgot to set the cache :-)  MDL-8149

14 years agoA little bit of caching for get_my_courses, related to MDL-8149
moodler [Mon, 22 Jan 2007 03:24:27 +0000 (03:24 +0000)]
A little bit of caching for get_my_courses, related to MDL-8149

Resetting it in load_all_capabilities() means it gets flushed everytime
role_assign() or role_unassign() is called on the current user, which should
be enough.

The cache is not reset when others assign/unassign roles, but Moodle has
always had this problem.

14 years agomnet: print_remote_host() must be xhtml strrrrikt!
martinlanghoff [Mon, 22 Jan 2007 01:57:05 +0000 (01:57 +0000)]
mnet: print_remote_host() must be xhtml strrrrikt!

14 years agodebugging() - tell us who/where/when called us, like trigger_error() does
martinlanghoff [Mon, 22 Jan 2007 01:55:09 +0000 (01:55 +0000)]
debugging() - tell us who/where/when called us, like trigger_error() does

14 years agomnet: remove debugging statements
martinlanghoff [Mon, 22 Jan 2007 01:31:15 +0000 (01:31 +0000)]
mnet: remove debugging statements

14 years agoConvert DB lang fields to 30cc. Part of MDL-7157
stronk7 [Sun, 21 Jan 2007 23:49:23 +0000 (23:49 +0000)]
Convert DB lang fields to 30cc. Part of MDL-7157

14 years agoConvert DB lang fields to 30cc. Part of MDL-7157
stronk7 [Sun, 21 Jan 2007 23:37:54 +0000 (23:37 +0000)]
Convert DB lang fields to 30cc. Part of MDL-7157

14 years agofixed perfdebug warning during install
skodak [Sun, 21 Jan 2007 21:46:55 +0000 (21:46 +0000)]
fixed perfdebug warning during install

14 years agoSome old PG sites have user->firstname and user->lastname
stronk7 [Sun, 21 Jan 2007 19:56:05 +0000 (19:56 +0000)]
Some old PG sites have user->firstname and user->lastname
defined to be 30cc. Repair them. MDL-7110

14 years agoMDL-8198 Modules whose names are substrings of other chosen modules are considered...
skodak [Sun, 21 Jan 2007 10:33:28 +0000 (10:33 +0000)]
MDL-8198 Modules whose names are substrings of other chosen modules are considered chosen as well

14 years agoimportant security fix previous use of ['type'] in repeatedeloptions array would...
jamiesensei [Sun, 21 Jan 2007 10:32:42 +0000 (10:32 +0000)]
important security fix previous use of ['type'] in repeatedeloptions array would not have worked.

14 years agominimal footer in redirect()
skodak [Sun, 21 Jan 2007 10:30:08 +0000 (10:30 +0000)]
minimal footer in redirect()

14 years agosome small changes
jamiesensei [Sun, 21 Jan 2007 09:26:33 +0000 (09:26 +0000)]
some small changes

14 years agofixed focus method which was tring to focus on hidden fields.
jamiesensei [Sun, 21 Jan 2007 09:23:19 +0000 (09:23 +0000)]
fixed focus method which was tring to focus on hidden fields.

14 years agocomment got detached from function - fixed.
jamiesensei [Sun, 21 Jan 2007 09:14:35 +0000 (09:14 +0000)]
comment got detached from function - fixed.

14 years agofixes to wiki form checkboxes value saving
jamiesensei [Sun, 21 Jan 2007 08:26:59 +0000 (08:26 +0000)]
fixes to wiki form checkboxes value saving

14 years agoChanging resource->alltext to medium. MDL-6872
stronk7 [Sat, 20 Jan 2007 19:32:02 +0000 (19:32 +0000)]
Changing resource->alltext to medium. MDL-6872

14 years agoNow group->description and groups_groupings->description are NULLable
stronk7 [Sat, 20 Jan 2007 18:59:22 +0000 (18:59 +0000)]
Now group->description and groups_groupings->description are NULLable
Also, some incorrect default values are out (XMLDB handles them).

MDL-7356 & MDL-8239

14 years agoNow resource->summary is nullable. MDL-7355
stronk7 [Sat, 20 Jan 2007 18:10:29 +0000 (18:10 +0000)]
Now resource->summary is nullable. MDL-7355

14 years agoGenerators can use ddllib.php stuff
stronk7 [Sat, 20 Jan 2007 18:08:55 +0000 (18:08 +0000)]
Generators can use ddllib.php stuff

14 years agoBad news. "external" is one reserved word for mssql and we have
stronk7 [Sat, 20 Jan 2007 17:59:28 +0000 (17:59 +0000)]
Bad news. "external" is one reserved word for mssql and we have
one in the the SCORM module.

14 years agoMDL-7586 added opendocument mimetype icons, created by Pete Harlow, see http://opendo...
skodak [Sat, 20 Jan 2007 15:00:17 +0000 (15:00 +0000)]
MDL-7586 added opendocument mimetype icons, created by Pete Harlow, see opendocumentfellowship.org/icon/examples

14 years agocode cleanup - added proper object and array initialization
skodak [Sat, 20 Jan 2007 14:06:07 +0000 (14:06 +0000)]
code cleanup - added proper object and array initialization

14 years agocosmetic fix - added missing global $SESSION in require_logout()
skodak [Sat, 20 Jan 2007 13:39:38 +0000 (13:39 +0000)]
cosmetic fix - added missing global $SESSION in require_logout()

14 years agocosmetic fix in format text FORMAT_HTML now used after text is converted to html...
skodak [Sat, 20 Jan 2007 13:36:03 +0000 (13:36 +0000)]
cosmetic fix in format text FORMAT_HTML now used after text is converted to html instead of the original format - the actual function is not changed, no need to backport

14 years agomoved obsoleted functions from weblib.php to deprecatedlib.php
skodak [Sat, 20 Jan 2007 13:32:15 +0000 (13:32 +0000)]
moved obsoleted functions from weblib.php to deprecatedlib.php

14 years agoMDL-7861 xhtml strict fix in notice() for & in referer, proper string quoting in...
skodak [Sat, 20 Jan 2007 13:00:03 +0000 (13:00 +0000)]
MDL-7861 xhtml strict fix in notice() for & in referer, proper string quoting in print_single_button(), changed cleaning of submitted link; fixed warning when referer not send in print_continue(); fixed some doc comments

14 years agoFixes bug MDL-8233, "Delete course action, groups typos and groupings not deleted"
nfreear [Sat, 20 Jan 2007 10:57:47 +0000 (10:57 +0000)]
Fixes bug MDL-8233, "Delete course action, groups typos and groupings not deleted"

14 years agoFixes bug MDL-8057, "Backup/restore code not considered in new groups code"
nfreear [Sat, 20 Jan 2007 09:28:26 +0000 (09:28 +0000)]
Fixes bug MDL-8057, "Backup/restore code not considered in new groups code"

14 years agoMDL-8161 fixed displaying of submitted values in SCORM reports
skodak [Fri, 19 Jan 2007 21:20:00 +0000 (21:20 +0000)]
MDL-8161 fixed displaying of submitted values in SCORM reports

14 years agofixed wrong disabledif conditions in resource subtypes - sorry
skodak [Fri, 19 Jan 2007 19:50:30 +0000 (19:50 +0000)]
fixed wrong disabledif conditions in resource subtypes - sorry

14 years agoMDL-8227 - Made wiki locking only apply to group being edited!
sam_marshall [Fri, 19 Jan 2007 15:25:35 +0000 (15:25 +0000)]
MDL-8227 - Made wiki locking only apply to group being edited!

14 years agoMDL-8226\rMove aon & aiken import format from head into contrib. No longer maintained...
thepurpleblob [Fri, 19 Jan 2007 14:41:35 +0000 (14:41 +0000)]
MDL-8226\rMove aon & aiken import format from head into contrib. No longer maintained. Use GIFT instead.

14 years agoMDL-8226\rMove aon import format from head into contrib. No longer maintained. Use...
thepurpleblob [Fri, 19 Jan 2007 14:38:18 +0000 (14:38 +0000)]
MDL-8226\rMove aon import format from head into contrib. No longer maintained. Use GIFT instead.

14 years agoMDL-8226\rMove aiken import format from head into contrib. No longer maintained. Use...
thepurpleblob [Fri, 19 Jan 2007 14:35:44 +0000 (14:35 +0000)]
MDL-8226\rMove aiken import format from head into contrib. No longer maintained. Use GIFT instead.