The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wekan/packages/wekan-cfs-filesystem
Lauri Ojansivu c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
..
tests Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
.travis.yml Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
LICENSE.md Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
README.md Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
filesystem.client.js Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
filesystem.server.js Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
package.js Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago
tests.js Fixed Non-ASCII attachment filename will crash when downloading. 4 years ago

README.md

wekan-cfs-filesystem

NOTE: This package is under active development right now (2014-3-31). It has bugs and the API may continue to change. Please help test it and fix bugs, but don't use in production yet.

A Meteor package that adds local server filesystem storage for CollectionFS. When you use this storage adapter, file data is stored in a directory of your choosing on the same server on which your Meteor app is running.

Installation

Install using Meteorite. When in a Meteor app directory, enter:

$ meteor add wekan-cfs-filesystem

Important Note

Note that using this Storage Adapter on the free Meteor deployment servers on *.meteor.com will cause a reset of files at every code deploy. You may want to have a look at the GridFS Storage Adapter for persistent file storage.

Usage

var imageStore = new FS.Store.FileSystem("images", {
  path: "~/app-files/images", //optional, default is "/cfs/files" path within app container
  transformWrite: myTransformWriteFunction, //optional
  transformRead: myTransformReadFunction, //optional
  maxTries: 1 //optional, default 5
});

Images = new FS.Collection("images", {
  stores: [imageStore]
});

Refer to the CollectionFS package documentation for more information.