Konrad Pozniak
61ba6fe181
Fix disappearing placeholders ( #2309 )
...
* add getNextPlaceholderIdAfter to TimelineDao
* fix disappearing placeholders
* fix disappearing placeholders
2022-02-03 18:51:15 +01:00
Konrad Pozniak
c3da6f901f
display custom emoji in announcements ( #2310 )
2022-02-02 21:43:16 +01:00
Konrad Pozniak
ab6ea6dc89
fix placeholder not disappearing when no statuses are loaded ( #2305 )
2022-02-02 18:29:59 +01:00
Konrad Pozniak
8f5fb5b35c
Fix some weird behavior when clicking links in statuses ( #2304 )
...
* Fix some weird behavior when clicking links in statuses
* open browser when user clicks a status link again
2022-01-28 07:44:38 +01:00
Konrad Pozniak
6c5c628b90
delete unused class NetworkState ( #2301 )
2022-01-23 20:25:06 +01:00
Konrad Pozniak
e29567c9ec
Cleanup dagger setup ( #2300 )
...
* cleanup dagger setup
* fix tests
* fix ktlint
* cleanup FragmentBuildersModule
2022-01-23 20:24:55 +01:00
Konrad Pozniak
2fd01f7e2d
use custom JsonAdapter to be compatible with instances that have a custom subscribing feature ( #2298 )
2022-01-21 07:34:26 +01:00
Konrad Pozniak
1586817c3d
Update gradle, kotlin and other dependencies ( #2291 )
...
* update gradle, kotlin and other dependencies
* fix new warnings
* remove unused import
* update Proguard rules
* add explicit dependency on Gson to get the newest version
* remove debug flag from proguard rules again
* fix typo
2022-01-20 21:10:32 +01:00
Konrad Pozniak
a000228165
correctly detect end of pagination in network timeline ( #2296 )
...
* correctly detect end of pagination in network timeline
closes #2293
* improve NetworkTimelineRemoteMediatorTest
* remove unused import
2022-01-20 18:30:21 +01:00
Konrad Pozniak
f29e46ad55
fix media hidden default in ViewThreadFragment ( #2295 )
2022-01-17 18:45:11 +01:00
Konrad Pozniak
fe350ccf36
move AccountActivity and related classes to a new package ( #2216 )
...
* move AccountActivity and related classes to a new package
* fix ktlint
* fix ktlint
* fix imports
2022-01-11 19:55:17 +01:00
Konrad Pozniak
643e012b11
Timeline paging ( #2238 )
...
* first setup
* network timeline paging / improvements
* rename classes / move to correct package
* remove unused class TimelineAdapter
* some code cleanup
* remove TimelineRepository, put mapper functions in TimelineTypeMappers.kt
* add db migration
* cleanup unused code
* bugfix
* make default timeline settings work again
* fix pinning statuses from timeline
* fix network timeline
* respect account settings in NetworkTimelineRemoteMediator
* respect account settings in NetworkTimelineRemoteMediator
* update license headers
* show error view when an error occurs
* cleanup some todos
* fix db migration
* fix changing mediaPreviewEnabled setting
* fix "load more" button appearing on top of timeline
* fix filtering and other bugs
* cleanup cache after 14 days
* fix TimelineDAOTest
* fix code formatting
* add NetworkTimeline unit tests
* add CachedTimeline unit tests
* fix code formatting
* move TimelineDaoTest to unit tests
* implement removeAllByInstance for CachedTimelineViewModel
* fix code formatting
* fix bug in TimelineDao.deleteAllFromInstance
* improve loading more statuses in NetworkTimelineViewModel
* improve loading more statuses in NetworkTimelineViewModel
* fix bug where empty state was shown too soon
* reload top of cached timeline on app start
* improve CachedTimelineRemoteMediator and Tests
* improve cached timeline tests
* fix some more todos
* implement TimelineFragment.removeItem
* fix ListStatusAccessibilityDelegate
* fix crash in NetworkTimelineViewModel.loadMore
* fix default state of collapsible statuses
* fix default state of collapsible statuses -tests
* fix showing/hiding media in the timeline
* get rid of some not-null assertion operators in TimelineTypeMappers
* fix tests
* error handling in CachedTimelineViewModel.loadMore
* keep local status state when refreshing cached statuses
* keep local status state when refreshing network timeline statuses
* show placeholder loading state in cached timeline
* better comments, some code cleanup
* add TimelineViewModelTest, improve code, fix bug
* fix ktlint
* fix voting in boosted polls
* code improvement
2022-01-11 19:00:29 +01:00
Mélanie Chauvel
c0c8eec36b
filter messages by also looking at media descriptions ( #2285 )
2022-01-04 19:28:49 +01:00
Konrad Pozniak
0ae3a2ed2a
fix confirmFavourites default ( #2282 )
2021-12-29 13:44:00 +01:00
Konrad Pozniak
6b7d3ef613
fix loading Gif avatars into the main appbar ( #2268 )
...
* fix loading Gif avatars into the main appbar
and respect the animateAvatars setting
closes #2259
* fix formatting
2021-12-05 19:12:52 +01:00
Konrad Pozniak
b62ccd918f
fix compose button on profile page being half hidden ( #2267 )
2021-11-16 21:38:59 +01:00
Konrad Pozniak
d1d564a7e2
support animated PNGs and WEBPs ( #2244 )
2021-10-09 10:45:41 +02:00
Colin Kinloch
c37ccbb6e8
Add confirmation for favourite and bookmark actions ( #2245 )
...
* Add confirmation for favourite and bookmark actions
* Favourite confirmation american spelling and default values
* Remove bookmarking confirmation
* Update app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2021-10-04 07:48:44 +02:00
Levi Bard
651b35267f
Fix toolbar for instance list activity. ( #2248 )
...
Fixes #2247
2021-09-28 19:55:30 +02:00
Levi Bard
d07c1b098e
Highlight your own votes when displaying poll results ( #2242 )
...
* Highlight your own votes when displaying poll results
* Unbreak tests
* Add a checkmark to the description of self-voted options
2021-09-17 22:12:17 +02:00
Levi Bard
45598cf047
Audio caption improvements ( #2220 )
...
* Fix caption display in audio player
* Make video/audio description scrollable
* Constrain the maximum size of media label previews
2021-09-17 21:55:54 +02:00
Levi Bard
d93a9b5753
Fix crash when updating profile and the source field exists, but some of _its_ fields don't ( #2243 )
2021-09-17 21:51:00 +02:00
Levi Bard
59b977c57c
Fix filtering timelines ( #2214 )
2021-06-30 20:11:14 +02:00
Konrad Pozniak
2cc53d6772
fix codestyle
2021-06-28 22:04:34 +02:00
Konrad Pozniak
9ca7e708bd
fix liking/boosting/bookmarking/voting boosted statuses in timeline ( #2212 )
2021-06-28 21:41:18 +02:00
Konrad Pozniak
16ffcca748
add ktlint plugin to project and apply default code style ( #2209 )
...
* add ktlint plugin to project and apply default code style
* some manual adjustments, fix wildcard imports
* update CONTRIBUTING.md
* fix formatting
2021-06-28 21:13:24 +02:00
Konrad Pozniak
955267199e
migrate scheduled toots to paging 3 ( #2208 )
2021-06-24 21:24:04 +02:00
Konrad Pozniak
f6dd131b95
migrate drafts to paging 3 ( #2206 )
...
* migrate drafts to paging 3
* migrate DraftHelper to coroutines
2021-06-24 21:23:29 +02:00
Konrad Pozniak
554820de5f
migrate reporting to paging 3 ( #2205 )
...
* migrate reporting to paging 3
* apply PR feedback
2021-06-20 10:58:19 +02:00
Konrad Pozniak
920c71560b
throw HttpException instead of generic exception in TimelineViewModel ( #2202 )
2021-06-20 10:19:03 +02:00
Ivan Kupalov
837ee2e40d
Convert some adapters to Kotlin ( #2187 )
...
* Rename .java adapters to .kt
* Convert Account adapters to Kotlin
* Apply feedback for adapter refactoring
2021-06-20 10:18:40 +02:00
Konrad Pozniak
6d4f5ad027
migrate to paging 3 ( #2182 )
...
* migrate conversations and search to paging 3
* delete SearchRepository
* remove unneeded executor from search
* fix bugs in conversations
* update license headers
* fix conversations refreshing
* fix search refresh indicators
* show fullscreen loading while conversations are empty
* search bugfixes
* error handling
* error handling
* remove mastodon bug workaround
* update ConversationsFragment
* fix conversations more menu and deleting conversations
* delete unused class
* catch exceptions in ConversationsViewModel
* fix bug where items are not diffed correctly / cleanup code
* fix search progressbar display conditions
2021-06-17 18:54:56 +02:00
Konrad Pozniak
31da851f28
correctly serialize custom spans to html ( #2199 )
2021-06-14 11:00:35 +02:00
Konrad Pozniak
f04a2a1ee4
fix reblog avatar ( #2197 )
2021-06-14 10:22:08 +02:00
Konrad Pozniak
86002efc97
fix "show notifications filter" preference opening tabs preferences ( #2193 )
2021-06-11 20:50:52 +02:00
Ivan Kupalov
44a5b42cac
Timeline refactor ( #2175 )
...
* Move Timeline files into their own package
* Introduce TimelineViewModel, add coroutines
* Simplify StatusViewData
* Handle timeilne fetch errors
* Rework filters, fix ViewThreadFragment
* Fix NotificationsFragment
* Simplify Notifications and Thread, handle pin
* Redo loading in TimelineViewModel
* Improve error handling in TimelineViewModel
* Rewrite actions in TimelineViewModel
* Apply feedback after timeline factoring review
* Handle initial failure in timeline correctly
2021-06-11 20:15:40 +02:00
Konrad Pozniak
3301643c1d
update to SDK 30 and fix deprecations ( #2173 )
...
* update to SDk 30 and fix deprecations
* remove unnecessary .run
* revert ViewMediaActivity change
2021-06-01 19:46:07 +02:00
Konrad Pozniak
e032d38d56
fix LiveData nullability issues ( #2181 )
2021-05-31 15:16:07 +02:00
Ivan Kupalov
59c62204c7
Fix crash in NotificationsAdapter when spoiler is null. ( #2178 )
2021-05-27 16:41:54 +02:00
Konrad Pozniak
d5e539fd64
cleanup MainActivity / last remnants of SavedToots ( #2174 )
2021-05-22 19:24:40 +02:00
Konrad Pozniak
ca5c455881
update AndroidX, use ActivityResultContracts ( #2170 )
...
* update AndroidX, use ActivityResultContracts
* make allowMultiple setable in PickMediaFiles
* add license headers to PickMediaFiles
2021-05-22 17:50:08 +02:00
Konrad Pozniak
81057213db
don't upscale images in caption dialog ( #2165 )
...
* don't upscale images in caption dialog
* don't upscale images in caption dialog
2021-05-21 17:52:03 +02:00
Konrad Pozniak
387e62ea4b
get rid of jcenter ( #2163 )
...
* get rid of jcenter
* fix BottomSheetActivityTest
* update Android Image Cropper license
2021-05-21 17:51:47 +02:00
Konrad Pozniak
751109ac39
upgrade kotlin to 1.5.0 ( #2162 )
...
* upgrade kotlin to 1.5.0
* don't explicitly set kotlin jvmtarget
2021-05-21 17:51:35 +02:00
Konrad Pozniak
40b24cd242
migrate to RxJava3 ( #2146 )
...
* migrate to RxJava3
* remove unused import
2021-05-16 19:53:27 +02:00
Konrad Pozniak
6c37cc770c
remove SavedToots ( #2141 )
...
* remove SavedToots
* fix tests
2021-05-16 19:17:56 +02:00
Konrad Pozniak
b156be6ded
work around mastodon mute bug ( #2150 )
2021-05-09 18:37:41 +02:00
Konrad Pozniak
076a2b248a
fix crash when captioning large images ( #2149 )
2021-05-06 07:33:15 +02:00
Konrad Pozniak
bd670a01c3
fix event handling in TimelineFragment ( #2143 )
2021-05-02 17:17:30 +02:00
Konrad Pozniak
bcc852c521
update Room to 2.3.0 ( #2138 )
...
and use the new ProvidedTypeConverter
2021-04-24 18:31:16 +02:00