* LANraragi: 0.8.8 support
Basic fix for API key change while supporting pre-0.8.8. In the future this could be done with the Archive model.
Remove irrelevant draw key.
* LANraragi: Improve var usage
* LANraragi: Consolidate New Only's default value
* LANraragi: Encode the API Key once
* LANraragi: Refactor checkbox + Clear New toggle
Previous behavior was always clear. Now it can be toggled.
* Revert "LANraragi: Encode the API Key once"
This reverts commit 17128421cf7754cffd143a80cebbdf48281112d7.
* LANraragi: Redundant comment
* LANraragi: Mark status as Completed
* LANraragi: Use API for Random (first pass)
No longer need a unique client.
No header shenanigans, straight from source.
* LANraragi: Fix tag display
API response no longer spaces them out.
* LANraragi: Warn on 401
* LANraragi: Use API for Random (second pass)
Unify the Random helper functions.
Inline what was canShowRandom().
Use new /files (GET) endpoint as /extract (POST) is now deprecated.
Remove 404 handling from fetchMangaDetails() (as the 401 handling should cover it).
Include headers for isnew DELETE.
* LANraragi: Update icons
* LANraragi: IOException on 401 instead
* LANraragi: Category to own function and observe on io
Move category retrieval to own function for init and refreshing when FilterList is reset (for the next one...) to maintain sync without restarting.
Observe on io instead of mainThread to avoid exception for "large" requests.
Also considered: callbacks.
* LANraragi: Clean up getArtist and getDateAdded
* LANraragi: Safer getRandomID
* LANraragi: Improve Random item visibility
Previously a server with a dirty DB would have conflicting numbers and need to run a clean to fix them.
That's still the case but that's not the extension's problem and those numbers are no longer considered.
Switched to a querySize check to remain only on the initial Browse page.
Remove previous Latest query smuggling due to above.
* LANraragi: Ignore DNS over HTTPS
Fixes#6341
Similarly not act without a configured server.
I miss you, return early...
* LANraragi: Init random ID observe on io
Drop mainThread entirely.
* LANraragi: Introduce Random item.
Appears as the first item under Browse when there's no meaningful filtering.
Maintain Latest flow at the cost of an extra query param.
* LANraragi: Get and use the Random ID.
Helper functions to get a new random ID.
Helper functions to get the ID from weird spots.
Separate network client to not follow redirects, saving server-side extracts.
* LANraragi: Obtain random ID on init.
To save one entire refresh for that quality user experience.
The call is still to a 301 that is not followed.
* LANraragi: Unset isnew on archives.
More obvious since Latest was hooked up.
Separate from actual reading progress.
This was happening indirectly before the previous extension version swapped to API endpoints for metadata.
* LANraragi: Bump extension version
* LANraragi: AZ detection for ID.
Due to how it updates info and chapters independently leading to an expected race condition.
When detected avoid the race by accessing the ID via thumbnail.
Always using the thumbnail moves the race to non-AZs instead.
* Revert "LANraragi: AZ detection for ID."
This reverts commit 28541d8d0daf989c129884090311e49148f05112.
* LANraragi: Handful of filters.
- Descending/new/untagged toggles
- Starting page override
- Namespace sorting
- Categories
* LANraragi: Upgrade chapterListRequest to API.
Use the metadata endpoint.
Preserve WebView for i.e. management.
Pull out the date_added tag for date_upload.
* LANraragi: Verify if a category is selected.
* LANraragi: Hook up Latest.
With some new preferences.
* LANraragi: Switch Category filter from CBs to Dropdown
Soon: LRR has multi-category drifting.
Pins are indicated in the dropdown.
Correct types in Category. I'm blind.
* LANraragi: Change date_upload null check to let.
* LANraragi: Empty string compare to isNotBlank
* LANraragi: Preferences tidying.
* LANraragi: Cleanup Starting Page filter.
RIP the dream of indicating the number of items returned by search without pressing the Reset button.
* LANraragi: More preferences tidying.
* LANraragi: Pagination offset improvements
Previously going back pages from the end would result in the wrong size.
Include stats in the filter option when available to help with manual pagination.
* Add extension for LANraragi
LANraragi project page: https://github.com/Difegue/LANraragi
* Drop tag exclusion support and improve tag search perfomance a bit
* LANraragi: API fixes as of 0.6.7
Image routing was 404ing in Mojolicious due to preceding / resulting in //api/page
Manga parsing was failing with "no fun mode" due to wrong URL parameter for key
* Update to newer API
* Fix strange bug on last page
* Increment version code
* Reset increment back to 1 & Instantiate Gson once only
Co-authored-by: RePod <RePod@users.noreply.github.com>