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
82c60ccc1d
Replace puts with Logger.debug
2022-05-22 04:04:40 +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
0ed565519b
Rollback crystal format
2022-05-15 17:38:21 +09:00
Leeingnyo
3da5d9ba4e
Fix contents_signature
2022-05-15 17:36:57 +09: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
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
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
883e01bbdd
Merge pull request #302 from Leeingnyo/fix/preload-bug
...
Fix preload bug
2022-05-13 20:11:20 +08:00
Alex Ling
5f59b7ee42
Merge branch 'dev' into fix/preload-bug
2022-05-13 19:51:26 +08:00
Alex Ling
eac274a211
Merge pull request #301 from Leeingnyo/feature/show-control-at-end-in-paged-mode
...
Show control after reading all (in paged mode)
2022-05-13 19:47:57 +08:00
Leeingnyo
0e4169cb22
Fix preload bug
...
cause index error
2022-05-13 08:43:25 +09:00
Leeingnyo
28656695c6
Show control after reading at the end in paged mode
2022-05-13 08:35:04 +09:00
Alex Ling
ce1dcff229
Bump version to 0.26.2
2022-04-18 09:41:36 +00:00
Alex Ling
4f599fb719
Add back accidentally deleted OPDS routes
...
Resolves https://github.com/hkalexling/Mango/issues/255#issuecomment-1097588181
2022-04-18 08:49:09 +00:00
Alex Ling
c831879c23
Merge pull request #293 from hkalexling/rc/0.26.1
...
v0.26.1
v0.26.1
2022-04-04 22:11:24 +08:00
Alex Ling
171b44643c
Bump version to 0.26.1
2022-04-04 13:33:03 +00:00
Alex Ling
a353029fcd
Merge branch 'master' into dev
2022-04-04 13:20:36 +00:00
Alex Ling
75e26d8624
Merge pull request #292 from hkalexling/fix/sanitize-html
...
Sanitize parameters on user edit page (fixes #289 )
2022-04-04 21:16:44 +08:00
Alex Ling
ebe2c8efed
Sanitize parameters on user edit page ( fixes #289 )
2022-04-04 03:20:52 +00:00
Alex Ling
b8ce1cc7f1
Merge pull request #286 from hkalexling/rc/0.26.0
...
v0.26.0
v0.26.0
2022-04-03 18:41:14 +08:00
Alex Ling
24c90e7283
Update README config example
2022-03-28 14:17:54 +00:00
Alex Ling
9ffc34e8e6
Bump version to 0.26.0
2022-03-28 14:14:17 +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
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
173d69eb26
Upgrade Koa
2022-03-22 15:59:56 +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