Commit Graph

6100 Commits

Author SHA1 Message Date
Aayush Gupta
51bc60e6e7 NotificationUtil: Respect user's system notification visibility settings
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 16:00:35 +08:00
Aayush Gupta
6416c6bddc Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!452
2025-03-17 13:21:25 +05:30
J. Lavoie
7e96912fcb Translated using Weblate (Italian)
Currently translated at 97.9% (430 of 439 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2025-03-17 08:50:29 +01:00
J. Lavoie
eec897da84 Translated using Weblate (Italian)
Currently translated at 95.4% (419 of 439 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2025-03-17 08:50:29 +01:00
Champ0999
44e2fbe5ac Translated using Weblate (Italian)
Currently translated at 95.2% (418 of 439 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2025-03-17 08:50:29 +01:00
Champ0999
d0feb2d6d3 Translated using Weblate (Italian)
Currently translated at 10.3% (3 of 29 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/it/
2025-03-17 08:50:29 +01:00
Aayush Gupta
2128846c57 fastlane: Add changelog for 4.7.0
Allow users to translate it in advance so we can include translations in the tag as well.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 15:48:43 +08:00
Aayush Gupta
655c7cd59f DownloadWorker: Notify dowload failure on network error as well
We can do special handling when ready but failure is a failure regardless.
Notify the user about it.

Also remove non-required default exception parameter as all instances of onFailure
specify an appropriate exception.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 14:26:25 +08:00
Aayush Gupta
075c6e1c05 work: appContext -> context
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 14:26:23 +08:00
Aayush Gupta
449a7d09f4 DownloadWorker: Use localized error string resources
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 14:25:48 +08:00
Aayush Gupta
bbeb11b847 DownloadWorker: Move back verification to same IO dispatcher
NonCancellable dispatcher breaks the parent and child job relation which
while ensures the new job is not cancelled when parent fails, the parent job
also no longer waits for the child to finish.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 14:22:38 +08:00
Rahul Patel
62e88b2205 Theme: fix themes for composables 2025-03-16 18:53:17 +05:30
Rahul Patel
a77862a61a Merge branch 'dev' into 'master'
dev

See merge request AuroraOSS/AuroraStore!451
2025-03-16 17:03:34 +05:30
Rahul Patel
d7b4f11b19 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!450
2025-03-16 16:37:24 +05:30
Edgars Andersons
166d075d21 Translated using Weblate (Latvian)
Currently translated at 100.0% (439 of 439 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/lv/
2025-03-14 09:56:36 +01:00
Aayush Gupta
9af602267b DownloadWorker: Switch to ktx extension for bitmap scaling
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-13 12:26:49 +08:00
Aayush Gupta
1f3cea116c DownloadWorker: Drop non-required check for authdata validity
The parent worker (AuthWorker) already does the required verification
and refresh the AuthData if expired. It will never be expired in this
case.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-13 12:23:56 +08:00
Aayush Gupta
7c2e9dc399 DownloadWorker: Drop non-required check for nullable packageName
packageName will never be null as App() constructor enforces specifiying
packageName atleast similar to Download() class.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-13 12:23:04 +08:00
Aayush Gupta
2a2a0930c4 fixup! Audit DownloadHelper & UpdateHelper scopes
Move back both UpdateHelper and DownloadHelper to mainscope as they
are only for observing changes to the data and don't need to be run
on a IO dispatcher

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-12 16:08:46 +08:00
cyberboh
10cfe50dc5 Translated using Weblate (Indonesian)
Currently translated at 100.0% (439 of 439 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/id/
2025-03-11 18:17:58 +01:00
Hosted Weblate
e8c44d690e Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/
2025-03-10 07:10:03 +01:00
Kom nake
84519db40d Translated using Weblate (Bengali)
Currently translated at 23.8% (105 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/bn/
2025-03-10 07:10:02 +01:00
Kom nake
388d9fcbc4 Added translation using Weblate (Bengali) 2025-03-10 07:10:02 +01:00
Ritwik
7a68779b8a Translated using Weblate (Hindi)
Currently translated at 100.0% (441 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2025-03-10 07:10:02 +01:00
Edgars Andersons
b8e4294777 Translated using Weblate (Latvian)
Currently translated at 100.0% (441 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/lv/
2025-03-10 07:10:02 +01:00
Aayush Gupta
38f6bb77fe app: Remove deleted translations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-10 14:03:27 +08:00
Rahul Patel
8053d1f3bc Downloadworker: fix notification issue 2025-03-07 20:23:45 +05:30
Rahul Patel
89f45f13d5 reformat files recently touched 2025-03-07 18:26:04 +05:30
Rahul Patel
585284fb10 improve microG account login & token refresh logic 2025-03-07 18:26:04 +05:30
Aayush Gupta
0ead570a70 Optimize imports treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-07 18:26:04 +05:30
Rahul Patel
991b974920 MainScope = SupervisorJob() + Dispatchers.Main
-- Kaiko chhedta hai re baba!
2025-03-07 18:26:04 +05:30
Rahul Patel
b24eafea7a Audit DownloadHelper & UpdateHelper scopes
Action Items:
- monitor changes for ~3days, do self-test to ensure it doesn't break anything
- also verify changes on older devices & other android skins MIUI, OneUI, EMUI
2025-03-07 18:26:04 +05:30
Rahul Patel
33462d772a PermissionProvider: cleanup 2025-03-07 18:25:51 +05:30
Rahul Patel
50b32101af NotificationUtil: update download cancel intent 2025-03-07 18:24:10 +05:30
Rahul Patel
e958a84a33 DownloadWorker: improve download interrupt scene
- if user cancels download, purge downloaded APKS + temps
- if download is interrupted, say due to network or space constraint, retain downloads & inform failure

TODO:
- add retry/resume download option
2025-03-07 18:24:10 +05:30
Rahul Patel
330762d86d DownloadWorker: more work 2025-03-07 18:24:10 +05:30
Rahul Patel
46d4322976 DownloadWorker: simplify & improve code [2/2] 2025-03-07 18:24:10 +05:30
Rahul Patel
667017aec6 DownloadWorker: simplify & improve code [1/2]
TODO:
- Reduce notification frequency, create too many notifications resulting in notification actions being inaccesible.
- Its a bad practive to bombard system with notification redraws
2025-03-07 18:24:10 +05:30
Aayush Gupta
3d8706da0b fixup! NetworkProvider: improvements + workaround for Android L
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-07 18:24:10 +05:30
Rahul Patel
9561f617d7 DownloadWorker: minor notification tweak 2025-03-07 18:24:10 +05:30
Rahul Patel
8af3fde374 DownloadWorker: improve file verification 2025-03-07 18:24:10 +05:30
Rahul Patel
b867d4a527 DownloadWorker: fix download status misinformation
-- cancellation ≠ failure
-- report cause of other failures
2025-03-07 18:24:10 +05:30
Rahul Patel
41a4db751c NetworkProvider: improvements + workaround for Android L 2025-03-07 18:24:10 +05:30
Rahul Patel
76b6551247 SessionInstaller: minor improvements
-- also fixes https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1151
2025-03-07 18:24:10 +05:30
Rahul Patel
49d6c95405 navigation: add missing action
-- without this an action from searchbar to search result page results in crash

java.lang.IllegalArgumentException: Navigation action/destination com.aurora.store.debug:id/action_searchSuggestionFragment_to_searchResultsFragment cannot be found from the current destination Destination(com.aurora.store.debug:id/searchResultsFragment) label=Search results class=com.aurora.store.view.ui.search.SearchResultsFragment
2025-03-07 18:24:10 +05:30
Aayush Gupta
4fb38e8361 store: Switch to kotlin extension method for converting String to Uri
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-06 17:50:58 +05:30
Aayush Gupta
0830b38b66 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!449
2025-03-06 09:36:27 +05:30
LucasMZ
3d4f6b7b4c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (441 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2025-03-06 02:19:57 +01:00
Sasha Glazko
e164deb856 Translated using Weblate (Belarusian)
Currently translated at 100.0% (441 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 16:08:35 +01:00
Sasha Glazko
7246da035e Translated using Weblate (Belarusian)
Currently translated at 90.0% (397 of 441 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 15:03:00 +01:00