]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoUsing new function to print out custom categories and fields. This shouldn't
ikawhero [Thu, 25 Jan 2007 05:23:56 +0000 (05:23 +0000)]
Using new function to print out custom categories and fields. This shouldn't
interfere with skodaks work on splitting the user edit form.

18 years agoPlaced the work behind printing out the categories and fields into a
ikawhero [Thu, 25 Jan 2007 05:20:10 +0000 (05:20 +0000)]
Placed the work behind printing out the categories and fields into a
function.

18 years agoAdded some documentation and renamed thngs for clarity
moodler [Thu, 25 Jan 2007 04:51:37 +0000 (04:51 +0000)]
Added some documentation and renamed thngs for clarity

18 years agoFixes to styles and new images to finalise new tabs as per MDL-7782
moodler [Thu, 25 Jan 2007 04:44:51 +0000 (04:44 +0000)]
Fixes to styles and new images to finalise new tabs as per MDL-7782

Looking much better!  Thanks, Urs!

18 years agoImproved classes for new tabs MDL-7782
moodler [Thu, 25 Jan 2007 04:43:26 +0000 (04:43 +0000)]
Improved classes for new tabs MDL-7782

Improved inclusion of meta.php avoids notices for non-existent files

18 years agoMerged from 1.7.
vyshane [Thu, 25 Jan 2007 04:37:39 +0000 (04:37 +0000)]
Merged from 1.7.

18 years agoMDL-8096 - fixed footer
skodak [Thu, 25 Jan 2007 00:17:06 +0000 (00:17 +0000)]
MDL-8096 - fixed footer

18 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

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

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

18 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

18 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

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

18 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

18 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

18 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

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

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

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

18 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

18 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

18 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

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

18 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

18 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

18 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

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

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

18 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

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

18 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

18 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

18 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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

18 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

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

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

18 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

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

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

18 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

18 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

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

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

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

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

18 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

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

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

18 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

18 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

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

18 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

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

18 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

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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

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

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

18 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

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

18 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

18 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

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

18 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

18 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

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

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

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

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

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

18 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

18 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

18 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

18 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

18 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

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

18 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 http://opendocumentfellowship.org/icon/examples

18 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

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

18 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

18 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

18 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

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