22 Commits

Author SHA1 Message Date
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
97898ac9c2 Customisable section 0 on social forum 2002-08-03 11:58:40 +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
9084509828 Lots of changes related to module info used in course listings and
activity reports.  Module names are now from lang files, not from
the modules table.  Cleanups.
2002-08-02 17:38:18 +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
388f8911e3 Can now specify course by "short name" using name parameter. Useful for
integrating with external interfaces.  Thanks to dopey for the idea.
2002-07-29 13:10:25 +00:00
martin
7468bf014f Part of "contributions" overhaul in course/user.php 2002-07-23 16:24:12 +00:00
martin
c31ebf26c7 Doesn't display discussions AND forums in the Activities 2002-07-20 18:50:23 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +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
e07635f4d0 Changes related to new forum type: eachuser and some general forum-related tweaking 2002-06-25 06:47:34 +00:00
martin
0b35af180a Added a "topics" format. it's very similar to the "Weeks" format,
except it isn't constrained by times.  Useful for flexible courses
where the pace isn't known and is subject to change.  The teacher
can "mark" the current topic and change this marking as necessary.
2002-06-19 05:04:31 +00:00
martin
c629ec1b1d Tweaks to course format (search box) 2002-06-11 07:27:31 +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
13c7e2719a Modified weekly course format with "People" section and sorted activity modules 2002-06-01 09:44:06 +00:00
martin
600149be34 New logging format
Improved "Recent Activity" on home page
Better formatting.
Many other small fixes.
2002-05-31 09:34:50 +00:00
martin
0d97d1e35f Fixed up use of isteacher (removed isadmin check because it's done in isteacher now) 2002-04-03 06:36:04 +00:00
martin
a69023cf46 Allow admin to do anything the teacher can do 2002-03-16 06:19:02 +00:00
martin
4567fb7145 Updated to accomodate new "social" format 2002-02-26 06:34:29 +00:00
martin
21ddaf605c Several changes related to the front page, so that it now works OK. 2001-11-25 15:48:24 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00