kyori19
eeb6c3c96b
Merge remote-tracking branch 'tuskyapp/develop'
...
# Conflicts:
# app/build.gradle
# app/src/main/java/com/keylesspalace/tusky/MainActivity.kt
# app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt
# app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt
# app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt
# app/src/main/java/com/keylesspalace/tusky/components/search/SearchViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/TimelineFragment.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadFragment.kt
# app/src/main/java/com/keylesspalace/tusky/db/TimelineStatusEntity.kt
# app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt
# app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java
# app/src/main/java/com/keylesspalace/tusky/service/SendStatusService.kt
# app/src/main/java/com/keylesspalace/tusky/util/ThemeUtils.java
# app/src/main/res/layout/item_status_detailed.xml
# app/src/main/res/values-cy/strings.xml
# app/src/main/res/values-de/strings.xml
# app/src/main/res/values-es/strings.xml
# app/src/main/res/values-fa/strings.xml
# app/src/main/res/values-hu/strings.xml
# app/src/main/res/values-it/strings.xml
# app/src/main/res/values-ja/strings.xml
# app/src/main/res/values-nb-rNO/strings.xml
# app/src/main/res/values-oc/strings.xml
# app/src/main/res/values-tr/strings.xml
# app/src/main/res/values-zh-rCN/strings.xml
# app/src/main/res/values/strings.xml
# fastlane/metadata/android/sv/changelogs/74.txt
# fastlane/metadata/android/tr/changelogs/58.txt
# gradle/libs.versions.toml
2023-01-29 04:44:17 +09:00
Konrad Pozniak
98eb324aa0
Fix media preview bugs ( #3160 )
...
* fix media preview layout issues
* make sure "ALT" label is never shown when media preview is hidden
2023-01-12 19:40:51 +01:00
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
Nik Clayton
22834431ca
Convert util/{HttpHeaderLink,PairedList,TimestampUtils,ThemeUtils} to Kotlin ( #3046 )
...
* Fix off-by-one error in HttpHeaderLink
Link headers with multiple URLs with multiple parameters were being parsed
incorrectly.
Detected by adding unit tests ahead of converting to Kotlin.
* Convert util/HttpHeaderLink from Java to Kotlin
* Convert util/ThemeUtils from Java to Kotlin
* Convert util/TimestampUtils from Java to Kotlin
* Add tests for PairedList
* Convert util/PairedList from Java to Kotlin
* Implement feedback from PR
* Relicense as GPL
2022-12-31 13:01:35 +01:00
kyori19
5be9a90333
Merge remote-tracking branch 'tuskyapp/develop'
2022-12-29 22:53:20 +09:00
UlrichKu
6aed1c6806
issue 2890: Add an "ALT" sticker to the media preview container ( #2942 )
...
* issue 2890: Add an "ALT" sticker to the media preview container if there are descriptions
* issue 2890: Use end and start for positioning
* issue 2890: Adapt to new media view group
* issue 2890: Use an indicator overlay for every (single) preview image
* issue 2890: Reduce radius to match that of the preview layout
* issue 2890: Remove (again) unused code
* issue 2890: Set visibility in any case
* issue 2890: Use a translatable text for ALT
* issue 2890: Show ALT flag only when showing media
* issue 2890: Call doOnLayout on the layout wrapper
2022-12-18 16:50:30 +01:00
Eva Tatarka
2de2af0a8c
Fix media preview sometimes not showing ( #3023 )
2022-12-08 21:25:59 +01:00
Konrad Pozniak
88125ef7da
fix crash in TouchDelegateHelper when not all views are available ( #3016 )
...
* fix crash in TouchDelegateHelper when not all views are available
* filter views before passing to TouchDelegateHelper
* remove unused import
* fix indentation
2022-12-07 19:34:54 +01:00
Eva Tatarka
36befdebe2
Add a touch delegate to increase action touch targets to 48dp ( #2872 )
...
* Add a touch delegate to increase action touch targets to 48dp
Fixes #2825
* Adjust layout to make action buttons larger
* Remove 4dp vertical margin
2022-12-05 19:05:46 +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
kyori19
004a9b4921
Merge remote-tracking branch 'tuskyapp/develop'
2022-11-12 04:35:49 +09:00
Josh Soref
98092e6ff7
Spelling ( #2771 )
...
* spelling: activity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: animation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: detailed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hierarchy
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: memory
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: notification
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: opened
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: preferable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: repetitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: spoiler
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: thumbnail
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: visibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: whitespace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-09 19:32:39 +01:00
Konrad Pozniak
f870445b54
Fix rendering of link preview images ( #2743 )
...
* fix link previews in timelines rendering images incorrectly
* fix ripple effect when clicking on cards
* remove unnecessary line of code
2022-11-04 19:22:53 +01:00
Konrad Pozniak
c8fc2418b8
AccountMediaFragment improvements ( #2684 )
...
* initial setup
* add spacing between images
* use blurhash
* handle hidden state and show video indicator
* handle item clicks
* small cleanup
* move SquareImageView into account.media package
* fix build
* improve AccountMediaGridAdapter
* handle loadstate, errors and refreshing
* remove commented out code
* log error
* show audio attachments with icon
* fix glitchy transition animation
* set image Description on imageview
* show toast with media description on long press
2022-09-02 16:52:47 +02:00
kyori19
57aab71b0e
Merge remote-tracking branch 'tuskyapp/develop'
...
# Conflicts:
# app/build.gradle
# app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt
# app/src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt
# app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/components/search/SearchViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/TimelineTypeMappers.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/CachedTimelineViewModel.kt
# app/src/main/res/layout/activity_main.xml
# app/src/main/res/values-cs/strings.xml
# app/src/main/res/values-de/strings.xml
# app/src/main/res/values-fa/strings.xml
# app/src/main/res/values-fr/strings.xml
# app/src/main/res/values-hu/strings.xml
# app/src/main/res/values-it/strings.xml
# app/src/main/res/values-no-rNB/strings.xml
# app/src/main/res/values-zh-rCN/strings.xml
2022-07-16 02:51:51 +09:00
Levi Bard
8551785389
Fix hiding/showing preview cards for sensitive statuses ( #2600 )
...
* Update comment on StatusViewData.isCollapsible
* Fix hiding/showing preview cards for sensitive statuses.
Fixes #2565
* Fix typo
2022-06-24 21:47:49 +02:00
Levi Bard
4188670b42
Implement reply count indicator to track web UI ( #2467 )
...
Addresses #882
2022-05-20 16:47:45 +02:00
kyori19
95a1f5632b
Merge remote-tracking branch 'tuskyapp/develop'
2022-05-01 19:54:22 +09:00
Konrad Pozniak
e9b75119b3
improve bot badge ( #2466 )
...
* improve bot badge
* change badge corner radius
2022-04-28 20:39:06 +02:00
kyori19
6c630e08dd
Merge remote-tracking branch 'tuskyapp/develop'
2022-04-24 16:42:54 +09:00
Konrad Pozniak
db7eac0a8d
guard against the status of a notification being null in rare cases ( #2449 )
...
* guard against the status of a notification being null in rare cases
* improve code, fix bug when payloads is not null
* remove findViewById
* add comments in NotificationsAdapter
2022-04-21 18:46:55 +02:00
Mélanie Chauvel
e0abcbfada
Improve time format of posts when using absolute time ( #2413 )
...
* Improve time format of posts when using absolute time
* fix AbsoluteTimeFormatter, add tests
* fix tests
Co-authored-by: Conny Duck <k.pozniak@gmx.at>
2022-04-18 21:41:18 +02:00
Levi Bard
ad077cf092
Don't show preview cards on statuses with polls. ( #2430 )
...
Fixes #2427
2022-04-14 19:58:08 +02:00
kyori19
1228f645a6
Merge remote-tracking branch 'tuskyapp/develop'
2022-04-13 00:59:06 +09:00
Mélanie Chauvel
2fc3ba3cee
Replace “status” by “post” in strings name and source values ( #2405 )
2022-03-27 12:23:25 +02:00
kyori19
ba005c769b
Merge remote-tracking branch 'tuskyapp/develop'
2022-03-04 17:51:25 +09:00
kyori19
4a8fa74f79
Merge commit '224161caf111a15887cbc8a419763e87fe69931d'
2022-03-04 00:37:23 +09:00
Konrad Pozniak
4dee5c2774
display account name when display name is not set ( #2361 )
2022-03-01 21:29:16 +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
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
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
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
kyori19
2005b32dfa
Merge remote-tracking branch 'tuskyapp/develop'
2021-07-03 23:59:57 +09: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
kyori19
609dcf46cb
Merge remote-tracking branch 'tuskyapp/develop'
2021-04-28 11:54:29 +09: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
kyori19
a746009f74
Merge remote-tracking branch 'tuskyapp/develop'
2021-03-04 15:08:48 +09: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
kyori19
d5f5c0b695
Use Jsoup to hide quote link
2021-01-10 13:40:02 +09:00
kyori19
ea822004dd
Merge remote-tracking branch 'tuskyapp/develop'
2020-12-16 23:47:26 +09:00
Konrad Pozniak
9cdf486ceb
remove ThemeUtils.getTintedDrawable ( #2015 )
2020-12-09 19:08:16 +01:00
kyori19
171f69a35d
Merge remote-tracking branch 'tuskyapp/develop'
2020-11-20 13:21:21 +09:00
Conor Flynn
e91272a4c6
Adds link to account page when clicking on displayName ( #1982 )
...
* Adds link to account page when clicking on displayName.
* Reuses the onClickListener
* Fixes formatting.
2020-11-15 21:31:34 +01:00
Levi Bard
e0346a8e88
Open photos embedded in preview cards in the image viewer ( #1966 )
...
* Open photos embedded in preview cards in the internal image viewer instead of opening the browser
* Enable toolbar for single image viewer
* Apply review feedback
2020-10-22 21:15:46 +02:00
Levi Bard
b885aa8f83
Use blurhash for preview cards ( #1960 )
2020-10-17 18:41:38 +02:00
Levi Bard
8e2e815b84
Set onClick listener for poll result view. ( #1946 )
...
Fixes #1861
2020-10-02 21:18:39 +02:00
Konrad Pozniak
26a051220b
improve relative poll timestamp string format ( #1939 )
2020-10-02 17:11:48 +02:00
kyori19
11625a53b0
Merge remote-tracking branch 'tuskyapp/develop' into master
2020-08-14 18:27:02 +09:00