Nik Clayton
965d51100c
Cleanup NotificationFragment to make future conversion to Kotlin easier ( #2993 )
...
* Convert NotificationsFragment to use view binding
* Use requireContext() in places a context is required
Removes a nullness warning.
* Simplify code by using .sublist() and .contains()
Removes a lint warning.
* Add @NonNull annotations to onViewTag and onViewAccount
* Use consistent comment styles
2022-12-05 14:51:45 +01:00
Levi Bard
11de43f470
Sort language lists by the localized language name ( #2991 )
2022-12-05 14:49:09 +01:00
Konrad Pozniak
f3962058dc
fix blocking accounts in thread view ( #2988 )
2022-12-05 14:44:52 +01:00
Eva Tatarka
0b921f3c26
Increase the size of the accept/reject follow buttons ( #2987 )
...
Also swapped the order to follow android's convention of having the
positive button on the right.
2022-12-05 14:44:32 +01:00
fruyek
24fccc3bbc
Show emoji codes on long press in the picker ( #2981 )
2022-12-05 14:36:51 +01:00
Nik Clayton
424326f99f
Add a menu option to mute / filter a hashtag from a status list ( #2882 )
...
* Add a menu option to mute / filter a hashtag from a status list
Un/muting uses the "home" filter
* Set the initial mute button visibility from existing filters
Check the user's filters to see if the tag is already filtered from HOME.
If it is then the initial button is to unmute it. If it isn't then the
initial button is to mute it.
* Avoid "mute tag" menu items "popping" in
- Initial state shows the "mute" option, disabled
- Update the state after the API call completes
2022-12-05 14:36:30 +01:00
Nik Clayton
64a06bfbe2
Support a swipe down to dismiss video ( #2879 )
...
* Support a swipe down to dismiss video
Images can already be dismissed with a swipe, this adds the same
functionality to videos.
- Add a VideoActionsListener interface for the hosting activity to dismiss
the fragment
- Add a gesture listener for swipes
- Dismiss the fragment if a swipe has a greated Y component than X
Fixes https://github.com/tuskyapp/Tusky/issues/2833
* Scale the video view when dragging
Provides identical visual feedback to the same operation on images.
2022-12-05 14:33:38 +01:00
Konrad Pozniak
4de778d7d4
Show Avatar next to tabs when main top bar is disabled ( #2973 )
2022-12-03 12:16:54 +01:00
Konrad Pozniak
11cf420320
fix crash when trying to add account to list from profile ( #2972 )
2022-12-03 12:16:37 +01:00
Levi Bard
9e52f7acf1
Load goto social and microblog.pub urls in the app ( #2945 )
...
* Move looksLikeMastodonUrl to LinkHelper
* Add support for goto social and microblog.pub urls.
Closes #2893
2022-12-03 12:16:17 +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
Levi Bard
83862569e2
Nullcheck channels when reading importance. ( #2971 )
...
Fixes #2970
2022-12-02 19:46:02 +01:00
Levi Bard
588307f7a1
Enable setting the default posting language from Tusky ( #2946 )
...
* Extract locale utils
* Extract makeIcon
* Allow setting the (server-synchronized) default posting language from Tusky.
Closes #2902
* Add copyright headers
* Address review feedback
2022-12-02 19:19:17 +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
Levi Bard
6b95790457
Add support for moderation report notifications ( #2887 )
...
* Add support for moderation report notifications
* Translate report categories
* Apply tint inside flag drawable
* Remove unused imports
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-12-01 20:11:55 +01:00
kylegoetz
86e5c92a05
show "now" instead of "in 0s" timestamps ( #2843 )
...
* Add roundoff threshold for "now" (new string resource) output in getRelativeTimeSpanString
* added tests
* added string resource translation for `status_created_at_now` in DE, ES, JA
* fixed ktlint issues
* use resource file in test, linting passes
* 501ms and 999ms now show "now" instead of "0s"
2022-12-01 19:54:29 +01:00
Nik Clayton
330401c7d0
Disable tab swiping by preference in profile and search ( #2889 )
...
The "Enable swipe gesture to switch between tabs" preference was ignored
on the tabs on a profile page ("Posts", "With Replies", "Pinned", "Media"),
and search ("Posts", "Accounts", "Hashtags").
Fix this.
While I'm here, replace a string for the preference name in MainActivity.kt
with a constant.
Fixes https://github.com/tuskyapp/Tusky/issues/2874 .
2022-12-01 19:51:13 +01:00
Konrad Pozniak
134672ef4a
Merge branch 'accelforce-list-from-account' into develop
2022-12-01 19:33:42 +01:00
Konrad Pozniak
8c08fbddb6
fix merge conflict
2022-12-01 19:33:20 +01:00
Levi Bard
9362e59d9d
Add view for browsing and unfollowing followed hashtags ( #2794 )
...
* Add view for browsing and unfollowing followed hashtags.
Implements #2785
* Improve list interface
* Remove superfluous suspend modifier
* Migrate to paginated loading for followed tags view
* Update app/src/main/java/com/keylesspalace/tusky/components/followedtags/FollowedTagsViewModel.kt
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
* Fix unhandled exception when opening the followed tags view while offline
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-12-01 19:24:27 +01:00
Konrad Pozniak
b53f097d45
Release 97
2022-11-30 20:01:33 +01:00
Konrad Pozniak
ea142bd9ff
fix cs translation
2022-11-30 19:13:37 +01:00
JT
2efe51c393
Translated using Weblate (Czech)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/cs/
2022-11-30 19:09:41 +01:00
Andrés Blasco Arnáiz
042578128d
Translated using Weblate (Galician)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/gl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/es/
2022-11-30 19:09:25 +01:00
JT
14c2717517
Translated using Weblate (Czech)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: JT <weblate.s@kub.cz>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-11-30 19:07:42 +01:00
Newidyn
4f2e831ab9
Translated using Weblate (Welsh)
...
Currently translated at 86.7% (440 of 507 strings)
Co-authored-by: Newidyn <grugallt@protonmail.ch>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-11-30 19:07:01 +01:00
Dion Chang
04b9db0be9
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 99.2% (503 of 507 strings)
Co-authored-by: Dion Chang <babogoos@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translation: Tusky/Tusky
2022-11-30 19:06:51 +01:00
Hồ Nhất Duy
89ddcca947
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-11-30 19:06:42 +01:00
Taufik Hidayat
f4c0522997
Translated using Weblate (Indonesian)
...
Currently translated at 48.9% (248 of 507 strings)
Co-authored-by: Taufik Hidayat <tfkhdyt@pm.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/id/
Translation: Tusky/Tusky
2022-11-30 19:03:57 +01:00
Jaroslav T
b3686cdb64
Translated using Weblate (Czech)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Jaroslav T <mrjaroslavik@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-11-30 19:03:34 +01:00
Sveinn í Felli
bbef86dd43
Translated using Weblate (Icelandic)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-11-30 19:01:39 +01:00
Pinguin
17b6d2d7d8
Translated using Weblate (German)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Pinguin <pinguin@lagerfeuerhacker.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-30 19:01:23 +01:00
Andrés Blasco Arnáiz
56b64e449a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Andrés Blasco Arnáiz <andresbarnaiz@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2022-11-30 19:00:59 +01:00
Ihor Hordiichuk
bf1a2118a2
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (507 of 507 strings)
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-11-30 19:00:47 +01:00
tmpod
a8da05002a
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 99.0% (502 of 507 strings)
Co-authored-by: tmpod <tom@tmpod.dev>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-11-30 19:00:28 +01:00
Conny Duck
8437fbd605
Release 96
2022-11-25 19:11:54 +01:00
Konrad Pozniak
0e8a558b59
Merge pull request #2915 from nailyk-weblate/weblate-tusky-tusky-app
...
Translations update from Weblate
2022-11-25 18:49:40 +01:00
Connyduck
b6320e1ef7
Translated using Weblate (German)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/de/
2022-11-25 16:35:54 +00:00
XoseM
ae30366f3c
Translated using Weblate (Galician)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/gl/
2022-11-25 16:35:54 +00:00
Hồ Nhất Duy
9c6ddc2803
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/vi/
2022-11-25 16:35:54 +00:00
Ihor Hordiichuk
2772277414
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/uk/
2022-11-25 16:35:54 +00:00
Jan Lindblom
40a26174a6
Translated using Weblate (Swedish)
...
Currently translated at 57.8% (11 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/sv/
2022-11-25 16:35:54 +00:00
Gordot Forrot
f0c29bf0c1
Translated using Weblate (Spanish)
...
Currently translated at 78.9% (15 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/es/
2022-11-25 16:35:54 +00:00
Danial Behzadi
ddc68e1650
Translated using Weblate (Persian)
...
Currently translated at 84.2% (16 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fa/
2022-11-25 16:35:54 +00:00
Vegard Skjefstad
6ab8393e6e
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/nb_NO/
2022-11-25 16:35:54 +00:00
Vri
df20e1a275
Translated using Weblate (German)
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/de/
2022-11-25 16:35:54 +00:00
ShellWen | 颉文
29cdf6d96d
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/zh_Hans/
2022-11-25 16:35:54 +00:00
nailyk
99d39ea1a6
Translated using Weblate (French)
...
Currently translated at 94.7% (18 of 19 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fr/
2022-11-25 16:35:54 +00:00
Konrad Pozniak
8b0f2fb333
Merge pull request #2835 from nailyk-weblate/weblate-tusky-tusky
...
Translations update from Weblate
2022-11-24 17:09:50 +01:00
Connyduck
ebe167e2e9
Translated using Weblate (German)
...
Currently translated at 99.2% (503 of 507 strings)
Translated using Weblate (German)
Currently translated at 99.2% (503 of 507 strings)
Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-24 15:54:38 +00:00