Commit Graph

27 Commits

Author SHA1 Message Date
Alex Ling
373ff6520a Merge branch 'feature/opds' into dev 2020-06-05 14:28:36 +00:00
Alex Ling
871a5fe755 Add render_xml helper function 2020-06-05 14:21:47 +00:00
Alex Ling
e214e00dfb Include port number in token 2020-06-01 13:50:51 +00:00
Alex Ling
60100c51fe Add send_attachment function for direct download 2020-06-01 13:21:10 +00:00
Alex Ling
96b8186add Merge branch 'feature/admin-cli' into dev 2020-06-01 04:33:27 +00:00
Alex Ling
bcb95d1462 Make validate_archive more thorough 2020-05-31 15:14:17 +00:00
Alex Ling
b724b4d508 Move username/password validation to Storage class 2020-05-31 14:26:20 +00:00
Alex Ling
6b43ee7fe5 Add RAR/CBR support 2020-05-29 13:45:25 +00:00
Alex Ling
8fe2f3b4cc Use base url in views 2020-05-23 14:16:56 +00:00
Alex Ling
60d4cee0a9 Respect base url setting when redirecting 2020-05-23 10:42:59 +00:00
Alex Ling
b449d906ec Merge branch 'cover' into dev 2020-04-19 14:39:19 +00:00
Alex Ling
079dd8e280 Fix layout macro message displaying bug 2020-04-14 06:08:10 +00:00
Alex Ling
8262a163db Finish the API endpoint for cover upload 2020-04-14 06:09:23 +00:00
Alex Ling
39f4897fc5 Set status as "Error" if downloaded zip is invalid
(#29)
2020-04-08 10:31:30 +00:00
Alex Ling
fcf9d39047 Project-wise refactoring to follow Ameba 2020-04-08 06:45:45 +00:00
Alex Ling
8b184ed48d Project-wise code formatting 2020-04-08 05:25:12 +00:00
Alex Ling
1d4237d687 Pass in admin information when rendering all pages 2020-04-07 12:57:50 +00:00
Alex Ling
d58c83fbd8 Use BigInt when sorting filenames (#22) 2020-03-27 04:45:03 +00:00
Alex Ling
01216d806c Add a helper function to combine the two steps of filenames sorting
(splitting and comparing)
2020-03-12 23:52:49 +00:00
Alex Ling
c4ffb5cd59 Handle the case when two split arrays have different size in
`compare_alphanumerically`
2020-03-12 23:51:09 +00:00
Alex Ling
50ce0e2b54 Fix typo 2020-03-12 23:49:40 +00:00
Alex Ling
8b8967de26 Simplify the split_by_alphanumeric function 2020-03-12 23:49:02 +00:00
Leeingnyo
d120433525 Sort page alphanumerically
See https://ux.stackexchange.com/questions/95431/how-should-sorting-work-when-numeric-is-mixed-with-alpha-numeric
2020-03-13 02:27:59 +09:00
Alex Ling
bb936b1fa6 - group config/library/storage into context 2020-02-16 18:25:28 +00:00
Alex Ling
713694fd85 - formating 2020-02-16 16:53:20 +00:00
Alex Ling
21fcde944d - when building for release, embed the static files in binary 2020-02-15 23:29:11 +00:00
Alex Ling
0c177c3d31 - move all routes to server.cr 2020-02-15 19:27:12 +00:00