Konrad Pozniak
c592dfef78
Don't use notifyDataSetChanged in TimelineFragment ( #2334 )
2022-02-25 18:57:40 +01:00
Konrad Pozniak
f7dfffa762
merge ModalTimelineActivity & ViewTagActivity into StatusListActivity ( #2332 )
...
* Rename .java to .kt
* merge ModalTimelineActivity & ViewTagActivity into StatusListActivity
* fix crash when opening hashtag
2022-02-25 18:57:31 +01:00
Konrad Pozniak
eea81d7106
use POST api/v2/media to upload media ( #2327 )
2022-02-25 18:57:18 +01:00
Konrad Pozniak
8dbf255617
get rid of deprecated onActivityCreated in TimelineFragment ( #2326 )
2022-02-25 18:56:58 +01:00
Levi Bard
addce87eb6
Use tags from status when adding handlers to hashtag spans in status content ( #2344 )
...
* Migrate LinkHelper to kotlin
* Support tags field on statuses
* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283
* Make mentions and tags lists nonnullable
* Make LinkHelper.openLink a Context extension method
* Use builtin extension for uri conversion
* More cleanup in LinkHelper
* Add tests for LinkHelper.getDomain
* Unbreak tags in places that don't have a tag list (e.g. profiles)
* Fixup javadoc
2022-02-25 18:56:21 +01:00
Levi Bard
f822234995
Add "open as" to profiles ( #2340 )
...
* Extract "open as" utilities to BaseActivity
* Add "open as" to profiles.
Fixes #2329
* Rename STATUS_URL intent extra key
* Add nullability notations for new java code
* Pacify ktlint
2022-02-25 18:55:58 +01:00
Konrad Pozniak
69bcc92c46
fix cache cleanup deleting more statuses than it should ( #2348 )
...
* fix cache cleanup deleting more statuses than it should
* reset LOAD_AT_ONCE
* improve tests
* move cache clean code back to ViewModel
2022-02-21 19:33:10 +01:00
Konrad Pozniak
a76c580d7e
fix duplicate detail status ( #2345 )
2022-02-20 10:58:12 +01:00
Mélanie Chauvel
c8ed6b482e
increase default poll max option chars from 25 to 50 ( #2343 )
...
25 is old Mastodon default, the new one is 50
2022-02-18 20:08:38 +01:00
Konrad Pozniak
c20effe6c9
fix some mentions not being opened in Tusky ( #2339 )
...
* fix some mentions not being opened in Tusky
* link PR in code
2022-02-15 17:04:00 +01:00
Konrad Pozniak
97fe4f88c5
fix crash in drafts caused by minification of DraftAttachment ( #2337 )
...
* fix crash in drafts caused by minification of DraftAttachment
* fix formatting
2022-02-14 19:20:15 +01:00
Konrad Pozniak
329df1280b
fix sensitive media in search and notifications ( #2335 )
2022-02-12 09:56:08 +01:00
Konrad Pozniak
ae656a17a8
fix vertical insets of AccountActivity ( #2320 )
2022-02-09 20:45:56 +01:00
Konrad Pozniak
2fd45c1cdb
Fix comparing statuses and diffing in NotificationsFragment ( #2318 )
2022-02-07 20:38:54 +01:00
Konrad Pozniak
d2d52da717
Fix crash in TimelineFragment ( #2317 )
2022-02-07 20:04:40 +01:00
Konrad Pozniak
db1cc02fb8
Fix announcement reactions ( #2311 )
...
* fix size of announcement reactions
* fix announcement reactions not updating correctly
* remove unused code
* improve code
* remove unused imports
2022-02-05 19:13:05 +01:00
Konrad Pozniak
329bc51f90
fix apng emojis not rendered when animation is turned off ( #2312 )
2022-02-05 08:56:24 +01:00
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