Re: creating a virtual file
Take a look how you can hook File calls. https://github.com/pirj/distributed-shelf If you figure out the file is read orr written, you can fetch/update your DB, or redis as suggested. On Jan 24, 11:37 pm, bluewave wrote: > I have an application I want to use (http://www.flashxml.net/galleries/ > > ) > this application needs to update an xml file with all the images information > in it. > if I would be working on disk based system I would just update this file so > the web browser can read it. > because I am using Heroku I can not update this file in the OS. do you know > if I could use send_data to send this xml file instead of using the file on > the OS? if you now how to do this please share this with me. > > Thanks -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Let user download a file from tmp folder
Or you can use DistributedShelf extension, it's in Alpha, but lets you store 100Mb files and access them as they were stored locally, using File https://distributedshelf.com I'm planning to give 100Mb storage in Free plan when it's out of beta. Phil On Dec 13, 1:18 pm, Petros Amiridis wrote: > The documentation says you can temporarily save a file in tmp. Is it > possible to let the end user of the app download that file? > > Thanks > Petros -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: S3 image uploads with paperclip and delayed_job in Rails 3
I would go for async load+upload and avoided delayed job Not really sure if this is possible with paperclip On Nov 5, 3:53 pm, adriaan wrote: > My app requires image upload functionality for users to upload > images. > I successfully implemented image uploads to S3 using paperclip (as > outlined in Heroku docs -http://docs.heroku.com/s3). Files are > processed to generate 2 new image sizes and uploaded to S3. > This works fine locally, but results in timeouts on Heroku. > > So I'm now trying to do the image processing using delayed_job. > I've tried a few different approaches: > - using the delayed_paperclip gem (https://github.com/jstorimer/ > delayed_paperclip) > -http://madeofcode.com/posts/42-paperclip-s3-delayed-job-in-rails > > Both of them led the delayed_job to fail. > > Does anyone have / know a good code sample on how to set this up? > Are there any compatability issues between versions of paperclip and > delayed_job? (what combination of versions play nice together) > > And I was also wondering, if I get te delayed_job is working will > users still get timeouts on Heroku if it simply takes more than 30 > seconds to upload the image from their local machine to Heroku (before > image processing)? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Has anyone got pony working with gmail on heroku?
look at padrino mailer if you are using sinatra, or active mailer if rails tmail gem is outdated, and pony depends on it you can either patch tmail or use patched as provided by tools i've mentioned you can also use SendGrid or any alternative addon Phil On Oct 26, 9:04 pm, Jimmy wrote: > Pony works locally, but on heroku I get the following: > > 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/ > spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied > 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/ > spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied > 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/ > spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied > > Is there a solution or alternative to sending mail from Sinatra using > Gmail and Pony? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: new addon in alpha: Distributed shelf: you can use File API in read-write mode
Added Rails 3 usage example: http://distributedshelfexamplerails.heroku.com/upload Source code: http://github.com/pirj/distributed-shelf-example-rails Added Sinatra/Padrino usage example: http://distributedshelfexample.heroku.com/ Source code: http://github.com/pirj/distributed-shelf-example Phil -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Older versions of Safari and Hostname Based Custom SSL
3.1.2, latest Safari 3, OSX 10.4.11 BR, Phil On Oct 20, 5:43 pm, Chap wrote: > Phil, which version of Safari are you seeing that error in? > > On Oct 16, 2:40 am, Phil Pirozhkov wrote: > > > Safarican’t open the page.Safarican’t open the page > > “https://api.heroku.com/login”because it > > couldn’t establish a secure connection to the server “api.heroku.com”. > > > non-https works fine > > > On Oct 15, 8:30 pm, Chap wrote: > > > > Anyone have problems using the Hostname Based Custom SSL and older > > > versions ofSafarithrowing errors such as "cannot get a secure > > > connection to the server"? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
new addon in alpha: Distributed shelf: you can use File API in read-write mode
Hi disclaimer: I've posted to Heroku beta users, but only one alpha user came, so addressing here. I personally tend to think the addon is very userful. It allows for the usage of File (Dir/IO/FileUtils) API in read-write mode. All data is stored on a remote server. Basically this will allow for storage of user uploaded files. Only configured folders are "remoted", (e.g. ["fileupload", "user/ avatars"]). In near future addon will allow to drop-in Redmine and many other third-party web applications which rely on file storage (Spree e- commerce, Opal, Refinery CMS, Gullery are my high prio currently). Come on, write your next Flickr or Youtube already! Server is written in Erlang, should be fast (as fast as SSL termination allows). Quick docs: https://distributedshelf.com/docs.md Homepage: https://distributedshelf.com News: http://twitter.com/distributdshelf To participate in Alpha testing you can contact me directly via p...@mail.ru or pirjs...@gmail.com Phil -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Older versions of Safari and Hostname Based Custom SSL
3.1.1 running on OS X 10.4.11 On Oct 20, 5:43 pm, Chap wrote: > Phil, which version of Safari are you seeing that error in? > > On Oct 16, 2:40 am, Phil Pirozhkov wrote: > > > > > Safarican’t open the page.Safarican’t open the page > > “https://api.heroku.com/login”because it > > couldn’t establish a secure connection to the server “api.heroku.com”. > > > non-https works fine > > > On Oct 15, 8:30 pm, Chap wrote: > > > > Anyone have problems using the Hostname Based Custom SSL and older > > > versions ofSafarithrowing errors such as "cannot get a secure > > > connection to the server"? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Older versions of Safari and Hostname Based Custom SSL
Yeah! Works for me now as well. Thanks guys! Phil On Oct 23, 4:24 am, Kyle Wilkie wrote: > Kyle Wilkie writes: > > > Chap writes: > > > > Anyone have problems using the Hostname Based Custom SSL and older > > > versions of Safari throwing errors such as "cannot get a secure > > > connection to the server"? > > > I started having the issue in early October on my workhorse machines > > that are running Safari 1.3.2 and OSX 10.3.9 (they're iBooks, can't go > > any higher OS or Safari revisions and I have 50 of them). One day they > > worked fine, the next they are unable to make a secure connection. > > Firefox, Opera both connect securely. Strangely, I can make an SSL > > connection to Amazon, but not Heroku itself or any of my apps. I am > > currently both piggyback and hostname ssl option on different sites, > > this behavior is the same. Found out today that one of my large clients > > is having the same problem with Safari 4.1.2 on OSX 10.4.11. > > > Oren at Heroku said nothing had changed there, but something did > > change somewhere. Any insight into what this is would be great! > > I was able to track down the root problem by getting my cert provider > (Digicert) to run a diagnostic and sent the results to Heroku. From > that, Heroku was able to track down and fix the problem which was that > default SSL ciphers had changed during server upgrades. > Certainly decomplicates my life! -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Outbound IP address
Just buy/request a free client certificate for that purposes and do not rely on IP Phil On Oct 23, 12:25 am, Mike Doel wrote: > I imagine this is in TFM somewhere, but my google skills are failing me. > > If we have paid for the custom SSL package, will traffic outbound from our > app have the IP address assigned to us in that process? > > Alternatively, is there a netmask that can be counted on for outbound traffic? > > Our app needs to access a third party gateway that is using IP address as one > of the parameters in controlling access. > > Mike -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Older versions of Safari and Hostname Based Custom SSL
Safari can’t open the page. Safari can’t open the page “https://api.heroku.com/login” because it couldn’t establish a secure connection to the server “api.heroku.com”. non-https works fine On Oct 15, 8:30 pm, Chap wrote: > Anyone have problems using the Hostname Based Custom SSL and older > versions of Safari throwing errors such as "cannot get a secure > connection to the server"? -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.