]> git.mjollnir.org Git - moodle.git/log
moodle.git
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!

19 years agominor coding style fixes
skodak [Wed, 12 Apr 2006 21:02:03 +0000 (21:02 +0000)]
minor coding style fixes

19 years agoadded the CSS for the bullets for lists within activities for the start pages and...
urs_hunkler [Wed, 12 Apr 2006 20:27:30 +0000 (20:27 +0000)]
added the CSS for the bullets for lists within activities for the start pages and the course page. made teh CSS more specific than David proposed it.

19 years agocopied list handling CSS from cssweek format section to general course section and...
urs_hunkler [Wed, 12 Apr 2006 19:56:42 +0000 (19:56 +0000)]
copied list handling CSS from cssweek format section to general course section and added handling for section lists on the index page

19 years agoNew optional parameter to s() and p() allowing to specify
stronk7 [Wed, 12 Apr 2006 17:39:23 +0000 (17:39 +0000)]
New optional parameter to s() and p() allowing to specify
if we want to strip slashes (data coming from forms) or no
(data coming from DB, the default). Bug 2338.
(http://moodle.org/bugs/bug.php?op=show&bugid=2338)

19 years agogeneral cleanup of xxx_parameter() functions
skodak [Wed, 12 Apr 2006 16:59:51 +0000 (16:59 +0000)]
general cleanup of xxx_parameter() functions

19 years agoPARAM_BOOL now accepts "yes/no" too
skodak [Wed, 12 Apr 2006 16:55:47 +0000 (16:55 +0000)]
PARAM_BOOL now accepts "yes/no" too

19 years agogeneral cleanup of xxx_parameter() functions; fixed broken requesting of courses
skodak [Wed, 12 Apr 2006 16:41:10 +0000 (16:41 +0000)]
general cleanup of xxx_parameter() functions; fixed broken requesting of courses

19 years agofinal fix for category and courses edit button
skodak [Wed, 12 Apr 2006 16:28:11 +0000 (16:28 +0000)]
final fix for category and courses edit button

19 years agoFixed the case where a user would manually log in with an unknown username
exe-cutor [Wed, 12 Apr 2006 14:54:01 +0000 (14:54 +0000)]
Fixed the case where a user would manually log in with an unknown username

19 years ago(no commit message)
nfreear [Wed, 12 Apr 2006 13:22:19 +0000 (13:22 +0000)]

19 years agoInitial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making...
nfreear [Wed, 12 Apr 2006 11:14:03 +0000 (11:14 +0000)]
Initial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making CSS-selectors #course-view .section .side more specific (td.side).

19 years agoInitial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making...
nfreear [Wed, 12 Apr 2006 10:54:48 +0000 (10:54 +0000)]
Initial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making CSS-selectors #course-view .section .side more specific (td.side).

19 years agoFixed up print_error according to original plan
moodler [Wed, 12 Apr 2006 09:32:19 +0000 (09:32 +0000)]
Fixed up print_error according to original plan

   see also http://moodle.org/mod/forum/discuss.php?d=43712

19 years agoAccessibility: fix to .headerskip, new class .debugwarn.
nfreear [Wed, 12 Apr 2006 09:14:46 +0000 (09:14 +0000)]
Accessibility: fix to .headerskip, new class .debugwarn.

19 years agolib.php renamed to locallib.php
ethem [Wed, 12 Apr 2006 09:13:20 +0000 (09:13 +0000)]
lib.php renamed to locallib.php

19 years agoAdded default value for enum that has been defined as not null.
vyshane [Wed, 12 Apr 2006 09:01:07 +0000 (09:01 +0000)]
Added default value for enum that has been defined as not null.

19 years agosome more small fixes
toyomoyo [Wed, 12 Apr 2006 08:58:49 +0000 (08:58 +0000)]
some more small fixes

19 years agoStrip tags from final RSS feed name
moodler [Wed, 12 Apr 2006 08:58:20 +0000 (08:58 +0000)]
Strip tags from final RSS feed name

19 years agoFIx notices and logic when deleting files and checking resources. bug 5156
moodler [Wed, 12 Apr 2006 08:53:24 +0000 (08:53 +0000)]
FIx notices and logic when deleting files and checking resources.   bug 5156