Commit graph

1280 commits

Author SHA1 Message Date
Vegard Skjefstad dc6175ac72 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-08 19:42:31 +00:00
Francesc Galí 1f852267c7 Translated using Weblate (Catalan)
Currently translated at 98.6% (361 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-08 19:42:31 +00:00
ButterflyOfFire 2bf2150eaa Translated using Weblate (Arabic)
Currently translated at 99.2% (363 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2019-05-08 19:42:31 +00:00
Elias Mårtenson 21af2f0ca8 Translated using Weblate (Swedish)
Currently translated at 98.4% (360 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2019-05-08 19:42:31 +00:00
Anonymous f959c4be19 Translated using Weblate (French)
Currently translated at 97.8% (358 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2019-05-08 19:42:31 +00:00
Francesc Galí 34d7b15538 Translated using Weblate (Catalan)
Currently translated at 98.1% (359 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-08 19:42:31 +00:00
Evgeny Petrov 097c1f8702 Russian translation update 2019-05-06 21:09:49 +03:00
Anonymous 5c14ed1967 Translated using Weblate (Welsh)
Currently translated at 70.8% (259 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
2019-05-06 16:53:35 +00:00
Mickson aa714c619f Translated using Weblate (Polish)
Currently translated at 74.0% (271 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2019-05-06 16:53:35 +00:00
Anonymous 624b55abbf Translated using Weblate (French)
Currently translated at 97.3% (356 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2019-05-06 16:53:35 +00:00
Francesc Galí b52633215a Translated using Weblate (Catalan)
Currently translated at 69.9% (256 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 16:53:35 +00:00
Konrad Pozniak d861f657bb fix german poll_option_format string 2019-05-06 18:53:26 +02:00
aka-rin 986b4ad8c8 Fix Chinese translations (#1246)
* Update zh-CN translations for new release.

* Update zh-SG translations for new release.

* Update zh-TW translations for new release.

* Update zh-HK translations for new release.

* Update zh-MO translations for new release.
2019-05-06 18:43:42 +02:00
Connyduck 1b386276f3 Translated using Weblate (German)
Currently translated at 96.4% (353 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2019-05-06 08:19:43 +00:00
Connyduck da1ef81dd3 Translated using Weblate (German)
Currently translated at 96.4% (353 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2019-05-06 08:15:49 +00:00
Francesc Galí 9a065f0bc1 Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 08:15:49 +00:00
Francesc Galí f49a305cfc Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 07:59:09 +00:00
Konrad Pozniak d7c32258ae
fix timespan plurals (#1240)
* fix timespan plurals

* rename poll timestamp strings and helper method
2019-05-06 09:59:06 +02:00
Francesc Galí 48f208d89b Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 07:55:22 +00:00
Conny Duck a5b2d8b813 fix strings 2019-05-05 21:25:11 +02:00
Markel @wakutiteo a8d7674980 Translated using Weblate (Spanish)
Currently translated at 81.7% (299 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2019-05-05 19:14:34 +00:00
Anonymous b6eb7c2d65 Translated using Weblate (Catalan)
Currently translated at 51.9% (190 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-05 19:14:34 +00:00
ButterflyOfFire 006bc7cc08 Translated using Weblate (Arabic)
Currently translated at 98.1% (359 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2019-05-05 19:14:34 +00:00
Konrad Pozniak b8c32a96de
Poll fixes (#1238)
* update cache when voting on a poll

* fix poll controls color

* don't allow voting on old poll from cache

* check for RecyclerView.NO_POSITION in click listener

* fix crash when voting in a boosted poll
2019-05-05 08:26:17 +02:00
Vegard Skjefstad e6d52a66db Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-03 18:42:16 +00:00
Sandor Teglasy ed878d4496 Translated using Weblate (Hungarian)
Currently translated at 86.1% (315 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2019-05-03 18:42:16 +00:00
Anonymous 613694ae2c Translated using Weblate (Hungarian)
Currently translated at 86.1% (315 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2019-05-03 18:42:16 +00:00
jeroenpraat b415629ff8 Translated using Weblate (Dutch)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-05-03 18:42:16 +00:00
Anonymous b55c1ed95e Translated using Weblate (Catalan)
Currently translated at 51.6% (189 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-03 18:42:16 +00:00
aka-rin 0ee5dd866d Update Chinese translations (#1236)
* Update zh-CN translations.

* Update zh-SG translations.

* Update zh-TW translations.

* Update zh-HK translations

* Update zh-MO translations.
2019-05-03 20:39:09 +02:00
Konrad Pozniak e735e4843e
Poll notifications (#1229)
* show poll notifications in the app

* show poll notifications in the app

* allow filtering poll notifications in the poll fragment

* show poll notifications in system notifications
2019-05-02 19:44:35 +02:00
Anonymous 9e0d8f69b4 Translated using Weblate (Catalan)
Currently translated at 49.3% (180 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-02 17:42:01 +00:00
Quentí 9f1d0ed6e2 Translated using Weblate (Occitan)
Currently translated at 98.4% (359 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2019-05-02 16:35:48 +00:00
Vegard Skjefstad 93eb372d11 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-02 16:35:48 +00:00
ButterflyOfFire 11214e59dc Translated using Weblate (French)
Currently translated at 98.4% (359 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2019-05-02 16:35:48 +00:00
jeroenpraat 190e019675 Translated using Weblate (Dutch)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-05-02 16:35:48 +00:00
Anonymous 900d0a8930 Translated using Weblate (Dutch)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-05-02 16:35:47 +00:00
Aditoo da2e74afc5 Translated using Weblate (Czech)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
2019-05-02 16:35:47 +00:00
ButterflyOfFire e264ed15c5 Translated using Weblate (Arabic)
Currently translated at 97.0% (354 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2019-05-02 16:35:47 +00:00
Konrad Pozniak 53696f752a
Fix translations (#1223)
* flatten string arrays

* delete empty ko translations

* delete crowdin comments

* fix warning in czech translation

* delete untranslated strings
2019-04-29 20:17:50 +02:00
Kristijan Tkalec f1d53d5f75 Translated using Weblate (Slovenian)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sl/
2019-04-29 18:13:31 +00:00
nailyk 6dc542aa8a Translated using Weblate (French)
Currently translated at 98.3% (343 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/fr/
2019-04-29 18:13:31 +00:00
Konrad Pozniak 8d01e54caf
add support for multiple choice polls (#1212) 2019-04-28 09:58:17 +02:00
Isak Holmström f5f04fe2c6 Translated using Weblate (Swedish)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-04-26 08:27:04 +00:00
Vegard Skjefstad a967f42820 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-26 08:27:03 +00:00
Sylke Vicious 693f49d522 Translated using Weblate (Italian)
Currently translated at 98.3% (343 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/it/
2019-04-26 08:27:03 +00:00
Aditoo 7f8dd7f18b Translated using Weblate (Czech)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/cs/
2019-04-26 08:27:02 +00:00
Vegard Skjefstad d5e460acb2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-23 10:26:57 +00:00
Vegard Skjefstad 0ce0f3687d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (338 of 338 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-22 08:11:06 +00:00
Konrad Pozniak fd7471f2ab
Polls part 1 - displaying in timelines and voting (#1200)
* add entity classes

* change data models and add database migration

* add polls to StatusViewData

* show poll results

* add methods for vote handling

* add voting interface

* enable voting in TimelineFragment

* update polls immediately

* enable custom emojis for poll options

* enable voting from search fragment

* add voting layout to detailed statuses

* fix tests

* enable voting in ViewThreadFragment

* enable voting in ConversationsFragment

* small refactor for StatusBaseViewHolder
2019-04-22 10:11:00 +02:00
nailyk 501dff2a0c Translated using Weblate (French)
Currently translated at 98.8% (332 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/fr/
2019-04-21 13:16:43 +00:00
kyori19 60d6927af6 Implement redraft feature. (#1190)
* Implement "Delete and Edit" feature

* Some changes to ComposeActivity

Support for uploaded medias, sensitive option.

Fix typo.

Change names of some extra keys.

* Use Glide instead of Picasso

* Pass ArrayList instead of json

* Change wording for re-draft

* Fix test
2019-04-21 15:16:39 +02:00
Konrad Pozniak 49ede9183d add Norwegian & Slovenian to the app language settings 2019-04-21 15:07:03 +02:00
Konrad Pozniak ef66deeae7 fix some lint warnings 2019-04-21 08:24:29 +02:00
Konrad Pozniak 8b85df08bd
upgrade build tools and enable r8 full mode (#1198)
* upgrade build tools and enable r8 full mode

* fix media description in fragment_view_video
2019-04-20 17:44:54 +02:00
pandasoft0 76ce28980c Migrate to Glide (#1175)
* Replace Picasso library with Glide library tuskyapp#1082

* Replace Picasso library with Glide library tuskyapp#1082

* Update load emoji with glide

* Update context used for Glide

* Removed unused import

* Replace deprecated SimpleTarget with CustomTarget

* Fix crash at the view image fragment, remove override image size

* Replace Single.create with Single.fromCallable

* View image fragment refactor

* Fix after merge

* Try to load cached image first and show progress view on failure

* Try to load cached image first and show progress view on failure
2019-04-16 21:39:12 +02:00
Isak Holmström 59985ef1e8 Translated using Weblate (Swedish)
Currently translated at 100.0% (336 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-04-15 17:36:16 +00:00
Kristijan Tkalec 152992cc81 Translated using Weblate (Slovenian)
Currently translated at 100.0% (336 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sl/
2019-04-15 17:36:16 +00:00
Vegard Skjefstad f4ba078a34 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (336 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-15 17:36:10 +00:00
Aditoo 3f1d081575 Translated using Weblate (Czech)
Currently translated at 100.0% (336 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/cs/
2019-04-15 17:36:07 +00:00
Vegard Skjefstad 51f753e22f Translated using Weblate (Norwegian Bokmål)
Currently translated at 73.5% (247 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-12 20:10:58 +00:00
Sylke Vicious e21f6a3dfa Translated using Weblate (Italian)
Currently translated at 98.8% (332 of 336 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/it/
2019-04-12 20:10:58 +00:00
Sylke Vicious 132f296515 Translated using Weblate (Italian)
Currently translated at 98.8% (331 of 335 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/it/
2019-04-12 20:10:58 +00:00
Aditoo 0583f278ad Translated using Weblate (Czech)
Currently translated at 100.0% (335 of 335 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/cs/
2019-04-12 20:10:58 +00:00
Isak Holmström 77315adc90 Translated using Weblate (Swedish)
Currently translated at 99.1% (331 of 334 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-04-12 20:10:58 +00:00
Isak Holmström 43a66575d1 Translated using Weblate (Swedish)
Currently translated at 100.0% (327 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-04-12 20:10:58 +00:00
Kristijan Tkalec 16440d013b Translated using Weblate (Slovenian)
Currently translated at 40.4% (132 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sl/
2019-04-12 20:10:58 +00:00
Bernd 84f561af17 confirm delete notifications (#1186)
* confirm delete notificaitons

* Use same strings as website

* Cleanup
2019-04-12 00:13:06 +02:00
Levi Bard 391cd12974 Add bot indicator overlay to avatars (#1173)
* Add bot indicator overlay to avatars

* Add bot overlay to account list in search view

* Add preference for bot avatar overlay
2019-04-09 20:13:25 +02:00
pandasoft0 63e4c1d4e0 Add CLEAR and FILTER buttons to notifications (#1168)
* Issue tuskyapp#762 add clear notifications button to the top of the Notifications adapter

* Issue tuskyapp#764 add the notifications filter

* Update notifications top bar buttons

* Replace PopupMenu with PopupWindow. Save notifications filter to the account table

* Disable hide top bar on empty content at the notification screen

* Add app bar behavior to the sw640 notification layout

* Fix issue with click on top notification tab
2019-04-09 19:13:54 +02:00
Mélanie Chauvel (ariasuni) badfff0f46 Use same profile item order (toots, following, followers) as Mastodon (#1177) 2019-04-08 14:53:28 +02:00
Conny Duck 4c68e17485 prepare new Slovenian strings file 2019-04-07 17:45:06 +02:00
Connyduck 1ab17ab716 Added translation using Weblate (Slovenian) 2019-04-07 15:28:46 +00:00
Quentí 0574bc5cc4 Translated using Weblate (Occitan)
Currently translated at 100.0% (327 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/oc/
2019-04-07 15:12:04 +00:00
Conny Duck 427b00d2b9 fix Norwegian strings 2019-04-07 17:11:53 +02:00
Konrad Pozniak 4facdc9b68
error handling in FiltersActivity (#1180) 2019-04-07 16:33:08 +02:00
Weblate 4ed65ac4a0 Update from Weblate (#1170)
* Translated using Weblate (Czech)

Currently translated at 100.0% (327 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/cs/

* Added translation using Weblate (Norwegian Bokmål)

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 57.8% (189 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/

* Translated using Weblate (Italian)

Currently translated at 100.0% (327 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/it/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (327 of 327 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-04-03 18:09:59 +02:00
Evgeny Petrov 5163927e43 Added "Warning" icon instead of "CW" text. (#1138)
* Added «Warning» icon instead of «CW» text.
Icon source: https://ionicons.com/

* Updated icon to "sms_failed"
2019-04-01 19:19:37 +02:00
Konrad Pozniak 16175ccb43
add shortcut to ComposeActivity (#1147) 2019-03-30 15:19:02 +01:00
Weblate f9350462d1 Update from Weblate (#1162)
* Translated using Weblate (German)

Currently translated at 96.0% (312 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-03-29 18:27:23 +01:00
Konrad Pozniak dda0344eda
add Conscrypt to LicenseActivity (#1161)
* add Conscrypt and AutoDispose to LicenseActivity

* remove duplicate AutoDispose again D:
2019-03-28 21:11:18 +01:00
Conny Duck cec2e4c6fa fix German Strings 2019-03-26 20:26:15 +01:00
Weblate d8fc4a6284 Update from Weblate (#1154)
* Translated using Weblate (German)

Currently translated at 94.2% (306 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/de/

* Translated using Weblate (German)

Currently translated at 94.2% (306 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/it/

* Translated using Weblate (German)

Currently translated at 94.2% (306 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/ru/

* Translated using Weblate (Japanese)

Currently translated at 89.8% (292 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/ja/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/

* Translated using Weblate (German)

Currently translated at 93.8% (305 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/de/
2019-03-26 19:43:35 +01:00
Conny Duck 615bee9f70 Merge branch 'master' of https://github.com/Vavassor/Tusky 2019-03-24 19:38:31 +01:00
Conny Duck f39da46a21 fix string related warnings 2019-03-24 19:37:00 +01:00
Weblate cecd1b4c2e Translated using Weblate (French) (#1149)
Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.nailyk.fr/projects/tusky/tusky/fr/
2019-03-24 19:32:50 +01:00
Konrad Pozniak db0eace441
New translations strings.xml (Czech) (#1148) 2019-03-24 17:07:43 +01:00
Konrad Pozniak 0c48dcf06c
add hashtag tabs (#1145)
* add hashtag tabs

* address review feedback
2019-03-24 08:59:55 +01:00
Konrad Pozniak c343fb9d28
New Crowdin translations (#1137)
* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Arabic)

* New translations strings.xml (Arabic)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Czech)

* New translations strings.xml (French)
2019-03-24 08:48:49 +01:00
Evgeny Petrov 17082cde30 Russian language updated (#1139)
* Russian language updated. New strings:
• Undo actions for boost/favourite.
• New theme (as is system).
• Renamed «Tabs» to «Filters» in Settings to avoid option name duplicate.
• Added new lines for Filters feature.

* Renamed "Непубличные" to "Скрытые" for consistency
2019-03-23 12:50:00 +01:00
Levi Bard 205f3771d4 Add option to download all media for a toot with one tap. (#1121)
Addresses #966
2019-03-23 12:49:36 +01:00
Konrad Pozniak a6887e3e55
New Crowdin translations (#1136)
* New translations strings.xml (Swedish)

* New translations strings.xml (Czech)
2019-03-20 20:50:16 +01:00
Konrad Pozniak 1fdcfbda76
New Crowdin translations (#1135)
* New translations strings.xml (Arabic)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Basque)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Welsh)

* New translations strings.xml (Arabic)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Basque)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Welsh)

* New translations strings.xml (Arabic)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (Basque)

* New translations strings.xml (Hungarian)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Spanish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Turkish)

* New translations strings.xml (Welsh)
2019-03-20 20:03:11 +01:00
Levi Bard 5135daad2c Share filters with web client (#956)
* First step toward synchronized content filters

* Add simple filter management UI

* Remove old regex filter UI

* More cleanup

* Escape filter phrases when applying them via regex

* Apply code review feedback

* Fix live timeline update when filters change
2019-03-20 19:25:26 +01:00
Konrad Pozniak 463b008090
change project website url (#1128) 2019-03-18 15:47:02 +01:00
Konrad Pozniak 66c0b23832
New Crowdin translations (#1126)
* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Arabic)

* New translations strings.xml (Arabic)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2019-03-18 15:46:40 +01:00
Aditoo17 4f7c989b2d Add language names for Czech and Esperanto (#1125)
* Add language names for Czech and Esperanto

* Add language names for Czech and Esperanto
2019-03-16 13:52:45 +01:00
Ivan Kupalov 520e0d6e7a List editing (#1104)
* List editing groundwork

* Add ability to add/remove accounts from list, delete lists

* Rename list, improve lists UI

* Add error handling, extract strings

* Revert gradle.properties

* Apply feedback suggestions

* Apply feedback

* Update license header
2019-03-16 13:36:16 +01:00
Konrad Pozniak db67096e12
New Crowdin translations (#1117)
* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)
2019-03-11 17:23:13 +01:00
Konrad Pozniak 596baa4d55
sync all languages with crowdin (#1116)
* New translations strings.xml (Swedish)

* New translations strings.xml (Basque)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Welsh)
2019-03-08 22:12:20 +01:00
Conny Duck 96fe3634af revert crowdin for russian language 2019-03-08 21:20:30 +01:00
Conny Duck e261125e93 Merge branch 'master' of https://github.com/Vavassor/Tusky 2019-03-08 21:13:17 +01:00
Konrad Pozniak c266638bd1
New Crowdin translations (#1106)
* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations strings.xml (Italian)

* New translations strings.xml (Tamil)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Hungarian)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Arabic)

* New translations strings.xml (Japanese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)
2019-03-08 21:12:07 +01:00
Conny Duck 028db440ee cleanup code 2019-03-08 21:10:48 +01:00
Mélanie Chauvel (ariasuni) bac131c6d5 Add support for language switching (#1108)
* Add support for language switching

* Clean and improve code based on feedback

* Remove useless logging
2019-03-08 20:33:42 +01:00
Konrad Pozniak 0506bfa7d6
remove todos from status layouts (#1112)
* remove todos from status layouts

* remove todo from account autocomplete layout
2019-03-08 20:27:30 +01:00
Konrad Pozniak 830b3802a5
refactor EditProfileActivity layout (#1110)
* refactor EditProfileActivity layout

* refactor EditProfileActivity layout
2019-03-08 20:27:16 +01:00
Bernd 507ffb1b41 Add new Theme "Use System Design" + fixes to night mode (#1069)
* Add theme system

A theme which follows system design.
See: https://www.xda-developers.com/samsung-galaxy-s9-update-night-mode-schedule/

* update

to be in line with https://github.com/tuskyapp/Tusky/pull/1060/files

* Update ThemeUtils.java

* update

* Cleanup

* Update Deps

* Cleanup

* Update PreferencesActivity.kt

* Workaround to make MODE_NIGHT_FOLLOW_SYSTEM work

* Update ThemeUtils.java

* Use ThemeUtils.THEME_SYSTEM

* Update SplashActivity.kt

* Update strings.xml

* Update Deps

* Update build.gradle

* Update build.gradle

* fix tests
2019-03-07 21:33:29 +01:00
Konrad Pozniak 5ef5f91c6d
New Crowdin translations (#1101)
* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Hungarian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)
2019-03-05 19:32:19 +01:00
Konrad Pozniak 237f209174
make black theme navigation bar color lighter so it works on One Plus (#1103)
* try to fix black theme navigation bar color on One Plus

* make navbar color lighter
2019-03-04 22:34:27 +01:00
autumnontape 10fcee4798 Add autocompletion for custom emoji (#1089)
* Remove unnecessary //noinspection ConstantConditions

* Add autocompletion for custom emoji

* Update MentionTagTokenizer tests for emoji autocomplete support

* Move 1) emoji list retrieval notifying and 2) setting of emojiList field into setEmojiList() method of ComposeActivity

* Convert RelativeLayout in item_autocomplete_emoji.xml to LinearLayout

* Rename MentionTag* to Compose*

* Improve emoji autocomplete matching

* Make hashtag autocomplete results bold

* Use Context.getString()'s built-in formatting

* Add a divider between emoji autocomplete results that *start with* the token and those that *contain* it
2019-03-04 19:28:08 +01:00
Ivan Kupalov 479d210e64 Timeline a11y (#1059)
* Improve timeline accessibility

* Improve a11y description and actions in timeline

* Refactor timeline accessibility handling, add more actions

* Update app/src/main/java/com/keylesspalace/tusky/adapter/StatusViewHolder.java

Co-Authored-By: charlag <charlag@tutanota.com>

* Add a11y actions for links, hashtags and mentions, enable for detailed.

* A11y delegate: Add open reblogger action, cleanup

* a11y delegate: add reblogs/boosts, improve interrupts

* a11y delegate: add reblogs/boosts, improve interrupts

* a11y delegate: add to notifications fragment
2019-03-04 19:24:27 +01:00
Konrad Pozniak 0a6709296d
crowdin sync (#1097)
* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Arabic)

* New translations strings.xml (Tamil)
2019-03-04 17:41:27 +01:00
Konrad Pozniak 64748bf36f change "show media previews" wording to "download media previews"
closes #1077
2019-03-04 10:09:21 +01:00
Konrad Pozniak 6430ed02d7
remove empty FAB styling (#1095) 2019-03-03 20:53:10 +01:00
Konrad Pozniak a7bc6a443d
New Crowdin translations (Japanese) (#1092)
* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)
2019-03-03 20:46:07 +01:00
Konrad Pozniak cfb744b08a
New Crowdin translations (Spanish) (#1090)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (German)
2019-03-01 20:54:14 +01:00
koyu 3748d75d34 change German placeholder text for compose field (#1074)
* Made compose field on par with web UI

* Escaping character
2019-02-27 19:11:28 +01:00
Frieder Bluemle d45c024143 Fix line endings in spellcheck.xml 2019-02-26 18:34:29 +01:00
INAGAKI Hiroshi 3d021d4e80 l10n: update Japanese translation (#1079)
Synchronized values-ja/strings.xml with values/strings.xml and added
translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-02-26 18:32:46 +01:00
Konrad Pozniak 5ee78e68ba
remove unnecessary divider styling (#1057) 2019-02-26 18:28:20 +01:00
Konrad Pozniak 7f99f936d1
New translations strings.xml (Dutch) (#1063)
* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)
2019-02-19 23:01:20 +01:00
Konrad Pozniak 0bb9c0717f
New Crowdin translations Hungarian and Turkish (#1058)
* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Turkish)
2019-02-18 15:40:00 +01:00
Konrad Pozniak 2ec17bbb1b
New translations strings.xml (French) (#1054) 2019-02-17 18:35:10 +01:00
tsdgeos 30436872ab ca: Fix typo: multimètida -> multimèdia (#1050)
Fixes #1048
2019-02-17 14:20:06 +01:00
Ondřej Hruška fcc67c6918 Fix large image attachments not showing (#1043)
* fix for too large image attachments not fitting into GL texture

* Don't use context!!
2019-02-16 14:31:41 +01:00
Evgeny Petrov 1805caaef7 Fixed typo in SwitchPreference (#1046) 2019-02-15 22:48:27 +01:00
Evgeny Petrov 35255f10c4 Russian language updated: (#1044)
* Russian language updated:

• Added strings for tabs customization.
• Added strings for Likes/Boosts counters.
• Added strings for external open/share.
• Some other fixes and additions.

* Added missing "maximum tabs reached" string.

* Small change to "hide compose button" string
2019-02-15 22:24:44 +01:00
Evgeny Petrov 9af3606daa Change CheckboxPreference to SwitchPreference, so that long lines show properly. (#1045) 2019-02-15 22:18:39 +01:00
Conny Duck f4ac9b3da6 make max tabs reached message translateable 2019-02-15 21:35:14 +01:00
Conny Duck 9089a2831c update german translation 2019-02-15 17:45:07 +01:00
aka-rin e8f1739add Update Chinese translations (#1039)
* Update zh-CN translations for Tusky 5.0.

Can't wait any more!

* Fix a period in zh-CN translations.

* Update zh-SG translations for Tusky 5.0

* Update zh-TW translations for Tusky 5.0

* Update zh-HK translations for Tusky 5.0

* Update zh-MO translations for Tusky 5.0
2019-02-15 17:29:07 +01:00
Konrad Pozniak e371fa0e24
Tab customization & direct messages tab (#1012)
* custom tabs

* custom tabs interface

* implement custom tab functionality

* add database migration

* fix bugs, improve ThemeUtils nullability handling

* implement conversationsfragment

* setup ConversationViewHolder

* implement favs

* add button functionality

* revert 10.json

* revert item_status_notification.xml

* implement more menu, replying, fix stuff, clean up

* fix tests

* fix bug with expanding statuses

* min and max number of tabs

* settings support, fix bugs

* database migration

* fix scrolling to top after refresh

* fix                                 bugs

* fix warning in item_conversation
2019-02-12 19:22:37 +01:00
Conny Duck 683b06a35d upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
Levi Bard d5173c2268 Add support for selecting account when sharing from outside apps (#1011)
* Add direct-share support (API 23+)

* Add account selection dialog for non-direct sharing
2019-02-06 10:23:02 +01:00
marcin mikołajczak e98c7ac435 i18n: Update Polish translation🇵🇱 (#1029)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2019-02-05 20:13:09 +01:00
Ivan Kupalov 87364edd98 Fix empty state for account media, fix tablets (#1018) 2019-01-31 18:31:15 +01:00
Ivan Kupalov c0c73f5c06 Error artwork (#1000)
* Add new Elephant Friend images. Use them in ListsActivity.

* Add error images to AccountListFragment

* Add error images to Timeline & Notifications fragment. Needs rework.

* Introduce BackgroundMessageView. Use it in AccountList.

* Use correct button style for BackgroundMessageView

Co-Authored-By: charlag <charlag@tutanota.com>

* Use BackgroundMessageView

* Add BackgroundMessageView docs

* Re-color and document elephants

* Apply feedback, disable refresh when error is shown

* Fix string typo
2019-01-28 19:02:31 +01:00
Sylke Vicious 6e610b1d9d Updated italian translation (#1010)
* Updated italian translation

* Updated italian translation

* Fix for CircleCI failing test

* Updated italian translation
2019-01-28 11:05:42 +01:00
Ivan Kupalov a3ee13d767 Add hashtag autocompletion, closes #769 (#1001)
* Add hashtag autocompletion, closes #769

* Apply review feedback
2019-01-28 11:04:05 +01:00
kyori19 96162ab544 Add pinned status tab (#994)
* Add pinned status tab

* Make TabLayout scrollable.
2019-01-21 08:37:25 +01:00
Levi Bard 6252204dd5 Add character counter to profile bio field. #881 (#991) 2019-01-17 22:15:06 +01:00
Levi Bard 91fba293f2 Implement "Open status as (another account)" #958 (#988) 2019-01-16 20:50:09 +01:00
Ivan Kupalov 20f257c35b Fix layout issue with narrow timelines (#982) 2019-01-11 07:36:14 +01:00
Sylke Vicious de6246a212 Updated italian translation (#979)
* Updated italian translation

* Updated italian translation

* Fix for CircleCI failing test
2019-01-10 20:42:14 +01:00
Ivan Kupalov 0300a11d1e Fix layout issue with long CWs (#978) 2019-01-10 20:41:39 +01:00
Ivan Kupalov 38c7c8c71a Rework status layouts with ConstraintLayout (#967)
* Migrate item_status_detailed layout, minimum

* Migrate item_status_detailed layout, buttons

* Migrate item_status layout, minimum + buttons

* Migrate status layouts, fix RTL, cleanup

* Fix item_status layout

* Fix item_status name layout, fix CW button

* Simplify item_status, item_status_detailed layouts with chains

* Apply statuses layout feedback
2019-01-06 10:39:42 +01:00
Konrad Pozniak 40346ff304 fix multiline account field alignment 2018-12-29 18:37:12 +01:00
Konrad Pozniak 5e6a4ae93d fix radiobutton size in compose options 2018-12-29 00:02:29 +01:00
jchmrt 30df1cf403 Set image previews correctly according to their focal points (#899)
* Add serialization of the meta-data and focus objects

These objects are added in some attachments. This commit adds data
classes which are able to serialize these (partially) in preparation
for the ability to honour the focal point information in image
previews.

* Implement correctly honouring the focal point meta-data in previews

This commit adds code which ensures that the image previews of media
attachments to toots are correctly cropped to always show the focal
point of the image (if it is specified). It should not in any way
influence how previews of media without a focal point are shown.

To achieve the correct crop on the image a few components were
needed:

First of all we needed a way to influence how the image is cropped
into the ImageView. It turns out that the preferred way to do this is
by setting the ScaleType to MATRIX and adjusting the matrix of the
image as needed. This matrix allows us to scale and transform the
image in the way we need to make sure that the focal point is visible
within the view. For this purpose we have the FocalPointEnforcer which
can calculate and set the appropriate matrix on an ImageView as soon
as the image is loaded.

However a second problem is that we need to make sure that this matrix
is updated whenever the size of the ImageView changes. The size might
change for example because the orientation of the device changed from
portrait to landscape or vice versas, or for a number of other reasons
such as the screen being split vertically or something like that.

To be able to hook onto this event we need to create a new extended
version of the ImageView class, which we call
MediaPreviewImageView. This class behaves exactly the same as a normal
ImageView, however if the focalPointEnforcer of this view is set, then
it will call this enforcer to update the image matrix any time the
size is changed.

So this commit changes all media previews in the item_status.xml and
item_status_detailled.xml layout files to the new
MediaPreviewImageView class. Additionally in the code for loading the
images into the previews a new case is added which tests if there is a
focus attribute in the meta-data. If so it makes sure to create and
set the FocalPointEnforcer.

* Fix typos in documentation comment

"to" -> "too"

* Use static imports to remove clutter in FocalPointEnforcerTest

Instead of duplication Assert. in front of every assertEquals, simply
statically import it.

* Move the MetaData and Focus classes into the Attachment class

Since they are very strongly linked to the attachment class and are
themselves very small.

* Refactor the focal point handling code

- All the code modifying the actual members of the
  MediaPreviewImageView is now in this class itself. This class still
  uses the FocalPointUtil to calculate the new Matrix, but it now
  handles setting this new Matrix itself.

- The FocalPointEnforcer has been renamed to the FocalPointUtil to
  reflect that it only calculates the correct matrix, but doesn't set
  anything on the MediaPreviewImageView.

- The Matrix used to control the cropping of the
  MediaPreviewImageViews is now only allocated a single time per view
  instead of each time the view is resized. This is done by caching
  the Matrix and passing it to the FocalPointUtil to update on each
  resize.

* Only reallocate focalMatrix if it is not yet initialized

This helps prevent unnecessary allocations in the case where
setFocalPoint is called multiple times.

* Change checking of availability of objects to use != null

As pointed out, the 'is' keyword is meant for checking types, not for
checking non-nullness.

* Make updateFocalPointMatrix() return nothing

This makes it clearer that it actually mutates the matrix it is
given.

* Fix bug with transitions crashing the PhotoView

Due to the android transitions for some reason copying the scaletype
from the MediaPreviewImageView to the PhotoView during the transition,
the PhotoView would crash on pictures with a focal point, since
PhotoView doesn't support ScaleType.MATRIX.

This is solved by the workaround of overriding both the getScaleType
and setScaleType methods to ensure that we use the MATRIX type in the
preview and the center_crop type in the PhotoView.

Additionally this commit also makes sure to remove the focal point
when the MediaPreviewImageView is recycled.

* Fix bug in overriden getScaleType

Instead of simply returning the scaleType we need to return the
super.getScaleType() method, to avoid crashing.

* Merge changes from master

Mainly the migration to androidx.
2018-12-28 16:32:07 +01:00
Pellaeon Lin 675e90e508 Update zh-rTW translation (#930)
* Update zh-rTW translation

* Add missing translation

* Copy zh-rTW strings to HK and MO for now, per @connyduck 's request
https://github.com/tuskyapp/Tusky/pull/930#issuecomment-450240996

Note that this should not be the final solution, HK and MO should be
able to understand the TW variant, but they're still different.
2018-12-28 15:39:02 +01:00
Konrad Pozniak c04bcc26d5 fix AccountActivity tabs on tablets 2018-12-27 22:31:42 +01:00
Konrad Pozniak c869886c19
add the ability to see who faved or boosted a toot (#962)
* move reblog/fav count up in detailed status view and make them clickable

* use status object returned by api when reblogging/faving

* Reblogs -> Boosts

* add support for viewing who faved/reblogged a status

* add onShowReblogs/onShowFavs to listener, fix display bug

* remove unneeded icon from previous revision

* small code improvements

* fix liking/boosting toot with card
2018-12-27 09:48:24 +01:00
Mostafa Ahangarha 4864bb79d9 Improved Persian translation (#965)
I have made these two thing:

- Made several modification to make the existing translation improved
- Added missing stings
2018-12-25 20:07:20 +01:00
Mostafa Ahangarha 6cd7a1ab8e Improve RTL support (#964)
By making these changes, texts in relevant pages will appear currectly
in RTL layout.
2018-12-25 20:07:03 +01:00
Conny Duck c7f231419e fix weird resizing of ComposeActivity when emojis are loaded on tablets 2018-12-17 21:58:52 +01:00
Conny Duck 0beeeb0f70 fix inconsistent post_privacy_names strings in translations 2018-12-17 20:54:09 +01:00
Conny Duck 554099f79d improve dialog styling 2018-12-17 20:47:42 +01:00
Konrad Pozniak a445c12094
Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries

* move to MaterialComponents theme

* make sure the compose button looks good everywhere

* fix tollbar title/button alignment on tablet

* move to new material color theming, consolidate colors and themes

* fix build, fix imports

* set error on TextInputLayout instead of EditText

* fix imports, TootButton when

* improve snackbar style

* fix task description color
2018-12-17 15:25:35 +01:00
Mélanie Chauvel (ariasuni) 5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +01:00
Conny Duck afaaafdace add option to copy link of own toot to "more" menu
closes #928
2018-12-03 12:04:27 +01:00
Konrad Pozniak 8d7f879a8f
add checkmark to verified links and better constraints to account fields (#922)
* add checkmark to verified links and better constraints to account fields

* address pr feedback
2018-12-03 11:02:28 +01:00
dadosch 5b196556e1 Fix Typo in german translation (#943) 2018-12-03 10:52:25 +01:00
zital 7787aef6a1 Basque: orro -> tut (#936)
* orro -> tut

* orro -> tut
2018-11-30 21:14:00 +01:00
Billy Brawner 95a656dc0a Add visibility icons to detail statuses (#901)
* Add visibility icons to statuses

* Remove visibility icons from timeline statuses

* Dynamically scale visibility icon according to timestamp font size

* Remove visibility icon selection logic from Status model

* Migrate visibility icon logic to StatusDetailedViewHolder

* Simplify/improve performance of visibility icon layout

* Use text size for visibility icon size (instead of view size)

* Remove unnecessary LayoutListener

* Remove unnecessary visibilityIcon check
2018-11-28 19:46:10 +01:00
Isak Holmström 2f4d507b29 [sv] New strings translated. (#931)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content

* translating new strings ++extra fixes

* Add files via upload

* [sv] New strings translated
2018-11-26 18:31:53 +01:00
Unai Tolosa Pontesta 12ba4747d8 Added Basque translations (#926)
* Added Basque translations

* zital

* zital
2018-11-25 19:42:50 +01:00
INAGAKI Hiroshi d89f7c66c6 l10n: update Japanese translation (#929)
Updated Japanese translations and removed unnecessary spaces.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-25 19:41:45 +01:00
Sylke Vicious ab7c438286 Updated italian translation (#925) 2018-11-19 15:51:58 +01:00
ButterflyOfFire e61d27baa0 Update arabic translation (#923)
Update arabic translation.
2018-11-19 10:53:27 +01:00
ButterflyOfFire ecd954de0d Update french translation (#924)
Update french translation.
2018-11-19 10:53:15 +01:00
Evgeny Petrov 557a0c9d5f RU: Added missing string (#921) 2018-11-18 13:17:24 +01:00
Conny Duck 25a73620a9 update german translation 2018-11-18 11:34:06 +01:00
Conny Duck f3fc9830d4 fix untranslateable String in Account preferences 2018-11-17 15:53:46 +01:00
Evgeny Petrov 0acaa61254 Russian translation update (#919)
* Russian translation update

* Removed duplicate string
2018-11-16 18:30:48 +01:00
Conny Duck 81bbac9aa7 remove erroneous strings to prevent crashes 2018-11-16 13:57:35 +01:00
kyori19 35f4512e6c Improve japanese translation. (#917) 2018-11-13 20:02:19 +01:00
Kévin Commaille 7a06ebffad Update and fix french translation (#914) 2018-11-12 21:42:21 +01:00
Konrad Pozniak 348c20c792
New settings (#891)
* change drawer items

* rename SettingsActivity

* introduce AccountSettings activity

* improve account settings, move notification settings

* sync settings with server

* rename settings back to preferences

* add functionality for settings

* move mediaPreviewEnabled preference to AccountPreferences

* replace shared prefs with accountmanager

* move PreferencesFragment to support library

* split preferences fragment into smaller fragments,
merge AccountPreferencesActivity into PreferencesFragment

* adjust icon size, add icons to general preferences

* change mediaPreviewEnabled and alwaysShowSensitiveMedia pref position

* add database migration

* remove pullNotificationCheckInterval option

* fix  preference in TimelineFragment

* Update Chinese translations. (#915)

* Update zh-CN translations.

* Update zh-SG translations.

* Update zh-TW translations.

* Update zh-MO translations.

* Update zh-HK translations.

* Fix errors in zh-CN translations.

* Fix errors in zh-SG translations.

* Fix errors in zh-TW translations.

* Fix errors in zh-MO translations.

* Fix errors in zh-HK translations.
2018-11-12 21:09:39 +01:00
Levi Bard 690e612f8b Media description improvements (#898)
* Enforce 420-character limit on media descriptions in the UI

* Persist media descriptions with drafts

* Defer media description update until after upload finishes

* Make description field 2 lines for better visibility of hint text

* Reuse Gson instance

* Force retranslation of modified string "hint_describe_for_visually_impaired"

* Add bounds check when reading serialized media descriptions
2018-11-11 19:25:45 +01:00
Levi Bard 6960d725a3 Add menu item to copy media link (#895) 2018-11-01 15:13:37 +01:00
Levi Bard 4ba6b4adfe Fix media transitions, reduce code duplication between media fragments (#894)
* Fix media transitions, reduce code duplication between media fragments

* Remove redundant helper

* Fix occasional crash when swiping between mixed media

* Hide controls when swiping between media
2018-11-01 14:52:22 +01:00
Manimaran.K 1792a14bb0 Tamil translation (#890)
* Translation for Tamil language is done.

* Update Translation for Tamil
2018-11-01 14:51:59 +01:00
ButterflyOfFire fd782ff172 Improve french translation 2018-10-31 17:04:49 +01:00
charlag 211326f6bd Formatted translation 2018-10-31 16:19:09 +01:00
charlag 8c154a96be Merge branch 'patch-3' of git://github.com/BoFFire/Tusky into BoFFire-patch-3 2018-10-31 16:17:43 +01:00
charlag abd1816275 Format translation 2018-10-31 16:10:35 +01:00
Quentí 10cbaec755
[i18n] Occitan update 2018-10-28 00:28:39 +02:00
ButterflyOfFire 9ee0e680da
Update strings.xml 2018-10-27 23:44:25 +02:00
ButterflyOfFire bd93167b5c
Improving arabic translation
Improving arabic العربية translation and 100% translated. Enjoy !
2018-10-27 23:29:47 +02:00
charlag 9caed9aff8 Reformat translation 2018-10-27 18:50:02 +02:00
Sylke Vicious ca1c46c567
Fixed the unescaped aphostrope
Sorry, missed this one!
2018-10-26 16:10:01 +02:00
Sylke Vicious e787deafd5
Updated italian translation 2018-10-26 15:55:32 +02:00
Levi Bard 952d2a6512 Refactor media views (#866)
* Migrate ImagePagerAdapter to kotlin

* Migrate ViewMediaFragment to kotlin

* Make images and videos share the same activity/pager

* Show descriptions above videos

* Cleanup

* Address code review feedback

* Migrate media fragments to constraint layout
2018-10-15 19:56:11 +02:00
Paul 80f485c367 Improve french translation (#887) 2018-10-14 12:58:48 +02:00
mynameismonkey 6fde2888c9 Welsh translation of strings.xml (#877)
* Create values-cy/strings.xml

* removed errant comment line
2018-10-08 20:01:36 +02:00
freetux 6cad8feea2 fix persian translation (#876)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml

* some minor fixes 

after check nightly version fixed .
2018-10-05 21:07:55 +02:00
freetux 7ec8f06589 Add persian language (#870)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml
2018-10-04 23:15:48 +02:00
Ivan Kupalov 6051ffe0b3 Show "remote profile" message. (#873)
* Show "remote profile" message. Closes #806

* Improve remote message look
2018-10-03 21:53:31 +02:00
Ivan Kupalov a0988dc6c6 Add ability to pin/unpin statuses (#872) 2018-10-03 21:27:52 +02:00
Isak Holmström f6934cadd8 update swedish translation (#871)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content

* translating new strings ++extra fixes
2018-10-03 21:13:30 +02:00
Levi Bard 0bca94b94e Enable sharing media directly from Tusky (#852)
* Extract duplicated code into BaseActivity

* Migrate MediaUtils to kotlin

* Migrate ViewVideoActivity to kotlin

* Migrate ViewMediaActivity to kotlin

* Initial media sharing functionality

* Address code review feedback

* Make share icon match

* Address code review feedback
2018-10-01 11:50:17 +02:00
Prat ab601c4566 Add deletion confirmation (#865) 2018-10-01 08:50:48 +02:00
Konrad Pozniak bf00cfcc4d
style dark dialogs (#864) 2018-09-29 19:44:50 +02:00
Conny Duck 323c58a125 fix actionbar elevation in SearchActivity 2018-09-29 00:14:43 +02:00
Conny Duck a4f9aa3f71 fix build error because of missing resource 2018-09-25 19:47:19 +02:00
Konrad Pozniak 197badb13b fix typo in japanese translation 2018-09-22 17:10:09 +02:00
INAGAKI Hiroshi ec60caa452 l10n: update Japanese translation (#858)
Updated Japanese translations for some new functions.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-21 22:11:57 +02:00
Conny Duck 6c06225ae3 fix lists not displaying 2018-09-21 20:18:21 +02:00
HellPie 4759783d10 Add support for collapsible statuses when they exceed 500 characters (#825)
* Update Gradle plugin to work with Android Studio 3.3 Canary

Android Studio 3.1.4 Stable doesn't render layout previews in this project
for whatever reason. Switching to the latest 3.3 Canary release fixes the
issue without affecting Gradle scripts but requires the new Android Gradle
plugin to match the new Android Studio release.

This commit will be reverted once development on the feature is done.

* Update gradle build script to allow installing debug builds alongside store version

This will allow developers, testers, etc to work on Tusky will not having to worry
about overwriting, uninstalling, fiddling with a preinstalled application which would
mean having to login again every time the development cycle starts/finishes and
manually reinstalling the app.

* Add UI changes to support collapsing statuses

The button uses subtle styling to not be distracting like the CW button on the timeline
The button is toggleable, full width to match the status textbox hitbox width and also
is shorter to not be too intrusive between the status text and images, or the post below

* Update status data model to store whether the message has been collapsed

* Update status action listener to notify of collapsed state changing

Provide stubs in all implementing classes and mark as TODO the stubs that
require a proper implementation for the feature to work.

* Add implementation code to handle status collapse/expand in timeline

Code has not been added elsewhere to simplify testing.
Once the code will be considered stable it will be also included in other
status action listener implementers.

* Add preferences so that users can toggle the collapsing of long posts

This is currently limited to a simple toggle, it would be nice to implement
a more advanced UI to offer the user more control over the feature.

* Update Gradle plugin to work with latest Android Studio 3.3 Canary 8

Just like the other commit, this will be reverted once the feature is working.
I simply don't want to deal with what changes in my installation of Android
Studio 3.1.4 Stable which breaks the layout preview rendering.

* Update data models and utils for statuses to better handle collapsing

I forgot that data isn't available from the API and can't really be built
from scratch using existing data due to preferences.
A new, extra boolean should fix the issue.

* Fix search breaking due to newly introduced variables in utils classes

* Fix timeline breaking due to newly introduced variables in utils classes

* Fix item status text for collapsed toggle being shown in the wrong state

* Update timeline fragment to refresh the list when collapsed settings change

* Add support for status content collapse in timeline viewholder

* Fix view holder truncating posts using temporary debug settings at 50 chars

* Add toggle support to notification layout as well

* Add support for collapsed statuses to search results

* Add support for expandable content to notifications too

* Update codebase with some suggested changes by @charlang

* Update more code with more suggestions and move null-safety into view data

* Update even more code with even more suggested code changes

* Revert a0a41ca and 0ee004d (Android Studio 3.1 to Android Studio 3.3 updates)

* Add an input filter utility class to reuse code for trimming statuses

* Update UI of statuses to show a taller collapsible button

* Update notification fragment logging to simplify null checks

* Add smartness to SmartLengthInputFilter such as word trimming and runway

* Fix posts with show more button even if bad ratio didn't collapse

* Fix thread view showing button but not collapsing by implementing the feature

* Fix spannable losing spans when collapsed and restore length to 500 characters

* Remove debug build suffix as per request

* Fix all the merging happened in f66d689, 623cad2 and 7056ba5

* Fix notification button spanning full width rather than content width

* Add a way to access a singleton to smart filter and use clearer code

* Update view holders using smart input filters to use more singletons

* Fix code style lacking spaces before boolean checks in ifs and others

* Remove all code related to collapsibility preferences, strings included

* Update style to match content warning toggle button

* Update strings to give cleaner differentiation between CW and collapse

* Update smart filter code to use fully qualified names to avoid confusion
2018-09-19 19:51:20 +02:00
Conny Duck 17189216e3 remove fake shadow view and replace with elevation in AccountActivity 2018-09-16 19:46:06 +02:00
Konrad Pozniak 4402f3d337
update minSdkVersion to 21 (#843)
* set minSdkVersion to 21

* use elevation instead of additional views for shadow

* clean up code occurrences

* remove drawable compat code

* remove no longer needed resources

* remove unneeded android:clipChildren="false"

* Revert "remove no longer needed resources"

This reverts commit 67a4d6f8d87b3f116b95d90dfb48f350d342f503.

* remove no longer needed resources (this time the right ones)
2018-09-16 18:54:12 +02:00
Evgeny Petrov 16aea96e97 RU: Re-worded "Favourites" string, replaced "NSFW" with "sensitive" (#839) 2018-09-10 19:28:55 +02:00
Conny Duck 90ef078dd0 update media limits for Mastodon 2.5 2018-09-10 10:00:06 +02:00
Conny Duck 51d231834c Merge branch 'AbsoluteTime' of https://github.com/kyori19/Tusky into kyori19-AbsoluteTime
# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java
2018-09-09 21:48:01 +02:00
Isak Holmström 7134423a05 [SV] Translation: Removed nsfw and replaced it with "sensitive content" (#836)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content
2018-09-05 21:29:39 +02:00
qwazix d49502f798 Make page margin to truly black for tablets. (#834) 2018-09-04 18:35:17 +02:00
Konrad Pozniak 28c1c90a98
fix account list loading and clean up a lot of code (#823)
* fix account list loading and clean up a lot of code

* remove ACCESS_COARSE_LOCATION for API levels 23+

* small improvements
2018-08-31 21:52:09 +02:00
Conny Duck ca881af7c5 add missing libraries to libraries screen 2018-08-31 20:40:56 +02:00
Conny Duck 90c6eb1f3c improve wording of "always show sensitive media" setting title 2018-08-29 19:16:41 +02:00
ButterflyOfFire 1f75ef7b2b Fixing typo in arabic. (#802) 2018-08-25 00:01:58 +02:00
Basix 4d16514851 Added Korean Translation (#783)
* Added Korean Translation

* Edited translation errors discovered by @Kjwon15

https://github.com/tuskyapp/Tusky/pull/782#pullrequestreview-147631374

* Removed a slash at line 43

https://github.com/tuskyapp/Tusky/pull/783#discussion_r211258208
2018-08-20 21:28:20 +02:00
Óliver García Albertos a6ded17e06 values-es: Update translations (#785) 2018-08-20 21:27:27 +02:00
Evgeny Petrov 7369a82b26 [Ru] string hotfix (#775)
Changed the wrong form of "black" theme string
2018-08-19 12:17:09 +02:00
Quentí dbbc1e406f Update Occitan translation (#776) 2018-08-19 12:16:56 +02:00
Marcin Mikołajczak 632be33af8 Update Polish translation (#768)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-08-17 21:00:03 +02:00
kyori e83dd16942 Do not use absolute time by default. 2018-08-17 10:19:50 +09:00
Anna e só 5d7c2df434 Updated pt-rBR translation (#765) 2018-08-16 20:38:27 +02:00
jeroenpraat fd378f2e31 Updating Dutch strings for v3 (#761) 2018-08-16 20:37:59 +02:00
Isak Holmström d0b40dba6d Updated with new strings, added new translations for mute (#760) 2018-08-16 20:37:44 +02:00
ButterflyOfFire 8eef3991ec Updated ar (Arabic) translation (#758)
* add more aggressive proguard config

* even more optimizations

* Updated ar (Arabic) translation

Commit made via Stringlate
2018-08-16 20:37:23 +02:00
Evgeny Petrov e973a68160 [RU] Language update 20180815 (#759)
* Updated Russian language

* Updated RU language according to 970551adee

* [RU] Language update
2018-08-16 20:34:50 +02:00
kyori ca3a5791e3 Show absolute time 2018-08-16 22:51:23 +09:00
Conny Duck 4b4e58302f fix splashscreen navigationbar color on Android 27+ 2018-08-15 22:17:26 +02:00
Conny Duck 8b04361771 update translations 2018-08-15 21:23:54 +02:00
Konrad Pozniak 8930d277e6
add new elephant friends (#757)
* add new elephant friends

* add art license

* fix typo
2018-08-15 20:51:35 +02:00
Konrad Pozniak f022944e90
add possibility to change profile fields, refactor (#751)
* refactor EditProfileActivity, add profile fields

* preserve transparency when cropping profile images

* dont validate profile fields on client side

* revert unintentional change in card_frame_dark.xml

* improve activity_edit_profile layout for tablets

* Revert "improve activity_edit_profile layout for tablets"

This reverts commit 20ff3d167c39b15566e017108b33fe58690a8482.

* improve activity_edit_profile layout for tablets

* fix bug in EditProfileActivity, add snackbar

* improve EditProfileActivity code

* use events instead of shared prefs to communicate profile update
2018-08-15 20:47:09 +02:00
nailyk 4f50bb5566 Translates: FR: Add missing translation (#744)
* Add missing `title_statuses_with_replies` french translation.

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-08-08 22:31:43 +02:00
Conny Duck eee48e48d1 make small avatars in notifications rounded again 2018-08-07 21:44:25 +02:00
Conny Duck e8b1787f9c improve Arabic translation (thx to @BoF@mstdn.fr) 2018-07-31 21:30:24 +02:00
Konrad Pozniak 2b246fc379 fix "load more" placeholder changing height after being clicked 2018-07-30 16:28:43 +02:00
Ivan Kupalov 133808891d Add RoundedImageView for avatars (#739)
* Add RoundedImageView for avatars

* RoundedImageView: Remove unused things, fix touchable area
2018-07-30 15:36:22 +02:00
qwazix 562beacfc1 Add black theme (#726)
* Add black theme

On amoled screens a completely black theme helps save battery,
besides looking awesome!

* Fix first set of merge request issues except the dialog.

* Black theme inherits from dark and only the different values
  are declared
* Make nav bar translucent (for some reason content does not
  go behind it in main activity. Need to investigate)
* Remove nav bar line
* Fix toolbar color

* Fix dialog issue with black theme.

Revert translucent navigation.

* Translations updated, as well as possible from online sources.

* Make login screen respect black theme
2018-07-30 15:31:35 +02:00
Ivan Kupalov 6fcb3cb495 Add image descriptions indicator (#697)
* Add image descriptions indicator. Closes #683

* Add bg for description indicator, change symbol

* Use icon for image description indicator
2018-07-30 15:20:53 +02:00
Isak Holmström 80bf2f361c Improved swedish translation (#735)
* Update strings.xml

* Updated strings.xml

Added the missing string-arrays and fixed some better language.
2018-07-28 16:30:43 +02:00
Sylke Vicious ab3e68cd48 Update Italian strings.xml (#733)
added missing strings manually
2018-07-28 12:01:16 +02:00
jeroenpraat 21ce92f8da Dutch strings: one extra update (#725) 2018-07-24 19:04:00 +02:00
Konrad Pozniak 61f3f6c928
Improve media resizing (#722)
* improve MediaUtils.getImageThumbnail so it does not load the whole bitmap into memory

* load thumbnails in device specific sizes
2018-07-23 21:55:09 +02:00
Conny Duck 67f4479e86 fix some lint warnings, use kotlin view imports in ModalTimeLineActivity 2018-07-23 15:18:33 +02:00
Sylke Vicious 5538c8c5e7 Updated it (Italian) translation (#721)
* increase cache size & dont cache full size media

* Updated it (Italian) translation

Commit made via Stringlate

* remove unnecessary backslash
2018-07-22 13:53:21 +02:00
Isak Holmström 80fae95f41 Update swedish translation (#720) 2018-07-22 13:48:52 +02:00
Conny Duck 4d3a6a6226 fix Dutch string (thx to jeroenpraat) 2018-07-17 22:11:47 +02:00
Conny Duck ee812e3130 improve Dutch strings (thx to jeroenpraat) 2018-07-16 21:05:07 +02:00
Conny Duck f50cac4b0c fix AccountActivity tabs not stretching on tablets 2018-07-12 22:21:51 +02:00
Conny Duck 145e30870d fix Dutch string (thx to jeroenpraat) 2018-07-10 19:56:16 +02:00
Conny Duck 7739af2109 update Dutch strings (thx to jeroenpraat) 2018-07-09 11:11:48 +02:00
Conny Duck 699049f930 apply font size setting to image alt text 2018-07-09 09:03:24 +02:00
Conny Duck 884f889737 updated Dutch strings (thx to jeroenpraat) 2018-07-08 18:26:09 +02:00
Conny Duck a65ee0a7bb fix extra backslash in swedish translation 2018-07-07 09:28:25 +02:00
Conny Duck 0c1893ff6e update german translation 2018-07-05 21:18:57 +02:00
Conny Duck 28940169c6 enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Anna e só 3a0f86ebde 🌎: Improved Brazilian Portuguese translations (#701)
* Added exported .xml from Stringlate

* Added missing strings for theme and privacy

* Added more missing strings

* Added strings for pull notification intervals

* Fixed "hora" to "horas"
2018-07-02 14:22:22 +02:00
Conny Duck b02a8f2c7e improve german translation 2018-07-02 14:07:16 +02:00
Conny Duck c10cc59a8a enable custom emojis in follow notifications 2018-07-01 15:57:26 +02:00
Konrad Pozniak 030a201da6
disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Anna e só c7c2b5feb9 update Brazilian Portuguese translation (#696) 2018-06-28 22:22:20 +02:00
Evgeny Petrov 8509aab303 Updated Russian language (#691)
* Updated Russian language

* Updated RU language according to 970551adee
2018-06-27 18:39:33 +02:00
Marcin Mikołajczak 2887fa0cd8 i18n: Update Polish translation (#692)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-27 18:38:19 +02:00
Conny Duck 970551adee fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck 9bda0c6c5d update german translation 2018-06-25 15:20:54 +02:00
Conny Duck bfa1929365 remove unused strings 2018-06-25 14:55:45 +02:00
Conny Duck 50b0d1fb8d cleanup code 2018-06-25 14:49:00 +02:00
Konrad Pozniak 3c569c6ac9
add License activity (#689)
* convert AboutActivity to Kotlin, use BottomSheetActivity for account resolving

* improve AboutActivity

* new License activity

* fix filemojicompat url
2018-06-25 13:02:34 +02:00
Conny Duck 6e43d3fbe8 remove extra translation to fix build 2018-06-18 13:58:14 +02:00
Konrad Pozniak 63f9d99390
Account activity redesign (#662)
* Refactor-all-the-things version of the fix for issue #573

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

* Make all mentions in compose activity use the default link color

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

* Merge branch 'master' into account-activity-redesign

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/AccountActivity.java

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

* wrap follower/foillowing/status views
2018-06-18 13:26:18 +02:00
Paul 87f007086f Complete french translation (#668) 2018-06-09 21:01:48 +02:00
Quentí 689d743559 Latest update for Occitan (#678) 2018-06-09 21:01:32 +02:00
Isak Alexander c58608de43 add swedish translation (#674)
* Create string.xml

* Rename string.xml to strings.xml

* Update strings.xml

* 100% done

Swedish translation 100% done.

* Corrected first line with correct path.
2018-06-07 22:30:27 +02:00
Ivan Kupalov 7254a5d7d6 Add smaller and larger font options (fix #657) (#660)
* Add smaller and larger font options

* Fix test sizes, comment out translations
2018-06-07 22:19:39 +02:00
Conny Duck e63efdde5d fix layout rotation 2018-06-07 22:11:03 +02:00
Conny Duck 6f34b9adab fix crash on tablets 2018-06-07 22:05:01 +02:00
Paul 30856a2f82 Enable boosting of own private toots, closes #664 (#666) 2018-05-28 21:29:06 +02:00
Ivan Kupalov 3756a1fd20
Add EventHub, add fav, reblog events, improve timelines (#562)
* Add AppStore, add fav, reblog events

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Quentí e79b47552e [i18n] Update for Occitan (#652)
* First commit update for Occitan

* Update strings.xml

* Update strings.xml
2018-05-21 21:48:38 +02:00
Konrad Pozniak d4572a9d0e
some Optimizations for tablets (#647)
* show ComposeActivity as Dialog on tablets

* limit timeline width on large devices

* limit width on large devices for thread view and search

* increase media preview size on large devices
2018-05-16 19:14:53 +02:00
Ivan Kupalov 23d84dfa66 Show image descriptions in gallery (#630)
* Add circleci

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Add image descriptions to gallery

* Fix test

* [CI] Attempt to fix OOM error

* [CI] Attempt to fix OOM error, 2

* Add option to open status from media

* fix theme issue

* increase linespacing on media description
2018-05-10 20:13:25 +02:00
Constantin A 1108652823 EmojiCompat support (#600)
* Add EmojiCompat

* EmojiCompat doesn' replace all emojis anymore

* This app should be now capable of loading a EmojiCompat-font located in a file somewhere inside the device's storage

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

* The app won't crash anymore when no emoji font is available.
Emoji font should now be located at [Private external app directory]/files/EmojiCompat.ttf

* Removed BundledEmojiCompat dependency

Since this EmojiCompat-implementation does not rely on BundledEmojiCompat, there's no reason to have it enabled.

* Update EditTextTyped.kt

Since connection isn't assigned to (I tried doing so), it can be declared final/val again.

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

* Fix font list & add Exception handling for malformed JSON files (hopefully)

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

* The font list is now based on a static layout without external files

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

* The correct emoji font will be selected after cancelling a change

* Add details on the EmojiCompat fonts available (not shown yet)

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Update emoji attribution strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Fixed some misspelled strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>
2018-05-10 11:16:56 +02:00
Konrad Pozniak 26fb180d1a update german translation (#638)
* update german translation

* fix capitalization
2018-05-08 11:42:28 +03:00
Evgeny Petrov 57e8a61cf0 [RU] New strings for 1.8 (#634)
I'm not sure whether we should use word "статусы" (statuses) or "посты" (posts). Or how to mix them in the right way
Anyway, here are the new strings.
2018-05-07 21:57:05 +03:00
Konrad Pozniak a2bfef3101
move bottom sheet from fragments to activities (#628)
* move bottom sheet from fragments to activities

* move BottomSheetLogic to dedicated abstract Activity

* change tests

* improve code
2018-05-06 22:05:54 +02:00
nailyk 1c711eca22 Translates: FR: Remove unused strings (#632)
* Some strings are gone. Lets remove them.
2018-05-06 20:42:50 +02:00
remi6397 e8c79cce65 Notification tweaks: Grouping and Quick Reply button (#587)
* Added notification grouping and Quick Reply button

* Legal stuff

* Coding style

* Check whether account still exists when sending a quick reply

* Add "compose" button

* Polish translation

* Improve strings

* Code style

* Cancel notification when user hits "compose" button

* Notification counter

* Make sure to open ComposeActivity for notification recipient account

* Add ability to request account switch when starting an activity
2018-05-06 11:07:10 +02:00
Quim Gil aa48acdbec Missing "custom" equivalent in translation (#626)
Original English string is about "custom emojis" and therefore a better translation is "emojis personalizados". Note that "emoji" is a neologism accepted and understood in Spanish (see e.g. Spanish Wikipedia).
2018-05-03 22:19:50 +02:00
Konrad Pozniak 5cfe6f8fa5
make search find statuses (#613) 2018-04-30 11:30:10 +02:00
nailyk c72619b838 Translates: FR: Update strings (#616)
* Update needed strings.
 * Thanks to @treyssatvincent for the update in #560 !

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-04-30 10:36:54 +02:00
Conny Duck d4425c619a improve item_status_detailed layout for all font sizes 2018-04-29 09:06:26 +02:00
Konrad Pozniak 89f93eab85
Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Ivan Kupalov f3c6abdd4d Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +02:00
Levi Bard 76eae44324 View links to statuses inside Tusky (#568)
* View links to statuses inside Tusky

* Only attempt to open links that look like mastodon statuses

* Add support for pleroma statuses

* Move "smells like mastodon" url check to click handler

* Add bottom sheet to notify users of post query status

* Improve architecture for managing search status

* Push everything into SFragment

* Add external lookup for non-locally-resolved account links

* Clean up copypasta from LinkHelper.setClickableText

* Apply PR feedback

* Migrate bottom sheet wrappers to CoordinatorLayout
2018-04-25 20:04:55 +02:00
Conny Duck 3f71c5495f Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak 20033f844a fix emoji & toot size limit caching 2018-04-23 09:26:03 +02:00
Konrad Pozniak d17ff3eb0f fix problems with selectable text in detailed status 2018-04-22 16:34:02 +02:00
Quentí 7dcd5aa21e new Occitan translation (#597)
* [OC] first version of the translation

I'll make more changes soon, so it matches the same wording as in the Mastodon UI.

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml
2018-04-22 12:56:12 +02:00
littlebelgianwriter 797132a643 New Dutch Translation (#593)
* New Dutch Translation

* Update strings.xml

* fix unescaped character
2018-04-22 09:57:36 +02:00
Óliver García Albertos d99a18dc56 strings: Add spanish translations (#590)
* strings: Add spanish translations

I kept more or less the same length as the original english translations so everything should fit, although I'm unable to test them at the moment.
For every string I wasn't sure how to translate I checked it against the web interface equivalent from mastodon.social
For every alert or information provided by the app I used a polite verb form, while keeping casual ones for interactions between users.

* strings: Add missing spanish translation
2018-04-20 17:26:47 +02:00
remi6397 1fdb624b4b Define "free software" (#591) 2018-04-20 17:21:52 +02:00
Conny Duck 7f5f0e8dd8 show error message when instance has no custom emojis 2018-04-17 22:39:55 +02:00
Konrad Pozniak 63ab0ef839
Fix crash in EditProfileActivity on Android 8 (#585)
* fix bug where sometimes mentions where duplicated when replying

* fix for crash on Android 8
2018-04-17 19:25:56 +02:00
remi6397 6ba5017341 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +02:00
aka-rin cf5b810cc5 Update zh-XX Translations (#575)
* i18n: update zh-cn translations.

* i18n: update zh-sg translations.

* i18n: update zh-HK translations.

* i18n: update zh-MO translations.

* i18n: update zh-TW translations.
2018-04-14 16:55:05 +02:00
ButterflyOfFire 6fd27e20ec update arabic translation (#576)
* Add files via upload

* Updating arabic translation

* fix build error
2018-04-14 16:54:31 +02:00
Evgeny Petrov 80e8d8b014 Russian language updated (#574)
* Russian language updated

Please note that I made the translation with [Stringlate](https://github.com/LonamiWebs/Stringlate) so there might be some issues with formatting. Please let me know if any.

* Fixed quotes in <a href> tags
2018-04-14 14:34:01 +02:00
Conny Duck d5e535fe1c update German translation 2018-04-14 14:33:45 +02:00
Marcin Mikołajczak 8b93b4379e i18n: Update Polish translation (#572)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-14 08:57:58 +02:00
Konrad Pozniak 27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
Conny Duck 8a23f034f0 prevent soft keyboard from opening automatically in EditProfileActivity 2018-04-11 19:15:22 +02:00
Conny Duck 066c46b2e4 fix tamil string 2018-04-11 19:07:31 +02:00
Manimaran.K c5f6c070dc Translation for Tamil language (#569) 2018-04-10 22:47:06 +02:00
Conny Duck 54d45585e6 improve spoiler warning button & detailed status text size 2018-04-09 16:44:57 +02:00
Christian Paul 289954e7d4 Make German translation more consistent (#567)
* German translation: der Toot becomes der Beitrag

* German translation: Toot! becomes Teilen!

* German translation: berichtet becomes gemeldet

* German translation: NSFW-Inhalte become Heikle Inhalte

* German translation: Followers become Folgende

* German translation: Followanfrage becomes Folgeanfrage
2018-04-09 12:40:12 +02:00
Conny Duck e8ec2bc274 fixed avatar_default not displaying correctly on the light theme 2018-04-07 16:09:07 +02:00
Gareth Murphy 6d6c9575c4 Add regular expression feed filtering (#557)
* Initial implementation of regex feed filtering

Mimics Mastodon web's functionality, but in a simpler form; a single
regular expression is shared across the home, local and federated feeds.

Strings are currently only provided in English and will need to be
translated.

* Fix buggy behaviour on filter regex update

* Validate regex filter input

Fixes buggy behaviour on inputting a regular expression feed filter by
testing the expression continuously as the user types, displaying an
error and disabling the 'OK' button of the dialog at any time it's not a
valid regular expression. Disables spelling suggestions in the input to
make the experience less frustrating and error prone.

Also fixes some generally buggy behaviour upon preference change,
specifically in cases where no Matcher was set prior to a new pattern
being set, which would cause the app to crash.

* Apply regex filter to spoiler text

* Get rid of empty catch block in regex filter code

* Make regex filter error string translatable
2018-04-05 22:58:44 +02:00
Konrad Pozniak 8bca651f53 make text in detailed toots selectable 2018-04-01 15:45:08 +02:00
Konrad Pozniak 3708421362 add new avatar placeholder 2018-03-30 19:46:36 +02:00
Conny Duck 3628b8431d add possibility to un/lock accounts 2018-03-27 20:46:53 +02:00
Levi Bard 043ac58254 improve content warning button
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle

* Move the content warning toggle button to its own line and give it a little more space

* Move content warning elements into parent layout, remove now-superfluous FlowLayout

* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+

* Update minimum width for content warning toggle button
2018-03-15 19:15:12 +01:00
aka-rin c50d0319f3 Fix zh-xx translations (#551)
* Update strings.xml

* Update strings.xml

* Fix zh-cn, zh-sg, zh-hk translations.

* Update strings.xml

* Fix zh-mo, zh-tw translations.
2018-03-12 21:31:33 +01:00
INAGAKI Hiroshi 82021939b4 l10n: update Japanese translation (#549)
Update japanese translations for some new functions.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-11 09:42:21 +01:00
Ivan Kupalov e82c9dcd2a Compose close dialog + focus fix (#539) 2018-03-05 22:43:13 +01:00
Conny Duck 49e61bab83 fix strings 2018-03-05 15:02:26 +01:00
Conny Duck 37c5fe150e remove unused view from activities 2018-03-05 14:53:33 +01:00
Konrad Pozniak 71954a277e
convert entity classes to Kotlin data classes (#526)
* convert entity classes to Kotlin data classes

* more data classes, code style
2018-03-03 13:24:03 +01:00
ButterflyOfFire 2f7014e05a Improving arabic translation (#523)
Improving arabic translation
2018-03-03 10:33:26 +01:00
nailyk a81f691689 Translates: FR: Do not use plural for follows_you (#537) 2018-03-02 20:53:01 +01:00
Conny Duck ed60cc3a78 gracefully handle null statuses in notifications 2018-03-01 21:10:10 +01:00
Conny Duck 1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
nailyk da54ab5890 Update FR translations (#533)
* Translation: FR: Correct media upload sentences

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>

* Translation: FR: Make follow request sentence innumerable

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-02-21 22:45:22 +01:00
Marcin Mikołajczak eb15631c10 Update Polish translation (#532) 2018-02-19 17:43:25 +01:00
Conny Duck 14439c016c increase text size of detailed toot 2018-02-17 13:54:27 +01:00
Conny Duck c766a203bf fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
aka-rin 5ebb057828 Add Chinese Translations (#528)
* Add zh-CN translations (first version).

满眼生机转化钧, 天工人巧日争新。

* Add zh-TW translations (converted by OpenCC).

幹,我到底寫了三小……

* Add zh-HK translations (converted by OpenCC).

呢個翻譯真喺 On9!

* Fix some translations in zh-CN.

点一下,玩一年,装备不花一分钱~

* Fix some translations in zh-TW, too.

油條要超越板凳當凶器之首了嗎?

* Fix some translations in zh-HK, too...

大家小心流感

* Minor fixes in zh-CN translations.

翻譯比想象中要難啊……

* Add zh-SG translations (the same as zh-CN).

* Update zh-TW translations.

* Update zh-HK translations, too.

Still needs to be improved...

* Add zh-MO translations (the same as zh-HK).

Now it's all set!

* Fix a character in zh-CN translations...

Don't mind, don't mind...

* Fix the same character in zh-SG translations...

It's all my fault. 😂
2018-02-14 22:29:38 +01:00
Konrad Pozniak 17a122b293
Rewrite EditProfileActivity in Kotlin (#525)
* rewrite EditProfileActivity in Kotlin

* fix bug in MainActivity where profiles would duplicate

* fix code style
2018-02-12 22:04:18 +01:00
nailyk c502e001d7 Translates: FR: Improve translations (#524)
* Add new translate related to multi account,
 * Adjust some translates notification related.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-02-10 21:13:54 +01:00
Conny Duck 274343a064 set the correct default theme in preferences 2018-02-05 11:29:08 +01:00
Evgeny Petrov ba46e90140 Russian translation for Tusky 1.5 (#513)
* Russian translation for Tusky 1.5
* Added multiaccount strings
* Added licence strings
* Added media caption strings
* Added lists strings
* Added HTTP proxy strings
* Added theme strings
* Some small fixes

* Tusky-RU: A small fix for "visually_impaired" strings

* Tusky-RU: Some fixes for "Proxy" strings.
"Blind" translating is bad :(
2018-02-04 15:16:01 +01:00
Conny Duck 5b8cbeb7e9 Release 32 2018-02-04 10:31:50 +01:00
Conny Duck f76d90affd set proxy setting to default off 2018-02-04 09:32:05 +01:00
Conny Duck 305d67fd2c improve german translation 2018-02-04 09:30:29 +01:00
Conny Duck 9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
Conny Duck f08efec0b6 simplify theme handling 2018-02-03 23:26:53 +01:00
Konrad Pozniak 92ae463b38
Multi account feature (#490)
* basic implementation

* improve LoginActivity

* darken drawer background image

* add current avatar in ComposeActivity

* add account name to logout dialog

* multi account support for notifications

* multi account support for notifications

* bugfixes & cleanup

* fix bug where somethings notifications would open with the wrong user

* correctly set active account in SFragment

* small improvements
2018-02-03 22:45:14 +01:00
Conny Duck c9004f1d54 adjust follow button font size 2018-02-03 13:34:40 +01:00
Conny Duck 3524a67a7f simplify list_item layout 2018-02-03 13:24:12 +01:00
nailyk 2eaf727a1d Translate: Polish: Correct typo (#511)
* Add missing '!'. Should unbreak the build.
2018-01-30 18:24:08 +01:00
Marcin Mikołajczak f18f759c10 Update Polish translation (#510)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-01-27 22:25:28 +01:00
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Ivan Kupalov 0426e8725a Set caption for media (#500) 2018-01-08 23:16:21 +01:00
Ivan Kupalov 6152043df3 Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
ButterflyOfFire dd9bba94bb Update Arabic translation #499) 2018-01-04 16:46:56 +03:00
Sergio López 7c83e0f87d implement support for HTTP proxy (#489)
This change allows the user to manually enter an unauthenticated proxy
configuration to be used for all API connections. This is mainly
intended for using Tusky with Tor (via Orbot or a local proxy).
2017-12-26 21:45:08 +01:00
Conny Duck 73342d38cf update arabic translations 2017-12-16 11:06:26 +01:00
Conny Duck 2e4fef69a1 add navigation bar color for API >= 27 2017-12-13 19:35:12 +01:00
Conny Duck 3bd855d4c4 set tab indicator height to 3dp 2017-12-09 21:34:04 +01:00
Conny Duck 2899114f66 add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
Conny Duck 2b477f4eea new icon & improved functionality for quick settings tile 2017-12-07 20:21:02 +01:00
Joan Montané 9602888ad3 Update Catalan strings (#480) 2017-12-05 21:59:58 +01:00
Conny Duck 13ed5da741 fix error in german strings 2017-12-05 20:36:08 +01:00
Koyu Berteon c2bf0ffbda Updated German translation (#478)
* Updated German translation
2017-12-04 10:51:22 +01:00
Evgeny Petrov c7ecf352cf Russian language updated (#475)
• Added new strings for status text sizes.
• Added new strings for status privacy values.
• Added new string about hidden media.
2017-12-02 13:14:57 +01:00
Konrad Pozniak 4743c85d82 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck 03f866f8c2 fix toot button and characters left text size 2017-12-01 22:44:18 +01:00
Conny Duck c20ee1d593 make content warning button smaller 2017-12-01 22:15:26 +01:00
Conny Duck bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Conny Duck 08d01e6046 improve german translation, strings 2017-11-30 20:58:56 +01:00
Konrad Pozniak 41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
nailyk 0077388c65 Correct array translations (#470) 2017-11-29 07:26:17 +01:00
Conny Duck 1c2a647569 improve default post privacy to work like web mastodon, add default post privacy option 2017-11-27 20:11:31 +01:00
Conny Duck 1351c8b885 move string arrays into string.xml files so they do not get forgotten by translators 2017-11-27 19:47:31 +01:00
Joan Montané ce90862041 Add Catalan translation (#464)
* Create strings.xml

* Create array.xml
2017-11-22 22:00:55 +01:00
Ivan Kupalov 2575b16dad Save reply info in draft, refactor (#449)
* Save reply info in draft, refactor

* Handle replying to deleted status
2017-11-16 19:18:11 +01:00
Evgeny Petrov a859ef0432 Tweaks to Russian translation (#454)
• Added missing translations to timestamps (1s, 2m, 3h etc);
• Renamed "bio" section (now it's translated as "about me" since "biography" means something large and detailed);
• Renamed "thread" sections (now it uses more native word "Discussion", rather than transliterated "Thread" word);
• Changed notification string about new notifications. This change may look a bit ugly, but it solves a problem with declension of numeric values.
2017-11-16 01:01:07 +03:00
ButterflyOfFire b13a27a777
Update strings.xml 2017-11-11 13:55:26 +01:00
Ivan Kupalov 2816d9f929
Merge pull request #439 from charlag/status-notifications-behavior
Status notifications behavior (closes #322, partly #292)
2017-11-07 23:12:37 +02:00
charlag 76c7a7e462 Display CWs in notifications correctly 2017-11-08 00:09:44 +03:00
Anna e só 53de82bced pt-rBR translation updated (#438) 2017-11-07 21:37:11 +01:00
Ivan Kupalov b11e88cf46
Merge pull request #437 from MasterGroosha/patch-1
Russian language updated
2017-11-07 21:41:26 +02:00
Evgeny Petrov 424f38a5fa Russian language: translated numeric values for notification check timeout, some other small improvements. 2017-11-07 22:39:35 +03:00
Conny Duck 305d28a5c1 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
Conny Duck 26834b36ed update german translation 2017-11-07 14:52:43 +01:00
Evgeny Petrov d0bd68f3e2
Russian language updated 2017-11-07 15:56:04 +03:00
Konrad Pozniak 21de60f739
Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +01:00
Ivan Kupalov dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck 80a10c1ac1 implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Kazuki KANDA a934582025 Improves and adds Japanese translations. (#434) 2017-11-04 17:56:19 +01:00
Ivan Kupalov 018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov 62f4837135 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck 2d390f6603 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck 93fcd33c48 add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Tibike Miklós d2a5dcc144 Hungarian translation (#428)
* - Added a few lines of hungarian into resources

* - Added another round of commits

* - Added the rest of the Hungarian translations
2017-10-29 22:17:51 +01:00
Conny Duck 671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck 4807493850 update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Konrad Pozniak 5cbc7217ff Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Conny Duck 0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Jeroen 8e92a32c01 Update of Dutch strings (#416) 2017-10-26 18:00:17 +02:00
Conny Duck 9dc9ee2ef0 upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Anna e só 86f03d2603 i18n: PT-BR translation added (#415) 2017-10-25 19:34:08 +02:00
Conny Duck 256a11aa07 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
nailyk 3f07e8a9b7 Update FR translate (#408)
* Strings: FR: Update translation

 * Follow is not a good term, replace it by something more relevant.

* Strings: FR: Add missing translates

 * Code string 'saved' is translated 'Drafts' in English.
   Use 'saved' based words in FR however.
2017-10-24 13:09:22 +02:00
Evgeny Petrov ba7e1a77a1 Russian language updated (#406) 2017-10-23 09:38:59 +02:00
Conny Duck 8b13ce4806 update german strings 2017-10-20 16:39:34 +02:00
Conny Duck b7f3a90f92 new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
Conny Duck 0789f048e6 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck 30312e0e55 implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck 7d7aeadd41 improve content warning background 2017-10-18 11:08:49 +02:00
Conny Duck 3a7a663824 change background color of detailed status for better legibility, especially with light theme 2017-10-18 10:12:53 +02:00
Conny Duck f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
lindwurm 81bb7997ce Update Japanese Translations
add japanese strings for #386 #389 #391

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-10-17 17:02:10 +09:00
Konrad Pozniak 25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 1297a35e9b Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Konrad Pozniak 5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak 34918884b5 Merge pull request #391 from flyingrub/copy
Add a menu entry to copy the link of a toot
2017-10-16 23:30:36 +02:00
Konrad Pozniak 840efd1916 Merge pull request #372 from connyduck/avatar-placeholder-improvement
rounded corners for avatar placeholder
2017-10-16 17:18:09 +02:00
flyingrub 4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub 402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan c0a5e55f47 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome 87de285fe8 (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Conny Duck 71743890b0 rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor 67f3ce6e4e Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21. 2017-08-11 16:34:43 -04:00
lindwurm 7c90cd76e3 l10n: Update Japanese translations
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-08-10 10:24:02 +09:00
Vavassor f8c75c8c90 Merge branch 'master' of https://github.com/dimqua/Tusky into dimqua-master 2017-08-09 17:24:13 -04:00
Vavassor 973c6168f8 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor b7dcd31470 Merge branch 'button-improvements' of https://github.com/connyduck/Tusky into connyduck-button-improvements 2017-08-08 23:55:32 -04:00
Vavassor ad399eedf1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Conny Duck 2c1bae80b7 rename setting "follow button" -> "compose button" 2017-08-05 12:04:58 +02:00
Conny Duck f696b6e8d3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck 17876008cf improve buttons in follow request/muted users/saved toots/blocked users 2017-08-05 10:52:58 +02:00
Conny Duck 2f66de9797 code cleanup, simplify AccountActivityLayout 2017-08-05 10:29:04 +02:00
Conny Duck 848189d670 show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck e4c9b229d7 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor df07ab2600 Adjusts background colours and button colours on the dark theme. Also, adds a background to the main status in a thread. 2017-08-03 19:13:26 -04:00
Conny Duck 42734c4f57 improve layout of AccountActivity tabs 2017-08-03 16:24:14 +02:00
Vavassor 309c89eefc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor 239ebaf9b2 Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor bfdd0cb3a2 Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Koyu Berteon e6b67498b5 Translating array.xml file 2017-07-27 22:01:17 -04:00
Koyu Berteon 47b12b456d Translated more untranslated strings 2017-07-27 22:01:17 -04:00
Vavassor 2cfb92013e Adjusts padding of the composer buttons. 2017-07-27 01:13:33 -04:00
Vavassor f3b5087c52 Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
m4sk1n 95053e4cc3 i18n: Updated Polish translation 2017-07-22 09:35:02 +02:00
Vavassor 6e366a1b84 Give up 2017-07-20 22:29:29 -04:00
Vavassor 51e2b7c949 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor e42811a1ba Merge pull request #350 from connyduck/translation-6
update german translation for version 1.1.4
2017-07-18 20:22:44 -04:00
Conny Duck 8c1130ef66 show currently selected check interval in settings 2017-07-18 20:33:46 +02:00
Conny Duck 33810f6e61 update german translation for version 1.1.4 2017-07-18 19:44:33 +02:00
dimqua 48b8056664 Russian translation 2017-07-15 21:32:47 +03:00
Ivan Kupalov 08f928a2b2 Improve media browser and video viewer
* show/hide status bar by tapping a photo
* dim and color status bar in video/media viewers
* show/hide status bar in video viewer
* use shared element transition when opening a photo is possible
* center video in VideoView
2017-07-15 18:37:53 +03:00
Vavassor 6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor f37bb694f1 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
Vavassor 87600b016f Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor d55181ccd0 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor 8559a6d75c Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Vavassor 40467fd355 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor be5af7e1df Merge pull request #337 from jeroenpraat/patch-3
Update Dutch strings for 1.4
2017-07-14 16:04:25 -04:00
Jeroen 16736e38ba Updating instances website and project website 2017-07-14 19:11:47 +02:00
Jeroen 35e5a9788a Adding this to Dutch strings too 2017-07-14 19:03:46 +02:00
Jeroen 37f2529fa2 Updating Dutch strings for 1.4 2017-07-14 18:59:00 +02:00
Ivan Kupalov 240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Vavassor 38db48c7cb Merge pull request #331 from m4sk1n/master
i18n: Updated Polish translation
2017-07-13 22:01:01 -04:00
Vavassor fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Ivan Kupalov 90c1a83ba4 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor b77d9934ab Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Marcin Mikołajczak bd8ff45983 i18n: @f68f6d7 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 17:01:59 +02:00
Marcin Mikołajczak 9eb1106ea6 i18n: @76fca00 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:58:59 +02:00
Marcin Mikołajczak 3b77660efb i18n: @7a7bca5 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:55:13 +02:00
Marcin Mikołajczak 542980f13f i18n: 946f584 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:51:26 +02:00
Vavassor e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor 14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor 63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
torrentcome 76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00
torrentcome 87c1edb3d4 (medias) try to add medias 2017-07-05 16:36:14 +02:00
torrentcome 7a7bca565e (string) add string 2017-07-05 16:35:41 +02:00
torrentcome 1e597fb7b1 (ui) more ui with list saved toot 2017-07-05 16:35:33 +02:00
Krzysztof Jurewicz fe2242a298 Fix a typo in Polish translation 2017-07-05 15:55:19 +02:00
Vavassor 4259b54394 Merge pull request #328 from m4sk1n/patch-4
i18n: @275cd51 @3955649 (pl)
2017-07-04 17:28:01 -04:00
Vavassor 9b63eaaa68 Merge pull request #320 from m4sk1n/patch-3
i18n: Updated Polish translation
2017-07-04 17:27:47 -04:00
m4sk1n 4de590e717 i18n: @275cd51 @3955649 (pl) 2017-07-03 14:25:05 +02:00
Vavassor 275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
Vavassor 3955649b9c Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur. 2017-06-30 02:31:58 -04:00
torrentcome 946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02:00
m4sk1n 9aad5ddb13 i18n: Updated Polish translation 2017-06-27 23:11:47 +02:00
Vavassor 3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor c5c6e8205a Fixes autocomplete list getting cut off in the composer if the user is using an app or launcher that hides the status bar. 2017-06-26 15:38:04 -04:00
Vavassor 7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -04:00
Vavassor 3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor 3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Vavassor e3745ebd6b Adds ability to page between multiple images in a status by swiping from left to right. Closes #66 2017-06-25 01:07:41 -04:00
Vavassor 100b9f0a47 Extends the width of the search view. 2017-06-22 02:00:03 -04:00
Vavassor 65e9d8c4fd Merge pull request #314 from m4sk1n/patch-2
Minor fix in Polish translation
2017-06-21 15:27:10 -04:00