Re: [Wikitech-l] Upload filesize limit bumped
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilmari Karonen wrote: Brion Vibber wrote: Now that we've got uploads running on our new, beefier file servers, I've experimentally bumped the upload limit from 20 to 100 megabytes. If we've got new beefy servers, another limit to at least consider bumping might be the PNG scaling limit. 12.5 megapixels isn't really all that much. Nope, scaling is a totally unrelated issue. - -- brion -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkrAY8ACgkQwRnhpk1wk45i2wCgtyGdV1r/NntP/xON5op8EraI I2MAn2n+S8nMVqatuGJWOOM3+6EwPUVJ =1Vac -END PGP SIGNATURE- ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Mon, Nov 24, 2008 at 2:31 PM, Brion Vibber [EMAIL PROTECTED] wrote: Aryeh Gregor wrote: They wouldn't have to click through if it was signed, would they? Yes they would. If that wasn't the case, then any web site you visited could read all your files without notifying you simply by signing their malware applet. I don't know anything about Java signing; I was relying on (my possibly incorrect reading of) what Greg Maxwell has said in this thread. I was assuming there was some kind of PKI being used here, as with HTTPS, so that trusted applets would silently run with more permissions. If not, then never mind what I said above. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Mon, Nov 24, 2008 at 5:26 PM, Aryeh Gregor [EMAIL PROTECTED] wrote: On Mon, Nov 24, 2008 at 2:31 PM, Brion Vibber [EMAIL PROTECTED] wrote: Aryeh Gregor wrote: They wouldn't have to click through if it was signed, would they? Yes they would. If that wasn't the case, then any web site you visited could read all your files without notifying you simply by signing their malware applet. I don't know anything about Java signing; I was relying on (my possibly incorrect reading of) what Greg Maxwell has said in this thread. I was assuming there was some kind of PKI being used here, as with HTTPS, so that trusted applets would silently run with more permissions. If not, then never mind what I said above. You get no warning *at all* on non-origin network access for applets signed by an approved key. For example: http://www.jcraft.com/jorbis/player/JOrbisPlayer.php?play=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fa%2Fa9%2FTromboon-sample.oggsubmit=play I don't have direct knowledge for file access. I had assumed that it was the same, but I'm guessing there. For Java Web Start and complete system access I just get a fairly friendly This was published by Foo Corp. Do you wish to run it. [ ] Always trust content from Foo Corp. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Sat, Nov 22, 2008 at 7:13 AM, Ilmari Karonen [EMAIL PROTECTED] wrote: Brion Vibber wrote: Now that we've got uploads running on our new, beefier file servers, I've experimentally bumped the upload limit from 20 to 100 megabytes. If we've got new beefy servers, another limit to at least consider bumping might be the PNG scaling limit. 12.5 megapixels isn't really all that much. We actually do have code in SVN that can resize large PNGs efficiently. The problem is though that it may or may not work for pallete based images. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Sat, Nov 22, 2008 at 1:43 PM, Daniel Kinzler [EMAIL PROTECTED]wrote: Anyway, HTTP doesn't support feedback during upload (or any feedback, really), and HTML does not offer a way for multi-file uploads (which would also be quite handy). Any solutions I have so far seen for that are based either on a Java Applet or on Falsh. RS.com's upload indicator apparently works via an iframe: form name=ul method=post action=http://rs426l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=149063132559697458; enctype=multipart/form-data onsubmit=return zeigeProcess(); div id=progbar style=display:none; iframe src=http://rs426l3.rapidshare.com/progress.html?uploadid=149063132559697458; name=pframe width=100% height=120 frameborder=0 marginwidth=0 marginheight=0 scrolling=no/iframe /div div id=dateiwahl input type=file size=65 id=dateiname name=filecontent onchange=zeigeUploadBtn(); / input type=image id=btnupload name=u src=/img2/upload_file.jpg style=visibility:hidden; / /div /form The usage of an unique upload ID ensures at their end that the progressbar iframe always gets the right data. It refreshes using AJAX technology: http://pastebin.com/f56b8c8f4 I'll take a look if this might be applicable to put into MW. Marco ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
Sorry? You can upload multiple files in the same HTTP POST. Just add several input type=file to the same page (and hope you don't hit max_post_size). That can be done with javascript. Or do you mean uploading half file now and the other half on a second connection later? I mean uploading an arbitrary number of files, without having to pick each one individually. For example by picking a directory, or multiple files fron the same directory. Sure, HTML can give you 100 choos file fields. but who wants to use that? -- daniel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
Does a PHP script using upload stuff get run if the file upload is complete, or will it start while still uploading? If not, can't you figure out the temporary name of the upload on the server and then run ls -lh on it? It gets run only after the upload is complete. And even if not, and you could get the size of the temporary file, what would you do with it? You can't start sending the response until the request is complete. And even if you could, the browser would probably not start resinging it before it has finished sending the request (i.e. the upload). This is the nature of HTTP... -- daniel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Fri, Nov 21, 2008 at 9:30 PM, techman224 [EMAIL PROTECTED] wrote: It could work. I'm no PHP expert through. On 21-Nov-08, at 8:10 PM, Michael Dale wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe php 5.2 with some minor configuration supports upload status: http://www.haughin.com/2007/10/23/php-upload-progress-with-php-52-apc/ - --michael Reading a bit more into that, I'm not convinced it's practical. Almost all of the information I'm reading has been negative, just to quote a few: [1]http://pecl.php.net/bugs/bug.php?id=13607 [2]http://pecl.php.net/bugs/bug.php?id=9323 [3]http://docs.php.net/manual/en/apc.configuration.php -Chad ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l