Commit graph

1622 commits

Author SHA1 Message Date
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
Konrad Pozniak 8f57dddd61
fix poll voting in NotificationFragment (#1234) 2019-05-03 20:42:13 +02:00
Konrad Pozniak 28a76c1a5f
Notification filtering fixes (#1232)
* fix popup menu not shown on Android 5

* use correct no button for notification clearing confirmation dialog
2019-05-03 20:41:55 +02: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 cb82202d4d
fix deleted status reappearing in the timeline (#1225)
* fix deleted status reappearing in the timeline

* fix crash

* fix tests

* fix instrumented tests

* add test for deleted status in timeline
2019-05-01 22:10:00 +02: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 c739a147cf
fix timeline query not returning poll (#1226) 2019-04-28 10:11:36 +02:00
Konrad Pozniak 8d01e54caf
add support for multiple choice polls (#1212) 2019-04-28 09:58:17 +02:00
Conny Duck a471e358c3 upgrade deps 2019-04-28 09:52:12 +02:00
Konrad Pozniak c410600fe4
fix Glide crash in MainActivity (#1224) 2019-04-27 18:20:42 +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
Konrad Pozniak f235a38cca
fix StatusDetailedVieHolder ignoring useAbsoluteTime setting (#1215) 2019-04-25 19:29:15 +02: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
Konrad Pozniak 82d547caf8
fix issue with avatar background recycling (#1209) 2019-04-21 22:59:58 +02:00
Konrad Pozniak 5aa3f958a8
fix downloading media on Android 5 (#1206) 2019-04-21 22:59:49 +02:00
Konrad Pozniak e7afa0362b
add icon for bot indicator preference (#1208) 2019-04-21 22:59:33 +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 ea048c9f0c
fix crash when status has more than 4 images and accessibility service is active (#1204) 2019-04-21 14:29:47 +02:00
Konrad Pozniak 1b9e279064
fix issue with foreground service on Oreo+ (#1203) 2019-04-21 14:28:51 +02:00
Konrad Pozniak 9e4db47bc7 fix the Glide annotationProcessor warning 2019-04-21 08:24:29 +02:00
Konrad Pozniak ef66deeae7 fix some lint warnings 2019-04-21 08:24:29 +02:00
Konrad Pozniak 1ae3e86378
remove unneeded CollectionUtil and Either.java (#1201) 2019-04-21 08:24:06 +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
Evgeny Petrov 8a6b439408 Added check if text in compose toot field has only whitespaces (#1193) 2019-04-20 12:17:54 +02:00
Konrad Pozniak fb2d3024ab
fix bug where avatars where shown too small (#1199) 2019-04-19 15:23:30 +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
pandasoft0 bc3ea2357b Cancel media uploads when closing ComposeActivity #838 (#1189)
* Cancel media uploads on remove the draft message

* Fix formatting
2019-04-12 22:10:52 +02: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
pandasoft0 01234bb94b Add ability to scroll to top by tab click at the Account activity (#1146)
* Issue: tuskyapp#1078
Add ability to scroll to top by tab click at the Account activity

* Fix issue with scroll tabs other than current

* Update scroll on click behavior

* Update code formatting

* Remove unused code

* Move tab click listener from Fragments to Activities
2019-04-08 15:40:16 +02:00
Levi Bard a2fa49aafb Fix issue #1174 with span parsing (#1183) 2019-04-08 15:27:41 +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 2f322f87b6 Release 59 2019-04-08 13:31:57 +02:00
Konrad Pozniak 21a817a8d4
change cw icon color on on/off (#1181) 2019-04-08 13:04:54 +02:00
Bernd d0ca965cc8 Update Deps (#1176)
* Update Deps

* Update Deps

* Update Deps

* Update build.gradle

* Update build.gradle
2019-04-07 19:37:04 +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
Konrad Pozniak dd02af9911
fix IndexOutOfBoundException caused by ListStatusAccessibilityDelegate (#1178) 2019-04-07 16:32:58 +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
Konrad Pozniak 475bff00dc
remove CustomTabsHelper & ResourcesUtils (#1157) 2019-03-30 15:18:40 +01:00
Bernd 0db1a23c4f Update Deps + Cleanup (#1158)
* Fix Typo

* Update build.gradle

* Update Deps

* Update Tests

* Fixes Tests

Without this some tests fail on my PC...

+ also:
"Put this in your gradle.properties:

android.enableUnitTestBinaryResources=true"
from http://robolectric.org/migrating/#project-configuration

* Make everything private

* Fix Warning

* Update TimelineFragment.java

* Update build.gradle

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Fix Compile Errors

e.g.

Type inference failed. Expected type mismatch: inferred type is Preference? but Preference was expected

Type inference failed. Please try to specify type arguments explicitly.

* fix crash

* Grandle Wrapper 5.3

* Revert "Fix Compile Errors"

This reverts commit 4a774a4fe3ce82c84bd7b4d78e1a1c64af97cd0d.

* requirePreference

* oops

* Cleanup

* Update gradle-wrapper.properties
2019-03-30 15:18:16 +01:00
Conny Duck bbf3286d8e Release 58 2019-03-30 15:05:15 +01:00
Ivan Kupalov b66582654d Fix issue with content warnings not being expanded from a11y delegate (#1167) 2019-03-30 09:10:34 +01:00
Konrad Pozniak 9b59a57356
Fix wrong notification avatar being displayed sometimes (#1166) 2019-03-30 09:10:01 +01:00
Konrad Pozniak 26bea54230
disable language splitting for app bundle builds (#1165) 2019-03-29 19:56:53 +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
Konrad Pozniak 29455d5ccd
prevent empty hashtag in TabPreferenceActivity (#1160) 2019-03-28 21:10:53 +01:00
Konrad Pozniak 51a3e0ea5e
fix crash in TimelineFragment (#1159) 2019-03-28 21:10:38 +01:00
Conny Duck 397ef051c1 Release 57 2019-03-26 20:59:06 +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
Levi Bard 5694a75a4c Fix word boundary detection in filters (#1152) 2019-03-25 21:26:57 +01:00
Konrad Pozniak 291a923d51
fix crash when filter request returns an error (#1150) 2019-03-25 20:35:36 +01:00
Konrad Pozniak 2e52457b32
Hide unknown notifications (#1151)
* hide unknown notifications

* hide unknown notifications
2019-03-25 20:35:21 +01:00
pandasoft0 c3df44eaef Update Notification Adapter to support status created timestamp refresh (#1130)
* Update Notification Adapter to support status created timestamp refresh

* Format the code
2019-03-25 13:44:31 +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
Bernd e839a2c9fe fix sharing to Tusky (#1140)
fixes duplicate title when sharing from Feedly or Google News
2019-03-23 12:50:24 +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
pandasoft0 f1b9f7e9fe Fix issue with floating media bar after permissions request (#1134) 2019-03-20 19:26:39 +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
Konrad Pozniak cffb33d705
fix proguard issue with NotificationTypeAdapter (#1129) 2019-03-17 07:57:10 +01:00
Konrad Pozniak ff58960801
create IconicsDrawable with right color instead of tinting it later (#1127) 2019-03-16 15:41:41 +01:00
pandasoft0 7680b1b529 Refresh message timestamp every minute (#1113)
* Refresh message timestamp every minute

* Refresh timeline adapter every minute via differ
2019-03-16 14:38:29 +01:00
kyori19 d0f7f6f83c Fix crash with unknown notification type (#1123)
* Fix crash with unknown notification type

* Add NotificationTypeAdapter to handle unknown type

* Remove unneeded SerializedName
2019-03-16 14:33:16 +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 08c1bbd253
fix crash in NotificationsFragment (#1119)
* fix crash in NotificationsFragment

* don't reload notifications

* add updateAdapter()
2019-03-13 09:32:59 +01:00
Konrad Pozniak 5f390b378b
Improve Dependency Injection (#1120)
* inject TimelineCases directly into SFragment

* inject ThemeUtils
2019-03-11 17:25:11 +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
Levi Bard 006300ede6 Fix unhandled NPE when sharing an image from ViewMediaActivity (#1111) 2019-03-07 21:21:21 +01:00
Ivan Kupalov 47fa775f21 Refactor notifications adapter (#985)
* Fix unnecessary reloading of notifications

This removes topId as it is not needed and just plainly uses status id
if needed. During initial loading of notifications topId/bottomId are
not set so we ended up reloading everything.

* Refactor notifications adapter

Use AsyncListDiffer for updating notifications just like in timelines.

* Cleanup in NotificationsFragment
2019-03-07 19:31:18 +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
Konrad Pozniak d43b4fef4b
upgrade OkHttp, add Conscrypt (#1083)
* upgrade OkHttp, add Conscrypt

* fix tests
2019-03-04 19:25:51 +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
Conny Duck df8c78c81a Release 56 2019-03-04 17:59:36 +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 a0b3494c42
Fix crash when sharing to Tusky while not logged in (#1096) 2019-03-03 21:27:34 +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
Mélanie Chauvel (ariasuni) b714f47a5f Fix visibility of answer from DM column, from private to direct (#1094) 2019-03-03 17:44:29 +01:00
Konrad Pozniak 754897ea9b
Fix crash on Android 9 when replying from notification (#1091) 2019-03-01 21:06:48 +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
Konrad Pozniak d5fcbea5ac
fix crash in account activity (#1085) 2019-02-27 20:03:38 +01:00
Konrad Pozniak ffcc294107
fix crash in TimelineFragment (#1086) 2019-02-27 20:03:28 +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
Ivan Kupalov 15b441b180 Fix resizing image uniformly when opening an image (#1076) 2019-02-26 18:32:15 +01:00
Konrad Pozniak 5ee78e68ba
remove unnecessary divider styling (#1057) 2019-02-26 18:28:20 +01:00
Conny Duck 744daa052d Release 55 2019-02-22 17:15:33 +01:00
Conny Duck 72d15f341d fix crash on Android 5 2019-02-22 16:58:13 +01:00
Conny Duck 8e98f872d5 Release 54 2019-02-21 18:46:37 +01:00
Bernd bbd37c6cd4 Fix Crash (#1066)
* fix possible npe

* Update ConversationViewHolder.java

* revert unneded changes
2019-02-20 18:49:03 +01:00
Konrad Pozniak 1621c1e689
fix crash in AccountListFragment (#1065)
* fix crash in AccountListFragment

* remove unnecessary subscribeOn
2019-02-20 18:42:18 +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
Mihai Boisteanu d150cebcd0 Fixed sharing files doesn't return control after posting (#1062) 2019-02-19 20:56:13 +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 8201f2539d
fix close button behavior in ComposeActivity (#1056) 2019-02-17 20:50:06 +01:00
Konrad Pozniak fd3226d244
fix crash when opening a thread in the browser (#1053)
* fix crash when opening a Thread in the browser

* avoid redundant actionableStatus.getActionableId()
2019-02-17 19:09:30 +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
Conny Duck fc6029da72 Release 53 2019-02-16 16:57:53 +01:00
Conny Duck 88ce1a1d79 fix boost/fav count resetting after boosting a detailed status 2019-02-16 15:53:56 +01:00
Conny Duck 83dc45be35 fix ConcurrentModificationException when sorting accounts 2019-02-16 14:49:17 +01:00
Konrad Pozniak d371074d2a
fix statuses collapsing when faving/boosting in ViewThreadFragment (#1047) 2019-02-16 14:35: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
Konrad Pozniak 27cf5f5380
call db functions on background thread in ConversationsViewModel (#1040)
* call db functions on background thread in ConversationsViewModel

* use stable library versions
2019-02-15 20:41:10 +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 fdc66288b1
Fix crash with null lastStatus in Conversations (#1042) 2019-02-13 21:14:12 +01:00
Konrad Pozniak fe1e9f4100
delete conversation cache on logout (#1037)
* delete conversation cache on logout

* use correct threading method
2019-02-13 19:21:04 +01:00
Konrad Pozniak fc95903866
call db operation on background thread in TabPreferenceActivity (#1036) 2019-02-13 19:20:43 +01:00
Konrad Pozniak 6c93555ad0
remove unneeded instance id from db cache (#1035)
* remove unneeded instance id from db cache

* fix TimelineDAOTest

* fix TimelineRepositoryTest
2019-02-13 19:20:31 +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
Konrad Pozniak adf573646e
use the correct settings in SearchFragment (#1034) 2019-02-11 21:24:43 +01:00
Conny Duck 683b06a35d upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
Conny Duck eeaadea905 Revert "Generalize url scheme parsing/highlighting (#1008)"
This reverts commit 85610a8311.
2019-02-11 14:43:57 +01:00
Conny Duck 85593b519b fix share chooser dialog design 2019-02-08 17:42:55 +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
lenchan139 5876fbeb29 Attach subject when composing with shared content from other apps (#1020)
* +attach subject when composing with shared content from other apps

* Update strings.xml

* Update preferences.xml

* Update strings.xml

* remove option for add subject of shared to composeActivity

* Update preferences.xml
2019-02-05 20:12:37 +01:00
Ivan Kupalov 63952813c8 Fix incorrectly incrementing IDs before sending to server. (#1026)
* Fix incorrectly incrementing IDs before sending to server.

* Add TimelineRepositoryTest, fix adding placeholder, fix String#dec()

* Add more TimelineRepository tests, fix bugs

* Add tests for adding statuses from DB.
2019-02-05 20:06:00 +01:00
Levi Bard 85610a8311 Generalize url scheme parsing/highlighting (#1008)
* Add support for highlighting dat, ssb, ipfs url schemes. #847

* Generalize scheme parsing for url highlighting. #847

* Migrate LinkHelper to kotlin
2019-02-05 19:55:28 +01:00
Ivan Kupalov 22ee1dc5df Fix IDs (#1016)
* Allow any String IDs as long as they're sortable

* Allow any String IDs as long as they're sortable
2019-01-31 19:03:34 +01:00
Ivan Kupalov 87364edd98 Fix empty state for account media, fix tablets (#1018) 2019-01-31 18:31:15 +01:00
Konrad Pozniak 6b7ca5d184
fix autocomplete of usernames (#1019) 2019-01-30 22:10:05 +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 ce80b0c663 Fix crash in media tab, fix #1005 (#1007) 2019-01-28 11:05:13 +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
Konrad Pozniak fe535c2e0c
never use 0 account ids to prevent caching problems (#999) 2019-01-19 21:14:23 +01:00
Levi Bard 8014b1296d Ensure that the right account is shown as selected after performing "Open as". #992 (#996) 2019-01-18 18:08:11 +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
Levi Bard 922f165f95 Ensure that query/fragment/etc. don't get embedded into local filenames (#989)
when downloading #886
2019-01-15 20:57:13 +01:00
Conny Duck 71fb4db915 fix proguard issue 2019-01-15 20:53:38 +01:00
Conny Duck fa0ee82fe4 fix build 2019-01-14 22:29:12 +01:00
Ivan Kupalov 3ab78a19bc Caching toots (#809)
* Initial timeline cache implementation

* Fix build/DI errors for caching

* Rename timeline entities tables. Add migration. Add DB scheme file.

* Fix uniqueness problem, change offline strategy, improve mapping

* Try to merge in new statuses, fix bottom loading, fix saving spans.

* Fix reblogs IDs, fix inserting elements from top

* Send one more request to get latest timeline statuses

* Give Timeline placeholders string id. Rewrite Either in Kotlin

* Initial placeholder implementation for caching

* Fix crash on removing overlap statuses

* Migrate counters to long

* Remove unused counters. Add minimal TimelineDAOTest

* Fix bug with placeholder ID

* Update cache in response to events. Refactor TimelineCases

* Fix crash, reduce number of placeholders

* Fix crash, fix filtering, improve placeholder handling

* Fix migration, add 8-9 migration test

* Fix initial timeline update, remove more placeholders

* Add cleanup for old statuses

* Fix cleanup

* Delete ExampleInstrumentedTest

* Improve timeline UX regarding caching

* Fix typos

* Fix initial timeline update

* Cleanup/fix initial timeline update

* Workaround for weird behavior of first post on initial tl update.

* Change counter types back to int

* Clear timeline cache on logout

* Fix loading when timeline is completely empty

* Fix androidx migration issues

* Fix tests

* Apply caching feedback

* Save account emojis to cache

* Fix warnings and bugs
2019-01-14 22:05:08 +01:00
kyori19 75158a3aa0 Fix typo (#987)
* Optimize imports

* Fix typo in 'replyingStatusAuthor'
2019-01-14 21:57:22 +01:00
Ivan Kupalov fb83d086d1 Fix unnecessary reloading of notifications (#984)
This removes topId as it is not needed and just plainly uses status id
if needed. During initial loading of notifications topId/bottomId are
not set so we ended up reloading everything.
2019-01-11 22:07:40 +01:00
Konrad Pozniak 15af80c5a0
fix mentions and more menu after a fresh login (#986) 2019-01-11 22:07:25 +01:00
Konrad Pozniak 15ca16e06f
fix long toots not collapsing correctly in timelines (#976) 2019-01-11 20:05:15 +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 cd6766c261
hide toot content TextView when its empty (#969) 2018-12-27 22:32:14 +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
Ivan Kupalov bac15c42bd Export Room schemes (#963) 2018-12-25 20:06:28 +01:00
kyori19 c9ce380d7a Fix wrong visibility icon(tuskyapp#901) (#960) 2018-12-20 18:25:36 +01:00
Conny Duck f26c1718c9 update deps 2018-12-18 22:05:33 +01:00
Conny Duck e054edc69d remove more Kotlin null check methods from release bytecode 2018-12-17 23:36:59 +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
Conny Duck b92d66a5e9 exclude unneeded license files from apk 2018-12-17 19:08:32 +01:00
Conny Duck dd8d2131f7 update proguard rules for okhttp 2018-12-17 16:01:35 +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) 1c34d21a23 Display mentions toot hidden (#954)
* WIP: still display mentions when toot content is hidden

* WIP: still display mentions when toot content is hidden (2)

* Still display mentions when toot content is hidden (3)

* Factorize code for setting content and spoiler on a toot

* Factorize condition
2018-12-16 10:30:40 +01:00
Conny Duck eb7b000cc1 fix crash when using quick compose tile 2018-12-13 22:29:12 +01:00
Conny Duck 8b00d421ef Release 52 2018-12-12 20:53:26 +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 c3e5305fa2 fix another crash in ViewImageFragment 2018-12-12 19:37:18 +01:00
Conny Duck a0c399e2cf fix crash in MediaUtils.getVideoThumbnail 2018-12-12 18:56:42 +01:00
Konrad Pozniak 73670b8576
Improve emoji picker accessibility (#944)
* set emoji shortcode as content description on ImageView

* hide bottom sheets on back press
2018-12-07 17:05:02 +01:00
Conny Duck 073c673e6d fix crash in EditProfileActivity 2018-12-06 22:34:36 +01:00
Conny Duck f87b87bea3 close drawer when clicking on own profile and adding account
closes #948
2018-12-05 22:37:04 +01:00
Conny Duck aae72205c3 show correct username of author when sharing toot content
closes #918
2018-12-03 15:22:51 +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 1413a1155b
remove unnecessary compat code (#932) 2018-12-03 11:22:57 +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
Ivan Kupalov 19783c5aed Apply suggestions for ProgressImageView (#942) 2018-12-03 11:02:07 +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
Conny Duck 9627d73f68 fix NullPointerException in ViewImageFragment 2018-11-27 21:18:21 +01:00
Conny Duck f185c9d379 fix crash in ComposeActivity when loading no Emojis 2018-11-27 21:07:15 +01:00
Conny Duck fed52398a6 Release 51 2018-11-26 18:52:08 +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
Conny Duck f5ec6b1ef7 fix NullPointerException in ViewImageFragment 2018-11-25 20:16:38 +01:00