Commit Graph

2484 Commits

Author SHA1 Message Date
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