Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.26.0 #286

Merged
merged 23 commits into from
Apr 3, 2022
Merged

v0.26.0 #286

merged 23 commits into from
Apr 3, 2022

Conversation

hkalexling
Copy link
Member

@hkalexling hkalexling commented Mar 28, 2022

New Features

Here comes the long-awaited v2 plugin API! Plugins targeting the new API can offer these extra features:

NOTE: Your existing plugins won't magically work with the new v2 API out of the box, and plugin authors/maintainers must update the plugins for that. The official mangadex plugin has been updated to support the v2 API.

Improvements

API Improvements:

  • Add CORS headers
  • Allow authentication through bearer tokens
  • New endpoints for getting/updating sorting options (GET /api/sort_opt and PUT /api/sort_opt)
  • Results from the /api/library and /api/book/:id endpoints are now sorted
  • Archive errors are now included in API response
  • Optionally include the reading progress percentage in API response
  • New endpoints for getting home page items (/api/library/continue_reading, /api/library/start_reading, and /api/library/recently_added)
  • Update /api/signin to respond with session ID and admin information

* Add "title_title" to slim JSON

* WIP

* WIP

* WIP

* WIP

* Add plugin subscription types

* Revert "Subscription manager"

This reverts commit a612500.

* Use auto overflow tables

cherry-picked from a612500

* Add endpoint for plugin subscription

* WIP

* WIP

* Simplify subscription JSON parsing

* Remove MangaDex files that are no longer needed

* Fix linter

* Refactor date filtering and use native date picker

* Delete unnecessary raise for debugging

* Subscription management API endpoints

* Store manga ID with subscriptions

* Add subscription manager page (WIP)

* Finish subscription manager page

* WIP

* Finish plugin updater

* Base64 encode chapter IDs

* Fix actions on download manager

* Trigger subscription update from manager page

* Fix timestamp precision issue in plugin

* Show target API version

* Update last checked from manager page

* Update last checked even when no chapters found

* Fix null pid

* Clean up

* Document the subscription endpoints

* Fix BigFloat conversion issue

* Confirmation before deleting subscriptions

* Reset table sort options

* Show manga title on subscription manager
- Add endpoints for getting/updating sorting methods
- Results from library and title endpoints are now sorted
- `/api/library/continue_reading`
- `/api/library/start_reading`
- `/api/library/recently_added`
@mango-assistant
Copy link

mango-assistant bot commented Mar 28, 2022

This is a pre-release PR. Please help test if everything works as expected before we merge the changes and make the official release! To start testing, download the latest build from https://github.com/hkalexling/Mango/actions/runs/2052857364. Code reviews are also welcome if you know Crystal or Ruby.

@hkalexling hkalexling added the autoapprove Should be auto-approved by the bot label Apr 3, 2022
Copy link

@autoapproval autoapproval bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍

@hkalexling hkalexling merged commit b8ce1cc into master Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoapprove Should be auto-approved by the bot autoapproved pre-release
Projects
None yet
1 participant