Commit graph

4620 commits

Author SHA1 Message Date
UlrichKu
1040358f3c
Ensure text field has focus when reporting statuses 2023-05-04 14:53:27 +02:00
Nik Clayton
c154aaa17d
Ignore LogConditional issues (#3615)
Logs are stripped in release builds, this is an unnecessary lint
2023-05-04 14:50:21 +02:00
Nik Clayton
a7001eecb8
Use the tab's contentDescription as the toolbar title (#3609)
Previous code had an IndexOutOfBoundsException where tab.position could be larger than the tabs array.
2023-05-04 13:19:44 +02:00
Nik Clayton
4da758c1f7
Check for non-empty pages when falling back (#3603)
Requesting a non-existent notification ID will cause the fall-back requests to succeed but return empty lists which stops pagination.

Check for this, and in the worst case, fall back to returning the most recent notifications.
2023-05-04 13:19:28 +02:00
Konrad Pozniak
62b91664e9
Allow multiline polls (this time for real) (#3608) 2023-05-03 09:05:05 +02:00
Konrad Pozniak
5abd3dc9fe
fix reporting (#3607) 2023-05-02 18:20:02 +02:00
Weblate
a04c6177a5
Translated using Weblate (Galician) (#3586)
Currently translated at 100.0% (21 of 21 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/gl/

Co-authored-by: XoseM <xosem@disroot.org>
2023-05-02 12:45:39 +02:00
UlrichKu
5cac17b7a9
#3430: (fix) do not hide the anchor of the FAB (#3561)
On Account preferences > Filters

With the list hidden on an empty view the FAB is erroneouly placed on the top left of the screen.

(Introduced with #3430)
2023-04-30 21:51:36 +02:00
Nik Clayton
0a39ee7ded
Force a layout pass to ensure spans are measured correctly (#3600)
Fixes https://github.com/tuskyapp/Tusky/issues/3596
2023-04-30 21:50:52 +02:00
Konrad Pozniak
11cf93fa55
Remove unused class PairedList (#3602) 2023-04-30 21:49:05 +02:00
Nik Clayton
ccab33dd0f
Add additional margin after the "X <performed an action>" view (#3597)
Add additional 6dp margin to the top of the username view, to provide more space after the "X <performed an action>" view, consistent with item_follow.xml.
2023-04-30 14:28:01 +02:00
Nik Clayton
03031e5716
Set initialLoadSize = pageSize (#3598)
The pageSize is large enough that there's no need for the default 3 x pageSize initialLoadSize value, and this improves performance.

Fixes https://github.com/tuskyapp/Tusky/issues/3578
2023-04-29 19:34:29 +02:00
Nik Clayton
152318ce85
Show filter title instead of filter keywords (#3589)
Avoid showing the user the things they have filtered on when showing a filter placeholder in a timeline.
2023-04-29 18:56:27 +02:00
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