Commit Graph

2524 Commits

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