Commit graph

19 commits

Author SHA1 Message Date
ThibG
b359974d9b Show user what options they have voted ()
* Add own_votes field to poll results in REST API

Fixes 

* Display user votes in WebUI

* Update styling

* Add vote checkmark to public pages
2019-09-22 14:15:18 +02:00
ThibG
4bd58b7f2d Display custom emoji in bio field names ()
Already displayed in public pages, but not WebUI
2019-07-21 03:40:27 +02:00
ThibG
47ef4a6c7a Apply filters to poll options ()
* Apply filters to poll options in WebUI

Fixes 

* Apply filters to poll options server-side

* Add poll options to searchable text
2019-06-25 14:45:14 +02:00
ThibG
80f0910e21 Add support for custom emojis in poll options ()
* Backend changes for custom emoji support in poll options

* Serialize poll emojis in REST API

* Render custom emojis in poll options

* Render custom emoji in poll options on public pages
2019-03-20 17:29:12 +01:00
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
f59b840549
Fix empty display name precedence over username in web UI ()
Fix 
2018-10-30 17:06:12 +01:00
Matt Sweetman
1889526e23 Add user preference to always expand toots marked with content warnings () 2018-09-24 05:44:01 +02:00
Eugen Rochko
5b6db8a62a
Disable service worker media cache and IndexedDB storage ()
Fix 
Fix 
2018-07-03 19:50:18 +02:00
Yamagishi Kazutoshi
f972815f1b Hide status content when spoiler text is not empty () 2018-06-14 08:03:51 +02:00
Eugen Rochko
d185f3ddaf
Use plaintext value for field value tooltips in web UI ()
Fix 
2018-05-07 09:30:38 +02:00
Eugen Rochko
61a9018607
Enable custom emojis in profiles (notes, field values, display names) ()
Follow-up to 
2018-05-06 11:48:51 +02:00
Eugen Rochko
78ed4ab75f
Add bio fields ()
* Add bio fields

- Fix 
- Fix 
- Fix 

* Display bio fields in web UI

* Fix output of links and missing fields

* Federate bio fields over ActivityPub as PropertyValue

* Improve how the fields are stored, add to Edit profile form

* Add rel=me to links in fields

Fix 
2018-04-14 12:41:08 +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