marcin mikołajczak
44475bbc9c
i18n: 🇵🇱 ( #10199 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
ThibG
34f261e6af
Avoid unnecessarily fetching the replies collection when it is empty ( #10201 )
6 years ago
rinsuki
f44091d653
Fix #10202 ( #10203 )
6 years ago
ThibG
96f905f409
Add optimistic lock to avoid race conditions when handling votes ( #10196 )
...
* Add optimistic lock to avoid race conditions when handling votes
* Force-reload polls when getting `ActiveRecord::StaleObjectError`
6 years ago
ThibG
b3668a79ec
Disable the underlying button element when an ItemButton is disabled ( #10194 )
...
Fixes #10191
6 years ago
ThibG
cb217444b8
Disable file upload when there is a poll ( #10195 )
6 years ago
Eugen Rochko
fd128b9c7a
Fix poll options not rendering text after vote/refresh ( #10189 )
...
* Fix poll options not rendering text after vote/refresh
* Fix poll options not showing up on public pages
* Fix code style issue
6 years ago
Eugen Rochko
57643557b6
Avoid line breaks in poll options ( #10188 )
6 years ago
Eugen Rochko
5996be994d
Fix poll validation issues ( #10186 )
...
- Fix missing interpolation argument in PollValidator
- Fix PollValidator rejecting exact allowed min/max durations
6 years ago
Eugen Rochko
d97cbb0da6
Add UI for creating polls ( #10184 )
...
* Add actions and reducers for polls
* Add poll button
* Disable media upload if poll enabled
* Add poll form
* Make delete & redraft work with polls
6 years ago
Eugen Rochko
4407f07014
Render unicode emoji in polls using emoji pack ( #10185 )
6 years ago
ThibG
efd0fb8088
Fix newlines in OStatus and RSS serializations ( #10183 )
6 years ago
Eugen Rochko
d604489b5e
Weblate translations (2019-03-05) ( #10180 )
...
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Czech)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Czech)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Greek)
Currently translated at 98,4% (752 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (98 of 98 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 66,8% (510 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/
* Translated using Weblate (Italian)
Currently translated at 99,7% (360 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/it/
* Translated using Weblate (Italian)
Currently translated at 100,0% (63 of 63 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/it/
* Translated using Weblate (Italian)
Currently translated at 100,0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/it/
* Translated using Weblate (Kazakh)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/
* Translated using Weblate (Italian)
Currently translated at 88,9% (679 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/it/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (764 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Persian)
Currently translated at 99,7% (762 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/
* Translated using Weblate (Arabic)
Currently translated at 93,2% (712 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Arabic)
Currently translated at 96,4% (107 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Arabic)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Korean)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Korean)
Currently translated at 100.0% (764 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Korean)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Corsican)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/
* Translated using Weblate (Corsican)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (French)
Currently translated at 99,7% (360 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Lithuanian)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/lt/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/
* Translated using Weblate (Kazakh)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/
* Translated using Weblate (Greek)
Currently translated at 99,9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Added translation using Weblate (Bengali)
* Translated using Weblate (Bengali)
Currently translated at 2,1% (16 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/bn/
* Translated using Weblate (Japanese)
Currently translated at 98,1% (354 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Galician)
Currently translated at 100,0% (764 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (762 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (French)
Currently translated at 99.9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Telugu)
Currently translated at 99.4% (359 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/te/
* Translated using Weblate (Spanish)
Currently translated at 84.7% (647 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (762 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Esperanto)
Currently translated at 98.2% (109 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/eo/
* Translated using Weblate (Esperanto)
Currently translated at 99.9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/
* Translated using Weblate (Japanese)
Currently translated at 98.3% (751 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Esperanto)
Currently translated at 98.4% (62 of 63 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/eo/
* Translated using Weblate (Esperanto)
Currently translated at 99.9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/
* Translated using Weblate (Czech)
Currently translated at 99.9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (98 of 98 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/cs/
* Translated using Weblate (Persian)
Currently translated at 100.0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fa/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Czech)
Currently translated at 100.0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Occitan)
Currently translated at 95,7% (731 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/
* Translated using Weblate (Persian)
Currently translated at 99,7% (762 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (361 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (63 of 63 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/oc/
* Translated using Weblate (Occitan)
Currently translated at 96.9% (740 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (French)
Currently translated at 99.9% (763 of 764 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Czech)
Currently translated at 100.0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/
* Translated using Weblate (Thai)
Currently translated at 14.4% (52 of 361 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/th/
* Translated using Weblate (Greek)
Currently translated at 99.9% (771 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Korean)
Currently translated at 100.0% (772 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Corsican)
Currently translated at 99.9% (771 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (770 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (111 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/
* Translated using Weblate (French)
Currently translated at 99.9% (771 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Czech)
Currently translated at 99.0% (764 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Persian)
Currently translated at 99.7% (770 of 772 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/
* Translated using Weblate (Czech)
Currently translated at 98.7% (765 of 775 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Czech)
Currently translated at 99.9% (774 of 775 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Swedish)
Currently translated at 64,0% (71 of 111 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sv/
* Translated using Weblate (Corsican)
Currently translated at 99,9% (774 of 775 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (Greek)
Currently translated at 99,9% (774 of 775 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Czech)
Currently translated at 100.0% (63 of 63 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/cs/
* Translated using Weblate (Galician)
Currently translated at 100,0% (775 of 775 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Portuguese)
Currently translated at 100.0% (63 of 63 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/pt/
* i18n-tasks normalize
* yarn manage:translations
* Fix missing plural keys
* Fix inconsistent interpolations
6 years ago
ThibG
636db1f54f
When serializing polls over OStatus, serialize poll options to text ( #10160 )
...
* When serializing polls over OStatus, serialize poll options to text
* Do the same for RSS feeds
* Use “[ ] ” as a prefix for poll options instead of “- ”
6 years ago
Eugen Rochko
0c43c320db
Fix status creation API silently discarding invalid poll ( #10171 )
6 years ago
ThibG
df5924a1db
Do not error out on unsalvageable errors in FetchRepliesService ( #10175 )
...
* Do not error out on unsalvageable errors in FetchRepliesService
Fixes #10152
* Fix FetchRepliesWorker erroring out on deleted statuses
6 years ago
ThibG
d785497ba5
Fix suspended account's fields being set as empty dict instead of list ( #10178 )
...
Fixes #10177
6 years ago
Eugen Rochko
ac99b3465e
Fix NoMethodError in ActivityPub::NoteSerializer ( #10172 )
6 years ago
Eugen Rochko
4037b5eb1e
Fix last_fetched_at not being set on polls ( #10170 )
6 years ago
Eugen Rochko
a198add83b
Fix various issues in polls ( #10165 )
...
* Fix ActivityPub poll results being serialized even with hide_totals
* Fix poll refresh button having a different font size
* Display poll in OpenGraph description
* Fix NoMethodError when serializing votes
Regression from #10158
* Fix polls on public pages being broken for non-logged-in users
* Do not show time remaining if poll has no expiration date
6 years ago
Eugen Rochko
5d3e7cee99
Fix featured tag form not failing on failed tag validations ( #10167 )
6 years ago
Eugen Rochko
05dfd632c7
Fix poll options not being stripped of surrounding whitespace on save ( #10168 )
6 years ago
ThibG
cda6ece760
Display closed polls as such ( #10156 )
6 years ago
ThibG
833ffce2df
Store remote votes URI ( #10158 )
...
* Store remote votes URI
* Add spec for accepting remote votes
* Make poll vote id generation work the same way as follows
6 years ago
ThibG
7a25bb858a
Ensure only people allowed to see the poll can actually vote ( #10161 )
6 years ago
ThibG
f2a1b8b96b
Widen allowed time windows for polls ( #10162 )
6 years ago
ThibG
3de71887d8
Add non-JS fallback for polls on public pages ( #10155 )
6 years ago
ThibG
4ced609497
Fixes to the polls UI ( #10150 )
...
* Allow unselecting choices in multiple choice polls
* Properly disable checkboxes/radio buttons for polls in public pages
* Visually differentiate checkboxes and radio buttons
6 years ago
Eugen Rochko
1a7de769a3
Fix ActivityPub votes having nil IDs ( #10151 )
6 years ago
Eugen Rochko
0e6998da3c
Add tests for ActivityPub poll processing ( #10143 )
6 years ago
Eugen Rochko
3cf98aac66
Fix missing in_reply_to in ActivityPub::VoteSerializer ( #10148 )
6 years ago
Eugen Rochko
e6900b167b
Fix another typo in ActivityPub::FetchRemotePollService ( #10146 )
6 years ago
Eugen Rochko
878a75ba21
Fix typo in ActivityPub::FetchRemotePollService ( #10145 )
6 years ago
Eugen Rochko
ae1b9cf70a
Fix remote poll expiration time ( #10144 )
6 years ago
ThibG
f821eca3b3
Correctly make polls and media mutually exclusive ( #10141 )
6 years ago
ThibG
e13d3792f3
Make sure the poll is created before storing its id ( #10142 )
...
* Make sure the poll is created before storing its id
* Fix updating poll results
* Support fetching Question activities from the search bar
6 years ago
Eugen Rochko
5dfa433698
Fix web UI crash on page load when detailed status has a poll ( #10139 )
6 years ago
ThibG
26c56d0c10
Insert polls in redux stores before statuses so it avoids crashes ( #10140 )
6 years ago
Eugen Rochko
8fe93b0701
Fix vote validation for polls with multiple choices ( #10138 )
6 years ago
Eugen Rochko
230a012f00
Add polls ( #10111 )
...
* Add polls
Fix #1629
* 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
6 years ago
ThibG
99dc212ae5
Fix lists export ( #10136 )
6 years ago
Eugen Rochko
3e0ed36e8e
Fix home timeline perpetually reloading when empty ( #10130 )
...
Regression from #6876
6 years ago
ThibG
ee7d79c0ce
Fix serialization of boosts ( #10129 )
...
The condition introduced by #9998 was wrong, serializing boosts
that weren't self-boosts, and not serializing self-boosts.
6 years ago
ThibG
d8498b3983
Give the `replies` collection an identifier and enable pagination ( #10128 )
6 years ago
ThibG
9d3c6f1849
Improved remote thread fetching ( #10106 )
...
* Fetch up to 5 replies when discovering a new remote status
This is used for resolving threads downwards. The originating
server must add a “replies” attributes with such replies for it to
be useful.
* Add some tests for ActivityPub::FetchRepliesWorker
* Add specs for ActivityPub::FetchRepliesService
* Serialize up to 5 public self-replies for ActivityPub notes
* Add specs for ActivityPub::NoteSerializer
* Move exponential backoff logic to a worker concern
* Fetch first page of paginated collections when fetching thread replies
* Add specs for paginated collections in replies
* Move Note replies serialization to a first CollectionPage
The collection isn't actually paginable yet as it has no id nor
a `next` field. This may come in another PR.
* Use pluck(:uri) instead of map(&:uri) to improve performances
* Fix fetching replies when they are in a CollectionPage
6 years ago
ThibG
6e8743d17a
Fix direct timeline pagination in the WebUI ( #10126 )
...
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer conversations (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in the direct timeline, which happens each time
the direct message column is opened.
(Basically #9516 for direct messages)
6 years ago
trwnh
df01206703
Allow getting-started to scroll on short screens ( #10075 )
...
At 480px height, there is not enough space to fully display the footer.
6 years ago
ThibG
9edab46368
Fix mention processing for unknwon accounts on incoming ActivityPub Notes ( #10125 )
...
`::FetchRemoteAccountService` is not `ActivityPub::FetchRemoteAccountService`,
its second argument is the pre-fetched body. Passing `id: false` actually passed
a `Hash` as the prefetched body, instead of properly resolving unknown remote
accounts.
6 years ago
abcang
a5e7ada62f
Improve account media query ( #10121 )
6 years ago
Eugen Rochko
e7f20cc43f
Add type, limit, offset, min_id, max_id, account_id to search API ( #10091 )
...
* Add type, limit, offset, min_id, max_id, account_id to search API
Fix #8939
* Make the offset work on accounts and hashtags search as well
* Assure brakeman we are not doing mass assignment here
* Do not allow paginating unless a type is chosen
* Fix search query and index id field on statuses instead of created_at
6 years ago