61 Commits

Author SHA1 Message Date
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
stronk7
8033a70237 Included choice_get_participants() function. 2003-09-04 22:18:14 +00:00
moodler
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
stronk7
902142c079 Added language support 2003-07-28 19:32:51 +00:00
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
d7c93ec8fa Moving the backup libraries for each module into their new homes.
There's some beer and pies in the fridge, guys, settle in.
2003-07-09 04:40:35 +00:00
moodler
51600d9dab Fixed some accidental lowercasing 2003-07-07 11:52:05 +00:00
moodler
717f40c6d8 Some fixes to avoid pointless uses of $ME 2003-06-16 14:40:51 +00:00
moodler
353d033843 get_course_users now calls get_site_users if the course is a site.
There is something wrong with this SQL still though ... it mostly works
but I'm still getting wierd behaviour with small numbers of users.

Need some help here ...  for example just look at get_site_users()
on your test site.

It's supposed to return a list of users who are admins, creators,
teachers or students
2003-05-20 09:33:30 +00:00
moodler
11697b48ea Minor code cleanups
- lowercasing
  - removing short php tags
  - adding some emoticon help here and there
2003-05-20 08:03:12 +00:00
moodler
8b50d2a76e Some fixes to make choice reports work better when used at site level.
PLus some HTML lowercasing
2003-05-17 06:17:10 +00:00
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