Commit Graph

2630 Commits

Author SHA1 Message Date
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
arkon
f3baecc19c
Use Tachiyomiorg version of subsampling-scale-image-view (#610) 2020-10-03 23:00:17 -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
Jays2Kings
21309bac4d Updating some dependencies 2020-08-23 19:18:22 -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
Jays2Kings
4a30968236
clean up of plugin to use classpath so it can use the kotlin class instead of having to intercept in the settings.gradle (#475) 2020-06-06 16:12:44 -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
CarlosEsco
4e0c97a120 clean up of plugin to use classpath so it can use the kotlin class instead of having to intercept in the settings.gradle 2020-06-05 15:41:13 -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