751 Commits

Author SHA1 Message Date
Alex Ling
d1de8b7a4e Include admin info in /api/signin response 2022-03-23 06:05:12 +00:00
Alex Ling
7ae0577e4e Merge branch 'dev' of https://github.com/hkalexling/Mango into dev 2022-03-22 16:08:48 +00:00
Alex Ling
e9b1bccbc9 Fix schema for the parents field 2022-03-22 16:08:16 +00:00
Alex Ling
293fb84e1d Formatting 2022-03-22 16:04:39 +00:00
Alex Ling
9c07944390 Add endpoints for home page
- `/api/library/continue_reading`
- `/api/library/start_reading`
- `/api/library/recently_added`
2022-03-22 16:01:37 +00:00
Alex Ling
21d8d0e8a7 Optionally include reading progress in response 2022-03-22 12:58:37 +00:00
Alex Ling
61e85dd49f Include archive error messages in API response 2022-03-22 11:42:25 +00:00
Alex Ling
c778364ca2 Formatting 2022-03-22 11:42:16 +00:00
Alex Ling
7ecdb1c0dd API sorting improvements:
- Add endpoints for getting/updating sorting methods
- Results from library and title endpoints are now sorted
2022-03-22 10:46:38 +00:00
Alex Ling
a5a7396edd Fix CORS allowed methods 2022-03-22 10:46:09 +00:00
Alex Ling
461398d219
Feature/plugin v2 (#284)
* Add "title_title" to slim JSON

* WIP

* WIP

* WIP

* WIP

* Add plugin subscription types

* Revert "Subscription manager"

This reverts commit a612500b0fabf7259a5ee0c841b0157d191e5bdd.

* Use auto overflow tables

cherry-picked from a612500b0fabf7259a5ee0c841b0157d191e5bdd

* 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
2022-03-22 16:30:01 +08:00
Alex Ling
0d52544617 Use sessid and not token and fix get_username 2022-03-21 03:41:24 +00:00
Alex Ling
c3736d222c Fix long line 2022-03-20 10:01:44 +00:00
Alex Ling
2091053221 Allow CORS 2022-03-20 09:57:36 +00:00
Alex Ling
703e6d076b Allow authentication through bearer token 2022-03-20 09:57:10 +00:00
Alex Ling
1817efe608 Fix icon transparency issue 2022-03-17 16:21:06 +00:00
Alex Ling
8814778c22 Add error handling on read_page (fixes #281) 2022-03-12 14:18:08 +00:00
Alex Ling
6ab885499c Use smaller icons on web UI 2022-03-11 14:04:28 +00:00
Alex Ling
91561ecd6b Add simple manifest.json (closes #262) 2022-03-11 13:44:16 +00:00
Alex Ling
3c399fac4e Add error handling on admin page (fixes #274) 2022-02-21 13:25:55 +00:00
Alex Ling
857c11be85 Enable metadata cache by default 2022-02-06 06:39:46 +00:00
Alex Ling
b3ea3c6154 Remove unnecessary type restrictions in config 2022-02-06 06:28:39 +00:00
Alex Ling
59528de44d Remove mangadex entry from config 2022-02-06 06:18:09 +00:00
Alex Ling
a29d6754e8 Expand paths in config (closes #277) 2022-02-06 06:17:42 +00:00
Alex Ling
167e207fad Bump version to 0.25.0 2022-01-26 12:12:01 +00:00
Alex Ling
9b111b0ee8 Ignore thumbnail progress in cache (fixes #270) 2022-01-26 09:10:47 +00:00
Alex Ling
77df418390 Compare with DB when loading library cache (fixes #256) 2022-01-24 14:18:52 +00:00
Alex Ling
750fbbb8fe Delete cache when dir mismatch (fixes #265) 2022-01-24 13:25:55 +00:00
Alex Ling
f70be435f9
Merge branch 'dev' into feature/custom-sort-title-and-sorting-titles 2022-01-15 20:30:56 +08:00
Alex Ling
1b32dc3de9 Add sort title to API response 2022-01-15 12:09:03 +00:00
Robbo
b6c8386caf
Merge branch 'dev' into feature/right-to-left 2022-01-04 21:01:56 +11:00
Robbo
4b302af2a1 Add Right to Left option to Paged viewing mode 2022-01-04 00:20:52 +11:00
Leeingnyo
ecaec307d6 Fix title sort bug, invalidate titles of the Library
Refactor remove cache
2021-12-26 05:15:21 +09:00
Leeingnyo
b711072492 Fix lint 2021-12-26 04:10:03 +09:00
Leeingnyo
0f94288bab Avoid N+1 queries problem 2021-12-26 03:29:41 +09:00
Leeingnyo
1cd777d27d Cache sorted titles 2021-12-26 02:56:57 +09:00
Leeingnyo
1ec8dcbfda Use sort_title, sort_titles in title page 2021-12-26 02:55:52 +09:00
Leeingnyo
8fea35fa51 Use sorted_titles 2021-12-26 00:27:00 +09:00
Leeingnyo
234b29bbdd Fix save 2021-12-25 23:05:12 +09:00
Leeingnyo
edfef80e5c Invalidate sort result cache after change sort_title 2021-12-25 23:05:12 +09:00
Leeingnyo
45ffa3d428 Implement UI to edit sort title 2021-12-25 23:05:12 +09:00
Leeingnyo
d4b58e91d1 Implement sort title api 2021-12-25 22:43:35 +09:00
Leeingnyo
546bd0138c Use sort_title instead of title 2021-12-25 22:43:35 +09:00
Leeingnyo
ab799af866 Implement sort_title getter, setter 2021-12-25 22:43:35 +09:00
Leeingnyo
57683d1cfb Add sort option "Name" for title 2021-12-24 16:44:07 +09:00
Alex Ling
4eda55552b Linter fix 2021-12-22 12:16:44 +00:00
Leeingnyo
f9254c49a1 Fix lint error 2021-12-19 17:14:47 +09:00
Leeingnyo
6d834e9164 Fix formatting 2021-12-19 17:03:39 +09:00
Leeingnyo
70259d8e50 Do same with an entry 2021-12-19 17:03:10 +09:00
Leeingnyo
0fa2bfa744 Fix bug on examine 2021-12-19 16:40:38 +09:00