50 Commits

Author SHA1 Message Date
moodler
3a4c2fd089 I knew there was something else I'd forgotten!
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not.  If it is, then students get a message.
2003-05-15 18:03:22 +00:00
stronk7
5094d166b7 Changed to show the hidden choices dimmed (bug #364) 2003-04-24 16:47:06 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
f8c898243d Editing with Richtext wasn't working ... fixed now (typo) 2003-01-10 13:07:41 +00:00
moodler
c897eac5e4 Some small robustness things, and a new style for quiz feedback text 2003-01-08 09:08:05 +00:00
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
moodler
58d6d79145 Default values 2003-01-06 08:44:03 +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
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
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
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
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
23877f9407 never upgraded choice tables to six choices! 2002-10-24 03:43:37 +00:00
moodler
417e6821bd Removed some blank lines that were causing output 2002-10-17 10:33:13 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
moodler
b4ab71a6db Fixed links in navigation 2002-10-02 02:24:19 +00:00
martin
3182314d5c Prevent guests from submitting choices or assignments 2002-09-24 09:02:34 +00:00
martin
cdf6a3ca28 Text window a bit bigger 2002-09-08 09:47:10 +00:00
martin
cd3fccff00 Choices now support up to 6 choices. Backward compatible to 2-choice format. 2002-09-08 09:42:07 +00:00
martin
1ff53f25ac Updated versions in preparation for 1.0 release tomorrow 2002-08-18 16:39:50 +00:00
martin
ac1b97570b Preview how many responses have been made (for teacher) 2002-08-18 09:52:51 +00:00
martin
66062dd310 Sort names by firstname, and include even columns with no answers 2002-08-18 09:47:59 +00:00
martin
da664183e1 Cleaned up the Choice report - it's easier to make sense of now 2002-08-18 09:43:01 +00:00
martin
6821bec5d7 Modernised insert and update of answers (using standard functions) 2002-08-12 08:56:36 +00:00
martin
c4016bc1db Language changes to choice module 2002-08-12 08:28:04 +00:00
martin
f9641a9d24 Updated version numbers 2002-08-04 16:42:27 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
04eba58f57 Moved all mod.php functions from modules into lib.php, and
updated course/mod.php to use them there.  No longer need module/mod.php
2002-08-03 02:29:21 +00:00
martin
7ea53a1fb1 Removed fullname and search fields from modules table. Fullname is now
derived from the string 'modulename' in the lang files for each module.
2002-08-02 17:42:59 +00:00
martin
96c2453634 Clean up - modernised choice mod.php 2002-08-01 05:34:00 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
12b820c227 Changes to suit new upgrading procedure (admin/index.html) 2002-07-27 06:07:49 +00:00
martin
0d22e7cc7e Got rid of the user.php code fragments and implemented much cleaner
system which certain-named functions in lib.php ... called from /course/user.php
2002-07-25 13:48:14 +00:00
martin
37b155148d Slight formatting tweaks (forum index) 2002-07-20 18:20:19 +00:00
martin
da8b7aa7a5 Fix to update_module_icon (to pass the courseid) 2002-07-04 07:48:44 +00:00
martin
77775bff99 Minor formatting tweaks 2002-06-25 16:42:34 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
5575a053d3 Changes to put update/edit icons in the headers of module and course pages 2002-06-08 06:52:00 +00:00
martin
873960de8c Changes related to timezone display. Datetime display now uses userdate()
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
9d99fef442 Added new entries for log_display table. These are used to define what
to display for any given logged item.
2002-05-31 09:14:00 +00:00
martin
5eb45fa058 Various small fixes across all modules. Most notable was the revised
use of add_to_log, and the new logging format.
2002-05-31 09:07:11 +00:00
martin
d78e2e84ff This is the new format for database schema. Each module has a db directory
with one file per database.  All these are called from admin/index.php and
work in concert with lib/db.
2002-05-31 09:03:46 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00