236 Commits

Author SHA1 Message Date
moodler
61e96406df Robustness fixes 2003-01-02 10:35:11 +00:00
moodler
f747744495 More robustness fixes 2003-01-01 06:34:54 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +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
97485d0726 More database tweaks and improved access to forum search engine 2002-12-23 15:33:40 +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
1f48942e7d Further SQL cleanups 2002-12-23 07:01:06 +00:00
moodler
d26d7ed0c3 Changes to make things work again :-) 2002-12-22 06:15:44 +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
d34189e123 Added styles for forum posts 2002-12-10 02:48:05 +00:00
moodler
4499b2e273 Slight alteration of colouring on printed posts 2002-12-09 10:49:44 +00:00
moodler
5e367a2d56 Various little tweaks to improve the display of course home
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +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
a6fcdf98af Update course cache when creating new standard forums! 2002-11-14 02:33:48 +00:00
moodler
67f0b4ccb0 Better formatting for the link 2002-10-26 03:37:06 +00:00
moodler
a8afb411a0 OK, this should be better ... 2002-10-26 03:33:07 +00:00
moodler
c585fa1707 A first try at a new shortening algorithm ... checking in to do some
tests on various servers
2002-10-26 03:21:41 +00:00
moodler
153cc356cb Added TARGET=_blank to links in HTML email ... apparently these links
were causing problems in Hotmail.  Normally I'd say "Good!", but ...  :-)
2002-10-25 15:27:12 +00:00
moodler
e6874d9ff6 Brand-new news and social forums are now also assigned course modules and
put in section 0 of the course.
2002-10-25 09:10:40 +00:00
moodler
7beb45d8a0 Upgrading all news and social forums (except those in social courses)
so that they are course modules in an (invisible) section, which means
they are now editable and parameters, names etc can be changed.
2002-10-25 08:47:53 +00:00
moodler
f690562f81 Tweaks to mail formats so that unnecessary information (replies, etc)
is not printed.
2002-10-25 06:50:40 +00:00
moodler
3260de6780 Tweaks to forum formatting 2002-10-25 05:58:39 +00:00
moodler
e7b7951c0a The BR in print_post was to fix the case when embedded images are used.
However it added too much space.  I'll find a way to fix the embedded
images problem later, during the styles changeover, as it's pretty
rare.
2002-10-24 07:09:29 +00:00
moodler
e870c78bfc WHoops ... just undoing the last checkin which was premature ... 2002-10-23 12:13:47 +00:00
moodler
cc3b8c75de After saving new question, sanity checks are made to make sure the
fractional grades are correct.

Icons now have tooltips and are also a shortcut to editing page.
2002-10-23 12:10:38 +00:00
moodler
2a3cda192e Allow teachers to look at ratings for anyone 2002-10-21 08:44:56 +00:00
moodler
f166d2e295 Fixed up rating retrieval ... now gets them all seperate 2002-10-21 08:36:15 +00:00
moodler
36df40d60e Fix in forum_grades 2002-10-21 08:32:37 +00:00
moodler
4db9d14dad Don't show column grade when there's nothing to show 2002-10-21 08:19:15 +00:00
moodler
caadf00909 Rearranged functions to match other modules, and added forum_grades() 2002-10-21 08:10:24 +00:00
moodler
113bb2a26b Better placing of standard links etc when there are lots of images and
other funny formatting in HTML posts
2002-10-11 05:20:23 +00:00
moodler
73bb08357c Initial attempt at adding html text editor features to these forms. 2002-10-10 07:27:57 +00:00
moodler
70c476a79e Fixes bug 112
Changes to expand "open" option in forums.  Now have a choice between
three options:  new discussions and new replies, new replies only and
no new discussions or new replies.

Three new options in lang/forum.php and I changed "allowdiscussions".
2002-10-03 11:15:50 +00:00
martin
b362b85e99 Better format for text version of emails 2002-09-26 16:02:13 +00:00
martin
7fd6bb7cf6 Whoops teacher checking was back to front 2002-09-23 06:49:30 +00:00
martin
ae2e0dddad Changes to not include deleted users in some things 2002-09-22 03:05:39 +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
5319c6adf6 Make sure mailouts are in the chosen language of each user 2002-09-21 07:42:54 +00:00
martin
8f66d49a77 Added an "unsubscribe" link to emails 2002-09-08 16:04:51 +00:00
martin
28e1e8b912 Fixed a bug. When replying to an email copy, you would be forwarded
to the login screen to login first.  However, this was being saved
as the place to go back to after replying.

I added a check for this so now it behaves as you'd expect.
2002-09-08 15:39:44 +00:00
martin
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00
martin
5a83a0a84e Default forum display mode is actually used now 2002-09-02 03:48:47 +00:00
martin
7f6689e4e0 Attachments can now be added to postings.
They are stored in the course moddata area.
They appear as links within the message, including mailed-out messages.
They are deleted when the post is deleted.
2002-09-01 14:34:38 +00:00
martin
3335f6fbc6 Forums with many discussions (> 10) become abbreviated to a shorter display 2002-08-26 08:35:02 +00:00
martin
19a55d6776 Changes to improve layout and formatting on old Netscape (eg version 4) 2002-08-23 03:55:49 +00:00
martin
0ab851127f If a post is updated that is also a discussion definition, then the discussion
name is updated with the post subject.
2002-08-22 08:01:21 +00:00
martin
61ee082fd8 Improved help buttons for forums 2002-08-18 14:40:19 +00:00
martin
31d160d3b9 Forum language fixes, and addition of help for separate/connected knowing 2002-08-15 17:41:24 +00:00