Leeingnyo
565a535d22
Remove caching verbosely, add cached_cover_url
2021-09-06 02:32:13 +09:00
Leeingnyo
de410f42b8
Replace InfoCache to LRUCache
2021-09-05 02:08:11 +09:00
Leeingnyo
4a09aee177
Implement library caching TitleInfo
...
* Cache sum of entry progress
* Cache cover_url
* Cache display_name
* Cache sort_opt
2021-08-30 11:31:45 +09:00
Leeingnyo
00c9cc1fcd
Prevent saving a sort opt unnecessarily
2021-08-30 11:31:45 +09:00
Alex Ling
1973564272
Revert "Subscription manager"
...
This reverts commit a612500b0f .
2021-08-18 12:09:59 +00:00
Alex Ling
a612500b0f
Subscription manager
2021-03-14 16:01:29 +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
4da263c594
Rewrite auth_handler
...
Make sure the OPDS pages are accessible without login when login is
disabled
2021-01-30 10:54:03 +00:00
Alex Ling
d67a24809b
Allow proxy authentication ( #141 )
2021-01-30 07:43:02 +00:00
Alex Ling
07965b98b7
Force File::Info#inode to return UInt64
2021-01-27 03:42:51 +00:00
Alex Ling
5779d225f6
Merge branch 'dev' of https://github.com/hkalexling/Mango into dev
2021-01-27 03:23:08 +00:00
Alex Ling
bf18a14016
Use inode number
2021-01-27 03:19:58 +00: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
e4587d36bc
Fix linter
2021-01-17 08:25:01 +00:00
Alex Ling
3071d44e32
Fix admin API bypassing
2021-01-17 08:10:43 +00:00
Alex Ling
af0913df64
Dynamic HTML title
2020-12-31 14:08:14 +00:00
Alex Ling
af2fd2a66a
Remove the Context and Router classes
2020-12-30 15:58:51 +00:00
Alex Ling
1eace2c64c
Add the /tags/:tag page
2020-12-30 11:13:43 +00:00
Alex Ling
ce88acb9e5
Simplify the request_path_startswith helper method
2020-12-30 11:13:43 +00:00
Alex Ling
bd34b803f1
Tokens take precedence over default user setting
2020-12-30 11:13:43 +00:00
Alex Ling
85ad38c321
Allow disable login
2020-12-28 16:13:51 +00:00
Alex Ling
7a7cb78f82
Check bool environment variables are "1" or "true"
2020-12-26 07:11:10 +00:00
Alex Ling
df4deb1415
Allow proxy with authentication
2020-12-22 02:32:07 +00:00
Alex Ling
aa5e999ed4
Allow users to disable SSL verification
2020-12-21 06:04:26 +00:00
Alex Ling
853f422964
Configurable read timeout ( #108 )
2020-10-15 11:51:04 +00:00
Alex Ling
a68f3eea95
Allow hyphens in username ( #99 )
2020-09-12 05:29:25 +00:00
Alex Ling
5027a911cd
Respect the *_PROXY environment variables ( #94 )
2020-08-06 17:01:53 +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
94a1e63963
Handle library/title sorting on backend ( #86 )
2020-07-15 10:34:53 +00:00
Alex Ling
360913ee78
Add chapter sort
2020-07-12 08:59:40 +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