Commit graph

713 commits

Author SHA1 Message Date
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
3b7c1de95e Changes to improve robustness of uploads, and make things compatible
with PHP 4.3.0.  Also some translation fixes with upload strings.
2003-01-05 04:20:32 +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
f747744495 More robustness fixes 2003-01-01 06:34:54 +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
8c8a471356 Added "source" mode in richtext editor 2002-12-26 16:27:44 +00:00
moodler
a3eea09cc9 More fixes for postgreSQL etc 2002-12-23 11:47:17 +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
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
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
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
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
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
moodler
ff446576af Small fix just in case numfiles isn't set ... it will still try to display
files if timemodified is set ... workaround for possible bug
2002-11-12 05:05:21 +00:00
moodler
c75f5b4348 Small tweak to specify specifically number of files in an update 2002-11-12 04:59:28 +00:00
moodler
dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
941dd21efb Fixes and simplification 2002-11-06 08:54:28 +00:00
moodler
4242a73f37 Bug fix on record counting 2002-11-06 08:44:44 +00:00
moodler
b7b4287462 Added new type of assignment - offline.
This type of assignment doesn't require anything of the student online,
it just tells them about an assignment and the teacher can provide
feedback and grades.  Useful for offline activities, and also for the
teacher to add manual columns to the grades page
2002-11-06 08:12:06 +00:00
moodler
41f2f344ab Show date in red if assignment date has passed 2002-10-28 02:25:18 +00:00
moodler
f59d8272e8 Use translated strings for all upload feedback 2002-10-28 02:24:38 +00:00
moodler
52ab14dd82 Fixed "uploaded assignment" (uploadsuccess) string 2002-10-28 01:30:00 +00:00
moodler
4b9b2f0fe4 Fixed display of "done" assignments 2002-10-20 05:35:48 +00:00
moodler
cf094bd4b4 Better help with text formats 2002-10-18 09:38:58 +00:00
moodler
9809249838 Better grade reports 2002-10-17 08:28:18 +00:00
moodler
858deff0b4 Now includes maximum grades 2002-10-17 07:55:54 +00:00
moodler
d0ac6bc236 Added new grading functions to work with course/grades.php 2002-10-17 07:23:51 +00:00
moodler
b425749fc3 Teacher can now use the richtext editor to edit the assignment text 2002-10-16 05:31:56 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
4b9318947c Added a new string to make it very clear how to upload assignments 2002-10-11 01:58:24 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
moodler
518d37151d Use main version of "maximum grade" string 2002-10-04 02:55:27 +00:00
martin
3182314d5c Prevent guests from submitting choices or assignments 2002-09-24 09:02:34 +00:00
martin
3446205d44 Added assignments under "Recent Activity" 2002-09-22 06:41:56 +00:00
martin
a16c2180d0 Make sure user language works OK (it does now) 2002-09-21 08:40:27 +00:00
martin
a5a4cd60cb Make sure mailouts are in the user's chosen language 2002-09-21 07:46:30 +00:00
martin
5a34779307 Slight improvements to documentation 2002-08-28 13:20:20 +00:00
martin
ca4f8eb868 Moved uploaded assignment files into a subdirectory called moddata,
where data from other modules can also live later on.

Also added a README for that directory to warn teachers not to mess
with it, version code to perform the upgrade, tweaks to assignment/lib.php
and a tweak to reading module so that assignment files aren't listed
in the list of possible readings (could get messy).
2002-08-28 13:07:10 +00:00
martin
3f8247c2ea Changes to use a new configuration variable: CFG->slasharguments
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
1ff53f25ac Updated versions in preparation for 1.0 release tomorrow 2002-08-18 16:39:50 +00:00
martin
76e73fea6d Fixed some missing language strings 2002-08-17 11:32:59 +00:00
martin
012f9f77d7 Some more missed language strings 2002-08-17 08:59:12 +00:00
martin
7482d8b9f5 Small fix to the full list of available assignments 2002-08-10 14:56:31 +00:00