]> git.mjollnir.org Git - moodle.git/commit
These changes implement some better controls for controlling uploads.
authormoodler <moodler>
Mon, 6 Oct 2003 18:02:35 +0000 (18:02 +0000)
committermoodler <moodler>
Mon, 6 Oct 2003 18:02:35 +0000 (18:02 +0000)
commit4909e17632f78e0b62e97c1783dd747d2b41f4bf
tree85e026fea6bd95292bf360335b9ec9c381608cc8
parente72727728c7e9d3aa6fd633cc48134d6ad417e6c
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.
24 files changed:
admin/config.html
admin/module.php
course/edit.html
course/scales.php
lib/db/mysql.php
lib/db/mysql.sql
lib/db/postgres7.php
lib/db/postgres7.sql
lib/moodlelib.php
mod/assignment/config.html [new file with mode: 0644]
mod/assignment/lib.php
mod/assignment/mod.html
mod/forum/config.html
mod/forum/db/mysql.php
mod/forum/db/mysql.sql
mod/forum/db/oci8po.sql
mod/forum/db/postgres7.php
mod/forum/db/postgres7.sql
mod/forum/lib.php
mod/forum/mod.html
mod/forum/post.html
mod/forum/version.php
user/edit.html
version.php