Konrad Pozniak
c8bf07ea77
fix crash in SearchFragment ( #1266 )
2019-05-18 16:52:48 +02:00
pandasoft0
ae5d8b8633
Account Activity enhancements ( #1196 )
...
* use the "follow" button as an "unblock" button on the profiles of blocked users
* use the "follow" button as an "unblock" button on the profiles of blocked users
* add an icon to the profiles that can be clicked to mute/unmute the user
* add an icon to the profiles that can be clicked to mute/unmute the user
* Fix view issues
* Fix view issues
* Implement swipe to refresh for Account layout
* Implement swipe to refresh handler at the account screen
* Implement swipe to refresh
* Correct account refresh
* Show Progress Bar
* Show Progress Bar
* Move "itSelf" check into the viewModel
* Change methods access level
* Change TimelineFragment newInstance overload
* Change avatarSize type to Float
* Replace ImageButton with MaterialButton
* Update account activity swipe to refresh colors
* Refactor code
* Refactor code
* Fix crash on moved account refresh
* Show moved account stats
* Update mute button behaviour
* Show tabs and content for moved accounts
* Fix crash on tablet
2019-05-15 12:43:16 +02:00
Konrad Pozniak
419ae80c60
fix images with focal point not shown in timeline ( #1256 )
2019-05-11 17:35:07 +02:00
Konrad Pozniak
561d4cc284
support custom emoji fonts in poll options ( #1250 )
2019-05-10 20:08:22 +02:00
pandasoft0
5c61786e05
Add correct Content Description for the preview images at the Compose screen ( #1188 )
...
* Add correct Content Description for the preview images at the Compose screen. tuskyapp#1155
* Remove "unknown" string from resource. Format code
* Format code
* Update string resource for content description
2019-05-09 20:25:44 +02:00
pandasoft0
c75b046483
Disable click on preference category items ( #1239 )
...
* Disable click on preference category item. tuskyapp#1221
Changed compat preferences widget to AndroidX according to (https://developer.android.com/guide/topics/ui/settings.html )
* Update preference categories clickable
2019-05-09 19:21:22 +02:00
Conny Duck
4d58ecb4ea
stop buggy gif animation for now
2019-05-08 21:42:22 +02:00
Conny Duck
51cf1a4ec5
fix crash in StatusBaseViewHolder.getVisibilityDescription
2019-05-08 20:19:31 +02:00
Konrad Pozniak
40d3eb8759
Fix bot icon indicator again ( #1249 )
...
* fix handling of bot indicator in timeline
* write bot status into db cache
* remove log
2019-05-07 07:37:00 +02:00
Konrad Pozniak
d7c32258ae
fix timespan plurals ( #1240 )
...
* fix timespan plurals
* rename poll timestamp strings and helper method
2019-05-06 09:59:06 +02:00
Konrad Pozniak
b8c32a96de
Poll fixes ( #1238 )
...
* update cache when voting on a poll
* fix poll controls color
* don't allow voting on old poll from cache
* check for RecyclerView.NO_POSITION in click listener
* fix crash when voting in a boosted poll
2019-05-05 08:26:17 +02:00
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
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
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
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
Konrad Pozniak
c410600fe4
fix Glide crash in MainActivity ( #1224 )
2019-04-27 18:20:42 +02:00
Konrad Pozniak
f235a38cca
fix StatusDetailedVieHolder ignoring useAbsoluteTime setting ( #1215 )
2019-04-25 19:29:15 +02: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
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
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
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
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
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
Konrad Pozniak
21a817a8d4
change cw icon color on on/off ( #1181 )
2019-04-08 13:04:54 +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
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
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
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