Commit Graph

2535 Commits

Author SHA1 Message Date
Jay
f851c5536a On library cover load error, delete file and try again
In case file is corrupted
2020-05-20 20:24:58 -04:00
Jay
9f17e9116c Move "Select target sources" to strings.xml 2020-05-20 01:56:30 -04:00
Jay
d3ec230d4b Edit info for online manga + Custom covers update
Yes you read that right. It's back! Oh god it's back

Instead of modifying the db, an external json file is made holding the custom info for your library (meaning it's even easier to remove should I so choose)
Reworking to just override the variable and use said var instead of having the current/original logic that existed before

Custom covers are now saved in a new folder, likewise to upstream
Also like upstream, custom covers can be added to manga without covers (closes #49)

(I'm so sorry Carlos)
2020-05-20 01:04:19 -04:00
Jay
0809a7b7ff Added "manga" to filter type
closes #381
2020-05-19 20:55:01 -04:00
Jay
dd327bdb48 Added cancel cta to long press library update snackbar 2020-05-19 02:42:42 -04:00
Jay
27bc2bacfb Use bookmark icon instead of changing text color
Didn't look at the upstream code for this, but maybe should've
2020-05-19 02:41:02 -04:00
Jay
6341077abf Refactoring library view create 2020-05-19 01:45:21 -04:00
Jay
8700b6f0a3 Option to always show the current category in the title 2020-05-19 01:40:05 -04:00
Jay
cb2223d47a Don't scroll to the top of the list on group change until view refresh 2020-05-19 01:34:14 -04:00
Jay
6706af5bd7 Always expose the front view a little bit even when backdrop... (p2)
Fixing the fact the filter sheet still moved the category recycler view
2020-05-19 01:05:17 -04:00
Jay
4652f75717 Format library xml + no clipping to category backdrop 2020-05-18 23:45:37 -04:00
Jay
0b5a69d9c3 Menu bottom sheet now scrolls to the active menu item if list is too tall 2020-05-18 23:43:15 -04:00
Jay
83891c9b6b Using compound drawables for centered toolbar
and making the library text centered even with the dropdown arrow showing
2020-05-18 23:41:41 -04:00
Jay
5bdd7dcea9 Fixed sectioned library showing the wrong category when returning back to library tab
when using custom grouping
2020-05-18 23:26:28 -04:00
Jay
4df4a5b59d Updated logic to elevating the toolbar 2020-05-18 23:26:05 -04:00
Jay
8609145622 Fixed sources with no tags in the manga not having the proper type 2020-05-18 20:26:20 -04:00
Jay
5790380fcd Always expose the front view a little bit even when backdrop is too tall
Also hide the filter sheet when expanding backdrop
Also also ignore the filter sheet when it comes to the layout of the backdrop
2020-05-18 20:25:51 -04:00
Jay
75d4d274f6 Category recycler puts active category center of view if list is scrollable
Also removed scrolling logic for opening/closing the sheet
2020-05-18 18:02:46 -04:00
Jay
511fa31798 Tapping category name now expands backdrop 2020-05-18 17:58:18 -04:00
Jay
a03ee4943f when grouping by tags, tags with different casing will be grouped together 2020-05-18 17:46:58 -04:00
Jay
71872df9d0 Move LibraryHeaderHolder to a new file 2020-05-18 15:09:54 -04:00
Jay
89ea8388ad Grouping menu sheet shows "ungrouped" instead of "categories" by use case
For those who not have any categories
2020-05-18 00:50:58 -04:00
Jay
1d0545f5de Logic fixes to library
Fixed trying to update with special groupings
Fixed special groups duplicating manga in a list
2020-05-17 23:30:30 -04:00
Jay
3d0f72d50b Show "no results found" error when search tracker doesn't find anything 2020-05-17 05:29:03 -04:00
Jay
ea1087e3dc Tracking status grouping now uses global wording if you have mutliple trackers
ie kitsu's "currently reading" becomes "reading" since most trackers use that
Also sorting the tracking groups better
2020-05-17 05:28:34 -04:00
Jay
87ab6fa8de Fix crash in maga details 2020-05-17 04:53:36 -04:00
Jay
3910d23899 Fixed ungrouped library showing "All" 2020-05-17 04:20:49 -04:00
Jay
7813048828 Moving hide all categories preference to the group library option
Removing the preference for it as well since its in the grouped preference

Also adding new wording for group by tracking (tracking status)
2020-05-17 04:20:09 -04:00
Jay
d73579d25a Fixes for showing single category 2020-05-17 03:55:51 -04:00
Jay
bc8ed36d1c Added option to change how library is grouped
By default (categories)
By tag/genre
By sources (with the extension icon attached)
By status
and by tracking status (closes #249)
2020-05-17 03:37:36 -04:00
Jay
59c108a972 Using new bottom sheet menu for sorting categories 2020-05-17 02:48:01 -04:00
Jay
68cf3cab10 Added Bottom sheet for menu popup
For use in future commits
2020-05-17 02:20:02 -04:00
Jay
6c27147166 Hide fast scroll when showing backdrop 2020-05-17 02:16:59 -04:00
Jay
d9ad689506 Optimizations to sorting + category refactoring
Category:
• new bool called isDynamic used for all category
• new bool called isAlone, for when using no categories or when hiding all categories
Sort Optimizing:
•Using SQLite query for library mangas to also set the total chapters, instead of  checking the total count later
 •No longer using regex for removing articles from text, because it's pretty heavy
•All category now uses the same catergory sorting logic as regular categories
2020-05-17 02:15:24 -04:00
Jay
7083d41ffe Fix toolbar color in manga details when switching themes 2020-05-16 23:55:09 -04:00
Jay
cce6fdb765 Coil updates
Non library manga goes into android's default cache
Manga Fetcher now respects network cache policy
Not showing error drawable on manga details
Fixed manga notification icon sometimes not showing
General cleanup
2020-05-16 23:54:43 -04:00
Jay
67a76da475 Reverted partial rogue commit 2020-05-16 23:49:55 -04:00
Carlos
4d860c9396
Switch to coil from Glide (#423)
* initial coil switch

* more coil changes

* fix extensions icons

* remove last of glide

* adjust local manga to actually update the covers as soon as you set it.  Also adjusts the large cover and share

* edit custom covers of a manga is now immediately reflected

* fix edit covers submit not automatically submitting
fix edit covers choosing cover not showing the selection in dialog

* fix setting custom cover not reloading when going back

* get gif's working

* run ktlint
fix setting custom cover to updated when returning back to details

* fix non uniformed covers

* get images working on resumes

* add size to cover cache setting

* remove log statement

* remove set last cover date

* put covers into cache when refresh enabled

* fix comment
2020-05-16 23:35:16 -04:00
Jay
d99f4d1fac Using scope for updating library ui during global update
since removing it from the scope broke it
2020-05-15 03:54:06 -04:00
Jay
c9e3882077 Using library header category instead of finding the category in presenter
even though the header category also finds it in the presenter
2020-05-15 02:14:09 -04:00
Jay
eed9e0c765 Optimize unread progess filters by using the library db query 2020-05-15 02:09:29 -04:00
Jay
a3c5cc2e91 Add scroll bar to category recycler 2020-05-15 02:03:06 -04:00
Jay
652e045acf Updating Extension installer from upstream
Also adding an onerror handle
2020-05-15 02:02:08 -04:00
Jay
e0e072546f Fixed #401 2020-05-14 22:10:26 -04:00
Jay
9ca70a5ace Fixing tracepot crashes 2020-05-14 13:55:03 -04:00
Jay
6cafc5f5a0 Fixed unread sorting for the read manga 2020-05-14 13:13:24 -04:00
Carlos
c2e2076b0a
fix new chapter auto downloading when disabled (#414)
* fix downloading new chapter when disabled

* fix method name
2020-05-14 12:39:47 -04:00
Jay
5ed8805de9 Version 1.0.5 2020-05-12 00:50:31 -04:00
TheLich132
d6ec63f4d1
Update and fixes to polish translation (#385) 2020-05-12 00:27:03 -04:00
Eugene
9e3e9e0667
String error correction (#380) 2020-05-12 00:24:42 -04:00
Jay
1eeacafd7b Option to hide the fast scroller
closes #391
2020-05-12 00:13:31 -04:00
Jay
0755d2a169 lil more touch area to the fast scroll 2020-05-11 23:52:23 -04:00
Jay
f1acafc89f Moved "Show all categories" to display settings
Alos fixing some small library visual bugs
2020-05-11 23:51:48 -04:00
Jay
f091a9bb51 Fixed reverse sorting (closes #388) 2020-05-11 23:18:41 -04:00
Jay
8bee6fe9ae Fast scroll can be dragged from outside the handle
now needs a set distance applied before fast scrolling (so a10's back gesture doesn't trigger it)
2020-05-11 23:11:16 -04:00
Jay
a81047ebd5 Update library fast scroll bubble text
category name is now always at the end of the bubble
2020-05-11 22:53:12 -04:00
Jay
1d3763a34d Crash log no long shows cancelled jobs exceptions for updates 2020-05-11 16:31:47 -04:00
Jay
f0b0d3d197 Revert "Don't rename folder if it's only a case change"
This reverts commit df7aaf633a.
2020-05-11 15:44:13 -04:00
Jay
df7aaf633a Don't rename folder if it's only a case change 2020-05-11 15:28:19 -04:00
Jay
f438933fc3 Jumping to a new chapter in reader now saves progress
and jumping back goes back to the last page you were on
2020-05-11 15:22:15 -04:00
Jay
bb422743dd Supporting more network transports (fixes miui) (again) 2020-05-11 15:21:24 -04:00
Jay
2c3f8e6b62 some fixes for local manga 2020-05-11 13:08:56 -04:00
Jay
51c93bcd55 Fixed being able to collaspe catrgories if you only have one 2020-05-11 13:01:54 -04:00
Jay
fdd4b08a49 Few more tracepot crashes 2020-05-11 12:55:53 -04:00
Jay
3ad9d84b5f Fixing tracepot crashes 2020-05-11 02:01:21 -04:00
Jay
be69f05657 Release 1.0.4 2020-05-10 19:47:09 -04:00
Jay
a9b073fa40 Toolbar no longer shows when jumping chapters with transistion off 2020-05-10 19:43:42 -04:00
Jay
76d82eb336 Fix local covers not showing in details 2020-05-10 19:43:03 -04:00
Jay
5f6210b263 Release 1.0.3
Also updated template to remove beta mentions
And updated the readme to say andorid 6+ (how have I not been called out on this?)
2020-05-10 18:37:46 -04:00
Jay
7d62d78976 Check for app updates on foreground
Figured to leave the check for updates option incase people don't use the app often (there is no disabling foreground though)
2020-05-10 18:09:15 -04:00
Jay
4b50692cee Using a float on the progress on app updates
Not sure if needed but I saw some funny behavior with the progress bar
2020-05-10 18:04:03 -04:00
Jay
81efada033 Fix indent in manga.kt 2020-05-10 17:49:29 -04:00
Jay
dcf250fcf3 Fixing a few more tracepot issues 2020-05-10 17:33:42 -04:00
Jay
888bd8c8dd Refactor manga type 2020-05-10 17:30:23 -04:00
Eugene
a4e94c1e05
Russian types of manga (#360) 2020-05-10 17:14:38 -04:00
Jay
6ffba8ac6f Updated translation of the language Portuguese Brazil
Co-Authored-By: Tio Nick <nicker7@users.noreply.github.com>
2020-05-10 17:10:22 -04:00
Eugene
00a92d95c1
Russian localization (#298)
* Russian localization

* localization refinement

* Small fix

* Correction of detected errors

* Forgotten string

* Forgotten string

* updating strings for in-app updates

* more application updates

* new strings in app
2020-05-10 17:03:13 -04:00
TheLich132
18d5fab6b6
Update strings.xml (#306)
Updated polish translation for the new updated UI
2020-05-10 17:02:59 -04:00
Jay
821f068728 Fixed logic on fetching cached images in manga details 2020-05-10 15:30:32 -04:00
Jay
f046f12311 Renaming SourceSearch classes to GlobalSearch 2020-05-10 14:41:32 -04:00
Jay
b809f57950 Pinned sources now listed first in global search 2020-05-10 14:37:22 -04:00
Jay
1cca914c8f Updated ui of global search
you know md2 and all that
also sources with no results say "no results found"
2020-05-10 14:36:48 -04:00
Jay
0244e1edb4 Fast scroll on details now has the correct offset for the chapter its on
Also chapters with an unknown volume now show the chapter name instead of just "unknown"
2020-05-10 03:15:03 -04:00
Jay
4dae06803c Using material fast scroll on manga details
This concludes the use of reddit's fastscroll

Also updated the fast scroll's scroll listener so that the scroll handle respects its margins (thus making it reach the bottom of the manga details
2020-05-10 03:03:36 -04:00
Jay
60c3f24515 Updating wording on the bubble of the fast scroll
Using "Read...", "Updated...", "Added..." for categories sorted that way
2020-05-09 23:02:33 -04:00
Jay
b3fbe31c8d Option to disable webtoon zooming
This concludes the ducc updates
2020-05-09 17:19:01 -04:00
arkon
8b09548099 Using flow prefs on reader 2020-05-09 16:53:39 -04:00
Jay
afcbe3b5a2 setting bottom edge for reader settings sheet to the constraint layout 2020-05-09 15:12:30 -04:00
Jay
50405887d2 Option to delete old cached covers 2020-05-09 15:01:04 -04:00
Jay
892edd2b92 Fixed covers (espicially gif covers) while browsing 2020-05-09 14:52:10 -04:00
Jay
d511638861 Delete cached cover of old image on refresh 2020-05-09 13:19:17 -04:00
Jay
927700f4e2 Fixed cover being fetched multiple times on update
Should fix bad caching of images as well
2020-05-09 13:18:37 -04:00
Jay
e20ea71403 fixed not being able to go the manga details on recents if there wasn't a cover
also covers now have a ripple effect on click
2020-05-09 12:52:51 -04:00
Jay
c2f7c25d70 Fixed cancelled updates not showing updates for manga that still got an update 2020-05-09 12:26:08 -04:00
Carlos
1dd9aa5e69
fix library update not working since you are calling an update view inside coroutine (#371) 2020-05-09 11:51:17 -04:00
Jay
bc93f885b7 Format update for NetworkHelper 2020-05-09 01:08:16 -04:00
Jay
2bbef55737 Convert refrshing manga metadata to coroutines + 5 sources concurrently
Sorry and good luck Carlos 😔
2020-05-09 01:07:56 -04:00
Jay
f3d4e87542 Do library updates from up to 5 sources concurrently (but in coroutines and queue system)
0 help from arkon on this one
2020-05-09 00:30:21 -04:00
Jay
7a8f9373ba Update Downloader.kt 2020-05-09 00:08:47 -04:00
arkon
28cbbc3f14 Download from up to 5 different sources concurrently 2020-05-08 23:04:21 -04:00
arkon
f2fe1a7c23 Concurrently download up to 5 pages at a time 2020-05-08 23:00:36 -04:00
arkon
f96f25b1f6 Fixed formatting of downloader 2020-05-08 23:00:33 -04:00
Jay
6e8c285646 Fixed being able to select all on a collasped category 2020-05-08 22:49:12 -04:00
Jay
5718b9e7d9 Fixed trailing colon in fast scroll bubble for collasped categories 2020-05-08 16:04:29 -04:00
Jay
2c79b97815 Perform a global search while seatching in the library
There's a button at the top of the list to do it
2020-05-08 15:58:23 -04:00
Jay
183f28b382 Fast scroller on library now starts below the toolbar
Also adjust how far the hopper goes down to hide (so the snackbar has some elevation when it shows)
2020-05-08 15:23:29 -04:00
Jay
8986de3db4 Fixed typo in reader chapter sheet 2020-05-08 15:15:50 -04:00
Jay
27b68f5afb Fast scroll bubble now shows sorting of manga beside the category name 2020-05-08 15:15:29 -04:00
Jay
1aede09d35 Hide & Expand Categories buttons now show/hide dynamically 2020-05-08 15:08:17 -04:00
Jay
38ea9eea16 Using color secondary on date item 2020-05-08 02:32:20 -04:00
Jay
c5153e12ac Fixing things in the blue theme
the dreaded blue theme...
2020-05-08 02:30:32 -04:00
Jay
6ba29d32d8 Better blending of chapter list when expaning reader chapter sheet 2020-05-08 02:18:57 -04:00
Jay
729f984413 Shorten display time of auto webtoon snackbar 2020-05-08 02:17:20 -04:00
Jay
04283970ca Fixed offset in scroll to category header 2020-05-08 01:40:16 -04:00
Jay
1c9cb7644c Added tutorial to show you can move the category hopper
Let's see how many questions I get saying "why is it shaking and moving around"
2020-05-08 01:35:50 -04:00
Jay
1cc31049c1 Formatted download cache 2020-05-08 01:31:45 -04:00
Jay
4897b721e5 Fixing tracepot crashes p2 2020-05-07 23:06:22 -04:00
Jay
fe41b1515a Taking paging preload logic from upstream 2020-05-07 22:51:32 -04:00
Jay
283ff636f4 Fixing tracepot crashes p1 2020-05-07 21:10:33 -04:00
Jay
7b9ee0d75b Fixed #357 2020-05-07 20:17:07 -04:00
Jay
e69b51accb Manga details tracking renaming + async
When refreshing tracking, all tracked services will be called async
2020-05-07 19:27:23 -04:00
Jay
4503d408df Maybe fixed #303 2020-05-07 19:18:21 -04:00
Jay
4818fe1d0c Fixed searching titles on tracking services 2020-05-07 18:13:21 -04:00
Jay
e94e405b80 Adding fast scroll to d/l queue
Also fixed fast scroll bubbles with long titles
closes #270
2020-05-07 17:45:04 -04:00
Pavka
40a0094ec0
Fix shikimori auth. Change await to withContext(Dispatchers.IO) (#354)
Co-authored-by: Pavel Mosein <p.mosein@edadeal.ru>
2020-05-07 17:03:21 -04:00
arkon
d20c7f41af Convert app updater to foreground service 2020-05-07 16:49:51 -04:00
arkon
f1a9434d10 Increase webtoon setting change page refresh range 2020-05-07 16:32:39 -04:00
Jay
41d1aaa02c Added "more library settings" button to library display sheet
Categories setting item now says "add categories" if none are made
2020-05-07 15:29:04 -04:00
Jay
aa8195c48f Adding fast scroll to extensions list 2020-05-07 15:05:14 -04:00
Jay
8c394a4a7b Refactoring fast scroll and its text view
using the new textview in the manga details fast scroll
2020-05-07 15:05:09 -04:00
Jay
9468caeb1e Added bottom padding to the library recyler view 2020-05-07 02:55:04 -04:00
Jay
7022cce4c2 Flipped order of options in filter sheet
Unread/ unread progress no longer hide when one or the other selected
2020-05-07 01:52:43 -04:00
Jay
467abf8403 Adding tooltip to category refresh button 2020-05-07 01:37:15 -04:00
Jay
979638c0f5 Adjusting jumper margins 2020-05-07 01:35:03 -04:00
Jay
f6c9855772 Option to reorder filters 2020-05-07 01:24:50 -04:00
Jay
348795666d Added expand all/collapse all categories in filter sheet 2020-05-06 23:44:24 -04:00
Jay
d38bb54d83 Anchored library snackbars above the category hopper 2020-05-06 23:18:21 -04:00
Jay
3529681f90 If backup is created with extensions mapped, restores will now list the source name instead of numbers
Restore complete notification will also list the first 5 sources missing
2020-05-06 23:07:55 -04:00
arkon
49d8563658 Start storing extension ID/source name mapping in backup files 2020-05-06 22:28:24 -04:00
arkon
ce492ab7ac Refactor backup service 2020-05-06 22:25:10 -04:00
Jay
6069bcd058 Added elevation to filter bottom sheet, so the category hopper does not overlap it 2020-05-06 21:04:38 -04:00
Jay
c70f4025f4 Fixed manga autodownloading chapters if manga was not initalized before 2020-05-06 21:03:57 -04:00
Jay
8fe80a0ff9 Removing the other hide methods in trackbottomsheet 2020-05-06 20:28:05 -04:00
Carlos
149ecaa592
Wrap stuff in manga details with an online check to improve user experience (#344)
* wrap details stuff in network checks so app doesn't reach out when it knows it cant

* wrap some more clean up a little

* remove online check for chapter click/resume in mangadetail

* code review fixes
2020-05-06 20:21:14 -04:00
Jay
7043687142 Shrinking category font size
closes #348
2020-05-06 20:20:13 -04:00
Jay
de8cb8c1b0 Using new (old?) fast scroller in library
New category jumper now shows what catergory you're on while scrolling
2020-05-06 20:11:06 -04:00
Jay
a9ec02caac Moving refresh button to the right side
sorry carlos
2020-05-06 18:26:43 -04:00
Jay
33d15b0814 Fixed collasped categories with no items disappearing 2020-05-06 18:13:09 -04:00
Carlos
03c50cc998
move refresh to front of category name (#346) 2020-05-06 17:10:16 -04:00
Jay
45fc923f34 Updating logic of hopper
Also empty categories now show catergory is empty, even if filter is on
2020-05-06 12:01:51 -04:00