Antville Project

a tiny antville modification

i would like to define the size of uploadable files in the setup of an antville installation. i can code it myself. are you willing to add my code to the default distribution? who do i send my changes to?

comment    

 
robert, April 10, 2003 at 12:58:25 AM CEST

go ahead, chris

you know that contributions are always welcome, and if they're good they will of course be included in the default distribution. i'm really interested in that, so please send the code to robert at helma dot org (or, even better if it's not too long, post it here or at helma.org ).

link  

 
kris, April 10, 2003 at 4:34:42 PM CEST

erm...

i'm just trying to figure out where the size of an uploaded file is checked. it looks like the upload limit is not defined in antville. all i find is an if (param.uploadError) in filemgr/objectFunctions.js.

is the correct? if so then it doesn't make much sense to me restrict the upload limit to something less then 1 mb. i actually wanted to make a drop down menu with the values 0.5, 1, 2, 5, 10, 20 MB because something like 5 or 10 MB would be quite handy for my purposes.

link  

 
robert, April 10, 2003 at 5:08:11 PM CEST

grmml, i'm always forgetting that: the maximum upload size is defined in apps.properties (because it's handled by helma servlet afaik), so there's no way to influence that within application code (besides decreasing, which doesn't make that much sense)

link  

 
kris, April 10, 2003 at 5:25:17 PM CEST

uploadLimit = 5120

right? ha! that was easy. thanks.

link  

 
hns, April 10, 2003 at 5:54:57 PM CEST

appname.uploadLimit = 5120

where appname is the name of the application, antville or whatever you're using.

link  


... comment
 
kris, April 10, 2003 at 2:55:16 PM CEST

while working with it i found some bugs

  1. with logos: <% logo name="smallstraight" %> has text "made with antville", alt attribute "resident of antville.org" and links to the antville home. i think it should have the alt attribute "made with antville" and it should link to an appropriate page on antville.org.
  2. with skins: the "user (not) logged in" skins contain a "<div class="statuslight">...</div>" that is already defined in the main skin. you can drop them.

link  

 
tobi, April 10, 2003 at 3:57:16 PM CEST

thanks

updated and committed to cvs: antville_mysql.sql (dito for mckoi and oracle), global/macros.js, statusloggedin.skin, statusloggedout.skin.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8577 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
December 2024
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher