Skip to content

v1.6.0#120

Merged
dr-dimitru merged 93 commits intomasterfrom
dev
Jul 2, 2016
Merged

v1.6.0#120
dr-dimitru merged 93 commits intomasterfrom
dev

Conversation

@dr-dimitru
Copy link
Copy Markdown
Member

  • ostrio:files package was awarded in GCAA 2016 as simple, smooth and versatile file-upload package
  • Support for METEOR@1.3.4.1
  • 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 GridFS example #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 GridFS example #114
  • Fix Change Filename during upload #100 - Allow to pass fileName property to .insert() method
  • Fix Upload Example - Progress Doesn't Work Exactly As Shown #103
  • Fix Dynamic Config (storagePath) #99
  • Fix downloadCallback doesn't receive userId #97
  • AWS:S3 Integration example

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

  • 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

dr-dimitru added 30 commits June 3, 2016 16:12
 - Allow to pass `fileName` property to `.insert()` method (see #100)
 - Minor code enhancements
 - Fix #97
 - If user not logged in or package `accounts-base` isn’t installed
`.user()` method always returns `null`
 - Fix issue when `userId` was `null` in browsers with no localStorage
support
 - __Major change__: `. checkAccess()` (`.protected()`) methods isn’t
called anymore on `.find()`, `.findOne()`, `.remove()`, `.insert()`.
Use `onBeforeRemove` and `onBeforeUpload` callbacks to control user
access
dr-dimitru and others added 29 commits June 26, 2016 05:43
 - Property `ext` on *fileRef* is __deprecated__ use __extension__
instead
 - Implementation of Cursor for `.findOne()` the `FileCursor`
 - Implementation of Cursor for `.find()` the `FilesCursor`
 - Add `config.onAfterRemove` callback, see #114
 - Compatibility with Meteor@1.3.4.1
 - Full integration with AWS S3
 - New API compatibility
 - Other fixes and enhancements
 - Should fix issue described in #114 and #99
- Big thanks to @epaminond for investigation, see #114
- From v1.6.0 minimum required version of Meteor is `1.3.3.1`
 - `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 `METEOR@1.3.4.1`
 - 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
@dr-dimitru dr-dimitru merged commit 18de999 into master Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants