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
293b967858
Fix installing extensions on MIUI ( #8916 )
...
* Fix installing extensions on MIUI
* isShizukuReady -> isShizukuInstalled
2023-01-15 10:32:27 -05:00
arkon
a2ee4e63ae
Minor cleanup
2023-01-12 22:53:28 -05:00
arkon
5d9753d6a7
Bump minimum ext-lib to 1.3
2023-01-08 10:32:35 -05:00
AntsyLich
e1ab1fdb65
Prompt Extension update if ext-lib is updated
...
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-10-29 10:05:30 -04:00
arkon
6be9cccc7a
Revert min extension-lib change
...
Some extensions haven't been bumped yet. We should probably try to bump everything at some point.
Also includes some minor cleanup.
2022-10-01 13:24:38 -04:00
arkon
db3cbac310
Stop loading extension-lib <= 1.2
2022-10-01 11:34:46 -04:00
Alessandro Jean
ba533f30ce
Add support to update strategy on global update ( #7902 )
...
* Add support to update strategy.
* Add JavaDoc and bump the LIB_VERSION_MAX constant.
* Fix a word typo.
* Store update strategy enum as integer in the DB.
2022-09-25 10:12:36 -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
Andreas
30b3b2d3ff
Split source preferences from PreferencesHelper ( #8029 )
2022-09-18 10:36:41 -04:00
arkon
cd3cb72b65
Bump dependencies + linting
2022-09-10 23:57:03 -04:00
arkon
d6f1534ee8
Address misc. build warnings
2022-08-10 23:26:34 -04:00
Andreas
7892cc1519
Log extension loading errors directly ( #7716 )
2022-08-10 15:53:47 -04:00
arkon
b950370f12
Address some build warnings
2022-05-11 18:08:49 -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
Andreas
66a180bc36
Add ability to open FAQ and Guide, and Changelog in extension repository ( #6469 )
2022-01-22 14:17:43 -05:00
Ivan Iskandar
78a261f5d3
Reduce stutter when entering Browse screen ( #6435 )
...
* More coil
* ExtensionController: Drop first text change event
* Browse-Source: Remove unnecessary load
* ExtensionPresenter: Increase debounce timeout
To avoid heavy list reload during first enter animation
2022-01-08 12:55:22 -05:00
arkon
532a1b1aba
Address some IDE warnings
2021-12-17 12:30:41 -05:00
arkon
60e73e2d1f
Allow loading extension-lib 1.3
...
(Which doesn't actually exist yet, but will at some point after the next major release)
2021-11-28 14:55:03 -05:00
arkon
0edc981cd2
Move app and extension update notifications to new channels/group ( closes #6168 )
2021-10-30 17:42:06 -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
Ivan Iskandar
b284384f0a
Implement new extension install methods ( #5904 )
...
* Implement new extension install methods
* Fixes
* Resolve feedback
* Keep pending status when waiting to install
* Cancellable installation
* Remove auto error now that we have cancellable job
2021-09-25 14:31:52 -04:00
arkon
a2cf210a52
Unify NSFW flagging for sources/extensions
...
Since multisource extensions are no longer a thing, we now simply rely on the flag at the extension level, i.e. the per-Source/SourceFactory `@Nsfw` annotation is no longer checked.
We'll have to remove all of the annotation usages from the existing sources, which will also effectively break the setting for older versions of the app.
2021-09-13 17:49:58 -04:00
arkon
ec4e631760
Clean up some companion object usages
2021-09-05 14:34:29 -04:00
Taco
12a9d0575d
Use more Compat utilities ( #5786 )
...
* Use ActivityCompat.recreate
* Use more KTX extensions
* Use PackageInfoCompat.getLongVersionCode
* Remove unnecessary compat usages
2021-08-27 16:33:12 -04:00
arkon
b092e98ac9
Include extension loading errors in error logs
2021-04-19 10:18:32 -04:00
arkon
1b921f9845
Make extension load error logs less verbose
2021-04-03 10:27:40 -04:00
arkon
a398c3fb81
Handle link for multisource extension commits ( closes #4432 )
2021-02-11 17:35:15 -05:00
arkon
5b09461ccf
Break out NSFW hiding/labeling into separate settings
2020-12-12 17:20:54 -05:00
arkon
59859e124f
Update to Kotlin 1.4.21 and kotlinter 3.3.0
2020-12-08 22:31:48 -05:00
arkon
b39191ff50
Fix annotations package name
2020-11-29 17:08:20 -05:00
Taco
60755d0c26
Use some more KTX and Compat stuff ( #3933 )
...
* Use more KTX extensions
* Update Android Studio
* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon
76f6fe4601
Use Kolinter Gradle plugin for linting instead of ktlint directly
2020-09-13 18:48:20 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts ( #3681 )
2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa
Automatic linting fixes
2020-08-13 09:02:15 -04:00
arkon
8db34eb3dd
Allow annotating SourceFactory with @Nsfw to block all sources within it
2020-08-10 11:54:31 -04:00
arkon
b6a1e89535
Minor cleanup
2020-08-09 12:05:04 -04:00
arkon
421dfb4a2d
Allow partially loading extensions with individually marked NSFW sources
2020-08-08 19:06:52 -04:00
arkon
abaca6e676
Option to hide NSFW extensions ( closes #1312 )
2020-08-08 16:27:55 -04:00
arkon
4f02872a84
Minor cleanup
2020-08-03 23:03:31 -04:00
arkon
ec56c27071
More core-ktx usages
2020-07-31 10:29:32 -04:00
arkon
d875d5ef74
Better distinguish between obsolete and unofficial extensions
2020-05-13 22:47:44 -04:00
arkon
3f63b320c4
Linting fixes
2020-04-25 14:24:45 -04:00
arkon
fbf13efe74
Bump minimum extension lib and WebView versions
2020-04-18 14:51:20 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing ( #2888 )
...
* Use Kotlin JDK8
* Satisfy a ton of lints
* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
401210da44
More FlowPreferences migrations
2020-04-17 18:30:05 -04:00
MCAxiaz
a1df78517f
use explicit file url instead of download manager's content url ( #2859 )
2020-04-10 18:11:24 -04:00
Jay
f115fe47fe
Using extension icon instead of letter for catalogues ( closes #2261 )
2020-04-01 23:03:20 -04:00