Commit graph

4457 commits

Author SHA1 Message Date
Nik Clayton
5c28cba57d
Show 0/1/1+ for replies, even if show stats is off (#3590)
Fixes https://github.com/tuskyapp/Tusky/issues/3588
2023-04-29 16:49:04 +02:00
Konrad Pozniak
a5578cf765
Check view is non-null before scrolling, fix crash in NotificationsFragment (#3594)
The posted message runs at the end of the message queue, by which time the view may no longer exist.
2023-04-29 16:39:49 +02:00
Nik Clayton
2f512705e8
Fix IndexOutOfBoundsException in onPause (#3581)
Use `getOrNull` instead of `get`, which was occasionally throwing IndexOutOfBoundsException.
2023-04-27 12:59:32 +02:00
Nik Clayton
d3a36be9e1
Merge pull request #3575 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2023-04-27 10:37:25 +02:00
Hồ Nhất Duy
0ecda75acd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (21 of 21 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/vi/
2023-04-25 19:16:21 +00:00
Danial Behzadi
eb502ef11b Translated using Weblate (Persian)
Currently translated at 100.0% (21 of 21 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fa/
2023-04-25 19:16:21 +00:00
Deleted User
22845aa796 Translated using Weblate (German)
Currently translated at 100.0% (21 of 21 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/de/
2023-04-25 19:16:21 +00:00
Nik Clayton
ae1f62d317
Prepare v22.0 beta 1 release (#3567)
- Bump versionCode and versionName
- Create new fastlane changelog
- Add more detailed changelog to CHANGELOG.md
2023-04-25 13:00:08 +02:00
Weblate
30b890a4e9
Translations update from Weblate (#3524) 2023-04-24 15:49:29 +02:00
Nik Clayton
23c3c3b492
Fix translation merge conflicts (#3563) 2023-04-24 15:27:54 +02:00
Nik Clayton
4754388f99
Add padding below status content (#3559)
Fixes #3550
2023-04-24 14:58:49 +02:00
Nik Clayton
f1b3faf85f
Show the follower's bio/note in a "followed you" notification (#3281)
This makes the notification view for a follow request contain more info about the new follower, and makes the layout (of their name / username) consistent with other notifications that show names/usernames.
2023-04-24 12:09:34 +02:00
Konrad Pozniak
af2727b633
Remove shrinker rules for okhttp (#3560)
Now included automatically in OkHttp.
2023-04-24 12:08:03 +02:00
UlrichKu
24d7ef7ccb
Always publish image alt text
Previous code would discard the image alt-text if the user finished writing the text before the image had finished uploading.

This code ensures the text is set after the image has completed uploading.
2023-04-24 11:48:40 +02:00
Nik Clayton
168be9223d
Disable lint checks for unused resource IDs (#3557)
* Disable lint checks for unused resource IDs

The check doesn't catch some instances where resources are used through viewbinding, and has too many false positives to be useful.

* Regenerate lint baseline

Delete the existing file, then regenerated with `.\gradlew lintBlueDebug -Dlint.baselines.continue=true`
2023-04-24 09:20:03 +02:00
UlrichKu
8de5613b47
3509: Ensure filter edit dialog is scrollable (#3510) 2023-04-23 22:39:19 +02:00
Nik Clayton
ce92c52fc1
Merge pull request #3556 from tuskyapp/renovate/okhttp
fix(deps): update okhttp to v4.11.0
2023-04-23 22:09:05 +02:00
Nik Clayton
73be497bbe
Merge pull request #3513 from Lakoja/fix-relationship-crash
Do not crash on empty relationship response
2023-04-23 18:36:13 +02:00
renovate[bot]
683bdeaeab
fix(deps): update okhttp to v4.11.0 2023-04-23 02:39:55 +00:00
Nik Clayton
a3d254e486
Merge pull request #3554 from tuskyapp/renovate/gradle-8.x
chore(deps): update dependency gradle to v8.1.1
2023-04-21 21:53:41 +02:00
Nik Clayton
df44bfbf7f
Merge pull request #3521 from nikclayton/patch-4
Disable wildcard imports for Java and Kotlin files
2023-04-21 21:43:31 +02:00
Nik Clayton
b57db0589d
Merge pull request #3514 from Lakoja/fix-edgy-crashes
Do not crash on/avoid index out of bounds
2023-04-21 19:52:45 +02:00
renovate[bot]
3d67e6a9ff
chore(deps): update dependency gradle to v8.1.1 2023-04-21 13:48:29 +00:00
renovate[bot]
3cb9acfae8
fix(deps): update dependency androidx.core:core-ktx to v1.10.0 (#3515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:51:01 +02:00
renovate[bot]
3557a314bc
fix(deps): update dependency org.robolectric:robolectric to v4.10 (#3522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:50:51 +02:00
UlrichKu
b14549e041
3503: SwipeRefreshLayout must be higher level (#3504)
* 3503: SwipeRefreshLayout must be higher level

* 3503: Fix notifications view a bit

* 3503: Wrap recycler views and message views in the swipe-to-refresh if all are present
2023-04-20 19:36:29 +02:00
renovate[bot]
1988c36c4d
chore(deps): update dependency gradle to v8.1 (#3528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:13:37 +02:00
renovate[bot]
cdbf7a2843
fix(deps): update dependency androidx.activity:activity-ktx to v1.7.1 (#3547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:11:24 +02:00
renovate[bot]
8570e61eb7
fix(deps): update dependency androidx.core:core-splashscreen to v1.0.1 (#3548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:11:13 +02:00
renovate[bot]
290b91aaf6
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.5.7 (#3549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:10:23 +02:00
Nik Clayton
ca9b171868
Disable wildcard imports for Java and Kotlin files
Out-of-the-box Android Studio will perform wildcard imports if the import list is >= 3. This is a lint failure.

Adjust the default to 999 so that, in practice, wildcard imports never happen.
2023-04-10 14:26:10 +02:00
Konrad Pozniak
16e1ab20f6
Merge pull request #3502 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2023-04-08 17:28:28 +02:00
UlrichKu
040268e2d3
3492: Correctly shorten name in drawer and notifications (#3495)
* #3492: Correctly shorten name in drawer and notifications

* Trigger linter again

* 3492: Use a flat ContraintLayout for everything
2023-04-08 16:55:32 +02:00
Ali Rohman
c9dc2f5e91 Translated using Weblate (Indonesian)
Currently translated at 100.0% (20 of 20 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/id/
2023-04-08 14:45:14 +00:00
Konrad Pozniak
5f00e3fd35
Merge pull request #3506 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2023-04-08 12:21:53 +02:00
renovate[bot]
85afdeed2d
chore(deps): update dependency org.jetbrains.kotlin.android to v1.8.20 (#3500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 11:15:15 +02:00
XoseM
3f680872b5 Translated using Weblate (Galician)
Currently translated at 100.0% (603 of 603 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2023-04-08 09:04:58 +00:00
Hồ Nhất Duy
33144c28fa Translated using Weblate (Vietnamese)
Currently translated at 100.0% (603 of 603 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2023-04-08 09:04:58 +00:00
Ihor Hordiichuk
3264b9706b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (603 of 603 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2023-04-08 09:04:58 +00:00
Eric
d9cb87d522 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (603 of 603 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2023-04-08 09:04:58 +00:00
Danial Behzadi
bddf4481a7 Translated using Weblate (Persian)
Currently translated at 100.0% (603 of 603 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2023-04-08 09:04:58 +00:00
Lakoja
bca98d2f48 Do not crash on/avoid index out of bounds 2023-04-05 15:48:40 +02:00
Lakoja
eb52c8ca58 Do not crash on empty relationship response 2023-04-05 10:54:03 +02:00
UlrichKu
cf50d0563f
3416: Call the list activity when list list empty (#3426)
* 3416: Call the list activity when empty; show failure on loading

* 3416: Revert include grouping

* 3416: Remove faulty include after merge

* 3416: Added a list loading progress

* 3416: Add proper padding to progress

* 3416: Show a text if there are no lists, do not change dialog title

* 3416: Center things in layout

* 3416: Appease linter (?)

* 3416: Do not hide manage lists button

* 3416: Use ThemeUtils
2023-03-30 21:23:08 +02:00
UlrichKu
eee1414aff
#2528: Also clear notifications on refresh in notifications timeline (#3498) 2023-03-30 19:38:44 +02:00
UlrichKu
8958c50de7
#3178: Increase contrast for separator lines in dark themes (#3497) 2023-03-30 19:31:23 +02:00
renovate[bot]
c4c171f4a3
fix(deps): update dependency app.cash.turbine:turbine to v0.12.3 (#3496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 19:31:08 +02:00
UlrichKu
23381d45d7
3430: Make list refresh/retry consistent (#3474)
* 3430: Make list refresh/retry consistent

* 3430: Add swipe-to-refresh and use states in filter lists
2023-03-30 19:29:42 +02:00
renovate[bot]
57ed98f305
fix(deps): update emoji2 to v1.3.0 (#3484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 19:24:05 +02:00
Conny Duck
fcd997f36c Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-es/strings.xml
#	app/src/main/res/values-gl/strings.xml
2023-03-30 19:00:34 +02:00