210 Commits

Author SHA1 Message Date
b235c3dcf6 Missed a conversion to use defineElement 2017-11-25 22:51:13 -06:00
53a38b13e8 Gotta have a place for non-specific components 2017-11-25 22:18:04 -06:00
c7e76fc169 Remove image from album upon deletion 2017-11-25 16:02:06 -06:00
6f233cb764 Simplify thumbnail into a template 2017-11-24 23:08:33 -06:00
a86974f08a Use streams for a little better memory reuse. 2017-11-24 23:02:24 -06:00
be0f613ce0 Unify domvm versions 2017-11-24 21:39:43 -06:00
cc1c193fb1 Replace file uploads with dropzone 2017-11-24 21:39:12 -06:00
b44886f0f5 Associate images with albums via image.$links.
All types now have a $links property.
2017-11-21 23:58:22 -06:00
43a20c4afe Don't try to add an album if the user cancels 2017-11-21 23:51:31 -06:00
afb8734835 Expose a frozen baseSelector for each type.
each document should have a type property
2017-11-21 16:49:46 -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
0b26e63061 Frptools uses a hash function now instead of a comparator 2017-11-20 20:57:18 -06:00
46fdb975c5 Deleting images deletes companion files.
and cleaner logging.
2017-11-20 18:29:33 -06:00
ad6666bd50 Class-based types for the ORM feel a little more natural. 2017-11-19 22:51:02 -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
cb4af2c407 doc-based view keys are _id + _rev 2017-11-18 00:22:06 -06:00
46e11b051e FileType doesn't need to be sequenced 2017-11-13 23:40:39 -06:00
b901bc7a26 Progress on PouchORM (this breaks things) 2017-11-13 22:01:55 -06:00
d984e96af0 Show some sort of header if we have some images. 2017-11-13 21:48:07 -06:00
0f94822a8a LiveArray can manage it's own watchers (across dbs even) 2017-11-13 21:46:38 -06:00
302816b597 isObject needs to be more accessible 2017-11-13 21:43:19 -06:00
b4b0d86da7 Usage AttachmentImageView to smartly handle attachment images 2017-11-11 22:42:46 -06:00
73897966c5 Rename ImageView to ThumbnailView to make room for AttachmentImageView 2017-11-11 21:38:30 -06:00
3b84cacbaa Rename observable to prop(erty) to distinguish from TC39 2017-11-11 21:37:46 -06:00
8f73b59339 Add note about the upcoming Javascript Observable proposal. 2017-11-09 08:10:39 -06:00
6a198e21bd Style element helper should convert class objects to a string. 2017-11-07 07:56:19 -06:00
063e3a3a3f Fix style service not rendering included style objects 2017-11-06 21:55:56 -06:00
d27affabfb It's a style service, not a styletron util. 2017-11-06 21:47:23 -06:00
1288c1333c Pull in semantic-ui's reset and some basic CSS. 2017-11-06 21:40:19 -06:00
fb6fac7aed Introduce Styletron for component styles 2017-11-06 21:39:25 -06:00
5d55a2cc3b Use the latest FRPtools 2017-11-03 07:23:33 -05:00
c386545cb6 FRPtools 1.2.0
- add the ability to have comparators for complex types
- computed.unsubscribeAll() to give more cleanup options
2017-11-02 21:04:08 -05:00
fc59945966 The micro version should be enough 2017-11-02 17:22:27 -05:00
1cd18df824 Stay up-to-date with DOMVM. 2017-11-02 08:38:58 -05: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
e37679c2c9 Add computed.unsubscribeAll. Sometimes we want to remove...
...subscribers without removing dependencies.
2017-11-02 08:35:52 -05:00
1e10b27f69 Rudimentary support for comparators. 2017-11-02 00:19:57 -05:00
cb63685e7e Global DB is for debugging 2017-10-30 05:05:04 -05:00
90e67b6217 Allow Watcher Re-use to cut down on memory pressure. 2017-10-30 04:59:41 -05:00
55768a892a GenerateThumbnails was loading too often 2017-10-30 04:46:28 -05:00
22cce79b80 Unused 2017-10-30 04:41:58 -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
3563ee6fcb Add empty-subcription detection to frptools
bump to v1.1.0
2017-10-27 21:37:57 -05:00
ead1c5766a ImportWatcher -> BackgroundTask -> _processImportables
Continuing the push to remove explicit events for db changes
2017-10-27 09:20:49 -05:00
a6b6d00f49 BackgroundTask no longer debounces 2017-10-27 09:19:03 -05:00
36773bf5c0 Use DB Watcher to trigger generateThumbnails 2017-10-27 08:55:50 -05:00
99b8b9a636 Use MangoQueries for Image import 2017-10-27 07:52:22 -05:00
e5f8335bf4 Update PouchDB to include MangoQueries 2017-10-19 16:51:14 -05:00
65166a9f53 Remove unnecessary ThumbnailView.js 2017-09-29 22:44:37 -05:00
e1c1c0e18a 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