Leeingnyo
55ccd928a2
Implement DirectoryEntry
2022-05-15 16:12:31 +09:00
Leeingnyo
ea6cbbd9ce
Split Entry and ZippedEntry, Fix to work anyway
...
make Entry an abstract class
2022-05-15 05:41:25 +09: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
61e85dd49f
Include archive error messages in API response
2022-03-22 11:42:25 +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
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
1b32dc3de9
Add sort title to API response
2022-01-15 12:09:03 +00:00
Leeingnyo
ecaec307d6
Fix title sort bug, invalidate titles of the Library
...
Refactor remove cache
2021-12-26 05:15:21 +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
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
ab799af866
Implement sort_title getter, setter
2021-12-25 22:43:35 +09:00
Alex Ling
2c241a96bb
Merge branch 'dev' into feature/preserve-scanned-titles
2021-09-15 08:58:24 +00:00
Alex Ling
4eaf271fa4
Simplify #json_build
2021-09-14 02:30:57 +00:00
Alex Ling
a9520d6f26
Add shallow option to library API endpoints
2021-09-13 10:18:07 +00:00
Leeingnyo
cd48b45f11
Add 'require "yaml"'
2021-09-12 12:45:24 +09:00
Leeingnyo
291a340cdd
Add yaml serializer to Library, Title, Entry
2021-09-12 02:14:58 +09:00
Leeingnyo
565a535d22
Remove caching verbosely, add cached_cover_url
2021-09-06 02:32:13 +09:00
Leeingnyo
de410f42b8
Replace InfoCache to LRUCache
2021-09-05 02:08:11 +09:00
Leeingnyo
0fd7caef4b
Rename
2021-09-05 00:02:05 +09:00
Leeingnyo
9e90aa17b9
Move entry specific method
2021-09-04 14:37:05 +09:00
Leeingnyo
bf81a4e48b
Implement sorted entries cache
...
sorted_entries cached
2021-08-30 22:58:40 +09:00
Leeingnyo
4a09aee177
Implement library caching TitleInfo
...
* Cache sum of entry progress
* Cache cover_url
* Cache display_name
* Cache sort_opt
2021-08-30 11:31:45 +09:00
Leeingnyo
244f97a68e
Cache entries' cover_url
2021-08-30 08:24:40 +09:00
Alex Ling
cd8944ed2d
Slim option in library and title APIs
2021-04-25 12:41:37 +00:00
Alex Ling
ee52c52f46
Fix new linter errors
2021-03-12 15:03:12 +00:00
Alex Ling
05b4e77fa9
Entry selector on reader page ( closes #168 )
2021-03-05 17:02:45 +00:00
Alex Ling
c7be0e0e7c
Separate insert_id
into titles and entries
2021-01-19 09:08:31 +00:00
Alex Ling
667d390be4
Signature matching
2021-01-19 08:43:45 +00:00
Alex Ling
db2a51a26b
Clean up library classes
2020-12-30 15:23:38 +00:00
Alex Ling
341b586cb3
Add API documentation
2020-12-14 11:09:38 +00:00
Alex Ling
1039732d87
Log the full file path in error messages ( #123 )
2020-11-24 04:03:53 +00:00
Alex Ling
18834ac28e
Set thumbnail size and mimetype
2020-10-29 04:06:44 +00:00
Alex Ling
44f4959477
Finish thumbnail generation and DB optimization
...
(#93 )
2020-10-24 04:13:11 +00:00
Alex Ling
8ac89c420c
Add helper methods for thumbnail generation
2020-10-23 12:30:29 +00:00
Alex Ling
67ef1f7112
DRY when listing archive entries
2020-09-12 06:58:03 +00:00
Alex Ling
a45e6ea3da
Rewrite web reader
2020-09-11 17:00:42 +00:00
Alex Ling
88394d4636
Expose page ratios through API
2020-09-11 17:00:28 +00:00
Alex Ling
6acfa02314
Remove unneeded property title_id
from Entry
2020-07-18 13:34:55 +00:00
Alex Ling
bdba7bdd13
Show unreadable archives in web interface ( #49 )
2020-07-18 13:29:03 +00:00
Alex Ling
6d97bc083c
Break library.cr
into multiple files
2020-07-15 16:12:36 +00:00