145 Commits

Author SHA1 Message Date
3206345999 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
9b07868edd Deleting images deletes companion files.
and cleaner logging.
2017-11-20 18:29:33 -06:00
d2c1d3b63c Class-based types for the ORM feel a little more natural. 2017-11-19 22:51:02 -06:00
278fc68831 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
d14bfdeee2 doc-based view keys are _id + _rev 2017-11-18 00:22:06 -06:00
0fba33499d FileType doesn't need to be sequenced 2017-11-13 23:40:39 -06:00
c34fed16bb Progress on PouchORM (this breaks things) 2017-11-13 22:01:55 -06:00
547002902b Show some sort of header if we have some images. 2017-11-13 21:48:07 -06:00
5c433f1231 LiveArray can manage it's own watchers (across dbs even) 2017-11-13 21:46:38 -06:00
8c138571c2 isObject needs to be more accessible 2017-11-13 21:43:19 -06:00
f0afc6a01f Usage AttachmentImageView to smartly handle attachment images 2017-11-11 22:42:46 -06:00
84c141a9b3 Rename ImageView to ThumbnailView to make room for AttachmentImageView 2017-11-11 21:38:30 -06:00
32813ec80b Rename observable to prop(erty) to distinguish from TC39 2017-11-11 21:37:46 -06:00
acc0cfb29e Style element helper should convert class objects to a string. 2017-11-07 07:56:19 -06:00
c6b6be9d4c Fix style service not rendering included style objects 2017-11-06 21:55:56 -06:00
2c7a8b1e84 It's a style service, not a styletron util. 2017-11-06 21:47:23 -06:00
78e3ffae00 Pull in semantic-ui's reset and some basic CSS. 2017-11-06 21:40:19 -06:00
0e1c24bfea Introduce Styletron for component styles 2017-11-06 21:39:25 -06:00
6c83e83a74 Use the latest FRPtools 2017-11-03 07:23:33 -05:00
7ef5347a89 The micro version should be enough 2017-11-02 17:22:27 -05:00
fd0c7a2f70 Stay up-to-date with DOMVM. 2017-11-02 08:38:58 -05:00
e89413940a 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
3e8e4e068a Global DB is for debugging 2017-10-30 05:05:04 -05:00
f623fcd625 Allow Watcher Re-use to cut down on memory pressure. 2017-10-30 04:59:41 -05:00
6b0cfc0d2e GenerateThumbnails was loading too often 2017-10-30 04:46:28 -05:00
77b6bc929d Unused 2017-10-30 04:41:58 -05:00
a9a252f8b0 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
937713de53 ImportWatcher -> BackgroundTask -> _processImportables
Continuing the push to remove explicit events for db changes
2017-10-27 09:20:49 -05:00
6f103b92bc BackgroundTask no longer debounces 2017-10-27 09:19:03 -05:00
941e1f6b1b Use DB Watcher to trigger generateThumbnails 2017-10-27 08:55:50 -05:00
893dfaff94 Use MangoQueries for Image import 2017-10-27 07:52:22 -05:00
89efb0c65f Update PouchDB to include MangoQueries 2017-10-19 16:51:14 -05:00
62ffed8095 Remove unnecessary ThumbnailView.js 2017-09-29 22:44:37 -05:00
e998747a2d Gallery -> DOMVM GalleryView
The whole app is converted to be base in DOMVM now.  But there are bugs.
2017-09-29 16:54:08 -05:00
9b4e8f0776 Album -> DOMVM AlbumView 2017-09-27 12:27:25 -05:00
3ef6f3b856 Image -> DOMVM ImageView 2017-09-25 15:39:16 -05:00
2ea0856148 Start conversion to DOMVM: thumbnail 2017-09-25 14:04:39 -05:00
ade9b64a13 Add convenience logging. 2017-05-18 14:01:38 -05:00
0268f01bf3 Dynamically load some seldom-used modules. 2017-04-20 21:41:08 -05:00
30bfcd8e17 Add album view 2017-04-18 09:06:26 -05:00
6576cf9a18 Tag support 2017-04-17 22:25:58 -05:00
a7d5a976ca Must use the same db. 2017-04-17 22:22:44 -05:00
4ec3775659 Allow deepAssign to delete props. 2017-04-17 15:13:09 -05:00
94249321c6 Centralize database source. 2017-04-06 16:32:59 -05:00
386f8e0012 Add Gallery - core image model working
(add, imported event, thumbnail generation, removal)
2017-03-22 08:32:47 -05:00