moodler
a2fe7cc0dc
Changed three fields to avoid SQL problems with PostgreSQL etc:
...
quiz_truefalse: true->trueanswer and false->falseanswer
quiz_questions: type->qtype
2003-01-03 16:01:48 +00:00
moodler
36b4f9852e
buggy_referer is dead! Long live buggy_referer!
...
Should be fixed now. As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.
All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).
Much nicer.
2003-01-02 14:49:23 +00:00
moodler
24cd45467f
Site news forum defaults to the "Site news" string
2003-01-02 10:54:00 +00:00
moodler
51ba6ad642
Define forum type all the time
2003-01-02 10:46:52 +00:00
moodler
61e96406df
Robustness fixes
2003-01-02 10:35:11 +00:00
moodler
8e6c87ccf3
Teachers can choose to allow review of quizzes, which means that students
...
are allowed to see past quizzes. This only works once the quiz is completely
closed (to perhaps prevent easy cheating).
2003-01-01 14:47:11 +00:00
moodler
8ac3158791
Robustness fixes
2003-01-01 13:17:27 +00:00
moodler
7f7f2cca29
Robustness
2003-01-01 07:18:43 +00:00
moodler
f747744495
More robustness fixes
2003-01-01 06:34:54 +00:00
moodler
6d6c938999
New feature: choices can now be published (like polls) with names
...
or without.
2003-01-01 06:34:13 +00:00
moodler
366287b705
Old file
2003-01-01 05:39:30 +00:00
moodler
5eda92d0e2
Little robustness fixes
2002-12-30 15:47:54 +00:00
moodler
814ada432c
Fixes to XLS routines that were causing some problems
2002-12-30 15:46:15 +00:00
moodler
47f1da80d0
More little fixups for robustness
2002-12-30 05:13:43 +00:00
moodler
c04c41c7d2
Many little fixes and cleanups for robustness
2002-12-30 05:10:01 +00:00
moodler
0ae5e5ea2d
Fix default cursor
2002-12-30 03:38:59 +00:00
moodler
9c9f7d7790
Various little fixes to remove warnings (usually about empty variables)
...
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
57117c20d5
fixed user --> userid
2002-12-28 13:05:03 +00:00
moodler
8c8a471356
Added "source" mode in richtext editor
2002-12-26 16:27:44 +00:00
moodler
f7a5c8fafd
Added new "Program" resource type, which allows Moodle to cooperate
...
with external web applications by passing info about the current
session to them.
Code contributed by Mark Kimes.
2002-12-24 07:01:03 +00:00
moodler
97485d0726
More database tweaks and improved access to forum search engine
2002-12-23 15:33:40 +00:00
moodler
31fefa636d
More database tweaking ... looking pretty good with PostgreSQL now
2002-12-23 13:48:31 +00:00
moodler
a3eea09cc9
More fixes for postgreSQL etc
2002-12-23 11:47:17 +00:00
moodler
b6c38cec93
Slight fixes to headings
2002-12-23 10:18:51 +00:00
moodler
ebc3bd2b24
Changes throughout Moodle to remove any reserved words from the
...
Moodle tables.
ie user -> userid in many tables, plus in user_students
start -> starttime and end -> endtime
I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.
Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
1f48942e7d
Further SQL cleanups
2002-12-23 07:01:06 +00:00
moodler
e323955db8
Changes to use new database stuff
2002-12-23 05:57:05 +00:00
moodler
bdc23be0ff
CHanges for new database table commands
2002-12-22 13:55:30 +00:00
moodler
d26d7ed0c3
Changes to make things work again :-)
2002-12-22 06:15:44 +00:00
moodler
9fa49e22ab
Many many changes lumped in here ... not finished yet either.
...
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.
Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL. I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php
Still working on forums, quizzes, surveys, resources.
The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
bdce039ca5
Slight updates such as removing old functions
2002-12-20 07:21:09 +00:00
moodler
f6680cfa4a
Put a space under the colon
2002-12-15 04:27:51 +00:00
moodler
4181fce9f9
Moved a colon (there's a joke about farts in there somewhere)
2002-12-15 04:26:44 +00:00
moodler
fd790dfb55
Database and upgrade files for PostgreSQL 7 support!
2002-12-15 02:41:07 +00:00
moodler
7be475f601
New consistent help buttons for textarea fields throughout all modules
2002-12-13 09:06:30 +00:00
moodler
f830b324cf
Fixed two missing strings
2002-12-12 03:14:13 +00:00
moodler
d34189e123
Added styles for forum posts
2002-12-10 02:48:05 +00:00
moodler
4499b2e273
Slight alteration of colouring on printed posts
2002-12-09 10:49:44 +00:00
moodler
9307692fdf
Add a javascript confirmation when submitting a quiz attempt
2002-12-09 08:20:19 +00:00
moodler
5e367a2d56
Various little tweaks to improve the display of course home
...
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler
467aaec630
Small changes to tables to make them display better with Japanese
2002-12-07 08:39:24 +00:00
moodler
81ef6a5ee5
Removed the "zero" value altogether
2002-12-07 04:20:35 +00:00
moodler
ff4f23fdcc
Better checking of existing value, in case it's not in the list
2002-12-07 04:00:05 +00:00
moodler
048ccc473a
Highlight matches in post subject and discussion name too
2002-11-28 09:10:22 +00:00
moodler
88e729beed
Add searching of subjects as well as messages
2002-11-28 09:04:04 +00:00
moodler
64efda84b5
Fixes to increase the number of options available to limit assignment
...
upload size, and also to limit the list based on PHP limits
2002-11-28 02:41:56 +00:00
moodler
83173d563c
For the case when there are forums using ratings, but no ratings, and
...
the teacher is looking at grades, don't try and loop on an empty array
2002-11-26 02:29:54 +00:00
moodler
02accd9c6a
Fixed a bug from reusing newsubmission variable
2002-11-21 10:26:54 +00:00
moodler
62c13a2f3e
Changed all references of %e to %d to fix strftime on Windows
2002-11-19 14:27:57 +00:00
moodler
085bd98e7e
Add option that allows students to resubmit after being graded
2002-11-15 03:32:30 +00:00