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
fe440d82d4
Fix linter issue
2022-06-18 11:10:14 +00:00
tr7zw
ea35faee91
Add jxl support
2022-06-07 00:28:41 +02:00
Leeingnyo
3a60286c3a
Run 'crystal tool format'
2022-05-15 17:02:29 +09:00
Leeingnyo
10587f48cb
Implement is_supported_image_file
2022-05-15 16:12:31 +09:00
Alex Ling
77df418390
Compare with DB when loading library cache ( fixes #256 )
2022-01-24 14:18:52 +00:00
Leeingnyo
ecaec307d6
Fix title sort bug, invalidate titles of the Library
...
Refactor remove cache
2021-12-26 05:15:21 +09:00
Leeingnyo
b711072492
Fix lint
2021-12-26 04:10:03 +09:00
Leeingnyo
1cd777d27d
Cache sorted titles
2021-12-26 02:56:57 +09:00
Leeingnyo
1ec8dcbfda
Use sort_title, sort_titles in title page
2021-12-26 02:55:52 +09:00
Leeingnyo
57683d1cfb
Add sort option "Name" for title
2021-12-24 16:44:07 +09:00
Alex Ling
3d295e961e
Merge branch 'dev' into fix/sanitize-download-filename
2021-09-09 00:31:24 +00:00
Alex Ling
566cebfcdd
Remove all leading dots and spaces
2021-09-09 00:13:58 +00:00
Alex Ling
ccf558eaa7
Improve filename sanitization rules
2021-09-08 10:03:05 +00:00
Alex Ling
371796cce9
Support additional image formats:
...
- APNG
- AVIF
- GIF
- SVG
2021-09-07 11:04:05 +00:00
Alex Ling
d9adb49c27
Revert "Support all image types ( resolves #192 )"
...
This reverts commit f67e4e6cb9 .
2021-09-07 10:45:59 +00:00
Alex Ling
f67e4e6cb9
Support all image types ( resolves #192 )
2021-09-06 13:32:10 +00:00
Alex Ling
ee52c52f46
Fix new linter errors
2021-03-12 15:03:12 +00:00
Alex Ling
154d85e197
Use only woff and woff2
2021-02-11 08:40:24 +00:00
Alex Ling
933617503e
Optimize the static files
...
- Use webfont version of FontAwesome
- Use CDN for UIKit JS files
2021-02-10 16:24:34 +00:00
Leeingnyo
d81334026b
add MIME type of ico file
...
The server returns 500 error when requested '/favion.ico'
The handler worked fine, but send_file has failed with
- Missing MIME type for extension ".ico"
so I register mime type for .ico file
2021-02-06 16:58:49 +09:00
Alex Ling
def64d9f98
Rename interesting files to supported files
2021-01-26 10:55:50 +00:00
Leeingnyo
2b0cf41336
add and apply util method is_interesting_file
2021-01-26 04:17:32 +09:00
Alex Ling
667d390be4
Signature matching
2021-01-19 08:43:45 +00:00
Alex Ling
1eace2c64c
Add the /tags/:tag page
2020-12-30 11:13:43 +00:00
Alex Ling
7a7cb78f82
Check bool environment variables are "1" or "true"
2020-12-26 07:11:10 +00:00
Alex Ling
1719335d02
Add "Start Reading" section to home page ( #92 )
2020-08-01 15:17:18 +00:00
Alex Ling
df8a6ee6da
Finish plugin functionalities
2020-07-23 17:15:40 +00:00
Alex Ling
87b6e79952
Use macro to DRY the self.default method
2020-07-21 12:33:50 +00:00
Alex Ling
69b06a8352
Use auto sort to break ties when sorting
2020-07-15 15:13:38 +00:00
Alex Ling
ea366f263a
Move require "big" to relevant util file
2020-07-12 08:53:46 +00:00
Alex Ling
0d11cb59e9
Break util.cr into multiple files
2020-07-12 08:53:04 +00:00