Commit Graph

14 Commits

Author SHA1 Message Date
Alex Ling 8262a163db Finish the API endpoint for cover upload 2020-04-14 06:09:23 +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