mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 08:50:13 +01:00
Fixed Non-ASCII attachment filename will crash when downloading.
Thanks to xet7 ! Fixes #2759
This commit is contained in:
parent
843ff8eaaa
commit
c2da477735
277 changed files with 30568 additions and 52 deletions
55
packages/wekan-cfs-file/package.js
Normal file
55
packages/wekan-cfs-file/package.js
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
Package.describe({
|
||||
git: 'https://github.com/zcfs/Meteor-cfs-file.git',
|
||||
name: 'wekan-cfs-file',
|
||||
version: '0.1.17',
|
||||
summary: 'CollectionFS, FS.File object'
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
temp: "0.7.0" // for tests only
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.versionsFrom('1.0');
|
||||
|
||||
// This imply is needed for tests, and is technically probably correct anyway.
|
||||
api.imply([
|
||||
'wekan-cfs-base-package@0.0.30'
|
||||
]);
|
||||
|
||||
api.use([
|
||||
'wekan-cfs-base-package@0.0.30',
|
||||
'wekan-cfs-storage-adapter@0.2.1',
|
||||
'tracker',
|
||||
'check',
|
||||
'ddp',
|
||||
'mongo',
|
||||
'http',
|
||||
'wekan-cfs-data-man@0.0.6',
|
||||
'raix:eventemitter@0.1.1'
|
||||
]);
|
||||
|
||||
api.addFiles([
|
||||
'fsFile-common.js'
|
||||
], 'client');
|
||||
|
||||
api.addFiles([
|
||||
'fsFile-common.js',
|
||||
'fsFile-server.js'
|
||||
], 'server');
|
||||
});
|
||||
|
||||
Package.onTest(function (api) {
|
||||
api.use([
|
||||
'wekan-cfs-standard-packages@0.0.0',
|
||||
'wekan-cfs-gridfs@0.0.0',
|
||||
'tinytest@1.0.0',
|
||||
'http@1.0.0',
|
||||
'test-helpers@1.0.0',
|
||||
'wekan-cfs-http-methods@0.0.29'
|
||||
]);
|
||||
|
||||
api.addFiles([
|
||||
'tests/file-tests.js'
|
||||
]);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue