]> git.mjollnir.org Git - moodle.git/log
moodle.git
19 years agoAdded IMS CP strings
wildgirl [Tue, 18 Apr 2006 18:09:11 +0000 (18:09 +0000)]
Added IMS CP strings

19 years agoresource.class.php changes:
wildgirl [Tue, 18 Apr 2006 18:04:30 +0000 (18:04 +0000)]
resource.class.php changes:
1. Added logic to process repository paths. A repository path is marked with a # as the first character of the reference field.
2. Added a new error code for repository items not being deployed / bad reference.

ims.html change:
Added a button to link to the repository browser.

New files:
finder.php \96 browser for the repository
preview.php \96 cut down display routine from resource.class.php, forces sidemenu etc.
repository_deploy.php \96 deploy for repository items (same results as deploy.php)
repository_config.php (repository disabled by default)
resize.js - for iframe resizing
dummyapi.js - dummy SCORM API

(Tom's work, with help from Andy)

19 years agoParamater cleaning for category name too restrictive for non-ascii
thepurpleblob [Tue, 18 Apr 2006 14:20:02 +0000 (14:20 +0000)]
Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224

19 years agocorrected handling of tables within JCloze text (a lot of vertical space was being...
gbateson [Tue, 18 Apr 2006 12:20:18 +0000 (12:20 +0000)]
corrected handling of tables within JCloze text (a lot of vertical space was being added)

19 years agoClean up code (Bugs 5027, 5161), 'weekscss' course format.
nfreear [Tue, 18 Apr 2006 11:02:21 +0000 (11:02 +0000)]
Clean up code (Bugs 5027, 5161), 'weekscss' course format.

19 years agoFix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden'...
nfreear [Tue, 18 Apr 2006 11:00:25 +0000 (11:00 +0000)]
Fix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden' style, background-color.

19 years agoFixed bug #5230 and the hardcoded admin folder
moodler [Tue, 18 Apr 2006 09:46:35 +0000 (09:46 +0000)]
Fixed bug #5230 and the hardcoded admin folder

19 years agoFIx for slashes problem in bug 5222 (and some others)
moodler [Tue, 18 Apr 2006 09:16:22 +0000 (09:16 +0000)]
FIx for slashes problem in bug 5222 (and some others)

19 years agotypo
toyomoyo [Tue, 18 Apr 2006 09:08:53 +0000 (09:08 +0000)]
typo

19 years agofix for 5204
toyomoyo [Tue, 18 Apr 2006 09:05:07 +0000 (09:05 +0000)]
fix for 5204

19 years agoA little HTML hint since styles are not working here for me somehow
moodler [Tue, 18 Apr 2006 07:28:44 +0000 (07:28 +0000)]
A little HTML hint since styles are not working here for me somehow

19 years agoBetter style for picture next to chat text
moodler [Tue, 18 Apr 2006 07:27:11 +0000 (07:27 +0000)]
Better style for picture next to chat text

19 years agofix for 5207
toyomoyo [Tue, 18 Apr 2006 07:22:18 +0000 (07:22 +0000)]
fix for 5207

19 years agoMore efficient chat listings (less database calling)
moodler [Tue, 18 Apr 2006 07:14:21 +0000 (07:14 +0000)]
More efficient chat listings (less database calling)

19 years agofix for 5210
toyomoyo [Tue, 18 Apr 2006 07:12:39 +0000 (07:12 +0000)]
fix for 5210

19 years agofix for 5209
toyomoyo [Tue, 18 Apr 2006 06:43:29 +0000 (06:43 +0000)]
fix for 5209

19 years agoblock unicode migration bugs
toyomoyo [Tue, 18 Apr 2006 06:17:30 +0000 (06:17 +0000)]
block unicode migration bugs

19 years ago"Reset template" button now only resets the template textarea with the default
vyshane [Tue, 18 Apr 2006 06:11:38 +0000 (06:11 +0000)]
"Reset template" button now only resets the template textarea with the default
template. User needs to hit "Save template" to save the changes.

19 years agoadded a comment
toyomoyo [Tue, 18 Apr 2006 03:45:23 +0000 (03:45 +0000)]
added a comment

19 years agothe table_column function ate my auto_increments
toyomoyo [Tue, 18 Apr 2006 03:30:57 +0000 (03:30 +0000)]
the table_column function ate my auto_increments

19 years agoPutting back in the fix for authorize enrol plugin not originally having correct...
mjollnir_ [Tue, 18 Apr 2006 02:50:46 +0000 (02:50 +0000)]
Putting back in the fix for authorize enrol plugin not originally having correct pg version number and table sync with mysql tables and version number

19 years agobug #5234, so I took out has_config, this block has no config globals right?
toyomoyo [Tue, 18 Apr 2006 02:37:44 +0000 (02:37 +0000)]
bug #5234, so I took out has_config, this block has no config globals right?

19 years agovarious small changes
toyomoyo [Tue, 18 Apr 2006 01:59:13 +0000 (01:59 +0000)]
various small changes

19 years agoblog access rights fix, forgot to check in last week
toyomoyo [Tue, 18 Apr 2006 01:30:00 +0000 (01:30 +0000)]
blog access rights fix, forgot to check in last week

19 years agofixed bug #5225, fix provided by hachiman
skodak [Mon, 17 Apr 2006 21:26:05 +0000 (21:26 +0000)]
fixed bug #5225, fix provided by hachiman

19 years agosome bugfixing and proper conversion to new xxx_param() functions - SC#148
skodak [Mon, 17 Apr 2006 21:14:50 +0000 (21:14 +0000)]
some bugfixing and proper conversion to new xxx_param() functions - SC#148

19 years agomod/chat: Normal method -- collate 2 SELECTs into one
martinlanghoff [Mon, 17 Apr 2006 21:06:28 +0000 (21:06 +0000)]
mod/chat: Normal method -- collate 2 SELECTs into one

We really don't need to ask about the user table _twice_ here. Just ask for the
right fields, and done.

19 years agomod/chat: Normal method -- faster, lighter DB updates
martinlanghoff [Mon, 17 Apr 2006 21:05:51 +0000 (21:05 +0000)]
mod/chat: Normal method -- faster, lighter DB updates

Use set_field() keyed on PK instead of update_record() or set_field()
keyed on non-PKs.

19 years agomod/chat - Normal method - users pane only uses keepalive when refreshing fast
martinlanghoff [Mon, 17 Apr 2006 21:05:17 +0000 (21:05 +0000)]
mod/chat - Normal method - users pane only uses keepalive when refreshing fast

To avoid wasting server resources, user's pane now only uses keepalive
when the refresh is lower than apache's timeout.

19 years agomod/chat - Normal method now supports HTTP Keep-Alive - users pane
martinlanghoff [Mon, 17 Apr 2006 21:04:47 +0000 (21:04 +0000)]
mod/chat - Normal method now supports HTTP Keep-Alive - users pane

User's pane now also uses keepalives -- if the refresh freq is below
the disconnect timeout, then it is a win. Otherwise it wastes memory
at the server end.

19 years agomod/chat - Normal method now support HTTP Keep-Alive
martinlanghoff [Mon, 17 Apr 2006 21:04:19 +0000 (21:04 +0000)]
mod/chat - Normal method now support HTTP Keep-Alive

By using output buffering, we now support HTTP Keep-Alive, which means
that each client gets tightly bound to a single apache child - this means
that we get

 + lower resource usage on the webserver
 + _much_ lower resource usage on webserver and dbserver if pconnects are used
 + a good case for further caching (memcache/mmcache)

Using ab via localhost or fast LAN using keepalives is actually slower from the
client perspective -- still lighter on the server. Via slower links (DSL/modem)
the responses are faster.

19 years agomod/chat: make http-chat more database friendly and change msg insertion to use POST
martinlanghoff [Mon, 17 Apr 2006 21:03:44 +0000 (21:03 +0000)]
mod/chat: make http-chat more database friendly and change msg insertion to use POST

+ we are now more conservative in the fields it asks from the db
+ also more conservative with upates to chat_users
+ messages are now added via POST requests instead of GET

19 years agofixed double header warning in redirect()
skodak [Mon, 17 Apr 2006 20:40:33 +0000 (20:40 +0000)]
fixed double header warning in redirect()

19 years agoMoved all question deletion code to showbank.php. Fixed bug 5186
gustav_delius [Mon, 17 Apr 2006 05:31:21 +0000 (05:31 +0000)]
Moved all question deletion code to showbank.php. Fixed bug 5186

19 years agoTidied up the upgrade dialog
moodler [Sun, 16 Apr 2006 16:56:09 +0000 (16:56 +0000)]
Tidied up the upgrade dialog

19 years agoFixed the upgrade_plugins function so that it automatically
moodler [Sun, 16 Apr 2006 16:50:55 +0000 (16:50 +0000)]
Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)

19 years agoDon't show tabs when creating admin user
moodler [Sun, 16 Apr 2006 16:49:28 +0000 (16:49 +0000)]
Don't show tabs when creating admin user

19 years agoMoodle Docs link on home page could be a bit confusing
moodler [Sun, 16 Apr 2006 16:21:50 +0000 (16:21 +0000)]
Moodle Docs link on home page could be a bit confusing

19 years agoNo agreement to license sends you to docs.moodle.org
moodler [Sun, 16 Apr 2006 16:09:12 +0000 (16:09 +0000)]
No agreement to license sends you to docs.moodle.org

19 years agoFix for chat character sets bug 5010
moodler [Sun, 16 Apr 2006 16:01:40 +0000 (16:01 +0000)]
Fix for chat character sets   bug 5010

19 years agoThe install script should always be Unicode.
moodler [Sun, 16 Apr 2006 15:58:24 +0000 (15:58 +0000)]
The install script should always be Unicode.

19 years agoRemoved blank line
moodler [Sun, 16 Apr 2006 15:56:36 +0000 (15:56 +0000)]
Removed blank line

19 years agoimproved readability of reg. exp. in adjust_media_urls function
gbateson [Sun, 16 Apr 2006 02:10:14 +0000 (02:10 +0000)]
improved readability of reg. exp. in adjust_media_urls function

19 years agoTwo more uses of format_string() agains entry->concept
stronk7 [Sat, 15 Apr 2006 19:28:26 +0000 (19:28 +0000)]
Two more uses of format_string() agains entry->concept

19 years agoFilter one more string if filterall is enabled.
stronk7 [Sat, 15 Apr 2006 19:24:44 +0000 (19:24 +0000)]
Filter one more string if filterall is enabled.

19 years agoAdded one missing string
stronk7 [Sat, 15 Apr 2006 19:21:36 +0000 (19:21 +0000)]
Added one missing string

19 years agostrstr(string haystack,string needle). We were doing the opossite. Bug 5037.
stronk7 [Sat, 15 Apr 2006 17:30:23 +0000 (17:30 +0000)]
strstr(string haystack,string needle). We were doing the opossite. Bug 5037.
(http://moodle.org/bugs/bug.php?op=show&bugid=5037)

19 years agofix "Force Plugins" behavior to correctly detect media players in JavaScript
gbateson [Sat, 15 Apr 2006 08:17:30 +0000 (08:17 +0000)]
fix "Force Plugins" behavior to correctly detect media players in JavaScript

19 years agoDOn't show intro on first page of single view
moodler [Sat, 15 Apr 2006 06:02:21 +0000 (06:02 +0000)]
DOn't show intro on first page of single view

19 years agoFIxes for bug 5197
moodler [Sat, 15 Apr 2006 02:41:27 +0000 (02:41 +0000)]
FIxes for bug 5197

19 years agoremoved outdated xxx_param() functions
skodak [Fri, 14 Apr 2006 15:57:59 +0000 (15:57 +0000)]
removed outdated xxx_param() functions

19 years agoDuring installation, if the database isn't UTF and it is empty,
moodler [Fri, 14 Apr 2006 11:57:11 +0000 (11:57 +0000)]
During installation, if the database isn't UTF and it is empty,
then try and set it to UTF automatically.

I did MySQL only, can someone tackle this for PostgreSQL?

19 years agoAnother fix for creating links.
julmis [Fri, 14 Apr 2006 09:57:41 +0000 (09:57 +0000)]
Another fix for creating links.

19 years agochanges needed for new s() and p() - see bug #2338
skodak [Fri, 14 Apr 2006 08:02:32 +0000 (08:02 +0000)]
changes needed for new s() and p() - see bug #2338

19 years agomodified instructions for uploading to "lang" directory, to reflect the fact that...
gbateson [Fri, 14 Apr 2006 07:34:59 +0000 (07:34 +0000)]
modified instructions for uploading to "lang" directory, to reflect the fact that the default Moodle 1.6 location for the "lang" directory is now within $CFG->dataroot

19 years agoDefault blog level is site level
moodler [Fri, 14 Apr 2006 06:39:14 +0000 (06:39 +0000)]
Default blog level is site level

19 years agoFIx license display
moodler [Fri, 14 Apr 2006 06:38:52 +0000 (06:38 +0000)]
FIx license display

19 years agoFIxed an alt string
moodler [Fri, 14 Apr 2006 04:58:09 +0000 (04:58 +0000)]
FIxed an alt string

19 years agoRSS feed based on modified date, not created date
moodler [Fri, 14 Apr 2006 04:53:45 +0000 (04:53 +0000)]
RSS feed based on modified date, not created date

19 years agoDisable gui for forum timed posts since we are not quite ready for it. All code is...
mjollnir_ [Fri, 14 Apr 2006 04:51:43 +0000 (04:51 +0000)]
Disable gui for forum timed posts since we are not quite ready for it. All code is still there but hidden & controlled by a config var forum_enabletimedposts.

19 years agoAfter discussion with Penny I think it's best to not include the forum
moodler [Fri, 14 Apr 2006 04:47:43 +0000 (04:47 +0000)]
After discussion with Penny I think it's best to not include the forum
timed posts in 1.6 for now.   It still needs some work and we are
running out of time.

19 years agoRemoved settings tab, see bug 5189
gustav_delius [Thu, 13 Apr 2006 21:35:24 +0000 (21:35 +0000)]
Removed settings tab, see bug 5189

19 years agostripslashes_safe() improvement - now works also for arrays and objects see bug ...
skodak [Thu, 13 Apr 2006 21:27:01 +0000 (21:27 +0000)]
stripslashes_safe() improvement - now works also for arrays and objects see bug #2338

19 years agoFixed bug 5187 that led to error when creating cloze question
gustav_delius [Thu, 13 Apr 2006 21:23:15 +0000 (21:23 +0000)]
Fixed bug 5187 that led to error when creating cloze question

19 years agoMajor fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug...
nfreear [Thu, 13 Apr 2006 16:07:12 +0000 (16:07 +0000)]
Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format.

19 years agoClean up code (Bugs 5027, 5161), 'weekscss' course format.
nfreear [Thu, 13 Apr 2006 14:37:32 +0000 (14:37 +0000)]
Clean up code (Bugs 5027, 5161), 'weekscss' course format.

19 years agoMajor fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug...
nfreear [Thu, 13 Apr 2006 14:28:36 +0000 (14:28 +0000)]
Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format.

19 years agoA few changes to improve readability/correctness.
thepurpleblob [Thu, 13 Apr 2006 12:20:39 +0000 (12:20 +0000)]
A few changes to improve readability/correctness.

19 years agoNew string - importfromthisfile
thepurpleblob [Thu, 13 Apr 2006 12:11:12 +0000 (12:11 +0000)]
New string - importfromthisfile

19 years agoMore logical wording on button to import from local file
thepurpleblob [Thu, 13 Apr 2006 12:10:28 +0000 (12:10 +0000)]
More logical wording on button to import from local file

19 years agoMerged fixes from stable
moodler [Thu, 13 Apr 2006 12:05:37 +0000 (12:05 +0000)]
Merged fixes from stable

19 years agoFIx for bug 5188 - seach with no results -> dead end
moodler [Thu, 13 Apr 2006 10:41:12 +0000 (10:41 +0000)]
FIx for bug 5188 - seach with no results -> dead end

19 years agoDon't compare floats for equality! Bug #5176
thepurpleblob [Thu, 13 Apr 2006 10:29:20 +0000 (10:29 +0000)]
Don't compare floats for equality! Bug #5176

19 years ago(Bug tracker 4997) Clean up code comments.
nfreear [Thu, 13 Apr 2006 09:44:33 +0000 (09:44 +0000)]
(Bug tracker 4997) Clean up code comments.

19 years agoDon't prefill username in shibboleth bug 5184
moodler [Thu, 13 Apr 2006 09:00:05 +0000 (09:00 +0000)]
Don't prefill username in shibboleth    bug 5184

19 years agoSOme help file polishing
moodler [Thu, 13 Apr 2006 08:55:34 +0000 (08:55 +0000)]
SOme help file polishing

19 years agoFIxed a typo
moodler [Thu, 13 Apr 2006 08:49:31 +0000 (08:49 +0000)]
FIxed a typo

19 years agoBug #5163 - user/action_redir.php should print properly formatted error
vyshane [Thu, 13 Apr 2006 08:48:51 +0000 (08:48 +0000)]
Bug #5163 - user/action_redir.php should print properly formatted error
messages

19 years agoAdded unknownuseraction string
vyshane [Thu, 13 Apr 2006 08:48:14 +0000 (08:48 +0000)]
Added unknownuseraction string

19 years agomissing courseid parameter in "grades not not add up to 100%" check.
thepurpleblob [Thu, 13 Apr 2006 08:45:11 +0000 (08:45 +0000)]
missing courseid parameter in "grades not not add up to 100%" check.

19 years agoAdded a new string idnumber course to allow more customisation bug 4337
moodler [Thu, 13 Apr 2006 08:44:20 +0000 (08:44 +0000)]
Added a new string idnumber course to allow more customisation  bug 4337

19 years agoImproved blog strings
moodler [Thu, 13 Apr 2006 06:41:49 +0000 (06:41 +0000)]
Improved blog strings

19 years agoFixed tag names in blog
moodler [Thu, 13 Apr 2006 05:55:03 +0000 (05:55 +0000)]
Fixed tag names in blog

19 years agoNew style for draft blog posts
moodler [Thu, 13 Apr 2006 05:54:44 +0000 (05:54 +0000)]
New style for draft blog posts

19 years agoStyle for the errorcode link in errors
moodler [Thu, 13 Apr 2006 05:46:24 +0000 (05:46 +0000)]
Style for the errorcode link in errors

19 years agoFixes to make print_error more useful, suggested by Sam
moodler [Thu, 13 Apr 2006 05:42:47 +0000 (05:42 +0000)]
Fixes to make print_error more useful, suggested by Sam

It can now take a module argument, and can support different link locations

19 years agoAdded default values for not nulls.
vyshane [Thu, 13 Apr 2006 03:19:00 +0000 (03:19 +0000)]
Added default values for not nulls.

19 years agoAdded default values for not nulls
vyshane [Thu, 13 Apr 2006 03:16:41 +0000 (03:16 +0000)]
Added default values for not nulls

19 years agoAdded default values for not nulls.
vyshane [Thu, 13 Apr 2006 03:11:32 +0000 (03:11 +0000)]
Added default values for not nulls.

19 years agoAdded default value for not null.
vyshane [Thu, 13 Apr 2006 02:55:27 +0000 (02:55 +0000)]
Added default value for not null.

19 years agowarning for guest when viewing blogs
toyomoyo [Thu, 13 Apr 2006 02:48:14 +0000 (02:48 +0000)]
warning for guest when viewing blogs

19 years agoWas trying Eloy's suggestion here http://moodle.org/mod/forum/discuss.php?d=43041
moodler [Thu, 13 Apr 2006 01:34:26 +0000 (01:34 +0000)]
Was trying Eloy's suggestion here http://moodle.org/mod/forum/discuss.php?d=43041
but wasn't working for some reason ... checking in as commented to work on later.
The lkudge seems to be working pretty well for now.

19 years agofix for #5173
toyomoyo [Thu, 13 Apr 2006 01:32:10 +0000 (01:32 +0000)]
fix for #5173

19 years agoFixed problem with slashes, bug 5177
gustav_delius [Thu, 13 Apr 2006 00:37:14 +0000 (00:37 +0000)]
Fixed problem with slashes, bug 5177

19 years agoNow there is an option to see all attempts, even for users who have since unenrolled...
gustav_delius [Thu, 13 Apr 2006 00:02:36 +0000 (00:02 +0000)]
Now there is an option to see all attempts, even for users who have since unenrolled. That is necessary in order to be able to delete these attempts, see http://moodle.org/mod/forum/discuss.php?d=34421

19 years agoFixed display of information about existing attempts.
gustav_delius [Wed, 12 Apr 2006 23:24:58 +0000 (23:24 +0000)]
Fixed display of information about existing attempts.

19 years agouse function from questionlib.php to delete attempt data
gustav_delius [Wed, 12 Apr 2006 22:57:01 +0000 (22:57 +0000)]
use function from questionlib.php to delete attempt data

19 years agoDon't show users who have unenrolled.
gustav_delius [Wed, 12 Apr 2006 22:48:58 +0000 (22:48 +0000)]
Don't show users who have unenrolled.
Show display options also when current options lead to empty table.

19 years agoDifference between copy, the verb and copy, the noun, because they
stronk7 [Wed, 12 Apr 2006 21:53:45 +0000 (21:53 +0000)]
Difference between copy, the verb and copy, the noun, because they
are different in a lot of languages. Bug 5172.
(http://moodle.org/bugs/bug.php?op=show&bugid=5172)

19 years agoneed to check vars aren't empty b4 using them! - another one!
danmarsden [Wed, 12 Apr 2006 21:15:10 +0000 (21:15 +0000)]
need to check vars aren't empty b4 using them! - another one!