Leeingnyo
b56e16e1e1
Remove counter, yield everytime
2021-09-18 10:59:43 +09:00
Leeingnyo
9769e760a0
Pass a counter to recursive calls, Ignore negative threshold
2021-09-16 07:49:12 +09:00
Leeingnyo
70ab198a33
Add config 'forcely_yield_count'
...
the default value 1000 would make a fiber yield on each 4ms on SSD
Apply yield counter in Dir.contents_signauture
Use contents_signature cache in Title.new
2021-09-16 00:16:26 +09:00
Leeingnyo
670cf54957
Apply yield forcely
2021-09-14 22:51:37 +09:00
Leeingnyo
523195d649
Define ExamineContext, apply it when scanning
2021-09-14 22:37:30 +09:00
Leeingnyo
be47f309b0
Use cache when calculating contents_signature
2021-09-14 18:11:08 +09:00
Leeingnyo
7734dae138
Remove unnecessary sort
2021-09-12 14:36:17 +09:00
Leeingnyo
9309f51df6
Memoization on dir contents_signature
2021-09-12 02:19:49 +09:00
Leeingnyo
4e8b561f70
Apply contents signature of directories
2021-09-12 02:19:49 +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 f67e4e6cb9994fd86cafe8b9d8c0541be3b894cb.
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
79ef7bcd1c
Remove unused variable
2021-09-06 03:01:21 +00:00
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 a612500b0fabf7259a5ee0c841b0157d191e5bdd.
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