Commit Graph

19 Commits

Author SHA1 Message Date
Alex Ling
4a245d2504 Check supplied base url has leading slash and append tailing slash if needed 2020-05-23 14:30:41 +00:00
Alex Ling
8658cb8306 Add base url to config 2020-05-23 10:42:39 +00:00
Alex Ling
1bec9f0108 Use singleton in various classes 2020-05-07 10:12:58 +00:00
Alex Ling
b7cd55e692 Add rename rules to config 2020-05-07 10:11:45 +00:00
Alex Ling
8262a163db Finish the API endpoint for cover upload 2020-04-14 06:09:23 +00:00
Alex Ling
8b184ed48d Project-wise code formatting 2020-04-08 05:25:12 +00:00
Alex Ling
d1c0e52f90 Fix crash after generating default config 2020-03-13 17:46:28 +00:00
Alex Ling
173ff2d2e6 Ignore key mangadex_default in config YAML and remove unnecessary
calls to `YAML::Field`
2020-03-13 17:45:29 +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
905d02e911 Add queue db path to config.cr 2020-02-26 17:29:34 +00:00
Alex Ling
f9a4698fca Add mangadex to config 2020-02-21 01:58:45 +00:00
Alex Ling
2fe6506b2e - add basic CLI 2020-02-17 02:52:21 +00:00
Alex Ling
7168c6bfb2 - use logger 2020-02-16 21:24:19 +00:00
Alex Ling
d9129ad58f - periodic scan 2020-02-16 17:20:12 +00:00
Alex Ling
713694fd85 - formating 2020-02-16 16:53:20 +00:00
Alex Ling
7c66b05872 - move the initialization of config/library/storage to mango.cr
- remove duplicate initialization of server in server.cr
2020-02-16 04:14:38 +00:00
Alex Ling
7511e333fc - add missing space in the confirmation on creating default config 2020-02-14 16:25:09 +00:00
Alex Ling
042df2bf1f - 2020-02-14 00:57:39 +00:00
Alex Ling
3c2b054ec8 - initial commit 2020-02-11 22:06:17 +00:00