Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `ostrio:files` package was awarded in [GCAA 2016](https://themeteorchef.com/blog/giant-cotton-apron-awards-show) as simple, smooth and versatile file-upload package - Support for `[email protected]` - Implementation of Cursor for `.findOne()` as the `FileCursor` - Implementation of Cursor for `.find()` as the `FilesCursor` - `updatedAt.autoValue` is removed from default schema, now this field is optional - `_prefix` is removed from default schema - Default schema now has `isPDF` property - If user not logged in or package `accounts-base` isn’t installed `.user()` method always returns `null` - Update dependency to fixed cookie package - Implement queue stream - to make 100% sure chunks is written in desired order - Constructor: `config.continueUploadTTL` {*Number*} - [Server] Time in seconds, during upload may be continued, default 3 hours (10800 seconds) - Constructor: `config.onAfterRemove` {*Function*} - [Server] callback, see #114 - Constructor: `config.collection` {Mongo.Collection} - [Both] MongoDB Collection Instance - Latency compensation for `estimateTime` - Major fixes an improvements in file streaming - Better debug logs - Better memory management - Remove dependency to `sha` package - Send over the wire as small amount of meta-data, as possible - Fix `finishUpload` - now it is emitted only after file is fully written to FS - Fix when sending `Date()` Object over HTTP upload in `meta` Object - Fix issue when `userId` was `null` in browsers with no localStorage support - Fix for `fileRef` passed into `protected` callback - Fix upload when first chunk isn’t actually first - Fix resume upload in `http` transport - Fix `.continue()` after broken connection - Fix when file loaded via `.load()` method has no `content-length` and/or `content-type` headers - Fix #114 - Fix #100 - Allow to pass `fileName` property to `.insert()` method - Fix #103 - Fix #99 - Fix #97 - [AWS:S3 Integration example](https://github.com/VeliovGroup/Meteor-Files/wiki/AWS-S3-Integra tion) __Breaking changes__: - Minimum required version of Meteor is `1.3.3.1` - `. checkAccess()` (`.protected()`) methods isn’t called anymore on `.find()`, `.findOne()`, `.remove()`, `.insert()`. Use `onBeforeRemove` and `onBeforeUpload` callbacks to control user access - Implement Cursor for `FilesCollection`, as `FileCursor ` - Methods `.find()` and `.findOne()` now always returns `FileCursor` instance - Methods `.get()` and `.fetch()` now moved to `FileCursor`, and not available on `FilesCollection` instance - `onBeforeUpload()` callback now receives `FileCursor` as argument - `.link()` method is requires first argument - All internal methods, events and properties now has `_` prefix - Property `ext` on *fileRef* is __deprecated__ use __extension__ instead [Demo Application](https://files.veliov.com) - Use AWS:S3 as storage - New design - PDF preview - GitHub Markdown support and highlighting - Basic SEO - Valid Schema.org markup - Accounts: Now you can login via Facebook, Twitter, GitHub or Meteor account. And have your private or unlisted files
- Loading branch information