Questions tagged [skipper]

Skipper is a visualization tool and code/schema generator for PHP ORM frameworks

Skipper is a visualization tool and code/schema generator for PHP ORM frameworks

https://en.wikipedia.org/wiki/Skipper_(computer_software)

59 questions
4
votes
1 answer

Upload files Sails JS Skipper v0.10.5

I am uploading files with skipper, everything it's working perfectly, but I have a problem with the option saveAs I am assigning it's value by means of a function but it doesn't work, how can I assign the value of req.param('titulo') + file…
MelgoV
  • 661
  • 8
  • 21
4
votes
2 answers

Sails.js checking stuff before uploading files to MongoDB with skipper (valid files, image resizing etc)

I'm currently creating a file upload system in my application. My backend is Sails.js (10.4), which serves as an API for my separate front-end (Angular). I've chosen to store the files I'm uploading to my MongoDB instance, and using sails' build in…
Lars Dol
  • 765
  • 1
  • 6
  • 14
4
votes
1 answer

How to add ACL and Content-Type parameters when using skipper-s3?

I am using skipper-s3 to upload files. I find out that all files uploaded to S3 have been set to ACL:private and Content-Type:binary/octet-stream by default. I would like to know if it is possible to set these parameters before uploading to…
wuct
  • 10,057
  • 2
  • 19
  • 22
4
votes
2 answers

Uploading files using Skipper with Sails.js v0.10 - how to retrieve new file name

I am upgrading to Sails.js version 0.10 and now need to use Skipper to manage my file uploads. When I upload a file I generate a new name for it using a UUID, and save it in the public/files/ folder (this will change when I've got this all working…
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
3
votes
1 answer

Need advice on how to create deploy spring-cloud-dataflow apps in several dedicated servers to create an stream

I am trying to use spring-cloud-dataflow to create streams over an existing set of servers. It is not a production environment, I am aware of the fault tolerance issues with the "local" deployer. I have in the past created this infrastructure…
ka2
  • 151
  • 2
  • 12
3
votes
0 answers

Sails.js Skipper aborting file upload

I'm writing a Sails-js based application where user can upload an image file to server. I'd like to check if the file is truly an image file before saving it to disk. After struggling with skipper disk adapter I noticed that apparently I couldn't…
Tumetsu
  • 1,661
  • 2
  • 17
  • 29
3
votes
2 answers

How to change random uploaded filename in S3 - Sails.JS

currently I'm using SailsJS to create my own web-apps. And I'm using skipper-s3 to upload files to AWS S3. And this is my code: req.file('uploadFile').upload({ adapter: require('skipper-s3'), key: 'KEY', secret: 'SECRET', bucket: 'BUCKET', …
j.elmer
  • 1,441
  • 2
  • 17
  • 36
3
votes
0 answers

Uploaded file (image) with Sails.js (Node.js), but cant get it from a clientside. App on Heroku

I've built a site with admin panel with sails.js and deployed it on Heroku.Then I've uploaded image with Skipper. When i try to: fs.readdir "#{__dirname}/../../assets/images/Projects", (err, file)-> console.log file I can see my file in…
Dionid
  • 31
  • 3
3
votes
0 answers

node/sails js download image from web and upload to sails API

I am trying to write an import script in Nodejs that pulls data from the web and formats it and then sends it to my API. Part of that includes pulling artist data from LastFM, fetching the images for each artist and sending them off to my API to…
user156888
2
votes
1 answer

Can I collect attributes from my skipper parser?

I have a data file format which includes /* comments */ /* nested /* comments */ too */ and // c++ style single-line comments.. As usual, these comments can occur everywhere in the input file where normal white space is allowed. Hence, rather than…
2
votes
1 answer

Sails JS file upload; how to check if file is an input?

I am using Sails JS v11.05. The file upload is NOT a required field. How do I check if the file was uploaded or not? Usually, I use if (!req.param('param')) { // param does NOT exist - was not uploaded // This does not apply to file input…
Nizar Blond
  • 1,826
  • 5
  • 20
  • 42
2
votes
0 answers

How send base64 string audio/ogg with ajax using $http to upload file using s3-skipper

I've a sails application. So in the backend I've node js server and in the front end I've an angular js application. And from the frontend I want to upload some file to s3. So for that I'm using s3-skipper in the backend. So in the frontend…
Indranil Mondal
  • 2,799
  • 3
  • 25
  • 40
2
votes
0 answers

Canceling saving uploaded files with Sails.js and Skipper

Is it possible to cancel file saving in the skipper upload function when we detect some constraints because of saving file should not be done? I have a snippet of code like this: req .file("multimedia") .upload({ // Destination directory …
Kristian Ačkar
  • 895
  • 1
  • 9
  • 13
2
votes
1 answer

How send string/image base64 to Sailsjs - Skipper with ajax

Currently I am capturing the image of the camera, this Base64 format,and I'm sending through ajax. xhr({ uri: 'http://localhost:1337/file/upload', method: 'post', body:'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAA...' } 0 file(s)…
Felipe
  • 78
  • 7
2
votes
1 answer

Creating public URL for Skipper upload on AWS

I'm uploading my image to Amazon Web Service S3 using Skipper.js, but creating a public URL for the file uploaded hasn't been possible using Skipper.js. I don't want to use Skipper-Disk I want to upload to S3 and be able to create a publicly…
user4054641