Alex Ling
a639392ca0
Update comment
2022-06-18 10:22:25 +00:00
torta
d9dce4a881
Fix Continue Reading not show missed reading chapter if the latest chapter mark as read
2022-06-05 19:29:49 +08:00
Leeingnyo
8e4bb995d3
Add zip_path to API document, add path property
2022-06-04 00:18:45 +09:00
Alex Ling
39a331c879
Avoid not_nil in date_added
2022-05-29 05:44:11 +00:00
Alex Ling
df618704ea
Fix linter
2022-05-29 05:28:50 +00:00
Alex Ling
2fb620211d
Choose correct subclass based on YAML node
2022-05-29 05:24:41 +00:00
Alex Ling
5b23a112b2
Remove unnecessary path method
2022-05-22 05:17:05 +00:00
Alex Ling
e6dbeb623b
Use is_valid?
2022-05-22 05:12:43 +00:00
Alex Ling
872e6dc6d6
Better method naming in DirEntry
2022-05-22 04:20:14 +00:00
Alex Ling
ae503ae099
Remove unnecessary createtime method
2022-05-22 02:54:05 +00:00
Alex Ling
648cdd772c
Add back zip_path for backward compatibility
2022-05-22 02:48:06 +00:00
Leeingnyo
238539c27d
Split files
2022-05-20 14:21:08 +09:00
Leeingnyo
1f5aed64f7
Rename Entries to ArchiveEntry and DirEntry
2022-05-20 09:51:56 +09:00
Alex Ling
f18f6a5418
Fix linter issues
2022-05-19 12:41:07 +00:00
Leeingnyo
3a60286c3a
Run 'crystal tool format'
2022-05-15 17:02:29 +09:00
Leeingnyo
9f6be70995
Rename Entry.exists? to Entry.examine
2022-05-15 16:28:53 +09:00
Leeingnyo
caf4cfb6cd
Fix Entry.new in YAML::Serializable to support DirectyEntry
...
so hacky
2022-05-15 16:12:43 +09:00
Leeingnyo
3b3a0738e8
Scan DirectoryEntry when init and examine
2022-05-15 16:12:31 +09:00
Leeingnyo
55ccd928a2
Implement DirectoryEntry
2022-05-15 16:12:31 +09:00
Leeingnyo
10587f48cb
Implement is_supported_image_file
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
293fb84e1d
Formatting
2022-03-22 16:04:39 +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
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
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 a612500b0f .
* Use auto overflow tables
cherry-picked from a612500b0f
* 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
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
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
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
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
f9254c49a1
Fix lint error
2021-12-19 17:14:47 +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
Leeingnyo
cc33fa6595
Fix bug: remove titles not in root library anymore
2021-12-19 16:31:43 +09:00
Alex Ling
974b6cfe9b
Use depth instead of shallow in API
2021-09-22 09:17:14 +00:00
Leeingnyo
2c022a07e7
Avoid unnecessary sorts when getting deep percentage
...
This make page loading fast
2021-09-18 18:49:29 +09:00