8 Commits

Author SHA1 Message Date
fa88b36c76 DB layer needs the ability to specify other query options:
- limit
- skip
- sort
- fields
2017-12-29 12:49:47 -06:00
ad49f2a687 Add back albums
Removing an image from an album does not delete it.  Deleteing an images does not remove its link from the album.
2017-11-20 21:57:37 -06:00
e5107e72f9 So much in here
- Image.upload calls File.upload
- doc deletes are PUT instead of deleted
- generate thumbnails is called off of processImportables
- got rid of stupid context loaders
- added Type.getOrCreate()
- fix massively broken comparators
- get rid of global watcher (unnecessary with new delete method)

Still broken
- indexes (albums)
- files not deleted along with images
- some wonky jpgs
2017-11-19 21:21:39 -06:00
0f94822a8a LiveArray can manage it's own watchers (across dbs even) 2017-11-13 21:46:38 -06:00
3b84cacbaa Rename observable to prop(erty) to distinguish from TC39 2017-11-11 21:37:46 -06:00
faa3c48c99 Redo LiveArray to watch all returned IDs for removal from the selector.
There is still a big TODO here in that the globalWatcher mechanism assumes one database.  Need to re-structure this whole thing around a db instance.
2017-11-02 08:38:13 -05:00
90e67b6217 Allow Watcher Re-use to cut down on memory pressure. 2017-10-30 04:59:41 -05:00
722944cadd Interface is fully DB-driven
While there are still events for things like maintaining indexes, those may be unnecessary and may go away.
2017-10-30 04:22:21 -05:00