136 Commits

Author SHA1 Message Date
moodler
9e353ce7e2 Upgrade filter references 2004-02-17 05:28:52 +00:00
moodler
3c0561cfe7 New field in the groups table to "hidepicture" from being displayed
in locations like forums etc.

Backups done too, Eloy.  :-)
2004-02-15 07:29:55 +00:00
moodler
f1d604cbda Added new table cache_filters for all filters to use if they need to 2004-02-12 07:06:07 +00:00
moodler
d523d2ead1 Some configuration options now added to the Configuration page.
opentogoogle

  textfilters

  cachetext

They should upgrade cleanly from anything you may have in config.php
2004-02-10 05:05:28 +00:00
moodler
45121ffbf3 text_cache --> cache_text much better 2004-02-09 13:10:19 +00:00
moodler
d363047eb0 TEXT CACHING
------------

I have a site which really needs this, so I went ahead with it already.

This add-on will cache formatted texts in the database and use them
for a specified timeperiod.

By default it is disabled.   Enable it with:

  $CFG->cachetext = 600;   // in seconds
2004-02-09 12:27:34 +00:00
moodler
b3153e4b7d Small hack to force a particular language within a course.
No interface on course/edit.php ... I want to try this on
moodle.org for a while to try and stop the encoding problems
2004-02-09 07:31:04 +00:00
moodler
4da1a0a1db Improvements to the way the log upgrading works.
Centralised with an interface now.
2004-02-05 09:55:50 +00:00
moodler
95d4575736 If there aren't many logs to process, then do it now during the main
upgrade, but otherwise, tell the upgrader to run the separate script
at admin/upgrade_logs.php later on.
2004-02-03 04:56:22 +00:00
moodler
35faf19e80 SOme extra information when upgrading old logs 2004-02-03 02:27:33 +00:00
moodler
b56fad0b50 Upgrade process can be long, so flush regularly 2004-01-31 15:33:12 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47 better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log() 2004-01-30 18:21:56 +00:00
moodler
ba39fa10cc Change type of config->value to text (to allow longer info) 2004-01-29 04:13:55 +00:00
moodler
70812e39a0 Added new table called "user preferences" which can be used for
storing arbitrary preferences for each user.

Thanks to Jon Papaioannou for the first draft of this code
which I modified.
2004-01-28 14:14:19 +00:00
les_kopari
33235e53b0 Renamed. 2004-01-17 13:02:24 +00:00
les_kopari
ea31ae41c7 Another test run. 2004-01-17 12:59:28 +00:00
les_kopari
cab9d39e60 Renamed to schemaGroups_members.xml 2004-01-17 12:57:24 +00:00
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