Konrad Pozniak
61a45ae376
show status edits ( #3049 )
...
* show status edits part 1
* show status edits part 2 - load status edits
* fix code formatting
* add dialog to show status edits
* small improvements
* use ALIGN_CENTER to position status visibility icon when possible
* rename status_timestamp_info view to status_meta_info
* make dateFormat static
* remove commented-out code
* move edits to dedicated fragment
2023-01-02 14:09:18 +01:00
fruyek
d823052862
Status: Display indicators of edited posts ( #2935 )
...
* Add editedAt field to Status
* Status: Display indicators of edited posts
* Annotate edited posts in the Status description
* Cache info that post has been edited
2022-12-03 12:15:54 +01:00
Eva Tatarka
cc790ccf69
Add option to not crop image previews ( #2832 )
...
* Don't crop image previews with aspects between 2:1 & 1:2
Fixes #1995
* Custom media preview layout for handling various aspect ratios
2022-12-01 21:20:46 +01:00
Konrad Pozniak
ff4ddf90b6
fix crash when logging out while on conversations ( #2895 )
...
* fix crash when logging out while on conversations
* fix code formatting
2022-11-22 20:36:07 +01:00
Konrad Pozniak
f6a5510841
respect spoiler/sensitive settings in conversations ( #2891 )
...
* respect spoiler/sensitive settings in conversations
* fix code formatting
2022-11-22 20:11:30 +01:00
Levi Bard
0041acf2d4
Add language dropdown to compose view ( #2651 )
...
* Add UI for selecting post language
* Apply selected language when sending status
* Save/restore post language with drafts
* Fall back to english if the configured language isn't found in the locale list (no-NB)
* Remove comment about no_NB
* Move language dropdown to top of compose view
* Preserve language when redrafting
* Set default language to target post's language when replying
* Add Tusky license header to new source file
* Tweak language dropdown button width
2022-08-31 18:53:57 +02:00
Konrad Pozniak
f419e83c16
improve logout ( #2579 )
...
* improve logout
* fix tests
* add db migration
* delete wrongly committed file again
* improve LogoutUsecase
2022-06-20 16:45:54 +02:00
Konrad Pozniak
131309e99c
Fix conversations ( #2556 )
...
* fix conversations
* cleanup ConversationsRemoteMediator
* update conversation timestamps regularly
* improve loadStateListener
* add db migration
* make deleting from conversation db suspending
* reorganize code in ConversationsFragment
* delete NetworkStateViewHolder
* cleanup imports
* add 38.json
* honor fabHide setting in ConversationsFragment
* set page size to 30
2022-05-30 19:06:14 +02:00
Levi Bard
4188670b42
Implement reply count indicator to track web UI ( #2467 )
...
Addresses #882
2022-05-20 16:47:45 +02:00
Konrad Pozniak
3e849244f9
move Html parsing to ViewData ( #2414 )
...
* move Html parsing to ViewData
* refactor reports to use viewdata
* cleanup code
* refactor conversations
* fix getEditableText
* rename StatusParsingHelper
* fix tests
* commit db schema file
* add file header
* rename helper function to parseAsMastodonHtml
* order imports correctly
* move mapping off main thread to default dispatcher
* fix ktlint
2022-04-15 13:20:27 +02:00
Konrad Pozniak
1d20a02d17
fix crash in ConversationsFragment ( #2426 )
2022-04-13 19:22:19 +02:00
Mélanie Chauvel
2fc3ba3cee
Replace “status” by “post” in strings name and source values ( #2405 )
2022-03-27 12:23:25 +02:00
Konrad Pozniak
e05fdc6d7b
Fix status diffing and improve timeline performance ( #2386 )
...
* fix status & account diffing
* introduce TimelineAccount
* use TimelineAccount where possible
* improve tests
* improve ConversationEntity equals/hashcode
* fix mistake in ConversationEntity
* improve StatusViewData comparison
* improve tests
* fix typo in comment
2022-03-15 21:34:57 +01:00
Konrad Pozniak
2c91b1148c
fix database migration to v29 ( #2354 )
2022-02-27 20:16:41 +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
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
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
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
0ae3a2ed2a
fix confirmFavourites default ( #2282 )
2021-12-29 13:44:00 +01: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
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
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
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
e032d38d56
fix LiveData nullability issues ( #2181 )
2021-05-31 15:16:07 +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
dee6a3a160
always show follow requests in main menu ( #1809 )
...
* always show follow requests in main menu
* update recyclerview to v1.2.0
* fix bug that shows follow requests info to wrong users
2021-04-10 20:30:44 +02:00
Konrad Pozniak
bea5098cc1
migrating to ViewBinding part 4: Fragments ( #2108 )
...
* migrating to ViewBinding part 4: Fragment
* fix imports
* don't use viewBinding extension in ViewImage and ViewVideoFragment
* don't use viewBinding extension in ViewImage and ViewVideoFragment
2021-03-13 21:27:20 +01:00
Konrad Pozniak
fc4b47aee4
migrating to ViewBinding part 4: Adapters ( #2095 )
2021-03-07 19:24:01 +01:00
kyori19
cf642d9eb0
Avoid using displayName for displaying purpose ( #2101 )
2021-03-05 16:26:51 +01:00
Alibek Omarov
9580870445
Animated emoji support ( #2064 )
...
* Animated emoji support
* Try to query preference only once
* Revert to using SpannableStringBuilder
2021-02-06 08:14:51 +01:00
Levi Bard
baa915a0a3
Support opening unknown attachment types via `openLink` ( #2044 )
...
* Support opening unknown attachment types via openLink. #1970
* Fix label text for unknown attachment types
2021-01-18 13:53:13 +01:00
Konrad Pozniak
8b9ddca7bd
cleanup code in ConversationsFragment, SearchFragment and Report*Fragments ( #2027 )
2020-12-27 21:25:35 +01:00
Garrit Franke
0fbb4e9713
Wellbeing mode ( #1992 )
...
* Add wellbeing mode settings toggle
* Translate wellbeing mode string to german
* Disable fav/boost count on toots if wellbeing is enabled
* Hide follow/post stats on profiles
* Reload notifications when wellbeing mode is toggled
* Add wellbeing mode explainer dialog
* Move wellbeing filter timeline into own category
* Add toggles for quantitative stats
* Hide announcement badge counts if wellbeing is enabled
* Move fetching of wellbeing setting to activity
* Add wellbeing option to statusDisplayOptions
* Update post filters for all accounts
* Remove local translations
* Revert "Remove local translations"
This reverts commit e92e636a5c759b09649174ab68ec91bc13680287.
* Remove german translations
2020-12-23 19:13:37 +01:00
Konrad Pozniak
6d27d822ca
update Kotlin to 1.4.10 and fix some warnigs ( #1963 )
2020-10-25 18:36:00 +01:00
Konrad Pozniak
467c33aacb
upgrade SwipeRefreshLayout to 1.1.0 ( #1866 )
2020-07-28 10:38:28 +02:00
Konrad Pozniak
a69e6a66ba
fix confirmReblogs default values ( #1777 )
2020-05-05 20:26:40 +02:00
Ivan Kupalov
d44eada140
Fix reblog confirm ( #1723 )
...
* Fix reblog confirmation default value
* Fix triggering reblog before confirming it
* Fix accidents caused by reblog confirmation
2020-04-06 19:28:43 +02:00
Levi Bard
8cb83050ac
Add support for muting conversations ( #1732 )
...
* Add support for muting conversations
Implements #1731
* Fix CI
* Apply code review feedback
2020-03-24 21:06:04 +01:00
Ivan Kupalov
67c20326f9
Add options to confirm reblog/unreblog actions, close #460 ( #1650 )
2020-03-03 21:27:26 +01:00
Levi Bard
3edc47aa4a
Add option to show link previews in timelines ( #1681 )
...
* Add option to show link previews in timelines.
Addresses #1075
* Indent cards in non-selected statuses when viewing threads
* Indent cards in timelines
* Fix clipping of right side of preview in timelines
2020-03-02 19:34:31 +01:00
Konrad Pozniak
d9c802982e
Upgrade deps ( #1708 )
...
* upgrade Dagger
* upgrade AndroidX Lifecycle
* upgrade AndroidX Fragment
* upgrade Room, Retrofit, AndroidX core, Material components
* fix report fragments not sharing viewmodels
2020-02-25 19:49:41 +01:00
Konrad Pozniak
3a75ca25a3
[Tusky10] fix crash when bookmarking a conversation while offline ( #1686 )
2020-02-14 19:03:42 +01:00
Konrad Pozniak
88b8eca16a
fix crash when Account.displayName is null ( #1667 )
2020-02-07 20:23:51 +01:00
Mélanie Chauvel (ariasuni)
d6f3856878
Refresh DM column when removing toot there instead of removing conversation ( #1654 )
2020-01-29 19:25:55 +01:00
Konrad Pozniak
e5b78f65cf
use material buttons in timeline ( #1627 )
...
* use material buttons in timeline
* remove wrong switch option
2020-01-07 19:40:52 +01:00
Ivan Kupalov
426e7edb73
Fix missing cases of using StatusDisplayOptions ( #1614 )
2020-01-03 20:22:02 +01:00
Konrad Pozniak
cdb9d87f41
use RxAwareViewModel for more ViewModels ( #1613 )
...
* use RxAwareViewModel for more ViewModels
* fix ReportViewModel
2020-01-02 18:50:58 +01:00
Ivan Kupalov
7623962a0d
Use blurhash as image preview and as sensitive media cover, close #1571 ( #1581 )
...
* Use blurhash as image preview and as sensitive media cover, close #1571
* Fix focal point for blurhashes
* Fix video indicator overlapping sensitive media indicator
* Add a preference for blurhash
* Add blurhash to report UI.
* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Levi Bard
bac3003182
Make polls respect content warning visibility setting ( #1583 )
...
* Make polls respect content warning visibility setting
* Only perform poll setup when poll is visible
2019-12-16 19:51:21 +01:00
Konrad Pozniak
d9694df0c2
Bookmarks ( #1560 )
...
* add bookmarks to timelines
* add Bookmarks to main menu
* cleanup
* handle BookmarkEvent
* fix tests
* fix bookmark handling in NotificationsFragment
* add bookmark accessibility actions
2019-11-19 10:15:32 +01:00