Commit Graph

9 Commits

Author SHA1 Message Date
Eugen Rochko
fd128b9c7a
Fix poll options not rendering text after vote/refresh ()
* Fix poll options not rendering text after vote/refresh

* Fix poll options not showing up on public pages

* Fix code style issue
2019-03-06 05:35:52 +01:00
Eugen Rochko
4407f07014
Render unicode emoji in polls using emoji pack () 2019-03-06 03:57:46 +01:00
ThibG
26c56d0c10 Insert polls in redux stores before statuses so it avoids crashes () 2019-03-03 23:44:52 +01:00
Eugen Rochko
230a012f00
Add polls ()
* Add polls

Fix 

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media
2019-03-03 22:18:23 +01:00
Eugen Rochko
5b6db8a62a
Disable service worker media cache and IndexedDB storage ()
Fix 
Fix 
2018-07-03 19:50:18 +02:00
Akihiko Odaki
1ed1014546 Free stroage if it is exceeding disk quota () 2018-04-08 13:32:39 +02:00
Akihiko Odaki
ca42f9b0eb Cache media () 2018-03-27 12:32:30 +02:00
unarist
605a92b460 Fix moved account handling in IndexedDB feature ()
* Fix stack overflow on importFetchedAccounts

  When the account has moved property, it should process destination
  account instead of source account itself.

* Set account id instead of account object for moved property

  This restores "foo has moved to" indication on account view, and
  fixes `reblog` index on `accounts` object store.
2018-03-26 12:48:01 +02:00
Akihiko Odaki
fe398a098e Store objects to IndexedDB () 2018-03-24 13:06:27 +01:00