Commit Graph

3065 Commits

Author SHA1 Message Date
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
cd570feb1b Update ktlint to 2.3.2 2020-06-01 20:33:24 -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