1069 Commits

Author SHA1 Message Date
Alex Ling
4ca8daca29 Add API to fetch download queue 2020-02-28 17:38:08 +00:00
Alex Ling
d3d8dff6d2 Add MangaDex::Queue to Context 2020-02-28 17:37:08 +00:00
Alex Ling
f11a5cd608 Finish downloader 2020-02-28 17:36:21 +00:00
Alex Ling
6bccba16da Add MangaDex::PageJob and MangaDex::Downloader 2020-02-28 17:31:09 +00:00
Alex Ling
28ac5c7a00 Formatting in mangadex/api.cr 2020-02-28 17:17:57 +00:00
Alex Ling
f8e0c6d795 Remove download code from mangadex/api.cr, as the download functionality
is now handled by mangadex/downloader.cr
2020-02-28 17:15:55 +00:00
Alex Ling
e3d505d62b Add @full_title to MangaDex::Chapter 2020-02-28 17:14:38 +00:00
Alex Ling
77864afa67 Removing the logging of the library json on scan 2020-02-28 16:55:39 +00:00
Alex Ling
5abdca24c2 Ignore invalid zip files in library 2020-02-28 16:54:37 +00:00
Alex Ling
e8c365b7a1 Rename module Mangadex to MangaDex 2020-02-28 16:48:48 +00:00
Alex Ling
6659041631 Allow missing keys in the "mangadex" dictionary in the config file 2020-02-28 16:24:46 +00:00
Alex Ling
fa50f4cb88 Delete the single job push method 2020-02-26 23:55:38 +00:00
Alex Ling
c39a1ddbaf Merge branch 'master' into v0.2.0 2020-02-26 18:26:49 +00:00
Alex Ling
7de01991a0 Fix the problem that all chapters (regardless of selections) will be
posted to the API
2020-02-26 18:20:14 +00:00
Alex Ling
319967438b Merge branch 'master' into v0.2.0 2020-02-26 18:19:30 +00:00
Alex Ling
1bbb08eede Show spinner and hide download button when posting to API 2020-02-26 17:46:28 +00:00
Alex Ling
d9d1dbc26f Post selected chapter JSON object to API, instead of just posting the
IDs
2020-02-26 17:45:37 +00:00
Alex Ling
c33884ea29 Add mangadex download enpoint to API 2020-02-26 17:42:40 +00:00
Alex Ling
2dd980b92c Add mangadex/downloader.cr (implements MangaDex::Job and
MangaDex::Queue)
2020-02-26 17:41:50 +00:00
Alex Ling
89e747d3ee Get Chapter object directly from chapter ID 2020-02-26 17:31:53 +00:00
Alex Ling
468f109776 Add Manga object as a property of MangaDex::Chapter 2020-02-26 17:31:04 +00:00
Alex Ling
905d02e911 Add queue db path to config.cr 2020-02-26 17:29:34 +00:00
Alex Ling
bb00c2e77f Close zip file after listing entries to prevent leaking 2020-02-26 17:24:16 +00:00
Alex Ling
bc75f4d336 Add unit test 2020-02-25 19:00:10 +00:00
Alex Ling
98baf63b0c
Add gitter to README 2020-02-24 22:19:31 -05:00
Alex Ling
46b36860d1 Add static build target to Makefile 2020-02-25 02:32:32 +00:00
Alex Ling
9f6261e02d Make the selection and download buttons on the download page functional 2020-02-25 02:29:00 +00:00
Alex Ling
d782995bac - Filter MangaDex chapters with volume and chapter range
- Select from table rows using jQuery selectable
2020-02-25 01:52:04 +00:00
Alex Ling
b264f7dd76 Remove console in minified JS files 2020-02-24 15:45:05 +00:00
Alex Ling
59622930c7 Fix the problem that minified assets in dist/ are not used. 2020-02-24 15:41:18 +00:00
Alex Ling
e90b97ca43 Display timestamp as time from now using moments.js 2020-02-24 03:14:05 +00:00
Alex Ling
b58d2e3620 Show chapter count 2020-02-24 03:13:47 +00:00
Alex Ling
a507e3be7a Filter in MangaDex search results 2020-02-24 02:56:50 +00:00
Alex Ling
bf0f5270f0 Merge branch 'v0.1.1' v0.1.1 2020-02-23 21:16:23 +00:00
Alex Ling
ac620e1f2a Update docker-compose example 2020-02-23 21:09:50 +00:00
Alex Ling
a7519a791e Fix the problem that minified assets in dist/ are not used. 2020-02-23 19:18:30 +00:00
Alex Ling
7a21f4dc9b Sort titles in library by name by default 2020-02-23 18:36:10 +00:00
Alex Ling
650ebc7f9d Fix #6 2020-02-23 18:35:27 +00:00
Alex Ling
5b34c05243 Use Babel, so I can write modern JS and save my sanity 2020-02-23 18:26:57 +00:00
Alex Ling
803fc8c44b Split routes in server.cr into small files 2020-02-23 18:24:32 +00:00
Alex Ling
67d3d2bd55 Sorting in library and title page 2020-02-22 18:16:04 +00:00
Alex Ling
5ec35f3af6 Sort titles in library by name by default 2020-02-22 18:15:40 +00:00
Alex Ling
dd49f75079
Update README.md 2020-02-21 21:22:55 -05:00
Alex Ling
6be9c3eac6
Update README.md 2020-02-21 21:21:34 -05:00
Alex Ling
0fa95959a7 Basic search functionality 2020-02-22 02:14:01 +00:00
Alex Ling
83597e7f84 Fix typo 2020-02-22 02:13:35 +00:00
Alex Ling
c893135ec6 Use Babel, so I can write mordern JS and save my sanity 2020-02-22 02:12:01 +00:00
Alex Ling
5a2f80b5e1 Add issue templates 2020-02-21 16:42:12 -05:00
Alex Ling
5b4d79220c
Provide pre-built binary (amd64) in README 2020-02-21 14:08:55 -05:00
Alex Ling
a3356344fa Add API for fetching manga info from ID 2020-02-21 02:00:01 +00:00