]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoQuote field names in rename in order to allow renaming of reserved words.
stronk7 [Sun, 28 Jan 2007 00:20:54 +0000 (00:20 +0000)]
Quote field names in rename in order to allow renaming of reserved words.

18 years agoCHAR fields NOT NULL must not have any empty default specified!
stronk7 [Sun, 28 Jan 2007 00:12:32 +0000 (00:12 +0000)]
CHAR fields NOT NULL must not have any empty default specified!
Oracle breaks with empty defaults because they are = NULL.

Leaving them as NULL, XMLDB will apply defaults for each DB properly.

18 years agoFixing silly (like me) typo.
stronk7 [Sat, 27 Jan 2007 23:39:57 +0000 (23:39 +0000)]
Fixing silly (like me) typo.

18 years agoOracle PL/SQL blocks can end by ";". Prevent that to be trimmed.
stronk7 [Sat, 27 Jan 2007 23:37:22 +0000 (23:37 +0000)]
Oracle PL/SQL blocks can end by ";". Prevent that to be trimmed.

18 years agoEditor related fixes:
skodak [Sat, 27 Jan 2007 23:23:44 +0000 (23:23 +0000)]
Editor related fixes:
MDL-7545 HTML Editor does not send http headers for character encoding;
MDL-8323 added proper require_course_login()
+ fixed javascript in coursefiles broken by XHTML strict
+ general cleanup and fixing in coursefiles (themes, javascript, obsoleted functions, etc.)

18 years agoNow Oracle naming of objects introspects to avoid duplicates. MDL-7376
stronk7 [Sat, 27 Jan 2007 22:11:04 +0000 (22:11 +0000)]
Now Oracle naming of objects introspects to avoid duplicates. MDL-7376

18 years agoMDL-7977 - updated guest and loggedin detection in login block; removed obsolted...
skodak [Sat, 27 Jan 2007 21:28:26 +0000 (21:28 +0000)]
MDL-7977 - updated guest and loggedin detection in login block; removed obsolted $USER->loggedin (now tested with empty($USER->id) in isloggedin()) and $USER->site (replaced by session test cookie)

MDL-5429 - skip https login for guestlogins

18 years ago'preferred_width changed to 210 because with lower values column width changes when...
urs_hunkler [Sat, 27 Jan 2007 20:56:55 +0000 (20:56 +0000)]
'preferred_width changed to 210 because with lower values column width changes when block is closed by user'

18 years agoWhen renaming tables, check that the new one doesn't exist.
stronk7 [Sat, 27 Jan 2007 20:13:23 +0000 (20:13 +0000)]
When renaming tables, check that the new one doesn't exist.

18 years agoSmall improvement. One less iteration pero object name requested.
stronk7 [Sat, 27 Jan 2007 20:08:19 +0000 (20:08 +0000)]
Small improvement. One less iteration pero object name requested.

18 years agoMDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
skodak [Sat, 27 Jan 2007 19:56:08 +0000 (19:56 +0000)]
MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms

18 years ago'IE7 bug - not handling sidblocks correctly with long words. overflow and word-wrap...
urs_hunkler [Sat, 27 Jan 2007 19:34:54 +0000 (19:34 +0000)]
'IE7 bug - not handling sidblocks correctly with long words. overflow and word-wrap corrects the sideblock width in most cases.'

18 years agoadded missing $course
skodak [Sat, 27 Jan 2007 19:14:23 +0000 (19:14 +0000)]
added missing $course

18 years agoUpdated comment.
stronk7 [Sat, 27 Jan 2007 17:41:31 +0000 (17:41 +0000)]
Updated comment.

18 years agoNow Postgres naming of objects introspects to avoid duplicates. MDL-7376
stronk7 [Sat, 27 Jan 2007 17:37:39 +0000 (17:37 +0000)]
Now Postgres naming of objects introspects to avoid duplicates. MDL-7376

18 years agoAutomatic installer.php lang files by installer_builder (20070127)
moodler [Sat, 27 Jan 2007 03:15:10 +0000 (03:15 +0000)]
Automatic installer.php lang files by installer_builder (20070127)

18 years agoDelegate to the isNameInUse() function the request to
stronk7 [Sat, 27 Jan 2007 01:12:18 +0000 (01:12 +0000)]
Delegate to the isNameInUse() function the request to
see if one object name is in use in the DB (to avoid
duplicates 100%) MDL-7376 (the rest will come tomorrow)

18 years agoMDL-8096 loginhttps fixes for new advancededit form
skodak [Fri, 26 Jan 2007 21:45:50 +0000 (21:45 +0000)]
MDL-8096 loginhttps fixes for new advancededit form

18 years agoMDL-8096 user edit form - reintroduced httpsrequirequired()
skodak [Fri, 26 Jan 2007 21:37:56 +0000 (21:37 +0000)]
MDL-8096 user edit form - reintroduced httpsrequirequired()

18 years agoAdding two helper functions and modify upgrade to
stronk7 [Fri, 26 Jan 2007 21:28:48 +0000 (21:28 +0000)]
Adding two helper functions and modify upgrade to
work properly under MSSQL and Oracle. MDL-8303

Merged from MOODLE_17_STABLE

18 years agoAdding two helper functions and modify upgrade to
stronk7 [Fri, 26 Jan 2007 21:27:44 +0000 (21:27 +0000)]
Adding two helper functions and modify upgrade to
work properly under MSSQL and Oracle. MDL-8303

Added one simple hack to execute_sql() in order
to avoid and debug about trailing ;

18 years agoSilly conditions produce silly results, please. :-P
stronk7 [Fri, 26 Jan 2007 21:19:07 +0000 (21:19 +0000)]
Silly conditions produce silly results, please. :-P
(WHERE 1 is not cross-db at all)

18 years agoMDL-8308 placement of load_all_capabilities() in login page
skodak [Fri, 26 Jan 2007 21:09:21 +0000 (21:09 +0000)]
MDL-8308 placement of load_all_capabilities() in login page

18 years agoMDL-8277 userid field now PARAM_CLEAN
skodak [Fri, 26 Jan 2007 20:20:27 +0000 (20:20 +0000)]
MDL-8277 userid field now PARAM_CLEAN

18 years agoMDL-8319 avatar image is now deleted from disk, user/pix.php redirects to default...
skodak [Fri, 26 Jan 2007 20:15:54 +0000 (20:15 +0000)]
MDL-8319 avatar image is now deleted from disk, user/pix.php redirects to default picture if user picture not present(===deleted)

18 years agoOracle doesn't like ; at the end of execute_sql()
stronk7 [Fri, 26 Jan 2007 19:28:40 +0000 (19:28 +0000)]
Oracle doesn't like ; at the end of execute_sql()

18 years agoMDL-8096 user edit form - some more refactoring and fixes
skodak [Fri, 26 Jan 2007 18:42:47 +0000 (18:42 +0000)]
MDL-8096 user edit form - some more refactoring and fixes

18 years agoMissing serf_default on decimal points field.
tjhunt [Fri, 26 Jan 2007 17:52:23 +0000 (17:52 +0000)]
Missing serf_default on decimal points field.

18 years agoMDL-8096 - fixed default values
skodak [Fri, 26 Jan 2007 17:17:21 +0000 (17:17 +0000)]
MDL-8096 - fixed default values

18 years agoMDL-8096 - added proper trimming of usernames; site:config capability is now neede...
skodak [Fri, 26 Jan 2007 16:19:34 +0000 (16:19 +0000)]
MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields

18 years agoMDL-8096 - added proper trimming of usernames; site:config capability is now neede...
skodak [Fri, 26 Jan 2007 16:19:33 +0000 (16:19 +0000)]
MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields

18 years agoMDL-8096 - some more fixes and minor refactoring in custom profile fields
skodak [Fri, 26 Jan 2007 13:49:32 +0000 (13:49 +0000)]
MDL-8096 - some more fixes and minor refactoring in custom profile fields

18 years agoMDL-8096 - some more fixes for custom profile fields
skodak [Fri, 26 Jan 2007 13:33:56 +0000 (13:33 +0000)]
MDL-8096 - some more fixes for custom profile fields

18 years agoMDL-8096 - fixed mutilang in custom category header
skodak [Fri, 26 Jan 2007 13:13:13 +0000 (13:13 +0000)]
MDL-8096 - fixed mutilang in custom category header

18 years agoMDL-8096 - refactored and cleanedup custom profiles, user edit form fixes
skodak [Fri, 26 Jan 2007 13:11:06 +0000 (13:11 +0000)]
MDL-8096 - refactored and cleanedup custom profiles, user edit form fixes
TODO: fix comments and docs

18 years agoFIxed an annoying little artifact showing up on the second line of the last tab ...
moodler [Fri, 26 Jan 2007 07:09:39 +0000 (07:09 +0000)]
FIxed an annoying little artifact showing up on the second line of the last tab   MDL-7782

18 years agoFIxed tabs for quizzes
moodler [Fri, 26 Jan 2007 06:59:16 +0000 (06:59 +0000)]
FIxed tabs for quizzes

18 years agoFixed a pass-by-reference notice
moodler [Fri, 26 Jan 2007 06:50:34 +0000 (06:50 +0000)]
Fixed a pass-by-reference notice

18 years agoFIxed tabs on module edit pages
moodler [Fri, 26 Jan 2007 06:32:53 +0000 (06:32 +0000)]
FIxed tabs on module edit pages

18 years agoImproved documentation for print_tabs
moodler [Fri, 26 Jan 2007 06:28:43 +0000 (06:28 +0000)]
Improved documentation for print_tabs

18 years agoSome slight modifications to the css classes for one-tab lines MDL-7782
moodler [Fri, 26 Jan 2007 06:23:53 +0000 (06:23 +0000)]
Some slight modifications to the css classes for one-tab lines  MDL-7782

18 years agoFixed up the tabs for roles
moodler [Fri, 26 Jan 2007 06:18:43 +0000 (06:18 +0000)]
Fixed up the tabs for roles

18 years agoLatest tags
moodler [Fri, 26 Jan 2007 05:48:33 +0000 (05:48 +0000)]
Latest tags

18 years agoAdded some new settings to config.php based on /theme/standard change.
mits [Fri, 26 Jan 2007 02:16:31 +0000 (02:16 +0000)]
Added some new settings to config.php based on /theme/standard change.

18 years agoMDL-8096 - fixed use of formslib in custom profile field gui
skodak [Thu, 25 Jan 2007 19:36:47 +0000 (19:36 +0000)]
MDL-8096 - fixed use of formslib in custom profile field gui

18 years agoMDL-8096 - edit form session fix
skodak [Thu, 25 Jan 2007 18:18:33 +0000 (18:18 +0000)]
MDL-8096 - edit form session fix

18 years agoMDL-8096 - fixed set_user_preference() weirdness, you could not pass $USER->id as...
skodak [Thu, 25 Jan 2007 18:17:57 +0000 (18:17 +0000)]
MDL-8096 - fixed set_user_preference() weirdness, you could not pass $USER->id as $otheruser parameter

18 years agoMDL-8096 - rewritten standard edit form and other fixes; new custom profile fields...
skodak [Thu, 25 Jan 2007 18:02:48 +0000 (18:02 +0000)]
MDL-8096 - rewritten standard edit form and other fixes; new custom profile fields still missing

18 years agoMDL-8281 hardFreeze now removes previously defined required status and all rules
skodak [Thu, 25 Jan 2007 17:59:46 +0000 (17:59 +0000)]
MDL-8281 hardFreeze now removes previously defined required status and all rules

18 years agoFixed external manifest problems
bobopinna [Thu, 25 Jan 2007 13:49:50 +0000 (13:49 +0000)]
Fixed external manifest problems

18 years agoFix for reopened bug MDL-6685, "Arrows on course roles screen are displaying as squares"
nfreear [Thu, 25 Jan 2007 11:18:39 +0000 (11:18 +0000)]
Fix for reopened bug MDL-6685, "Arrows on course roles screen are displaying as squares"

18 years agosome tab tweeks
urs_hunkler [Thu, 25 Jan 2007 11:14:42 +0000 (11:14 +0000)]
some tab tweeks

18 years agoMDL-8096 - advanced edit now mostly works, though still some parts missing; RIP chang...
skodak [Thu, 25 Jan 2007 11:03:33 +0000 (11:03 +0000)]
MDL-8096 - advanced edit now mostly works, though still some parts missing; RIP changeme user :-)

18 years agoFixed a bug in external package validation
bobopinna [Thu, 25 Jan 2007 07:39:48 +0000 (07:39 +0000)]
Fixed a bug in external package validation

18 years agoFixed some problems in package validation
bobopinna [Thu, 25 Jan 2007 07:20:38 +0000 (07:20 +0000)]
Fixed some problems in package validation

18 years agoPrettied up RSS pages a bit
moodler [Thu, 25 Jan 2007 07:09:24 +0000 (07:09 +0000)]
Prettied up RSS pages a bit

18 years agoFixed "can't add RSS feed" bug MDL-8180
moodler [Thu, 25 Jan 2007 06:37:59 +0000 (06:37 +0000)]
Fixed "can't add RSS feed" bug  MDL-8180

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