Commit Graph

7156 Commits

Author SHA1 Message Date
Sylvia van Os
e0786594bc Load images on request
This prevents loading the front and back images when scrolling through
the loyalty card list and should allow scaling to more images/files more
easily
2024-12-07 15:23:07 +01:00
Sylvia van Os
7fe67960bf Move TaskHandler to ViewModel
This should make it possible to properly cancel the running barcode
generation threads on rotation and prevent CPU rising on many rotations.
2024-12-07 15:23:07 +01:00
Sylvia van Os
83fca93649 Use ViewModel to prevent hammering storage
When you turn a LoyaltyCard into a bundle, it writes the files to
storage as it can't otherwise fit in the limited storage size. This
means that, on rotation, you write all images to storage and load them
again. Using a ViewModel prevents that storage hit due to holding it in
memory (as a ViewModel has a longer lifecycle).
2024-12-07 15:23:07 +01:00
Sylvia van Os
96a9850d9c Delete old cache files on startup 2024-12-07 15:23:07 +01:00
Sylvia van Os
1cb9ddecac Support for returning images from PkpassParser 2024-12-07 15:23:07 +01:00
Sylvia van Os
f7697ce8bf Support opening supported barcode files directly 2024-12-07 15:23:07 +01:00
Sylvia van Os
9358348795 Add option to share pkpass file to Catima 2024-12-07 15:23:07 +01:00
Sylvia van Os
711ca1e761 Add option to load pkpass from ScanActivity 2024-12-07 15:23:07 +01:00
Sylvia van Os
8eeff0058b Refactor ScanActivity result code (use ParseResult) 2024-12-07 15:23:07 +01:00
Sylvia van Os
ea456c6d80 Add Pkpass parser 2024-12-07 15:23:05 +01:00
Sylvia van Os
3bdc06b5b4 Merge pull request #2211 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-12-07 11:53:00 +01:00
inesre
2c9fbfcae8 Translated using Weblate (Spanish)
Currently translated at 47.8% (67 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/es/
2024-12-06 23:01:06 +00:00
solokot
e4a28f9fc9 Translated using Weblate (Russian)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/ru/
2024-12-06 23:01:05 +00:00
Sylvia van Os
630bf14387 Merge pull request #2210 from CatimaLoyalty/fix/transparentThumbnails3
Fix background colour for shortcuts
2024-12-05 19:01:09 +01:00
Sylvia van Os
4dd85f845e Fix background colour for shortcuts 2024-12-05 18:52:27 +01:00
Sylvia van Os
8382d1975b Merge pull request #2209 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-12-04 17:50:58 +01:00
大王叫我来巡山
4d4cac6a9e Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (140 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/zh_Hans/
2024-12-04 17:15:30 +01:00
solokot
5bd276a32d Translated using Weblate (Russian)
Currently translated at 100.0% (140 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/ru/
2024-12-04 17:15:29 +01:00
Sylvia van Os
e31ad60d32 Merge pull request #2207 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-12-03 21:02:12 +01:00
Nguyen Duc Tri Thuc
f511b29fcb Translated using Weblate (Vietnamese)
Currently translated at 10.7% (15 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/vi/
2024-12-03 19:09:57 +00:00
Nguyen Duc Tri Thuc
158abdb96c Translated using Weblate (Vietnamese)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/vi/
2024-12-03 19:09:57 +00:00
Sylvia van Os
959f6770dd Translated using Weblate (Latvian)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/lv/
2024-12-03 19:09:56 +00:00
Максим Горпиніч
c429fef56d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (140 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/uk/
2024-12-03 19:09:55 +00:00
Kachelkaiser
4ce8d293f4 Translated using Weblate (German)
Currently translated at 100.0% (140 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/de/
2024-12-03 19:09:55 +00:00
Edgars Andersons
ef9b28671b Translated using Weblate (Latvian)
Currently translated at 100.0% (1 of 1 strings)

Translation: Catima/Android (Debug)
Translate-URL: https://hosted.weblate.org/projects/catima/android-debug/lv/
2024-12-03 19:09:54 +00:00
Edgars Andersons
e3afaa1d49 Translated using Weblate (Latvian)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/lv/
2024-12-03 19:09:54 +00:00
Lassi Määttä
094e6951d0 Translated using Weblate (Finnish)
Currently translated at 3.5% (5 of 140 strings)

Translation: Catima/Android (Fastlane)
Translate-URL: https://hosted.weblate.org/projects/catima/fastlane/fi/
2024-12-03 19:09:53 +00:00
Sylvia van Os
73f33e238c Merge pull request #2206 from CatimaLoyalty/dependabot/gradle/com.android.application-8.7.3
Bump com.android.application from 8.7.2 to 8.7.3
2024-12-03 19:59:38 +01:00
Sylvia van Os
d1b8051771 Merge pull request #2205 from CatimaLoyalty/fix/transparentThumbnails2
Make thumbnails in edit view consistent with card view
2024-12-03 16:38:51 +00:00
dependabot[bot]
17fd6db65f Bump com.android.application from 8.7.2 to 8.7.3
Bumps com.android.application from 8.7.2 to 8.7.3.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 02:50:05 +00:00
Sylvia van Os
e6345bc2fe Make thumbnails in edit view consistent with card view
Commit 88c1dd1bc6 changed the behaviour of
the background colour of the thumbnails, but the edit view still used
the old behaviour. This creates more consistency.
2024-12-03 00:33:21 +01:00
Sylvia van Os
208b1a2eba Merge pull request #2204 from CatimaLoyalty/dependabot/gradle/com.github.yalantis-ucrop-2.2.10
Bump com.github.yalantis:ucrop from 2.2.9 to 2.2.10
2024-12-02 21:18:36 +00:00
dependabot[bot]
b796425551 Bump com.github.yalantis:ucrop from 2.2.9 to 2.2.10
Bumps [com.github.yalantis:ucrop](https://github.com/Yalantis/uCrop) from 2.2.9 to 2.2.10.
- [Release notes](https://github.com/Yalantis/uCrop/releases)
- [Commits](https://github.com/Yalantis/uCrop/compare/2.2.9...2.2.10)

---
updated-dependencies:
- dependency-name: com.github.yalantis:ucrop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 02:05:16 +00:00
Sylvia van Os
425a9f9a57 Merge pull request #2203 from CatimaLoyalty/create-pull-request/patch-1733026828
Update contributors
2024-12-01 09:51:18 +00:00
TheLastProject
3701c1f2cb Update contributors 2024-12-01 04:20:28 +00:00
Sylvia van Os
7a5233ed1a Merge pull request #2202 from CatimaLoyalty/create-pull-request/patch-1732976710
Update Fastlane changelogs
2024-11-30 15:23:09 +00:00
TheLastProject
5df349c118 Update Fastlane changelogs 2024-11-30 14:25:09 +00:00
Sylvia van Os
f97da3afcb Update CHANGELOG 2024-11-30 15:24:55 +01:00
Sylvia van Os
d997759ccf Merge pull request #2201 from CatimaLoyalty/fix/transparentThumbnails
Use black/white background colour instead of dominant colour for images
2024-11-30 10:34:20 +00:00
Sylvia van Os
5e710ba424 Merge pull request #2200 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-11-29 16:44:03 +00:00
Sylvia van Os
88c1dd1bc6 Use black/white background colour instead of dominant colour for images
This severely reduces the risk of a transparent PNG being put on a
background which is the same colour as the logo
2024-11-29 17:37:03 +01:00
Ricky Tigg
b63fbfa4c6 Translated using Weblate (Finnish)
Currently translated at 100.0% (1 of 1 strings)

Translation: Catima/Android (Debug)
Translate-URL: https://hosted.weblate.org/projects/catima/android-debug/fi/
2024-11-29 10:00:45 +01:00
mingyee2
565b441444 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/zh_Hant/
2024-11-29 10:00:44 +01:00
Greg
6900cf3475 Translated using Weblate (Polish)
Currently translated at 99.6% (328 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/pl/
2024-11-29 10:00:43 +01:00
Sylvia van Os
2c0c63aad4 Merge pull request #2196 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-11-27 16:44:21 +00:00
Doctorredits_here
b48e6f2437 Translated using Weblate (Indonesian)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/id/
2024-11-27 11:00:32 +01:00
Trond Kjetil Bremnes
37b4096713 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (329 of 329 strings)

Translation: Catima/Android
Translate-URL: https://hosted.weblate.org/projects/catima/catima/nb_NO/
2024-11-27 11:00:31 +01:00
Sylvia van Os
7a0894e4d2 Merge pull request #2194 from CatimaLoyalty/create-pull-request/patch-1732641808
Update feature graphic
2024-11-26 17:30:21 +00:00
TheLastProject
e6f8c29078 Update feature graphic 2024-11-26 17:23:27 +00:00
Sylvia van Os
b1672408c3 Merge pull request #2193 from weblate/weblate-catima-catima
Translations update from Hosted Weblate
2024-11-26 17:22:14 +00:00