Commit Graph

1843 Commits

Author SHA1 Message Date
arkon
3cffc6890d Animate in/out ActionToolbar 2020-05-10 12:56:04 -04:00
arkon
04d44f19f5 Show date format examples, migrate to FlowPreferences 2020-05-10 12:26:18 -04:00
arkon
d46a742a43 Convert rotation to FlowPreference, remove some unused subscriptions code 2020-05-10 11:42:46 -04:00
arkon
a94fd24fa9 Default unreadBadge setting to true (closes #3138) 2020-05-10 11:23:10 -04:00
MCAxiaz
dc54299e24
Manga cover updates (#3101)
* cover caching overhaul

* add ui for removing custom cover

* skip some loading work

* minor cleanup

* allow refresh library metadata to refresh local manga

* rename metadata_date to cover_last_modified

* rearrange removeMangaFromLibrary

* change custom cover directory
add setting for updating cover when refreshing library

* remove toggle and explicit action for updating covers
2020-05-10 11:15:25 -04:00
arkon
436253dd63 Add more info in tracking settings section 2020-05-09 12:41:10 -04:00
arkon
29feee0095 Update details metadata along with chapters list 2020-05-09 10:26:02 -04:00
arkon
63f3180dff Move DB transaction blocks to only the DB portions of restore logic 2020-05-09 09:57:03 -04:00
arkon
1442e2b53e Option to hide unread badges (closes #3095) 2020-05-08 23:01:16 -04:00
arkon
521ebf0678 Remove redundant DB call in library settings (closes #3128) 2020-05-08 22:32:12 -04:00
MCAxiaz
a20874f6a1
String Formatting Fixes (#3118)
String Formatting Fixes
2020-05-08 21:44:01 -04:00
arkon
40776bdc8d Concurrently refresh trackers 2020-05-08 19:04:45 -04:00
arkon
f853158e6b Do library checks from up to 5 sources concurrently 2020-05-08 18:58:49 -04:00
arkon
c9035b5df9 Download from up to 5 different sources concurrently (closes #2534) 2020-05-08 18:48:00 -04:00
arkon
150132f4dd Concurrently download up to 5 pages at a time 2020-05-08 18:41:11 -04:00
arkon
fb97ac47bc Replace restore completion string with plurals 2020-05-08 18:07:21 -04:00
arkon
ce6848b3c0 Show icon when chapter is bookmarked 2020-05-07 23:03:22 -04:00
arkon
d86d861e4b MaterialFastScroll updates 2020-05-07 22:40:23 -04:00
arkon
3d1250f2f8 Do some download deletion in coroutines instead of completable 2020-05-07 19:34:40 -04:00
arkon
b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon
03baa21185 Destroy action mode after actioning in chapters list (closes #3004) 2020-05-06 23:21:17 -04:00
arkon
694de99a3f Adopt MaterialFastScroll from J2K fork
de8cb8c1b0
2020-05-06 23:16:02 -04:00
arkon
8383f4fb7b Increase webtoon setting change page refresh range (closes #3088) 2020-05-06 23:06:49 -04:00
arkon
eb3fff6c51 Alternative way of reading local manga JSON file 2020-05-06 22:59:54 -04:00
arkon
788ea052fc Convert app updater to foreground service 2020-05-06 22:34:30 -04:00
arkon
dbd14c6dac Refresh page on 32-bit color setting change 2020-05-05 17:45:07 -04:00
arkon
5977fca6b9 Fix bottom nav opening if opening manga from updates while in action mode 2020-05-04 19:08:35 -04:00
arkon
fcf596d36b Update changelog link for preview builds 2020-05-04 08:46:07 -04:00
arkon
dabca5f09e Lighter weight method of rounding cover art 2020-05-03 22:29:09 -04:00
arkon
bd45cc2024 Only alert once for backup/restore progress notifications 2020-05-03 20:08:29 -04:00
arkon
abf47deee3 Fix anilist jsonnull issue
41c64b7058
2020-05-03 20:05:21 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
6cd34614f6 More extreme method for enforcing WebView availability 2020-05-02 19:03:48 -04:00
arkon
ede42cd6aa Add link to extensions repo 2020-05-02 15:00:03 -04:00
arkon
33901dd72f More ActionToolbar tweaks 2020-05-02 14:51:28 -04:00
arkon
e2158af592 Swap bottom nav and ActionToolbar when appropriate 2020-05-02 12:27:23 -04:00
arkon
b06189ff95 Revert last_updated change 2020-05-02 12:11:51 -04:00
arkon
d72c51c8dd Hide app/nav bars on scroll 2020-05-02 11:33:31 -04:00
arkon
e29e94a5a1 Revert to old sorting library (fixes #3034) 2020-05-02 10:56:03 -04:00
arkon
04d7eccc63 Show number of categories in setting summary 2020-05-02 10:47:21 -04:00
arkon
d2bb4487e1 Move pager-specific settings into proper category, add summary for 32-bit color setting 2020-05-02 10:41:38 -04:00
arkon
e8623fbd7d Show 32-bit color setting in reader sheet 2020-05-02 10:40:55 -04:00
arkon
0a6de2b3ea Fix backup failing when source isn't installed 2020-05-02 10:24:37 -04:00
arkon
23a8e31791 Hide filter FAB when opened (closes #3024) 2020-05-02 10:22:28 -04:00
arkon
1ab07d169d Add gray reader background option (closes #3019) 2020-05-01 21:40:36 -04:00
arkon
abf2d4b718 Start storing extension ID/source name mapping in backup files 2020-05-01 21:25:23 -04:00
arkon
fd5d52a709 Remove confirmation prompt for passive biometric unlock (e.g. iris/face) 2020-05-01 21:08:52 -04:00
arkon
abcb21491c Reset sort on update if using old sort by source setting 2020-05-01 19:59:08 -04:00
arkon
33d2b0984f Fix chapter list selection uninverting (closes #3014) 2020-05-01 19:53:26 -04:00
arkon
fc7a040509 Move queue start/pause to FAB 2020-05-01 19:39:30 -04:00
arkon
be09dded20 Attempt to remove sound from backup/restore completion notifications 2020-05-01 19:29:15 -04:00
arkon
f07fbcc196 Relay extension changes to sources controller (fixes #3002) 2020-05-01 19:17:37 -04:00
Gennadiy Stas
e29fb68375
fix preload never being restricted (#3012)
Fix preload never being restricted
2020-05-01 18:03:27 -04:00
arkon
956b3284d3 Always update extensions list on enter 2020-05-01 09:38:35 -04:00
arkon
937d0852b3 Always update sources list on enter (fixes #2999) 2020-05-01 09:25:35 -04:00
arkon
c1e64a839d Update Bangumi link in README 2020-05-01 08:44:53 -04:00
arkon
c06928a7a5 Default library updates to daily + wifi 2020-04-30 20:27:02 -04:00
arkon
8c0cafc793 Reword action button in source filter sheet (closes #2994) 2020-04-30 20:22:52 -04:00
arkon
31b86f539b Set backup/restore progress notifications to low priority 2020-04-30 18:40:36 -04:00
arkon
dff1f4dd52 Add banner at top of library when downloaded only mode is enabled 2020-04-30 18:35:17 -04:00
Randy Palamar
bd61c33097
fix copy paste mistake in PreferencesHelper.kt (#2993)
fix copy paste mistake in PreferencesHelper.kt
2020-04-30 11:14:42 -04:00
arkon
5059c6295f Increase next chapter preload threshold to last 5 pages 2020-04-29 23:04:15 -04:00
arkon
916c1c9de2 Add ability to inspect WebView in debug builds 2020-04-29 22:46:11 -04:00
arkon
2661700d9a Split out backup/restore notifications into separate channels for progress/completion 2020-04-29 22:30:33 -04:00
arkon
05d830eb58 Disable entire checkbox view when disabled (fixes #2989) 2020-04-29 17:42:45 -04:00
arkon
6f0e1965b6 More settings organization 2020-04-29 17:34:44 -04:00
arkon
8992f47915 Remove unnecessary checks 2020-04-29 09:42:56 -04:00
arkon
fe65f4d6f8 Option to only include pinned sources in global search 2020-04-29 09:29:50 -04:00
arkon
8077e421e6 Move extension update preference to settings 2020-04-29 09:13:10 -04:00
arkon
4f806a921f Set up extensions check job on update 2020-04-29 09:09:18 -04:00
arkon
8efe0502f3 Make search views take up full width 2020-04-29 09:02:09 -04:00
Jay
cc7735e284 No longer using chapter url for new chapter notification's reader intent 2020-04-28 23:06:34 -04:00
arkon
e24ddb9106 Use same header layout for sources/extensions/migration 2020-04-28 23:03:30 -04:00
arkon
a9d32fea37 Handle paused state in download queue summary 2020-04-28 20:23:27 -04:00
arkon
3374481912 Refactor tabbed bottom sheet 2020-04-28 19:57:49 -04:00
arkon
1972cc25a9 Show download progress in MoreController 2020-04-28 19:44:02 -04:00
arkon
6a3cd0054b Minor edits 2020-04-28 18:45:04 -04:00
arkon
548dbf4b78 Copy files from cache when downloading 2020-04-28 18:44:58 -04:00
arkon
74af40a352 Revert hiding cutout setting from reader sheet 2020-04-28 17:47:34 -04:00
arkon
1d51b06d3e Increase default connect/read timeouts 2020-04-28 09:10:12 -04:00
Steven Smith
305ee3c12e
Pull basic manga/chapter metadata from EPUB files. (#2962)
* Fill manga and chapter metadata with EPUB metadata where appropriate.

* Use fuzzy-match to remove manga titles from chapter names.

This allows removing manga titles from the metadata title of local EPUB chapters with characters that can't be in the manga directory's name due to filesystem limitations.

* Use more standard way of parsing EPUB dates.

* Use date format compatible with lower Android versions for EPUBs.
2020-04-27 22:49:06 -04:00
arkon
90ce89193d Add logo header in more section 2020-04-27 22:48:25 -04:00
arkon
2ad3fa1593 Add row dividers in source migration list 2020-04-27 22:22:25 -04:00
arkon
4bb9949768 Fix extensions intent 2020-04-27 22:19:13 -04:00
arkon
c4f1d2f153 Revert column FlowPreference
Made loading janky
2020-04-27 22:19:06 -04:00
arkon
ed6f82af0f Only apply downloaded only to chapter lists in library 2020-04-27 20:06:47 -04:00
arkon
7307ddd1b8 Restore landscape manga info layout 2020-04-27 19:48:54 -04:00
arkon
0601bedb0b Revert removal of last chapter/updated from manga info 2020-04-27 19:37:09 -04:00
arkon
0c988d95ee Fix crash when tab isn't available 2020-04-27 19:22:22 -04:00
arkon
d593362ba8 Merge sources and extensions into one view 2020-04-27 19:16:46 -04:00
arkon
f97f4c68ba Hide titles in restore notification based on preference 2020-04-27 18:21:12 -04:00
arkon
2a41e4ce68 Fix BrowseSourceController losing scroll position when navigating back 2020-04-27 16:21:23 -04:00
arkon
850654dccc Hide EmptyView when retrying source request 2020-04-27 16:14:56 -04:00
Hawk of the Death
2f9dfed073
Fix typo (#2973)
Fix MAL api updating wrong data on read chapters change (#2971)
2020-04-27 10:34:41 -04:00
arkon
57911c42d1 Copy debug info when tapping version 2020-04-26 22:55:13 -04:00
arkon
6064eda68f Remove unnecessary dialog padding dimens 2020-04-26 20:07:03 -04:00
arkon
0a509cb382 Remove usage of alpha color selectors (fixes #2957)
Doesn't work properly in API < 23
2020-04-26 17:24:31 -04:00
arkon
b25ab941ba Include viewer and chapter filter preferences when migrating manga (closes #2866) 2020-04-26 16:50:00 -04:00
arkon
6ef59a5949 Remove redundant DB transaction function 2020-04-26 16:45:23 -04:00
arkon
17fc8deb19 Migrate column preference to FlowPreference 2020-04-26 16:35:54 -04:00
arkon
45b5c1c262 Set preference visibility immediately (fixes #2965) 2020-04-26 16:26:42 -04:00
arkon
7fd547a2d6 Fix categories button not working after adding manga (closes #2966) 2020-04-26 16:08:23 -04:00
arkon
d19d787f6e Refactor backup service 2020-04-26 16:07:07 -04:00
arkon
d243ee4b4c Remove TextDrawable 2020-04-26 11:59:15 -04:00
Steven Smith
2c2f8f5853
Improvements to EPUB support. (#2409)
* Fix EPUBs containing relative file paths and/or alternate path separators.

* Support calibre-generated EPUB covers.

* Store EPUB pathSeparator in a field.

* Process both types of image tags in EPUBs.

* Process all EPUB image tags in order.
2020-04-25 22:27:43 -04:00
Jays2Kings
64ba127e7d
Added Local Source icon (#2961) 2020-04-25 22:27:20 -04:00
arkon
9d22a9e664 Move some restore notification logic into service 2020-04-25 18:59:12 -04:00
arkon
96c55db7ca Consider individual manga as transactions rather than entire restore job (closes #2482) 2020-04-25 18:50:44 -04:00
arkon
0f48563e29 Some restore code refactoring 2020-04-25 16:00:08 -04:00
arkon
7c014292d2 Localize some restore strings 2020-04-25 15:55:49 -04:00
arkon
19507d1837 Return success/failure result for backup job 2020-04-25 14:55:55 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
a95ac8ad83 Add links to local source guide (closes #2896) 2020-04-25 11:56:24 -04:00
arkon
902700e1f4 Minor edits 2020-04-25 11:05:29 -04:00
arkon
134dbd2f1d Revert some seekbar event listener changes 2020-04-25 09:58:45 -04:00
arkon
979c49b99a Minor cleanup 2020-04-24 19:37:42 -04:00
arkon
dad010a891 Replace some listeners with flowbindings 2020-04-24 19:37:34 -04:00
arkon
9f974c9401 Refactor library sheet into tabs 2020-04-24 18:15:37 -04:00
arkon
fba3ed2244 Show scrollable single line of genres when compacted 2020-04-24 16:05:43 -04:00
arkon
aa1d927da6 More FlowPreference migration 2020-04-24 11:58:16 -04:00
Jay
a088c9ca7c Added Last Used header to browse 2020-04-24 10:53:22 -04:00
arkon
8c1ec43500 Remove option to turn off app update checks, check every 3 days 2020-04-24 10:39:55 -04:00
arkon
1ac1c6dc9e Link to GitHub commits for preview build changelog 2020-04-24 10:29:35 -04:00
arkon
d98b7275d1 More FlowPreference migration 2020-04-23 23:21:44 -04:00
arkon
77cca1ce84 Change favorite icon to heart 2020-04-23 23:08:25 -04:00
arkon
c0bbbdb7ee Separate categories picker from long pressing manga favorite button 2020-04-23 23:03:20 -04:00
arkon
8e6b7aaec0 More subdued chapter page progress text 2020-04-23 22:58:35 -04:00
Hawk of the Death
aae6820fdc
Replace Track Reading Dates date picker with MaterialDialog's one (#2935)
* Replaced datepicker with MaterialDialog's one

* Removed max date due to library bug (afollestad/material-dialogs#1973)

* Removed old date picker view.
2020-04-23 18:28:41 -04:00
arkon
2a4f35959b Hide reader cutout setting if no cutout detected 2020-04-22 23:22:03 -04:00
arkon
f71708e5c5 Group version info at top 2020-04-22 23:12:18 -04:00
arkon
6de00b1f21 Make restore a foreground service 2020-04-22 23:09:24 -04:00
arkon
2b27b40142 Fix round text icons (closes #2934) 2020-04-22 22:30:40 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
arkon
04a178e7da Move common view configs to parent class 2020-04-22 21:46:02 -04:00
arkon
6d5b6b2ff7 Specify Stable vs Preview in version 2020-04-22 21:24:43 -04:00
TacoTheDank
34f7e4d448
Replace TextDrawable with a Kotlin fork (#2929)
* Replace old TextDrawable with Kotlin fork

* Update androidx preferences library
2020-04-22 21:23:44 -04:00
Hawk of the Death
f7c139030f
Add Start/Finish date support for MAL (#2672)
* Started working on MAL support

* Added date picker UI

* Replaced Date with Calendar

* Added MAL remote update functionality

* Join url methods listEntryUrl and editUrl

* Removed unused methods

* Renamed mangaEditPayload to mangaEditPostBody

* Moved code to separate method

* Uniformed code to project conventions

* Removed wildcard import

* Moved MyAnimeListTrack to private class

* Improved MyAnimeListTrack name

* Removed redundant code

* Add start/finish date in local database

* Fixed format and improved codestyle

* Fixed typo and fixed TrackHolder's format

* Improved code style

* Ran linter

* Add database updating methods

* Change date format to fit new layout

* Review Commits

* Improve SetTrackReadingDatesDialog readability

* Move private methods after public ones

* Fixed SQL error

* Fixed remove date button

* Updated MaterialDesign methods to latest version

* Replaced dismissDialog() with dialog.Dismiss()

* Fixed wrong string resource usage.
2020-04-22 21:23:23 -04:00
arkon
c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
badddcf0de Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917) 2020-04-22 09:10:09 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
f69f78db34 Move restore progress dialog to notification 2020-04-21 21:53:15 -04:00
arkon
fc2c465bac Prevent multiple concurrent backups/restores 2020-04-21 21:34:22 -04:00
arkon
f2a7f8efda Move restore completed/error dialogs to notifications 2020-04-21 20:46:24 -04:00
arkon
e6c172ac22 Fully move backup progress/created dialog logic to notifications 2020-04-21 20:10:53 -04:00
arkon
d8e7481118 Fix backup/restore notification channel 2020-04-21 19:17:55 -04:00
arkon
2485ef8547 Remove migrating progress dialog 2020-04-21 19:01:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
a68c1adba6 Use lifecycle scope for flows in activities 2020-04-21 09:12:53 -04:00