Commit Graph

1716 Commits

Author SHA1 Message Date
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
arkon
42b536e40b Replace backup progress dialog with notification 2020-04-20 23:11:02 -04:00
arkon
d6e49be268 Remove some progress dialogs 2020-04-20 23:10:10 -04:00
arkon
3d10dad780 Complete RxBindings to FlowBinding migration 2020-04-20 18:13:45 -04:00
arkon
c9a727594e Fix manga info expansion toggling again after refreshing 2020-04-19 23:23:36 -04:00
arkon
cd25e1283a Fix extension update badge again 2020-04-19 23:10:28 -04:00
arkon
6675de1a26 Fix extension update badge in bottom nav not updating 2020-04-19 21:05:45 -04:00
arkon
96618e9517 [CI SKIP] More consistent "WebView" wording 2020-04-19 20:53:31 -04:00
arkon
dff239141d Force close app if Webview isn't available 2020-04-19 16:10:49 -04:00
arkon
abbb329ba6 Rename offline mode to downloaded only 2020-04-19 16:02:33 -04:00
arkon
5bc77fc6e8 Add offline mode (forced download filters; closes #2902) 2020-04-19 15:30:55 -04:00
arkon
9c820fcca1 Default skip filtered to true 2020-04-19 15:29:10 -04:00
arkon
bb064a1ba7 Change restore error log extension to txt 2020-04-19 15:13:02 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
bd20977ebc Remove custom preference flow implementation 2020-04-19 12:03:51 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
359d4dc1b2 Show locale name in system default locale 2020-04-18 22:48:52 -04:00
arkon
ca47446b46 Add link to website and open source licenses 2020-04-18 22:27:54 -04:00
arkon
321a4b24b9 Add confirm exist setting (closes #2615) 2020-04-18 20:05:31 -04:00
arkon
8a243ffb57 Include bookmark state when migrating chapters (closes #2729) 2020-04-18 19:40:50 -04:00
arkon
c2330fe3af Fix extension setting dialogs not handling duplicate keys (fixes #2876) 2020-04-18 19:32:52 -04:00
arkon
9876732875 Genre search from updates/history (closes #2893) 2020-04-18 19:11:47 -04:00
arkon
6c14402992 Remove manga homescreen shortcuts 2020-04-18 16:06:31 -04:00
arkon
bdee525336 Lint fixes 2020-04-18 15:28:44 -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
morcefaster
4fc8800a37
Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 14:43:54 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00