Commit Graph

2765 Commits

Author SHA1 Message Date
Jays2Kings
06a802bb5b Fix search activity going to a tab 2021-03-24 02:16:02 -04:00
Jays2Kings
6c85a54c07 Fix cutout in reader 2021-03-24 02:10:42 -04:00
Jays2Kings
579db13217 Fix download bottom sheet 2021-03-24 02:05:14 -04:00
Jays2Kings
8e9f0537a4 Remove unneeded "this" call on source controller
and minor clean up on it
2021-03-24 02:05:07 -04:00
Jays2Kings
d846033fcf More fixes for auto hide on library
Should be nearly perfect now
2021-03-24 01:57:04 -04:00
Jays2Kings
455ebb6fa4 Filters no longer show on first launch + option to always show hopper
option is on by default
+ renaming 3rd section to "Categories"
+ refactoring
2021-03-24 00:29:21 -04:00
Jays2Kings
eb585e79d8 Added Search for settings
Also added highlighting to the search results as well

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-23 23:40:01 -04:00
Jays2Kings
6654882c1f Option to set starting screen + back returns to start
By default it's same behavior as before, last used between recents or library
Other setting is self-explanatory, on by default
2021-03-23 20:55:50 -04:00
Jays2Kings
9a220073b9 Updated Extensions Settings view
Some changes from upstream plus:
Settings in same view (collapsible)
Sorted by enabled languages
Disabled languages show as off
Disabled sources due to language can be turned on via tapping on them then the snackbar
2021-03-23 20:13:17 -04:00
Jays2Kings
5afb2461e5 reduce padding when bottom nav is scrolled away on browse tab 2021-03-23 14:19:02 -04:00
Jays2Kings
e8cba5c164 Adding NSFW warning to extensions
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-23 14:12:31 -04:00
Jays2Kings
17a1f49c2d Cleaning ext bottom sheet 2021-03-23 13:18:41 -04:00
Jays2Kings
c4aece1eb4 Change bottom nav long click to show sheet instead of toggle 2021-03-23 13:16:51 -04:00
Jays2Kings
b792504854 Various updates to Browse Tab
Changed filter languages button to a globe and now says "filter languages"
Fix source migration not animated between sources and manga
Leaving the migration tab sends you back to source migration list
2021-03-23 13:16:26 -04:00
Jays2Kings
ecc0c79c70 Fix library crash with autohide and recreation 2021-03-23 13:00:54 -04:00
Jays2Kings
7c63219801 Fix settings menu warning 2021-03-23 13:00:30 -04:00
Jays2Kings
d6b07b7f40 Added Source Migration to browse section
Don't ask me how I did it.
2021-03-23 12:58:57 -04:00
Jays2Kings
90a6543334 Separated library display options in *tabs*
To all my fellow tab-hating fans: I'm so sorry. Words cannot express the disappointment in myself. I shall be posting a public YouTube apology video soon.
2021-03-22 22:10:40 -04:00
Jays2Kings
791b94e7a3 Fix rounded corners of bottom sheets
Also setting notch mode to never show in landscape
Also also fixing tracking bottom sheet from passing the status bar in landscape
2021-03-22 18:42:39 -04:00
Jays2Kings
5bf039b801 Fixing crash when library view is null 2021-03-22 16:40:38 -04:00
Jays2Kings
31bde4124d tagging manga/manhwa/etc. for md v2's tags 2021-03-22 16:36:18 -04:00
Jays2Kings
adf11063b7 Added manga sort to backup in categories 2021-03-22 16:28:28 -04:00
Jays2Kings
92af8d508e Expand peek height of tracking sheet 2021-03-22 16:16:39 -04:00
Jays2Kings
12ba03db05 Fix multi line chapter progress alignment in trackers 2021-03-22 02:24:08 -04:00
Jays2Kings
d0c802b6ea Add more details when first adding a tracker
Such as last read chapter
Completed status
Start Date (if applicable)
End Date (also if applicable)
2021-03-22 02:23:35 -04:00
Jays2Kings
5cf9d09a02 Fix MAL Delete entry api 2021-03-22 02:04:09 -04:00
Jays2Kings
9090f87756 Suggested Start/Completed Date for Trackers based on reading history 2021-03-22 01:34:55 -04:00
Jays2Kings
1e3de8a67f Added Start/Finished Date Support to AniList 2021-03-22 01:07:23 -04:00
Jays2Kings
84eaa61bbd Fixes for Start/End Date for trackers 2021-03-21 23:43:49 -04:00
Jays2Kings
757a23401b Also clear cover from global updates 2021-03-21 22:30:38 -04:00
Jays2Kings
e0247e869b More fixes to auto hide bottom nav 2021-03-21 22:28:52 -04:00
Jays2Kings
4ccd051cd5 Added Start/Completed Date for MAL
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 22:28:16 -04:00
Jays2Kings
05e3437f49 Update to MAL's new API + Refactoring
To Arkon: no, I'm not hogging your clientId

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 22:22:46 -04:00
Jays2Kings
77a0244373 Clear cover cache when refreshing manga, even if it's the same url 2021-03-21 13:59:51 -04:00
Jays2Kings
73df525939 Starting shift to 1.x sources 2021-03-21 13:30:11 -04:00
Jays2Kings
7963a607b8 Fix #637 2021-03-21 12:53:11 -04:00
Jays2Kings
c50c1f9b10 Tapping manga info summary collapses summary
Fixes #673

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-21 00:35:39 -04:00
Jays2Kings
434926351c Added support for proto.gz backups
Lotta cleanup to do, but that's a later commit

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 00:00:55 -04:00
Jays2Kings
e5d15894dc Fixes to autohide bottomnav 2021-03-20 20:32:47 -04:00
Jays2Kings
d96f0518f2 Change Library action bar action to expand filter sheet 2021-03-20 19:29:29 -04:00
Jays2Kings
a14c2d49db Option to Auto hide bottom nav while scrolling 2021-03-20 19:21:24 -04:00
Jays2Kings
0b432ae87f Fix WebView's infinite expansion 2021-03-19 19:24:40 -04:00
Jays2Kings
b4d97516a2 Update deeplink for mangadex to v2 api 2021-03-19 14:20:03 -04:00
Jays2Kings
650e27722d Version 1.0.10 2020-12-13 17:55:43 -05:00
Jays2Kings
a05d657d4d Require WebView 86+ 2020-12-13 17:55:01 -05:00
Jays2Kings
b181c49d58 Force MAL logout on update 2020-12-13 17:44:10 -05:00
Jays2Kings
eefaaecb88 Refactoring WebView Activity 2020-12-13 17:39:10 -05:00
Carlos
fbe4960c2e Fix mal login thanks @Arkon
Also added MAL activity to manifest + added log out support
2020-12-13 17:12:28 -05:00
Carlos
5989c7119f
add mark previous as read option in chapter list (#632)
add download unread, mark read, mark unread on library view
2020-12-13 12:19:20 -05:00
Eugene
68db9a88e6
Fix typos (#598) 2020-10-03 23:00:42 -04:00
Jays2Kings
ab5cc8d519 Version 1.0.9 2020-09-16 21:13:00 -04:00
Jays2Kings
e5dbc3cbd7 Pages in Pager mode no longer overlaps cutout areas
Zooming in is still edge to edge, but the padding will make sure the top of the page is under the cutout area

If you can't tell I have a phone with a cutout now
2020-09-16 02:42:17 -04:00
Jays2Kings
99010acc24 Added option to save/share manga cover when zoomed in 2020-09-16 01:42:27 -04:00
TheLich132
7cc6bd6f0a
Update to polish translation (#458)
* Update to polish translation

* "enable_zoom_out" - polish translation

* Tracker improvements - strings.xml polish localization

* Added new lines from strings.xml from commit 813a3c6

* Update strings.xml
2020-09-16 00:32:23 -04:00
Eugene
d6b8f37ac9
Russian localization (#480)
* Russian localization

* New strings
2020-09-16 00:32:18 -04:00
Michael Fleischer
8a4e39ea56
German translation updates (#481)
* string update

* string update

* string update

* translation update

* Update strings.xml

Co-authored-by: ninjamask <4umg5USC5TWsGnyV4VwZ>
2020-09-16 00:32:12 -04:00
arkon
9f15f25f43
Update to Kotlin 1.4.10, coroutines 1.3.9, Kotlinter 3.0.2 (#594) 2020-09-16 00:31:40 -04:00
Jays2Kings
f10f8c6b64 Version 1.0.8 2020-08-23 20:27:40 -04:00
Jay
c60ffbbb25 Reorganizing advanced options slightly 2020-08-09 20:39:19 -04:00
arkon
2bb1427162 Add advanced option for DNS over HTTPS via Cloudflare 2020-08-09 20:39:00 -04:00
Jay
7a87714c88 Sectioning Advanced section 2020-08-09 20:18:45 -04:00
Jay
696ffff401 Added option to clean cache of online covers in advanced 2020-08-09 20:10:33 -04:00
Jay
38fac8341d Using new cache for non-library manga
So it doesn't refetch covers already in cache
2020-08-09 20:01:27 -04:00
Jay
20e81073aa Fix crash when canceling library update with new chapters 2020-08-09 17:45:56 -04:00
Jay
06ee5439d1 wrap unsub in pageholder in try
fixing another android 11 crash
2020-08-09 17:33:07 -04:00
Jay
e3e18ea775 Added delegate callback for removing downloads
Should close #551 and other related A11 issues
2020-08-09 17:22:47 -04:00
Jay
ad57086d8c Deeplink into chapters for a few sources
So far just mangadex, jamini's, mangaplus, kireicake
2020-08-09 16:46:02 -04:00
Jay
b4151e6761 refactor fav popup 2020-08-09 16:41:21 -04:00
Jay
198cf86377 Changed long press for fav button in library inside the popup menu for said button
also you can drag on the fav button to open the popup menu
2020-08-09 16:37:46 -04:00
Jay
0670e00a09 Use generic for filterChapters to remove cast warning 2020-08-09 16:13:56 -04:00
Jay
23e7b380b0 Removed coroutine on manga presenter launch
Since the page scroll is reset on theme switch
2020-08-09 16:13:04 -04:00
Jay
281470252b compile fixes 2020-08-09 15:21:08 -04:00
Carlos
d308e0c29f
update nth chapter logic from stable (#504)
Co-authored-by: Jays2Kings <jays@outlook.com>
2020-08-09 15:04:21 -04:00
Carlos
90ca4ecf53
Make cards and bottom sheet multiple of 4 for standards (#539)
* use dimens for corners on sheets
removed unused dimens
use same dimens on cards (can be reverted)
up card elevation slightly

* hide change categories when no categories exist
2020-08-09 14:59:15 -04:00
Carlos
7372109520
Use the same logic in the mangadetails filter as the reader filter (#543)
* use the same chapter filter for the mangadetails and the reader presenter page

* removed unused class

* move volume detection logic to chapter utils
2020-08-09 14:58:12 -04:00
Carlos
813a3c6e68
Download updates (#546)
* Add rename download attempt from preview

* clean up renew cache some to help with readability

* Download on WiFi regardless of metered status  (From Tachiyomi)

* no reason to show md2 beta message for new debug installs

* update clean up downloads to be a little faster and hit some edge cases not thought of before

* fix bug where manga name does not match the file name and was deleting manga downloads of manga with special characters

Co-authored-by: Chris Allan <chrisallan@pm.me>
Co-authored-by: Ken Swenson <2048861+flat@users.noreply.github.com>
2020-08-09 14:55:53 -04:00
Carlos
c0228f06f8
Some minor stuff from upstream (#547)
* local manga changes from stable

* use device pin instead of biometric when biometric cant be used for some reason

* corektx changes

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-08-09 14:52:45 -04:00
Yu Xiao
45eab517d0
TLS 1.3 support for Android < 10 (#519) 2020-07-30 20:12:25 -04:00
Michael Kwok
5eb5042622
enable WebView DOM storage (#522) 2020-07-25 21:28:59 -04:00
Carlos
718165a58e
fix download cache performance issue (#537)
* fix download cache performance issue

* adjust based of arkons suggestion

* launch the create in a scope to cut the faster loading time a little more
2020-07-25 21:28:28 -04:00
Jay
1e9b9dabe3 Fix download cache not working for a source name change
real commits coming soon
2020-07-06 23:21:26 -04:00
Jay
cfbc3156a1 Share urls of multiple manga in library
closes #119
Also hiding migration button and filtering out local manga when it comes to source migration in library
2020-06-06 22:22:00 -04:00
Jay
3bd8f92824 Minor tracking updates from PR
Updated remove tracking strings
Login dialog cannot be cancelled while logging in
Extremly minor layout changes
2020-06-06 21:31:13 -04:00
Jay
7fc84f6924 Remove dividing line between title and options in bottom menu sheet 2020-06-06 19:53:45 -04:00
Carlos
442a439e66
Tracker improvements (#473)
* add tracker logout dialog from upstream

* update for all trackers to have logout dialog

* remove logout button from login screen

* new login button that is more material
had to remove red_error color cause that was in the library that i removed

* return error message if user has blank username/password

* add x button to clear tracked Manga
add dialog that gives option to clear just in app or from tracking service
added mal as first service to allow clearing

* fix string in dialog for remove
ad ability to remove from anilist service

* add ability to delete from kitsu

* made login dialog look more material

* change the dialog for the remove from tracker

* update coil to 0.11.0

* make track search a little nicer
2020-06-06 19:53:13 -04:00
Jay
585e57c8bf FIxed #472 - Local manga edits not using existing json 2020-06-06 17:01:35 -04:00
Jay
06192419cb using runblocking for MAL intercept
since scope launches will run async
2020-06-06 16:28:34 -04:00
Carlos
8ce1d94fd2
add 400 response login refresh for mal (#476)
* add 400 response update to mal

* clean up imports
2020-06-06 16:14:02 -04:00
Jay
231c7f5bf3 Fixed #397 - Add to manga dialog not removing from library on cancel 2020-06-06 16:09:38 -04:00
Jay
f5f4b8a119 Fixed #469 - Reader chapters clickable while collasped 2020-06-06 16:01:20 -04:00
Jay
14ec89f654 Save reader progress when activity is paused 2020-06-06 15:36:57 -04:00
Jay
1978b9a62e Fix reader toolbar click intent 2020-06-01 21:12:11 -04:00
Jay
36ade17ba7 Format fixes for reader activity 2020-06-01 20:50:04 -04:00
Jay
70105110b5 Tapping on reader toolbar title now opens manga page 2020-06-01 20:45:47 -04:00
Jay
c189a840a7 Moved reader dismiss notification to the presenter 2020-06-01 20:32:51 -04:00
Jay
3a74c7918d Using a globalscope instead of current scope for showing new chapters notification
Since it may get called after a cancelled job
2020-06-01 20:25:14 -04:00
Carlos
7d5fa5a603
remove shortcuts.xml plugin since shortcuts arent used anymore (#463)
updated gradle to 6.1.1
update android gradle to 4.0
add buildSrc to use kotlin for versions didnt convert them all
2020-05-30 20:30:53 -04:00
Jay
07999b0c2d similar updates that i made in neko 2020-05-26 21:34:44 -04:00
Jay
cac18f16ab Switching "disable zoom" setting to "enable zoom out"
which will be off by default
2020-05-25 20:25:55 -04:00
Jay
f7b10463f7 Release 1.0.7 2020-05-25 14:24:59 -04:00
Jay
d7335bdc2f more tracepot crash fixes 2020-05-25 14:20:53 -04:00
Jay
11598362b8 Using chapter number instead of chapter title for sharing pages 2020-05-25 14:20:36 -04:00
Jay
b6bdc1fc0d Fix crash in search activity 2020-05-24 21:52:13 -04:00
Jay
3c77ead449 Remove hashmap for categories, since that causes OOM on some devices 2020-05-24 21:51:59 -04:00
Jay
69fd723410 Set search pinned sources default to false 2020-05-24 18:18:21 -04:00
Jay
290bd9091a Version 1.0.6 2020-05-24 15:51:52 -04:00
Jay
37957e61c9 Alway show the category title always for dymanic categories
Even if it is the only category
2020-05-24 15:51:09 -04:00
Jay
d7c6575962 Clean up german strings 2020-05-24 15:48:44 -04:00
Jay
f716307492 Remove neko reference in dl cache 2020-05-24 15:48:15 -04:00
Carlos
a5c9411f29 switch to check folders for downloads whenever delete chapters is called so the manga folder doesnt get deleted by accident 2020-05-24 14:55:20 -04:00
TheLich132
4849cc6bd2
Update polish translation (#393) 2020-05-24 14:54:30 -04:00
Eugene
9713c981b1
Russian localization (continued) (#394)
* New string

* hopper -> switcher

* New strings 2

* Fix and new

* Browse Settings

* New string change
2020-05-24 14:54:22 -04:00
Tio Nick
19c4efcef8
Update for Portuguese translation (#407)
* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml

It would be easier if I knew the release schedule of the new versions, so I could update the Strings about 2 days before.
2020-05-24 14:54:08 -04:00
Michael Fleischer
7779c4ac2b
German translation (#430)
* Updating the German translation

* small fix

* added changes done to strings.xml till May 19

* 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

* Reverted partial rogue commit

* 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

* Fix toolbar color in manga details when switching themes

* 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

* Hide fast scroll when showing backdrop

* Added Bottom sheet for menu popup

For use in future commits

* Using new bottom sheet menu for sorting categories

* 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)

* Fixes for showing single category

* 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)

* Fixed ungrouped library showing "All"

* Fix crash in maga details

* 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

* Show "no results found" error when search tracker doesn't find anything

* Logic fixes to library

Fixed trying to update with special groupings
Fixed special groups duplicating manga in a list

* Grouping menu sheet shows "ungrouped" instead of "categories" by use case

For those who not have any categories

* Move LibraryHeaderHolder to a new file

* when grouping by tags, tags with different casing will be grouped together

* Tapping category name now expands backdrop

* Category recycler puts active category center of view if list is scrollable

Also removed scrolling logic for opening/closing the sheet

* 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

* Fixed sources with no tags in the manga not having the proper type

* Updated logic to elevating the toolbar

* Fixed sectioned library showing the wrong category when returning back to library tab

when using custom grouping

* Using compound drawables for centered toolbar

and making the library text centered even with the dropdown arrow showing

* Menu bottom sheet now scrolls to the active menu item if list is too tall

* Format library xml + no clipping to category backdrop

* Always expose the front view a little bit even when backdrop... (p2)

Fixing the fact the filter sheet still moved the category recycler view

* Don't scroll to the top of the list on group change until view refresh

* Option to always show the current category in the title

* Refactoring library view create

* Use bookmark icon instead of changing text color

Didn't look at the upstream code for this, but maybe should've

* Added cancel cta to long press library update snackbar

* Added "manga" to filter type

closes #381

* 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)

* Move "Select target sources" to strings.xml

* more strings

* missing strings

* fix

* update

* fix

* today's updates

* remove colon

* new strings May 23, 2020

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jay <jays2kings@gmail.com>
2020-05-24 14:53:57 -04:00
Jay
b42d611fde Added inset hieight to menu sheet when setting max height 2020-05-24 01:24:50 -04:00
Jay
b6f6b410bb Fixed set as cover in reader not prompting for confirmation 2020-05-24 01:22:02 -04:00
Jay
2e96a2179a made ReaderChapterFilter not a singleton 2020-05-23 21:32:20 -04:00
Carlos
1d5fe4f775
Clean up the reader filter logic (#444)
* move chapter filtering to its own class and injekt it.
Clean up the logic around the filter to prevent unneeded filtering and to make it more understandable

* switch to .not
2020-05-23 19:27:21 -04:00
Jay
8f410ca864 Reorder Library Update Service
Co-Authored-By: Carlos <carlosesco@users.noreply.github.com>
2020-05-23 19:19:10 -04:00
Carlos
c67a5a2c0e
move coil package out of download package and into image (#445)
move CoverViewImageTarget into coil package
2020-05-23 18:57:40 -04:00
Jay
a15563d409 Slight refactoring to library presenter 2020-05-23 17:25:09 -04:00
Jay
a8d577e790 Disable clicking on dyamnic category headers
Normal categories clicking has been reverted to collasping
2020-05-23 17:20:38 -04:00
Jay
59c2da3f91 Batch select sources for pre migrations
Select none/all, pinned sources, enabled sources from the list
2020-05-23 17:07:52 -04:00
Jay
a3305171d6 Migration updates
When searching manually, the sources used for auto migration will also be used for searching
Can now migrate to the same source if it is the only source being used for migration (for those who cant stop using kakalot)
2020-05-23 16:28:07 -04:00
Jay
c4f1183dc4 Moving new material views to base class 2020-05-23 15:52:36 -04:00
Jay
2413d4c91e Pressing category button in hopper opens a mini category jump sheet
instead of opening backdrop
2020-05-23 15:50:50 -04:00
Jay
b3069b191e Fix appbar not showing sometimes when tapping the mini category bar 2020-05-23 15:29:29 -04:00
Jay
7c034f040b Fixed weird behavior with dragging categories 2020-05-23 15:02:05 -04:00
Jay
32aea55f42 Send manga/chapter/page details when sharing a chapter page
closes #443
Also for page_ string, removing the colon in it
2020-05-23 04:07:36 -04:00
Jay
0657d3db93 Added ComicExtra as comic source
closes #446
2020-05-23 03:47:36 -04:00
Jay
71b86d7ba1 Fixed #267 2020-05-23 03:45:48 -04:00
Jay
acfc81b9b9 Calling the first setting category in library settings "general" 2020-05-23 02:33:49 -04:00
Jay
b5702e715a Dynamic categories can now be updated seperately 2020-05-23 02:27:35 -04:00
Jay
3eb1cc1f17 Crop borders for continous viewer now uses the same pref as paged
also renamed the webtoon continous variable because it confused me
2020-05-23 01:10:13 -04:00
Jay
e0f639c801 Localize tracker not logged in error in log 2020-05-22 21:45:26 -04:00
arkon
3827993a94 Sort list of sources in migration alphabetically 2020-05-22 21:35:13 -04:00
Jay
42e299366a Using frame instead of appbar in reader
Not sure if will fix the disappearing page bug but appbars are weird enough to cause it
2020-05-22 21:28:47 -04:00
Jay
26081fae64 make category text in backdrop slightly smaller 2020-05-22 15:13:39 -04:00
Jay
0184b0678d Replaced filter button in reader with open manga in webview 2020-05-22 15:07:38 -04:00
Jay
6616189463 Remove second bookmark icon from reader 2020-05-22 14:20:54 -04:00
Jay
b174b954f5 Update source migration ui
Also fixed library grid back to center crop
2020-05-22 01:30:03 -04:00
Jay
dbaa12a0e7 Fixed spacing in string ext 2020-05-22 01:29:17 -04:00
Jay
d5fb065111 Update skip pre migration tip 2020-05-21 23:28:25 -04:00
Jay
620d3c57e8 Another tracepot crash fix 2020-05-21 23:16:49 -04:00
Jay
2c7ceb900b Fixed sql query crash 2020-05-21 23:13:21 -04:00
Jay
257b28141e Hopefully removing the tracepot log for library updates being cancelled 2020-05-21 23:02:53 -04:00
Jay
d40b5484a8 Fixed Recents item not showing after marking as read 2020-05-21 16:12:17 -04:00
Jay
a1bd3402ff Using image button where possible
instead of image view
2020-05-21 16:07:33 -04:00
Jay
88ceefecf3 Fixed being able to swipe update headers 2020-05-21 15:46:13 -04:00
Jay
3455e36a33 Long press page sheet now using menu sheet 2020-05-21 15:34:43 -04:00
Jay
45161220b8 Change chapter filters in reader
And some refactoring
2020-05-21 15:01:25 -04:00
arkon
bd748f6a62 Skip filtered chapters while reading 2020-05-21 14:00:59 -04:00
arkon
62e2a895f5 Update reader settings/rewording form upstream 2020-05-21 13:47:12 -04:00
Jay
172702e177 Change error message for when source is not installed 2020-05-21 13:28:40 -04:00
Jay
a5f7f63469 New icons for some of the empty views 2020-05-21 03:34:10 -04:00
Jay
516ff61abd Renaming arrow down/up 2020-05-21 03:29:22 -04:00
Jay
f98d0238c8 removed a missed rasterized image 2020-05-21 03:06:57 -04:00
Jay
5fca25b490 Readd chucker to network 2020-05-21 03:04:54 -04:00
Jay
4230afecaa Refactoring vectors to remove _white/_black from the names 2020-05-21 03:03:55 -04:00
Jay
7ccf5b6d4d Cleaning out the rasterized resources 2020-05-21 02:38:44 -04:00
arkon
12b2da9058 Show notification with error log on update failures + Move notification logic out of LibraryUpdateService 2020-05-21 02:20:07 -04:00
Jay
e76805160c Removing some icons and refactoring a few
Will refactor the rest 2 commits later
2020-05-21 02:11:18 -04:00
Jay
3067807798 Set background for pager before image loads 2020-05-21 01:17:39 -04:00
Jay
b791c6c2d8 Fixed jumping categories while searching library 2020-05-20 23:42:41 -04:00
Jay
7d7afd474e Fixed #433 2020-05-20 22:14:25 -04:00
Jay
4e45a337da Fixed #435 2020-05-20 21:56:02 -04:00
Jay
d42b9c2598 Fixed #436 2020-05-20 21:48:13 -04:00
Jay
271db63db8 Cleaning up the library xml 2020-05-20 20:58:02 -04:00
Jay
f78daf7156 Current category logic update + hopper up button update
Current category header now works by the first visual item in the view, not the first completely visible item anymore. Saving current item pref still relies on first completely visible

Hopper up button now goes to the top of the current category before going to the next category
2020-05-20 20:43:21 -04:00
Jay
97367f0558 Library front view has a rounded top when backdrop is exposed 2020-05-20 20:39:42 -04:00
Jay
a66327abbf undo snackbar dismissed when changing controllers 2020-05-20 20:29:55 -04:00
Jay
8e155044f2 Changed sources latest button to just say "latest 2020-05-20 20:29:28 -04:00
Jay
45f1f99292 Added Sources (Browse) settings + Global Pinned Search
Also moved all migration options to the sources settings
Migration sources converted to flowpref

New settings:
Only globally search pinned sources
Match migration sources with pinned
Match migration sources with enabled sources
2020-05-20 20:29:00 -04:00
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