73 Commits

Author SHA1 Message Date
moodler
5eda92d0e2 Little robustness fixes 2002-12-30 15:47: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
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
83173d563c For the case when there are forums using ratings, but no ratings, and
the teacher is looking at grades, don't try and loop on an empty array
2002-11-26 02:29: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
cdc27f74a3 Added navmenu for journal edit page 2002-11-10 11:44:58 +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
46217d06b5 Language fixes 2002-11-06 07:40:36 +00:00
moodler
629e937352 Added journal_grades() so journals show up in the Grades page 2002-10-21 06:42:58 +00:00
moodler
cf094bd4b4 Better help with text formats 2002-10-18 09:38:58 +00:00
moodler
18de986eb1 Actually, let's include journals that have no feedback yet as well. 2002-10-16 07:18:07 +00:00
moodler
8bff8ad835 When a teacher is giving feedback, entries that have been modified since
the last time a teacher has given feedback are highlighted.
2002-10-16 07:15:36 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
5a84640bd1 Tweaks to use new javascript-printing function etc 2002-10-12 15:01:17 +00:00
moodler
e1947876ec Moved the object code out into a function print_textarea 2002-10-12 07:23:16 +00:00
moodler
b2a5ee1822 Added richtext to Journal entries. 2002-10-12 06:20:56 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
martin
74ed07ac86 Prevent guests even seeing the edit button 2002-09-24 09:06:17 +00:00
martin
bbe3efd8e1 Some comments to indicate standard and other functions 2002-09-22 04:29:18 +00:00
martin
a2b71b6d71 Whoops typo - left in some old stuff 2002-09-22 03:17:29 +00:00
martin
03af47eee3 SHow number of journal entries in the teacher link to report 2002-09-22 03:16:40 +00:00
martin
3bf90da5f6 Use log URL for link to journal 2002-09-22 03:13:10 +00:00
martin
3869a2ac3d Changes to print_recent_activity in course/lib.php. It is now more
modular (at slight cost to performance) and every modules can now
have a module_print_recent_activity() function.  This function
takes a list of logs, searches for things to display and does so.

So far I've done forum and journal functions
2002-09-21 17:11:08 +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
1ff53f25ac Updated versions in preparation for 1.0 release tomorrow 2002-08-18 16:39:50 +00:00
martin
012f9f77d7 Some more missed language strings 2002-08-17 08:59:12 +00:00
martin
3db1919baf More language fixes 2002-08-12 09:38:31 +00:00
martin
f282e6314c Cron tidy-ups 2002-08-05 08:40:00 +00:00
martin
dcd3dc47ac WHoops - typo on function call 2002-08-04 18:19:42 +00:00
martin
b0f01dff9e More tweaks to feedback display (consistency with forum posts) 2002-08-04 17:24:46 +00:00
martin
77db7e4c49 Fixes in display of standard user_complete and user_outline functions
for journal, forum and assignments
2002-08-04 17:13:49 +00:00
martin
f9641a9d24 Updated version numbers 2002-08-04 16:42:27 +00:00
martin
6b1746806c Misc small changes while I was working on assignments 2002-08-04 16:20:30 +00:00
martin
b62f150b7c Moved a function to lib.php 2002-08-04 07:06:45 +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
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
6f93182a0e OK, this is working now 2002-07-29 13:03:39 +00:00
martin
13da983e6c hmm wierd bug on production server but not testing ... this is to test that 2002-07-29 10:12:20 +00:00
martin
e383782039 Fixes to journal reporting 2002-07-29 09:48:52 +00:00
martin
bc575b88c6 Slightly bigger textarea for teacher feedback 2002-07-29 07:26:59 +00:00
martin
85acc43e47 Improvements to report.php ... clearer code, new functions in lib.php
and now the journal entries are sorted with the newest at the top.
2002-07-29 07:21:36 +00:00
martin
34354e4fce modernised the code to use newer database functions - no change in functionality 2002-07-29 06:34:52 +00:00