martinlanghoff
05acf8e974
moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515
2006-05-17 06:43:21 +00:00
martinlanghoff
ccd218ee4b
moodle16cleanup: lib/db correctly put the default values, change the
...
length of log_display.module which is just 20 chars on postgres7.sql
2006-05-17 06:36:31 +00:00
martinlanghoff
f172091567
moodle16cleanup: mod/dialog we need to drop some more dialog module tables
2006-05-17 06:34:19 +00:00
martinlanghoff
66c7e47b27
blocklib: cache (and used cached) block instances properly in $pageblocks
...
Now blocks_have_content() caches instantiated block objects inside $pageblocks
and blocks_print_blocks() uses them if available. This behaviour now matches
the documentation: blocks instances are created only once, get_content()
may be invoked several times.
A better fix would be to cache the _output_ of the block (the ->content
property) but it may bite us if any block is counting on being called twice.
Discussion at: http://moodle.org/mod/forum/discuss.php?d=45867
2006-05-17 04:39:43 +00:00
skodak
f231e867f0
I hope this is the last patch for header already printed trouble in error() and redirect(); merged from MOODLE_16_STABLE
2006-05-16 20:31:22 +00:00
nfreear
f73e218f40
Merge from STABLE. Fix bug 5477...
2006-05-16 12:27:21 +00:00
vyshane
9b18fc3b83
Commiting merge from 1.6.
2006-05-16 07:07:04 +00:00
vyshane
84bada7dea
Fix for Bug #5467 . Converted newlines to unix format. Removed extra lines at
...
the end of php scripts. Converted tabs to spaces in php scripts.
2006-05-16 06:45:14 +00:00
stronk7
4a428b5f5c
Updated to latest version (1.56). Bug 5165.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5165 )
Merged from MOODLE_16_STABLE
2006-05-15 23:31:50 +00:00
skodak
2c3432e684
fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848 ; merged from MOODLE_16_STABLE
2006-05-15 21:36:46 +00:00
skodak
70ed990ed2
fixed secure forms handling when POST url contained GET parameters (cookieless mode and some other forms); merged from MOODLE_16_STABLE
2006-05-14 21:21:35 +00:00
skodak
cc50d6664f
I hope final fix for warnings when using error() after print_header() with buffering on, solution was to flush all buffers and reenable SID rewrite when needed; merged from MOODLE_16_STABLE
2006-05-14 17:23:29 +00:00
gustav_delius
36be25f6e5
Introduce question_attempts table, closing bug 5468
...
Fixed incorrect check for whether to update state or insert new one in save_question_session()
Deal with manually graded states correctly during regrading
Increase state sequence number during manual grading
Supplied missing userid to quiz_save_best_grade() during manual grading
2006-05-13 16:57:17 +00:00
stronk7
ef668fcf99
Changing session->data to medium text. Bug 5406.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5406 )
Merged from MOODLE_16_STABLE
2006-05-08 16:39:34 +00:00
thepurpleblob
6cb4910c58
Merged from STABLE
2006-05-08 10:39:14 +00:00
vyshane
36914ff6a7
Changed the 'module' field length to 20 in the log_display table (Bug #5419 ).
...
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.
2006-05-08 03:16:04 +00:00
vyshane
7235ae23f1
Fix for Bug #5419 - Inconsistency between log_display and log tables
2006-05-05 08:42:29 +00:00
toyomoyo
e503f30d10
merged fix for 5426
2006-05-04 09:40:33 +00:00
toyomoyo
f009d079ec
fix for 3644 merged
2006-05-04 06:56:43 +00:00
stronk7
e6af2cad22
Added two new functions: set_column() and set_row()
...
(http://moodle.org/mod/forum/discuss.php?d=44634 )
2006-05-02 15:28:02 +00:00
thepurpleblob
9c802dff19
Bunch of category functions moved to question/editlib.php
2006-05-02 12:26:36 +00:00
thepurpleblob
947217d725
Small clean up, and fix a link to a required file for robustness.
2006-05-02 09:04:38 +00:00
moodler
152a90601b
Merged fixes from stable (undoing category visibility changes)
2006-05-02 07:56:25 +00:00
stronk7
bb4a5741d1
Isolating debug and perfdebug behaviours...now
...
each one controls its own output.
2006-05-01 23:16:48 +00:00
skodak
aaeaa4b007
fixed alternative salt index range - now allowed 1...20
2006-05-01 21:32:49 +00:00
skodak
6d706916bd
double header in error() workaround
2006-05-01 21:31:12 +00:00
toyomoyo
8d92d7ad71
info column is missing a key
2006-05-01 02:34:29 +00:00
skodak
4908ad3ebf
added optional salting of user passwords stored in internal table - first part; admin UI and docs coming soon (SC#236)
2006-04-30 21:02:28 +00:00
gustav_delius
2b44d03f81
Error message for when a questiontype is missing is prepended to question text.
2006-04-30 17:33:00 +00:00
gustav_delius
2e9b6d157c
Fixed bug 5192
2006-04-30 16:15:04 +00:00
gustav_delius
ca56222d50
Fixed and simplified the logic in the response processing. Remove the walking through previous graded states.
2006-04-30 11:45:14 +00:00
gustav_delius
c4c11af898
Now that the shuffling within a question can be controlled also at question level the default at the module level needs to be set to true, otherwise people can not test the question setting.
2006-04-30 08:11:49 +00:00
toyomoyo
0327c40abb
bug fix for 5303. hope i didn't break anything >_<
2006-04-28 03:18:56 +00:00
skodak
3f73372fe5
fixed warning when no stats data yet
2006-04-26 21:13:45 +00:00
toyomoyo
cb24115c8e
trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap!
2006-04-26 05:48:04 +00:00
moodler
35ca0d6a45
Add a new function fullclone() to forcibly make a complete copy of a structure
2006-04-26 04:39:34 +00:00
martinlanghoff
b76169a214
filterlib/filter_phrases() - try to escape magic characters used internally by the filter mechanism -- Bug#5236 / WR#422
...
This is an attempt to fix filter problems caused by glossary matches on %
(which also affect matches on * and #). Works for the sample cases I have,
but we may be breaking subtly in other places.
2006-04-25 22:47:42 +00:00
stronk7
f809df70ce
Avoided some notices when one block has been deleted from moodle/blocks
...
and from blocks admin page and their instances haven't been deleted.
We should build some sort of check to do all the house-cleaning of "orphaned"
blocks, perhaps each time we arrive to the blocks admin page.
2006-04-24 15:01:35 +00:00
vyshane
c343bc8831
Fixing inserts for log_display table.
2006-04-24 08:55:29 +00:00
vyshane
4dd8464f3d
Fixed insert statements for log_display table
2006-04-24 08:02:17 +00:00
vyshane
cfd2188118
Fixed insert error for log_display
2006-04-24 07:55:06 +00:00
vyshane
cfd8facee6
Added primary key definition for log_display
2006-04-24 07:44:27 +00:00
toyomoyo
3dba170e7d
adding dropindex and addindex for modified tags table
2006-04-24 06:20:30 +00:00
toyomoyo
808f9930b3
adding proper _idx postfix
2006-04-24 06:00:37 +00:00
toyomoyo
31513aa13e
changing tags->text to varchar 20, created index on tags(type, userid), and tags(text)
2006-04-24 05:53:06 +00:00
vyshane
36e6706eb0
Bumped version number for last changes
2006-04-24 02:28:02 +00:00
vyshane
721cb8678d
Bug #5254 - live logs
...
Cleanup for duplicate module/action combinations. Added id field for
log_display table and added an index moduleaction.
2006-04-24 02:24:18 +00:00
patrickslee
2544a80de1
PostgreSQL 8 compatibility fix for database character set detecting
2006-04-23 23:39:56 +00:00
skodak
d2b23346c9
block editing now uses PARAM_BOOL
2006-04-23 20:58:06 +00:00
skodak
6cf4cbbdf9
added FIX ME notice for inclusion of format.php
2006-04-22 17:21:21 +00:00