Commit Graph

1297 Commits

Author SHA1 Message Date
Ivan Kupalov
9c96dea890 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
084cd51b51 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
2b9fb8b7ab 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
f548d95190 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
2b490dd4f3 upgrade OkHttp, add Conscrypt (#1083)
* upgrade OkHttp, add Conscrypt

* fix tests
2019-03-04 19:25:51 +01:00
Ivan Kupalov
a9524508e6 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
244a478eb5 Release 56 2019-03-04 17:59:36 +01:00
Konrad Pozniak
76ef16d53b 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
c35d95ca4e change "show media previews" wording to "download media previews"
closes #1077
2019-03-04 10:09:21 +01:00
Konrad Pozniak
e3736a0dbc Fix crash when sharing to Tusky while not logged in (#1096) 2019-03-03 21:27:34 +01:00
Konrad Pozniak
fe16e9148c remove empty FAB styling (#1095) 2019-03-03 20:53:10 +01:00
Konrad Pozniak
79a13a889f 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)
7f26966796 Fix visibility of answer from DM column, from private to direct (#1094) 2019-03-03 17:44:29 +01:00
Konrad Pozniak
8d3f89a9c2 Fix crash on Android 9 when replying from notification (#1091) 2019-03-01 21:06:48 +01:00
Konrad Pozniak
b6cb7a1bb3 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
153a002ffa fix crash in account activity (#1085) 2019-02-27 20:03:38 +01:00
Konrad Pozniak
2cdef105eb fix crash in TimelineFragment (#1086) 2019-02-27 20:03:28 +01:00
koyu
1bdf831419 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
57cc6aeab6 Fix line endings in spellcheck.xml 2019-02-26 18:34:29 +01:00
INAGAKI Hiroshi
2336f1d6a9 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
d018b0180a Fix resizing image uniformly when opening an image (#1076) 2019-02-26 18:32:15 +01:00
Konrad Pozniak
b8ca60da1c remove unnecessary divider styling (#1057) 2019-02-26 18:28:20 +01:00
Conny Duck
7e5e94487c Release 55 2019-02-22 17:15:33 +01:00
Conny Duck
84a2bfc3a7 fix crash on Android 5 2019-02-22 16:58:13 +01:00
Conny Duck
6c1db97c07 Release 54 2019-02-21 18:46:37 +01:00
Bernd
80788f560b Fix Crash (#1066)
* fix possible npe

* Update ConversationViewHolder.java

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

* remove unnecessary subscribeOn
2019-02-20 18:42:18 +01:00
Konrad Pozniak
e9ada19328 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
7e2d8d6bfc Fixed sharing files doesn't return control after posting (#1062) 2019-02-19 20:56:13 +01:00
Konrad Pozniak
c655100de7 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
045376f66d fix close button behavior in ComposeActivity (#1056) 2019-02-17 20:50:06 +01:00
Konrad Pozniak
d419f82365 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
c79daef974 New translations strings.xml (French) (#1054) 2019-02-17 18:35:10 +01:00
tsdgeos
a5be8b2094 ca: Fix typo: multimètida -> multimèdia (#1050)
Fixes #1048
2019-02-17 14:20:06 +01:00
Conny Duck
80966019b2 Release 53 2019-02-16 16:57:53 +01:00
Conny Duck
818d85fecc fix boost/fav count resetting after boosting a detailed status 2019-02-16 15:53:56 +01:00
Conny Duck
fea8426908 fix ConcurrentModificationException when sorting accounts 2019-02-16 14:49:17 +01:00
Konrad Pozniak
2b466dc2e4 fix statuses collapsing when faving/boosting in ViewThreadFragment (#1047) 2019-02-16 14:35:06 +01:00
Ondřej Hruška
3c7cd4097a 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
93439b2ad6 Fixed typo in SwitchPreference (#1046) 2019-02-15 22:48:27 +01:00
Evgeny Petrov
b9c594e11d 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
98caf4cbd9 Change CheckboxPreference to SwitchPreference, so that long lines show properly. (#1045) 2019-02-15 22:18:39 +01:00
Conny Duck
e104d3a0ad make max tabs reached message translateable 2019-02-15 21:35:14 +01:00
Konrad Pozniak
e23ed6806e 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
f5f17ad8b2 update german translation 2019-02-15 17:45:07 +01:00
aka-rin
fd0e98080a 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
fcc20d656c Fix crash with null lastStatus in Conversations (#1042) 2019-02-13 21:14:12 +01:00
Konrad Pozniak
26fb9e3ccf 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
d03751e59c call db operation on background thread in TabPreferenceActivity (#1036) 2019-02-13 19:20:43 +01:00
Konrad Pozniak
62824c602a 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