Commit graph

23 commits

Author SHA1 Message Date
sdaqo
19a62fc046
Add option to enable incognito mode per extension (mihonapp/mihon#157)
* add per Extension Incognito Mode

* migrate incognito sources when extension is updated

* remove incognito sources when extension is uninstalled

* remove not used variable

* address change requests

address change requests

* Rebase and cleanup code

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit c283abefb03f79ce6652492db71cde410f828f78)
2025-01-13 10:26:04 +07:00
AntsyLich
a68d35acca
Revert "Revert "Add option to always use SSIV for image decoding""
This reverts commit 1909126921ac78309f7f7c7c2aa85606611531b8

(cherry picked from commit c5655e8803bc32d0931657f0b7bc6afeab70feaf)
2024-12-23 22:13:06 +07:00
MajorTanya
42ac5e0e70
Always use software bitmap on certain devices (mihonapp/mihon#1543)
* Include Coil's broken hardware bitmap device list

Declares all listed devices as unable to use hardware bitmaps.

Might fix mihonapp/mihon#1541.

* Hide Hardware Bitmap Threshold setting if unusable

This hides the setting from the UI if the user's device in on Coil's
list of devices with problematic hardware bitmap implementations.

Also moved HARDWARE_BITMAP_UNSUPPORTED into the ImageUtil as a
property for more ergonomic access across the project.

* Add missing negation

* Update CHANGELOG.md

* Update CHANGELOG.md

* Needs to be and not or

Also fix typo in CHANGELOG.md

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 7f2cfb5eb224896d6d0ffa6960f0a98c7325e240)
2024-12-06 23:39:22 +07:00
AntsyLich
77863480c9
Revert "Add option to always use SSIV for image decoding"
This reverts commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201.

(cherry picked from commit 1909126921ac78309f7f7c7c2aa85606611531b8)
2024-11-21 01:14:40 +07:00
AntsyLich
3c1aadca36
Add option to always use SSIV for image decoding
(cherry picked from commit bb4d9fc81a043ac4f2d0105f19c09974ae2f7201)
2024-11-04 12:16:22 +07:00
AntsyLich
3acfcbec21
Bump default user agent 2024-11-01 10:37:52 +07:00
AntsyLich
3a12f5e83e
Fix long strip images not loading in some old devices
Fixes mihonapp/mihon#1398

(cherry picked from commit 06efc3b25c5af51f42448af27a269ee459d9093d)
2024-11-01 10:37:52 +07:00
AntsyLich
d13abbd223
Fix a rare crash when invoking "Mark previous as read" action
Closes mihonapp/mihon#1421

(cherry picked from commit f508d10ad13560d7316df8642bc93fe66c05b9a8)
2024-11-01 10:37:52 +07:00
AntsyLich
3490273afe
Auto format extension repo URLs
Closes mihonapp/mihon#1392
Closes mihonapp/mihon#1393

(cherry picked from commit 22d8aad598bea8f00f2831779e45a6645392ca0f)
2024-11-01 10:37:52 +07:00
MajorTanya
e9f65510c4
Some improvements to Bangumi tracker search (#1396)
In short:
- fetch & show actual summary
- fallback to "name" if "name_cn" is empty
- request larger responseGroup to get & display the summary & rating
- add type filter query param to make Bangumi filter, not us

Previously, we only displayed the "name" in the summary area and used
"name_cn" as the entry name. However, "name_cn" (Chinese name) can be
an empty string at times, resulting in an awkward looking search
result list where some, many, or even all the results have no title
displayed and only show the "name" (Japanese name) in the summary
area. This has been solved by using "name" as a fallback value should
"name_cn" be empty.

If a Chinese name is available, the original name is prepended to the
summary with the addition "作品原名:" (meaning "original series title").

By using the "responseGroup=large" query parameter, we can request
the required data we need to display the actual summary for an entry
and the entry's average rating.
The "name" is prepended to the summary contents, if any exist, so it
is still accessible for series identification if a "name_cn" exists
too and was used for the result title.

Adding the "type=1" filter query parameter means Bangumi will only
return entries of type 1 ("book") instead of all types and Mihon
needing to filter, resulting in potentially missed entry matches.

(cherry picked from commit 78f9a84b14e0ece988f80d61011f63c0f7e92a67)
2024-10-31 10:54:40 +07:00
AntsyLich
eebcfa7371
Here lies "currentTab was used multiple times"
Fixes #282
2024-10-31 10:51:08 +07:00
Roshan Varughese
4c5c5f45da
Respect privacy settings in extension update notification (mihonapp/mihon#1156)
* Hide Extension Names in Update Notifications when Content is Hidden

* Moving `val` inside if

* [skip ci] Update CHANGELOG.md

(cherry picked from commit 5dc6569a683da47f5323c252fce1bd4094a5d232)
2024-08-26 13:42:23 +07:00
Dani
94acbb08d7
Add option to skip downloading duplicate read chapters (mihonapp/mihon#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ca968f162ef7a61a9036b7ab9bea407a6334801d)
2024-08-26 00:08:38 +07:00
MajorTanya
bf87d24d6f
Add PR or commit refs to CHANGELOG.md (mihonapp/mihon#1117)
* [skip ci] Add PR or commit refs to CHANGELOG.md

* [skip ci] Update CHANGELOG.md

* [skip ci] Make usernames, PRs, hashes clickable

GFM autolinking for those is not applied to all Markdown documents.

* Change commit style

* [skip ci] Add ref to #1057

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit aac4d6e548910a2ed1c197ca5d20b49e375aa063)
2024-08-26 00:08:38 +07:00
AntsyLich
88896fe357
Sync compose theme with MDC theme
(cherry picked from commit 9a34ace09c66274e6c2b3f9446058a0fa99d4bd0)
2024-08-13 22:44:59 +08:00
AntsyLich
55d6887379
Create CHANGELOG.md
(cherry picked from commit b404a71e26526844600a9918eb796219667be498)
2024-08-13 02:17:44 +08:00
NerdNumber9
30c12fc9de Get rid of outdated changelog 2018-07-08 15:53:59 -04:00
NerdNumber9
ded22f1717 Finish favorites sync 2018-02-01 13:46:33 -05:00
NerdNumber9
f18b32626a Rewrite link intercept activity
Fix compatibility issues between lewd sources and manga info screen
2018-01-29 15:39:34 -05:00
NerdNumber9
1a811d0917 Code cleanup
Release v6.6.0
Cleanup changelog
2017-12-08 18:21:26 -05:00
NerdNumber9
263cc1d97c See CHANGELOG.md for this commit 2017-12-07 22:25:27 -05:00
NerdNumber9
dec4471871 Second attempt to update changelog
Fix wording in metadata fetch dialog
2017-11-30 21:07:26 -05:00
NerdNumber9
5cb219d83e Various changes 2017-11-29 21:44:35 -05:00