a2f1c94586
Manage order with sorts and indexing rather than keys
...
The jury is still out on this. Indexes are the "right" way to do this but are actually slower in some circumstances.
2018-01-12 11:50:56 -06:00
3b9fb3ea19
Fix "Next" button ordering
2018-01-08 21:48:03 -06:00
0dcb6600fa
Don't explicitly import Event to address Pouchdb's eventemitter limits
2018-01-07 14:35:22 -06:00
fa88b36c76
DB layer needs the ability to specify other query options:
...
- limit
- skip
- sort
- fields
2017-12-29 12:49:47 -06:00
c7e76fc169
Remove image from album upon deletion
2017-11-25 16:02:06 -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
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
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
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
cb63685e7e
Global DB is for debugging
2017-10-30 05:05:04 -05:00
e5f8335bf4
Update PouchDB to include MangoQueries
2017-10-19 16:51:14 -05:00
9c465cd405
Tag support
2017-04-17 22:25:58 -05:00
187adf015d
Must use the same db.
2017-04-17 22:22:44 -05:00
5fd071c003
Centralize database source.
2017-04-06 16:32:59 -05:00
b874c07f01
Add Gallery - core image model working
...
(add, imported event, thumbnail generation, removal)
2017-03-22 08:32:47 -05:00