patchFle3 is a Learning Environment - Patches: patch #4498, WebTop max file size

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4498: WebTop max file size

Submitted by:  None
Submitted on:  Sun 09 Oct 2005 09:39:44 AM UTC  
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Sun 09 Oct 2005 09:39:44 AM UTC, original submission:

This patch allows administrator take control over file sizes stored in webtop folders.

Fle version: 1.5.0 (latest release)

Howto apply patch:

$ cd zope_instance/Products
$ tar xzf fle_webtopfolder_max_file_size.tar.gz
$ patch -p0 < FLE.py.patch
$ patch -p0 < WebtopFolder.py.patch
$ patch -p0 < vocabulary.py.patch
$ cd FLE
$ python TranslationLint.py

Go to ZMI FLE/Properties and add two properties:
1. webtop_max_file_size (boolean)
2. webtop_max_file_size_amount (string)

Set suitable values for properties:
webtop_max_file_size = checked
webtop_max_file_size_amount = 150k (... 2m or whatever
you like)

Go to ZMI FLE/Tools and click Reload translations.

Try to add file larger than webtop_max_file_size_amount
and see what happens.

TODO:
- testing! (only smoke testing done so far)
- translations
- properties (webtop_max_file_size, ...) generation should
be automated when patching existing FLE instance

Anonymous

 

Attached Files
file #8160:  fle_webtopfolder_max_file_size.tar.gz added by None (2KiB - application/x-gzip - fle_webtopfolder_max_file_size.tar.gz)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-09 None Attached File- => Added fle_webtopfolder_max_file_size.tar.gz, #5296
    Carbon-Copy- => Added ilkka --DOT-- kekkonen --AT-- iki --DOT-- fi

Back to the top


Powered by Savane 3.3