Commit graph

838 commits

Author SHA1 Message Date
Konrad Pozniak
dd02af9911
fix IndexOutOfBoundException caused by ListStatusAccessibilityDelegate (#1178) 2019-04-07 16:32:58 +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
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
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
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
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
Konrad Pozniak
0c48dcf06c
add hashtag tabs (#1145)
* add hashtag tabs

* address review feedback
2019-03-24 08:59:55 +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
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
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
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
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
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
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
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
Konrad Pozniak
a0b3494c42
Fix crash when sharing to Tusky while not logged in (#1096) 2019-03-03 21:27:34 +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
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
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
72d15f341d fix crash on Android 5 2019-02-22 16:58:13 +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
Mihai Boisteanu
d150cebcd0 Fixed sharing files doesn't return control after posting (#1062) 2019-02-19 20:56:13 +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
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