Commit graph

1302 commits

Author SHA1 Message Date
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