Andreas
02864ebd60
Move GitHub Release/App Update logic to data ( #9422 )
...
* Move GitHub Release/App Update logic to data
* Add tests for GetApplicationRelease
* Review changes
2023-04-29 22:14:49 -04:00
arkon
cb4699a5bb
Bump dependencies
2023-03-22 22:58:42 -04:00
arkon
93523ef50b
Remove dependency injection from core module and data module from presentation-widget module
...
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2023-02-20 19:02:38 -05:00
arkon
42954609b9
Remove background app update check
...
We already check in the foreground. If the app isn't being foregrounded at all, then there isn't much
point in checking for an update.
2023-02-12 22:44:39 -05:00
arkon
ab6dfe9e25
Bump dependencies
...
Fixes #8168 , I think.
2023-02-08 22:53:42 -05:00
Two-Ai
aca65f13bb
Misc Service cleanup ( #9005 )
...
* Simplify DownloadService wake lock handling
_isRunning is only modified in onCreate/onDestroy, so the listener
job is redundant.
* Drop superclass calls to Service.onCreate/onDestroy
From https://developer.android.com/guide/components/services
> Note: Unlike the activity lifecycle callback methods, you are not
> required to call the superclass implementation of these callback
> methods.
2023-01-30 17:25:54 -05:00
arkon
1730dd6af1
Move more things around
2023-01-27 22:31:12 -05:00
stevenyomi
448702e5be
OkHttp Call: split await() and awaitSuccess() ( #8980 )
2023-01-24 22:34:31 -05:00
arkon
a2ee4e63ae
Minor cleanup
2023-01-12 22:53:28 -05:00
Ivan Iskandar
8552838bda
Update WorkManager ( #8772 )
2022-12-18 12:14:06 -05:00
arkon
725fcbba0e
Add warning about F-Droid build support in More screen
2022-10-30 16:00:19 -04:00
stevenyomi
f4c684b4b8
Remove cache control on already cacheless image request ( #8085 )
2022-09-26 17:13:03 -04:00
Andreas
29fa93e829
Split the rest of the preferences in PreferencesHelper ( #8074 )
...
* Split the reset of the preferences in PreferencesHelper
* Capitalize ThemeMode
2022-09-25 10:07:06 -04:00
arkon
7ec822503a
Catch error properly when app update check fails ( fixes #8019 )
2022-09-18 16:24:26 -04:00
arkon
38950f7bc8
Address some OkHttp nullability changes
2022-09-03 10:38:56 -04:00
Andreas
a83d29f058
Add APK output for x86_64 CPU architecture ( #7885 )
...
* Add APK output for x86_64 CPU architecture
* Review changes
* Fix formatting
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com >
* Use underscore instead of hyphen
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com >
2022-08-28 09:45:33 -04:00
arkon
4ca0fc7a4d
Fix app update install notification disappearing
2022-06-26 19:11:34 -04:00
nicki
fdf384b809
Add Cancel button to App Update Notification ( #7309 )
...
* Add cancel button in app update download notif
Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)
Based on commit
https://github.com/Jays2Kings/tachiyomiJ2K/commit/4dea924337ffd4a01342fa0b48da47c221d2b897
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
* Linting by Android Studio
* commit PR Review Suggestion
Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
* Use `launchIO`
copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient
* Clear previous actions before adding `Cancel`
Otherwise, it led to two identical Cancel buttons
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-06-15 18:07:01 -04:00
arkon
d3f9232a3f
Minor cleanup
...
- Add pending intent immutable flags to satisfy lint warnings
- Change AddDuplicateMangaDialog arg to a function instead to avoid leaking controller-specific logic into it
- Require WebView 99+
2022-05-10 17:39:45 -04:00
nicki
e7ed130f2a
Check for app updates by comparing semver ( #7100 )
...
Instead of just checking whether the current app version *matches* with
latest app version in GitHub Releases, compare the semver from the tag
names to check whether the latter is greater and the app needs an update
Reference: semver spec #11 https://semver.org/#spec-item-11
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com >
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com >
2022-05-10 17:04:40 -04:00
arkon
85ef40d0ff
Don't allow swiping away app update install notification
...
Also show the new version number in the notifications.
2022-05-07 11:04:55 -04:00
arkon
9c30fa1da3
Update F-Droid migration guide link
2022-04-15 12:11:01 -04:00
arkon
821d9cdb02
Show different update notification for F-Droid installations
2022-04-13 17:44:43 -04:00
arkon
5afff31f72
Formatting
2022-04-08 16:44:23 -04:00
arkon
f0eb42e72d
Update linter
2022-04-08 15:30:39 -04:00
arkon
1b71e4cee7
Write job failure exceptions to error log
2022-01-26 22:21:01 -05:00
arkon
7f998ecdbd
Revert download notification icon changes
2021-12-12 11:14:47 -05:00
arkon
13afa9f476
Show version name in new update notification
2021-12-11 13:09:16 -05:00
arkon
ed4dea8686
Update notification icons
...
Although no recent version of Android even shows these....
2021-12-11 12:59:05 -05:00
Andreas
c0d0ff66b6
Fix "Check for updates" not working due to time cooldown ( #6232 )
...
* Fix "Check for updates" not working due to time cooldown
* Update AppUpdateChecker.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
2021-11-14 10:23:12 -05:00
arkon
0edc981cd2
Move app and extension update notifications to new channels/group ( closes #6168 )
2021-10-30 17:42:06 -04:00
arkon
22ed163c8f
Fix what's new link in dialog
2021-10-23 17:29:27 -04:00
arkon
93e2b88d41
Minor cleanup
2021-10-23 17:29:13 -04:00
arkon
3d8f123e05
Add notification action to open GitHub release page
...
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com >
2021-10-16 10:42:14 -04:00
arkon
21e647017b
Rename app updating classes
...
So I stop confusing it for updaters of other things.
2021-10-16 10:21:15 -04:00
arkon
082eef708f
Add warnings when library and download queues are considered large ( closes #5950 )
...
Arbitrarily set at a size of 100 for now. We could adjust this in the future as appropriate if needed.
2021-10-09 14:55:21 -04:00
Ivan Iskandar
7e61900cf5
Add new build type for weekly preview ( #6067 )
...
This adds new build type for minified non-debuggable preview builds.
"debugFull" is removed and "debug" will be unminified.
**It means preview build action needs to be updated to build "standardPreview"**
2021-10-09 10:28:43 -04:00
Ivan Iskandar
2e127dff1f
Replace Timber with Square Logcat and make logging configurable ( #6062 )
...
* Replace Timber with Square Logcat
* Configurable logger
2021-10-07 22:12:55 -04:00
arkon
8aa11951bf
Do background app/extension checks less frequently
...
Since the in-app checks occur at least once a day anyway.
2021-08-13 18:24:21 -04:00
arkon
f23f22ab01
Add in-app app update check
2021-08-13 18:18:53 -04:00
arkon
07de367476
Revert "Set background job expedited policies"
...
This reverts commit c69420373a .
Caused crashes in TachiyomiSY for some reason. Will have to redo this once we target Android 12.
2021-06-09 17:11:23 -04:00
arkon
f2e4b2fc99
Get appropriate download link based on CPU ABI
2021-06-05 18:30:04 -04:00
arkon
c69420373a
Set background job expedited policies
2021-06-02 22:58:03 -04:00
arkon
5113c78ab6
Consolidate some of the app update classes
...
We only use GitHub for all update checks, so the abstraction isn't useful.
2021-06-01 17:54:34 -04:00
arkon
dfd858034f
Avoid duplicate actions in update notifications
2021-04-17 12:58:14 -04:00
arkon
023311a874
Start download when tapping update notification ( closes #4825 )
2021-04-12 13:43:46 -04:00
arkon
2ffbee3db2
Avoid using global scope where appropriate
...
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon
8f98055e9e
Refactor response parsing helper function
2020-12-27 10:22:24 -05:00
arkon
61a594493c
Remove usage of Retrofit for update check and extensions list
2020-12-26 16:59:24 -05:00
arkon
04fff91e23
Update app repo URL
2020-12-15 15:56:16 -05:00