Leeingnyo
1f5aed64f7
Rename Entries to ArchiveEntry and DirEntry
2022-05-20 09:51:56 +09:00
Leeingnyo
0ed565519b
Rollback crystal format
2022-05-15 17:38:21 +09:00
Leeingnyo
3a60286c3a
Run 'crystal tool format'
2022-05-15 17:02:29 +09:00
Leeingnyo
137e84dfb6
Fix caching policy
...
Before rendering it, the Mango reader should check the E-Tag of page
or it renders wrong image when an image file is moved/removed/reordered
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
ebe2c8efed
Sanitize parameters on user edit page ( fixes #289 )
2022-04-04 03:20:52 +00:00
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
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
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
0d52544617
Use sessid and not token and fix get_username
2022-03-21 03:41:24 +00:00
Alex Ling
2091053221
Allow CORS
2022-03-20 09:57:36 +00:00
Alex Ling
59528de44d
Remove mangadex entry from config
2022-02-06 06:18:09 +00:00
Alex Ling
9b111b0ee8
Ignore thumbnail progress in cache ( fixes #270 )
2022-01-26 09:10:47 +00:00
Leeingnyo
b711072492
Fix lint
2021-12-26 04:10:03 +09:00
Leeingnyo
8fea35fa51
Use sorted_titles
2021-12-26 00:27:00 +09:00
Leeingnyo
edfef80e5c
Invalidate sort result cache after change sort_title
2021-12-25 23:05:12 +09:00
Leeingnyo
d4b58e91d1
Implement sort title api
2021-12-25 22:43:35 +09:00
Alex Ling
80344c3bf0
Add endpoint /api/login
2021-10-08 10:07:40 +00:00
Alex Ling
974b6cfe9b
Use depth instead of shallow in API
2021-09-22 09:17:14 +00:00
Alex Ling
4eaf271fa4
Simplify #json_build
2021-09-14 02:30:57 +00:00
Alex Ling
4b464ed361
Allow sorting in /api/book endpoint
2021-09-13 10:58:07 +00:00
Alex Ling
a9520d6f26
Add shallow option to library API endpoints
2021-09-13 10:18:07 +00:00
Leeingnyo
00c9cc1fcd
Prevent saving a sort opt unnecessarily
2021-08-30 11:31:45 +09:00
Alex Ling
6549253ed1
Merge branch 'dev' of https://github.com/hkalexling/Mango into dev
2021-08-20 00:26:59 +00:00
Alex Ling
d9565718a4
Remove MangaDex integration
2021-08-20 00:25:21 +00:00
Alex Ling
1973564272
Revert "Subscription manager"
...
This reverts commit a612500b0f .
2021-08-18 12:09:59 +00:00
Leeingnyo
4a261d5ff8
Set Cache-Control header at page, dimensions API
2021-08-18 01:33:22 +09:00
Alex Ling
31d425d462
Document the 304 responses
2021-08-17 07:14:24 +00:00
Leeingnyo
2426ef05ec
Apply cache on dimensions api
...
Use zip_path and mtime for hashing
It used for weak validation
2021-08-15 21:41:44 +09:00
Leeingnyo
25b90a8724
Apply cache on page, cover api
...
Get image data and use it for hashing
2021-08-15 21:33:08 +09:00
Alex Ling
cd8944ed2d
Slim option in library and title APIs
2021-04-25 12:41:37 +00:00
Alex Ling
7f0c256fe6
Log login errors
2021-04-25 12:41:29 +00:00
Alex Ling
00c15014a1
Document subscription APIs
2021-03-15 07:12:30 +00:00
Alex Ling
b4a69425c8
Reverse the queue on download manager
2021-03-14 16:01:29 +00:00
Alex Ling
a612500b0f
Subscription manager
2021-03-14 16:01:29 +00:00
Alex Ling
ee52c52f46
Fix new linter errors
2021-03-12 15:03:12 +00:00
Alex Ling
d3f26ecbc9
Move the page margin config to frontend
2021-03-06 15:04:44 +00:00
Alex Ling
05b4e77fa9
Entry selector on reader page ( closes #168 )
2021-03-05 17:02:45 +00:00
Alex Ling
8aab113aab
Expiration date should be nil when theres no token
2021-03-05 11:01:00 +00:00
Alex Ling
a9a2c9faa8
Finish search for MD
2021-03-05 04:58:56 +00:00
Alex Ling
1b25a1fa47
Update Koa
2021-03-05 04:58:56 +00:00
Alex Ling
df7e2270a4
Add MangaDex login page
2021-03-05 04:58:56 +00:00
Alex Ling
70d418d1a1
Upgrade to MangaDex API v2
2021-01-30 17:08:04 +00:00
Alex Ling
ca8e9a164e
Fix the /api page error when using base URL
2021-01-30 10:54:21 +00:00
Alex Ling
a389fa7178
Allow delete all missing items ( #151 )
2021-01-28 09:55:41 +00:00
Alex Ling
54cd15d542
Mark items unavailable and retire DB optimization
...
This prepares us for the moving metadata to DB in the future
2021-01-19 15:09:38 +00:00