103 Commits

Author SHA1 Message Date
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
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
14147859ce Make sure we still log the fact that the teacher logged in as someone though.
Also, make the "realuser" the teacher's id, in case we want to use it later
2002-08-01 07:09:39 +00:00
martin
bae3097095 Added "realuser" to USER variable to identify imposters 2002-08-01 07:04:31 +00:00
martin
7ad5e3ad7d removed TABS and changed wording (your -> this) 2002-08-01 06:16:43 +00:00
martin
07e1f18900 Fixed use of reading functions (it had changed name) 2002-08-01 05:55:23 +00:00
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
fbc797635e Better logging for guest when enrolling 2002-07-31 17:11:46 +00:00
martin
36d4a9a193 A fix to recent log display 2002-07-31 16:24:40 +00:00
martin
59578f49d3 Tweak on readings display on social course 2002-07-31 15:52:44 +00:00
martin
37f5ff0960 is_subscribed => forum_is_subscribed 2002-07-31 15:39:03 +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
9dc79114c2 Fixed bug in subscribe link 2002-07-30 03:35:53 +00:00
martin
2c309dc22a Definition and use of new isediting() function for checking whether a user
is not only in editing mode, but ALLOWED to be editing the current course.
Used to show editing buttons etc
2002-07-29 15:45:46 +00:00
martin
9690be38ff Much simpler date-setting using new moodlelib functions 2002-07-29 15:10:21 +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
58918d13db Slight fix for daily x-axis (nicer-looking numbers) 2002-07-29 01:38:31 +00:00
martin
394933864c Fixed up the graphs (one for userday and they are also now correct for timezones) 2002-07-27 13:33:50 +00:00
martin
2b8cef8038 Changes to improve the user activity reports 2002-07-27 09:44:01 +00:00
martin
cbc83a39f3 Fixed up graph pages 2002-07-27 08:35:13 +00:00
martin
c24d3070cc Improvements to user activity report - including graphs 2002-07-27 08:31:09 +00:00
martin
359b138b5d Changes to how functions are called from modules - much cleaner now 2002-07-25 13:47:11 +00:00
martin
56e234f204 cough 2002-07-23 18:26:58 +00:00
martin
6ee410e3c3 title tweaking 2002-07-23 18:26:01 +00:00
martin
49a6849ee5 Formatting outline tweaks 2002-07-23 18:24:11 +00:00
martin
5110affbb7 H3 -> H4 2002-07-23 18:20:24 +00:00
martin
82f5285f5f Fixes to Activity reports 2002-07-23 17:04:31 +00:00
martin
bbfe835ba3 Improvements to activity reports 2002-07-23 16:48:47 +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
37b155148d Slight formatting tweaks (forum index) 2002-07-20 18:20:19 +00:00
martin
7ddb84b5e5 Fixed formatting of welcome email 2002-07-19 12:18:12 +00:00
martin
9fd9fe68c1 typo 2002-07-19 12:11:47 +00:00
martin
7ff56f2d4a Altered blink to make it less annoying 2002-07-19 12:11:15 +00:00
martin
97b3785424 Make 'Edit profile" link blink, as a reminder, if not used yet 2002-07-19 12:08:30 +00:00
martin
af978a6dc4 More language changes 2002-07-19 12:01:35 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
72e62a9ec7 Fixed week zooming 2002-07-10 15:17:43 +00:00
martin
f9730aefef Remove teacher posts from recent activity (for students) 2002-07-04 08:49:22 +00:00
martin
82aa0e8de6 Added new teacher forum. TABLE CHANGED: forum 2002-07-04 08:30:36 +00:00
martin
95f48e102e Prevent caching of these forms 2002-07-04 08:06:21 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +00:00
martin
77775bff99 Minor formatting tweaks 2002-06-25 16:42:34 +00:00
martin
e3f0a6a737 Minor changes 2002-06-25 12:08:38 +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
578fdd0a03 Renamed from editweek to editsection 2002-06-25 11:46:12 +00:00
martin
a079d4c1a0 Renamed week->section 2002-06-25 11:44:11 +00:00
martin
d9d1c35db1 Nicer formatting of editing modules, takes into account course format 2002-06-25 07:56:26 +00:00