Commit graph

10 commits

Author SHA1 Message Date
d599f2f308
run idb operations in a web worker (#517) 2018-08-29 19:03:12 -07:00
270df188cb
Store IDB data for 1 week rather than 2 weeks (#498)
Based on issues I'm seeing on iOS Safari, I'm guessing that my IDB caching is too aggressive and is hitting origin storage limits, which causes IDB transactions in safari to fail silently and never call any transaction callbacks (`onblocked`, `onerror`, `oncomplete`).

This is pretty bad and causes Pinafore to basically just not work unless you clear site data, which we should avoid. 2 weeks was probably unnecessary anyway; in a social network, who cares about content that's 2 weeks old?
2018-08-26 15:38:54 -07:00
8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
da2daa955d fix statuses being deleted from threads 2018-03-10 20:24:07 -08:00
f42a07162b simplify idb schema 2018-03-08 23:18:18 -08:00
e3b6a9b758 fix offline threads 2018-03-08 18:31:59 -08:00
144468ade2 lint fixup 2018-02-13 19:35:46 -08:00
92f6dd96c0 implement periodic db cleanup 2018-02-13 19:34:37 -08:00