Nik Clayton
d0432dbd24
refactor: Move string post_username_format to core.designsystem ( #736 )
2024-06-10 21:06:31 +02:00
Nik Clayton
9f4652c6cf
refactor: Move LinkHelper and AsciiFolding to core.ui ( #735 )
2024-06-10 20:38:16 +02:00
Nik Clayton
7cf7476c49
refactor: Move throttleFirst to core.common ( #733 )
2024-06-10 19:57:47 +02:00
Nik Clayton
46c7307c0d
refactor: Move LinkListener to core.ui ( #732 )
2024-06-10 17:40:23 +02:00
Nik Clayton
a68e1bf63b
refactor: Move StatusDisplayOptions and Repository to core.data ( #731 )
2024-06-10 17:29:09 +02:00
Nik Clayton
dc61030b98
refactor: Move AccountPreferenceDataStore to core.data ( #730 )
2024-06-10 16:54:14 +02:00
Nik Clayton
5dd1b9a2f9
refactor: Move CardViewMode to core.preferences ( #729 )
2024-06-10 16:28:55 +02:00
Nik Clayton
e4a065ca9f
refactor: Move ServerRepository to core.data ( #728 )
2024-06-10 16:08:48 +02:00
Nik Clayton
a2fa9f60fb
change: Use getErrorString for UploadServerError types ( #726 )
2024-06-05 18:21:20 +02:00
Nik Clayton
c5fe30088d
chore(deps): update kotlin to v2 (major) ( #725 )
2024-06-05 15:15:56 +02:00
Miles Krell
368f9a8f70
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (607 of 607 strings)
Translation: Pachli/App : Main
Translate-URL: https://hosted.weblate.org/projects/pachli/app-main/es/
2024-06-02 15:15:10 +02:00
Miles Krell
43046d00a5
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (19 of 19 strings)
Translation: Pachli/Fastlane Metadata
Translate-URL: https://hosted.weblate.org/projects/pachli/fastlane-metadata/es/
2024-06-02 15:15:10 +02:00
Nik Clayton
7f094b1781
chore: Prepare release 2.5.2 (versionCode 16) ( #723 )
2024-05-31 12:27:27 +02:00
Miles Krell
5610cd23fa
fix: Prevent crash on "hidden domains" page ( #703 )
...
The crash was caused by an uncaught exception when calling
`MastodonApi#domainBlocks`.
Update the `BackgroundMessageView` for the error message so it fills the
screen like on other pages.
Fixes #696
2024-05-30 19:35:39 +02:00
Miles Krell
ab08974fc9
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (607 of 607 strings)
Translation: Pachli/App : Main
Translate-URL: https://hosted.weblate.org/projects/pachli/app-main/es/
2024-05-30 19:26:07 +02:00
Miles Krell
fe4813283b
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (607 of 607 strings)
Translation: Pachli/App : Main
Translate-URL: https://hosted.weblate.org/projects/pachli/app-main/es/
2024-05-30 19:26:07 +02:00
Black_Eyes
4944e6fde1
fix(l10n): Update French translations
...
Currently translated at 100.0% (2 of 2 strings)
Translation: Pachli/App : Fdroid
Translate-URL: https://hosted.weblate.org/projects/pachli/app-fdroid/fr/
2024-05-30 19:26:07 +02:00
Kalle Kniivilä
071af59ad7
fix(l10n): Update Finnish translations
...
Currently translated at 100.0% (607 of 607 strings)
Translation: Pachli/App : Main
Translate-URL: https://hosted.weblate.org/projects/pachli/app-main/fi/
2024-05-30 19:26:07 +02:00
Nik Clayton
4520a29c74
fix: Generate useful error messages for all errors ( #719 )
...
Previous code was inconsistent about using getServerErrorMessage() and
whether or not the case where getServerErrorMessage() returns null was
handled.
Switch to using getErrorString() which does handle the null case and
always returns a usable string.
Some string resources are rendered temporarily unused by this change.
They will be used again soon, so configure lint to ignore them at the
moment.
2024-05-30 19:14:43 +02:00
Nik Clayton
51c4469e85
feat: Check Hometown/Glitch server instanceinfo for translation support ( #718 )
...
Previous code only looked for translation support on Mastodon servers.
It may be present on Hometown/Glitch servers too, so check.
Fixes #714
2024-05-30 19:14:27 +02:00
Nik Clayton
84fdf4abb7
fix: Only include transitionKind in intents for Pachli activities ( #716 )
...
Previous code always included the transitionKind enum as an extra, and
could cause a crash if the activity launched by the intent was not a
Pachli activity.
Fixes #700 .
2024-05-30 14:05:42 +02:00
Nik Clayton
61afde882c
fix: Only suggest upgrading to a version F-Droid has built ( #717 )
...
The F-Droid API can return a `suggestedVersionCode` that F-Droid has not
successfully built (e.g., there was a network issue preventing F-Droid
from fetching the source code at the time of the last build).
This meant users were being prompted to update when there was not a
built package to update to.
Fix this by verifying that `suggestedVersionCode` appears in the list of
packages. If it doesn't then fall back to the highest version code in
the list of packages.
Fixes #684
2024-05-30 13:49:42 +02:00
Nik Clayton
de7e5a9df9
fix: Re-enable accessiblity actions in all timelines ( #715 )
...
22729df1
broke accessiblity actions in non-notification timelines by
returning too early if the status was not a NotificationViewData.
2024-05-29 22:07:08 +02:00
Miles Krell
09b8dba8fe
change: remove tusky_banner.xcf ( #682 )
...
Closes #681 .
2024-05-28 12:52:56 +02:00
renovate[bot]
f689ea8f21
chore(deps): update plugin com.gradle.develocity to v3.17.4 ( #706 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.gradle.develocity | `3.17.2` -> `3.17.4` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.gradle.develocity/3.17.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.gradle.develocity/3.17.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.gradle.develocity/3.17.2/3.17.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.gradle.develocity/3.17.2/3.17.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-25 11:07:41 +02:00
renovate[bot]
fec0dc5e82
chore(deps): update plugin ktlint to v12.1.1 ( #686 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.jlleitschuh.gradle.ktlint | `12.1.0` -> `12.1.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jlleitschuh.gradle.ktlint/12.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jlleitschuh.gradle.ktlint/12.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jlleitschuh.gradle.ktlint/12.1.0/12.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jlleitschuh.gradle.ktlint/12.1.0/12.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 19:55:41 +02:00
renovate[bot]
718d8d3928
chore(deps): update actions/checkout digest to a5ac7e5 ( #705 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout ) | action |
digest | `0ad4b8f` -> `a5ac7e5` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 19:53:51 +02:00
renovate[bot]
23301213fb
chore(deps): update dependency com.apollographql.apollo3 to v3.8.4 ( #676 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.apollographql.apollo3 | `3.8.3` -> `3.8.4` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.apollographql.apollo3/3.8.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.apollographql.apollo3/3.8.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.apollographql.apollo3/3.8.3/3.8.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.apollographql.apollo3/3.8.3/3.8.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 22:51:11 +02:00
renovate[bot]
9fb493819f
fix(deps): update dependency androidx.core:core-ktx to v1.13.1 ( #654 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[androidx.core:core-ktx](https://developer.android.com/jetpack/androidx/releases/core#1.13.1 )
([source](https://cs.android.com/androidx/platform/frameworks/support ))
| `1.13.0` -> `1.13.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.core:core-ktx/1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.core:core-ktx/1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.core:core-ktx/1.13.0/1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.core:core-ktx/1.13.0/1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 22:43:58 +02:00
Nik Clayton
a12d03b2b7
fix: Prompt user to save/discard changes after editing bio ( #678 )
...
Previous code didn't get the viewmodel to check if the content had
changed, so `onBackPressedCallback` wasn't enabled, and the user could
edit the bio and press "back" without being prompted to save their
changes.
2024-05-01 22:42:53 +02:00
Miles Krell
5cb04e219c
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (18 of 18 strings)
Co-authored-by: Miles Krell <noreply@mileskrell.com>
Translate-URL: https://hosted.weblate.org/projects/pachli/fastlane-metadata/es/
Translation: Pachli/Fastlane Metadata
2024-04-30 17:19:10 +02:00
Nik Clayton
1c7e4747f0
chore: Update lint, mark item_status_filtered text non-selectable ( #677 )
2024-04-30 17:18:18 +02:00
Miles Krell
ee8f2b69b8
remove: remove janky animation warning ( #658 )
...
This warning (added in #274 ) includes a comment saying that we can
remove it after 2024-03-01, so the time has come :)
2024-04-30 16:25:05 +02:00
renovate[bot]
ed7829bc21
fix(deps): update dependency androidx.webkit:webkit to v1.10.0 ( #655 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[androidx.webkit:webkit](https://developer.android.com/jetpack/androidx/releases/webkit#1.10.0 )
([source](https://cs.android.com/androidx/platform/frameworks/support ))
| `1.8.0` -> `1.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.webkit:webkit/1.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.webkit:webkit/1.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.webkit:webkit/1.8.0/1.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.webkit:webkit/1.8.0/1.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 16:24:04 +02:00
Nik Clayton
45b7e8777f
change: Use SAM with `sortWith` comparator
2024-04-30 16:23:34 +02:00
Nik Clayton
8ee5463bba
change: Add anonymous parameter to `forEach` lambda
2024-04-30 16:23:34 +02:00
Nik Clayton
02da503721
change: Use `tools:text` for design-time text
2024-04-30 16:23:34 +02:00
Nik Clayton
e97d9c30fe
change: Set the visiblity explicitly
2024-04-30 16:23:34 +02:00
Nik Clayton
5cd0083807
change: Remove unnecessary `Companion` qualifier
2024-04-30 16:23:34 +02:00
Nik Clayton
3c9dd8655d
change: `!x.isEmpty()` -> `x.isNotEmpty()`
2024-04-30 16:23:34 +02:00
Nik Clayton
b0fccb0aa7
change: Remove unnecessary null check
2024-04-30 16:23:34 +02:00
Nik Clayton
d87a6718cc
change: Use "…" instead of "..." in Korean localisation
2024-04-30 16:23:34 +02:00
Nik Clayton
86d79276c6
change: Correct some package references in KDoc
2024-04-30 16:23:34 +02:00
Nik Clayton
56b0505955
change: Remove obsolete @Suppress annotations
2024-04-30 16:23:34 +02:00
Nik Clayton
1f50a9cbe7
change: Remove unnecessary types
2024-04-30 16:23:34 +02:00
Nik Clayton
01887d427b
change: Remove unnecessary `constructor` keyword
2024-04-30 16:23:34 +02:00
Nik Clayton
4ddd23dda6
change: Correct constructor parameter visibility
2024-04-30 16:23:34 +02:00
Nik Clayton
c8532c9fb4
change: Remove dead code
2024-04-30 16:23:34 +02:00
Nik Clayton
6fd993acf6
change: Use supportFragmentManager.commit
2024-04-30 16:23:34 +02:00
Nik Clayton
286a152fde
change: Move MediaUploadApi to the correct package
2024-04-30 16:23:34 +02:00