217 Commits

Author SHA1 Message Date
les_kopari
49df1a42b5 Renamed to schemaGroups.xml 2004-01-17 12:56:13 +00:00
les_kopari
945e013c67 Renamed table. 2004-01-17 12:52:42 +00:00
les_kopari
6b95445ac8 Test run with new columns and tables. 2004-01-17 12:49:49 +00:00
les_kopari
339ac7daa5 New columns. 2004-01-17 12:44:50 +00:00
les_kopari
68cd6454aa New columns and tables. 2004-01-17 12:41:54 +00:00
moodler
5fba04fba0 EARLY SUPPORT FOR CALENDARS AND EVENTS
--------------------------------------

New functions and tables, based on work from Gustav Delius
(see http://moodle.org/mod/forum/discuss.php?d=4466)

This forms the core of a new system to store, track and utilise
event information in all modules, as well as allowing external
calendars to be synchronised with new information.
2004-01-17 09:47:45 +00:00
les_kopari
e34aab0dd0 New field. 2004-01-17 09:16:20 +00:00
les_kopari
5f1317f88e Correct defaults. 2004-01-17 09:06:21 +00:00
les_kopari
d8f6ab1b8a Added groupmode, groupmodeforce. 2004-01-17 08:55:22 +00:00
paca70
f63823b3cc FIXED:
script was calling fix_course_sortorder() before courseorder have been renamed to coursecount.
2004-01-14 18:13:26 +00:00
moodler
ddc7afad9a Added groupmode setting to course_modules 2004-01-11 17:44:09 +00:00
stronk7
1a0c9eff8e Removed duplicate showreports field in course table!!
That (yy)yanked and (pp)pasted lines!! :-)
Thanks to Juan Pablo, from Bolivia.
2004-01-04 11:51:47 +00:00
les_kopari
0253cd4edc Adding remaining schema.xml files, one per table...still more to come.
See execution listing for test results thus far.
2004-01-02 18:12:45 +00:00
les_kopari
5a2f8b8dcd Initial. 2004-01-02 18:08:06 +00:00
les_kopari
7a55fe065d Initial add. 2004-01-02 17:55:09 +00:00
les_kopari
920d44320d Initial add...separate .xml file for each table. 2004-01-01 19:41:48 +00:00
les_kopari
18eaa5d2ca Initial add...just the first two tables, config and course. 2004-01-01 19:38:51 +00:00
moodler
0da33e07b9 Need to change table name! It was tougher than I thought to work around
the reserved word "group"
2003-12-30 18:07:09 +00:00
moodler
f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler
3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler
29b25b0498 Much better updating of access times to make the accurate straight away 2003-10-27 13:38:08 +00:00
moodler
4d744a220a Added a new column to user_students and user_teachers called "timeaccess"
for recording the last access to the COURSE.

This is updated at the same time as add_to_log and is now used instead
of user->lastaccess when course user listings are required.

This means course listings now show what you expect and open up the way
for a "current users" listing and instant messaging etc ...
2003-10-27 12:38:00 +00:00
moodler
4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00
les_kopari
401a81dddf Added columns indent, visible to create, inserts. 2003-09-24 02:06:34 +00:00
les_kopari
24604ce7fe Initial version for Oracle: does nothing. 2003-09-24 01:30:43 +00:00
moodler
aac94fd0cc New field on course_modules called "indent" ... this is an integer
that tells us how far to indent the activity when it is displayed.

This gives us some more flexibility on the course outline to
arrange things as we might like them, into subtopics etc

Backup/restore is updated as well.

There is also a bit more robustness in course/mod.php
2003-09-14 16:31:33 +00:00
moodler
c7ce6d80a3 Used the wrong function to display the message (Notify, not Notice) 2003-09-14 12:22:13 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
e71f132dc8 Added missing showrecent field to PostgreSQL 2003-09-10 13:48:19 +00:00
paca70
577cf8991f Fixed some typos pointed by Pasha. 2003-08-28 18:00:36 +00:00
moodler
d0117715f3 Added a log display for "course use reports" 2003-08-27 09:33:12 +00:00
moodler
a1b2bec873 Remove half-finished oracle files 2003-08-26 07:09:14 +00:00
moodler
3052e775c8 Added an index on courses for the category 2003-08-21 08:14:56 +00:00
moodler
fff79722e5 A new course field called "showgrades" which allows the teacher to
turn the display of the grade book on and off.
2003-08-20 07:32:24 +00:00
moodler
9936fe81ea The number of courses in the categories is now cached in the
the category, and only updated when courses are moved/added/deleted etc
or the admin looks at the category listing
2003-08-19 09:26:36 +00:00
moodler
73047f2f76 OK, this is a new scheme to allow some teachers to edit and others to not
that is much better than the proposal to change the role of course creators.

There is a new field in user_teachers called "editall", which is
ON BY DEFAULT, and allows teachers to edit courses.  It can be modified
on the teacher editing screen (formerly assign teachers).

The value is cached in the session.

To test for it, there is a new function isteacheredit($course->id)
which works much like isteacher did.

I'm going through now and applying this new function wherever
it is needed.
2003-08-16 05:19:24 +00:00
moodler
5fcd1b52aa Hold the presses ... I hate doing this but after going into detail
changing the course creator account like this is the wrong way to
do this.

Instead, I'm going to be adding new fields to user_teachers

Stay tuned
2003-08-16 03:28:56 +00:00
moodler
6f4f04df3e Fixed database upgrade so that forum->scale is created before the
get_scale_menu tries to use it.
2003-08-16 02:30:23 +00:00
moodler
11402bbdbc Do a check to create the default scale if it isn't already 2003-08-15 14:30:30 +00:00
moodler
a142b3b4ba New scale table for PostgreSQL 2003-08-15 14:17:15 +00:00
moodler
37eef3ed91 WHoops - you'll need this table. :-) 2003-08-15 14:12:52 +00:00
moodler
02ebf404c8 WARNING: BIG CHANGES!
OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.
2003-08-15 13:59:24 +00:00
moodler
50b5487c54 Get rid of the enumerated type on the course formats, so that
we can think about adding custom course formats into course/format
2003-08-10 14:36:52 +00:00
moodler
d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
moodler
c2cb45451f COURSE DISPLAY REVAMP
OK, some big changes here to the front end, particularly in
course categories and course display.

Course categories can now be nested (to any level).

Courses and course categories can now be manually sorted
any way required.

There is a groovy front end for managing these, and a better
range of options for formatting the front page.

It all still needs some polishing, which I'll be doing over
the next couple of days, including better auto-sorting.

I would not use this on production systems just yet.
2003-07-30 13:02:45 +00:00
moodler
1dbb6e5031 Added some flushes in case the indexes take too long ... 2003-07-28 03:28:43 +00:00
moodler
a8fa25d18d Improved indexing for improved performance on the course page, when viewing
logs and when viewing lists of users ... thanks to Eloy for the one on the log file.
2003-07-28 02:51:56 +00:00
moodler
dd0bd5088c Increase the size of the field to store sequences in course_sections 2003-07-21 14:28:04 +00:00
moodler
a6d82c3f49 New course parameter "visible" which makes the course available to
students.  Defaults to 1 (on).  Teacher can control this from settings page.
2003-07-21 07:31:01 +00:00
moodler
7f2a3e678e New field for user: autosubscribe
This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.

(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
2003-05-23 05:32:40 +00:00