1052 Commits

Author SHA1 Message Date
Alex Ling
b6a1ad889e
Merge pull request #314 from crainte/feature/default-env-vars
Allow config defaults to be sourced from ENV
2022-07-03 15:39:47 +08:00
Alex Ling
f2d6d28a72 Define properties with macro 2022-07-03 07:24:33 +00:00
Alex Ling
49425ff714 Merge branch 'feature/default-env-vars' of https://github.com/crainte/Mango into feature/default-env-vars 2022-07-03 06:31:06 +00:00
Chris Alexander
f3eb62a271
Disable line length warnings 2022-06-27 09:30:04 -05:00
Chris Alexander
2e91028ead
Allow config defaults to be sourced from ENV
This allows the default config to source values from ENV variables if
they are set. With this change we don't have to modify the docker CMD or
edit the config.yml and then relaunch.
2022-06-27 09:30:04 -05:00
Alex Ling
3b5e764d36
Merge pull request #312 from tr7zw/jxl-support
Add Jxl support
2022-06-18 19:43:30 +08:00
Alex Ling
32ce26a133
Merge branch 'dev' into jxl-support 2022-06-18 19:26:09 +08:00
Alex Ling
31df058f81 Comment about infinity average ratio 2022-06-18 11:25:20 +00:00
Alex Ling
fe440d82d4 Fix linter issue 2022-06-18 11:10:14 +00:00
Alex Ling
44636e051e
Merge pull request #310 from torta/feature/greedy-continue-reading
Feature/greedy continue reading
2022-06-18 18:38:20 +08:00
Alex Ling
a639392ca0 Update comment 2022-06-18 10:22:25 +00:00
Chris Alexander
be46dd1f86
Allow config defaults to be sourced from ENV
This allows the default config to source values from ENV variables if
they are set. With this change we don't have to modify the docker CMD or
edit the config.yml and then relaunch.
2022-06-15 12:03:40 -05:00
tr7zw
ae583cf2a9 Workaround for "0 width/height" api responses
This needs a more proper fix probably.
2022-06-07 16:09:02 +02:00
tr7zw
ea35faee91 Add jxl support 2022-06-07 00:28:41 +02: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
Alex Ling
2d97faa7c0
Merge pull request #305 from Leeingnyo/feature/unzipped-entry
Support unzipped entry
2022-06-05 16:23:57 +08:00
Leeingnyo
9ce8e918f0 Replace to is_valid? 2022-06-04 00:26:46 +09: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
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