Thibaut Girka
9b093dfcde
Merge branch 'master' into glitch-soc/merge-upstream
2019-03-08 00:57:13 +01:00
Eugen Rochko
19cccea89a
Fix NaN in Poll component ( #10213 )
2019-03-07 22:18:05 +01:00
Eugen Rochko
8e9db67a6a
Fix public timelines being broken by new toots when they are not mounted ( #10131 )
2019-03-07 22:17:52 +01:00
Thibaut Girka
d8d8c64965
Merge branch 'master' into glitch-soc/merge-upstream
2019-03-07 13:24:30 +01:00
marcin mikołajczak
5232eccc5c
i18n: 🇵🇱 ( #10199 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2019-03-07 02:52:43 +01:00
Thibaut Girka
a9597fd8a6
Allow setting whether this is a single choice poll or multiple choices one
2019-03-06 23:56:53 +01:00
Thibaut Girka
81a92465f2
Disable file upload when there is a poll
2019-03-06 23:56:53 +01:00
Thibaut Girka
49c4e57973
Use server-provided poll limits instead of hardcoded ones
...
Also does not enable polls if no limits are provided by the server
2019-03-06 23:56:53 +01:00
Thibaut Girka
e2d56cc90d
[Glitch] Port polls creation UI from upstream
2019-03-06 23:56:53 +01:00
ThibG
6b4eb1ac96
[Glitch] Disable the underlying button element when an ItemButton is disabled
...
Port 365f875f57
to glitch-soc
2019-03-06 22:40:17 +01:00
Thibaut Girka
f123b809a7
Merge branch 'master' into glitch-soc/merge-upstream
2019-03-06 22:39:22 +01:00
ThibG
365f875f57
Disable the underlying button element when an ItemButton is disabled ( #10194 )
...
Fixes #10191
2019-03-06 15:10:32 +01:00
ThibG
0b7c53937f
Disable file upload when there is a poll ( #10195 )
2019-03-06 15:09:18 +01:00
Thibaut Girka
8d82e153f3
Add an icon to highlight polls behind a Content Warning
2019-03-06 13:01:27 +01:00
Eugen Rochko
9844b44e99
Fix poll options not rendering text after vote/refresh
...
Port 9cae3a3b48
to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko
31017d18a5
Avoid line breaks in poll options
...
Port 0d8890f073
to glitch-soc
2019-03-06 11:43:14 +01:00
Eugen Rochko
3ce4d88e6c
Render unicode emoji in polls using emoji pack
...
Port 73d3bb4a2c
to glitch-soc
2019-03-06 11:42:25 +01:00
Thibaut Girka
3ebbc1f017
Merge branch 'master' into glitch-soc/merge-upstream
2019-03-06 11:29:06 +01:00
Eugen Rochko
9cae3a3b48
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
2019-03-06 05:35:52 +01:00
Eugen Rochko
0d8890f073
Avoid line breaks in poll options ( #10188 )
2019-03-06 04:54:32 +01:00
Eugen Rochko
a15b0dc600
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
2019-03-06 04:53:37 +01:00
Eugen Rochko
73d3bb4a2c
Render unicode emoji in polls using emoji pack ( #10185 )
2019-03-06 03:57:46 +01:00
Thibaut Girka
bd97259b57
Fix toots opening in dynamic column when trying to interact with them
...
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
2019-03-06 00:20:43 +01:00
Thibaut Girka
9cb4a4c14e
Merge branch 'master' into glitch-soc/merge-upstream
2019-03-06 00:03:46 +01:00
Thibaut Girka
6ad1fc3254
[Glitch] Perform deep comparison for card data when receiving new props
...
Prevents embedded players from resetting when interacting with the toot
2019-03-05 23:22:29 +01:00
Eugen Rochko
9e24d7dfa9
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
2019-03-05 21:52:40 +01:00
Eugen Rochko
ec787e4205
Fix various issues in polls
...
Port front-end changes from 1321801577
to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
25ef8dffbc
Display closed polls as such
...
Port 674d232cd1
to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
469e5af537
Fixes to the polls UI
...
Port 4987602069
to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
c156b6d696
Fix web UI crash on page load when detailed status has a poll
...
Port 21246d861e
to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
e31450e8ad
Insert polls in redux stores before statuses so it avoids crashes
...
Port 6d08fd5170
to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
342d9d25bb
Add polls
...
Port front-end parts of 4a3acdc916
to glitch-soc
2019-03-05 21:35:03 +01:00
Thibaut Girka
69fd801c8e
Port upstream refactoring of reducers and actions
...
Also includes 4923646361
2019-03-05 21:35:03 +01:00
Eugen Rochko
0dc5c2a4a5
Fix home timeline perpetually reloading when empty
...
Port 0c8d1435c5
to glitch-soc
2019-03-05 19:30:11 +01:00
Thibaut Girka
c0b876f726
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/models/status.rb
- db/schema.rb
Both conflicts are caused by us having extra database columns.
2019-03-05 19:23:16 +01:00
Eugen Rochko
1321801577
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
2019-03-05 03:51:18 +01:00
ThibG
674d232cd1
Display closed polls as such ( #10156 )
2019-03-04 22:52:41 +01:00
ThibG
4987602069
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
2019-03-04 01:54:14 +01:00
Eugen Rochko
21246d861e
Fix web UI crash on page load when detailed status has a poll ( #10139 )
2019-03-03 23:45:02 +01:00
ThibG
6d08fd5170
Insert polls in redux stores before statuses so it avoids crashes ( #10140 )
2019-03-03 23:44:52 +01:00
Eugen Rochko
4a3acdc916
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
2019-03-03 22:18:23 +01:00
Mélanie Chauvel (ariasuni)
c02d1558f1
[Glitch] Fix errors found by eslint
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Mélanie Chauvel (ariasuni)
f01d004a1a
[Glitch] Make the column header of profile view look like the others, too
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Mélanie Chauvel (ariasuni)
2a7690601a
[Glitch] Make the column header of toot/thread view look like the others
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Eugen Rochko
0c8d1435c5
Fix home timeline perpetually reloading when empty ( #10130 )
...
Regression from #6876
2019-03-01 11:11:35 +01:00
Thibaut Girka
91934eeb74
Merge branch 'master' into glitch-soc/merge-upstream
2019-02-28 21:35:53 +01:00
ThibG
5ba0c11a72
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)
2019-02-27 19:13:16 +01:00
Thibaut Girka
bdc5cd092e
Port public page mastodon-light fixes from upstream
2019-02-27 16:24:57 +01:00
trwnh
ab95e681f4
Allow getting-started to scroll on short screens ( #10075 )
...
At 480px height, there is not enough space to fully display the footer.
2019-02-27 15:03:28 +01:00
Eugen Rochko
df01d5181e
Fix web UI not removing notifications after block ( #10108 )
...
Regression from #7311
2019-02-26 19:33:59 +01:00