694 Commits

Author SHA1 Message Date
Alex Ling
2fe6506b2e - add basic CLI 2020-02-17 02:52:21 +00:00
Alex Ling
b4fcbf15ca - remove server info from admin view 2020-02-17 02:51:58 +00:00
Alex Ling
8bf19a4592 - ignore mango executable 2020-02-17 02:20:02 +00:00
Alex Ling
7c059342b5 - allow building without uglifying with make build 2020-02-17 02:15:44 +00:00
Alex Ling
69f4795f06 - minify js and css 2020-02-17 01:50:44 +00:00
Alex Ling
2cbb719855 - cbz support 2020-02-17 01:12:40 +00:00
Alex Ling
ec09a1b381 - 2020-02-17 00:43:10 +00:00
Alex Ling
8119f718db - better logging 2020-02-17 00:33:43 +00:00
Alex Ling
e5e2540b7c - define Image as struct 2020-02-16 23:44:58 +00:00
Alex Ling
7168c6bfb2 - use logger 2020-02-16 21:24:19 +00:00
Alex Ling
bb936b1fa6 - group config/library/storage into context 2020-02-16 18:25:28 +00:00
Alex Ling
d9129ad58f - periodic scan 2020-02-16 17:20:12 +00:00
Alex Ling
26bb49fab5 - remove all embeded css 2020-02-16 16:53:36 +00:00
Alex Ling
713694fd85 - formating 2020-02-16 16:53:20 +00:00
Alex Ling
7c66b05872 - move the initialization of config/library/storage to mango.cr
- remove duplicate initialization of server in server.cr
2020-02-16 04:14:38 +00:00
Alex Ling
e7583ce788 - create scan method to prepare for periodic scanning 2020-02-16 04:01:30 +00:00
Alex Ling
93e6d7cae6 - option to resume/start from beginning at the title view
- option to toggle read/unread status at the title view
- move all embeded JS to public/
2020-02-16 03:19:29 +00:00
Alex Ling
08a1052ca4 - when listing covers on mobile, list two in a row 2020-02-16 01:09:15 +00:00
Alex Ling
5a7a54d17e - next entry/exit reader after finishing an entry 2020-02-16 01:00:52 +00:00
Alex Ling
1850573961 - use request_path_startswith instead of the exclude macro in
AuthHandler
2020-02-16 00:12:03 +00:00
Alex Ling
e413542c42 - formating in storage.cr 2020-02-16 00:05:32 +00:00
Alex Ling
8490cad191 - return the existing token when login 2020-02-15 23:48:56 +00:00
Alex Ling
7cf401e645 - formaring in server.cr 2020-02-15 23:35:05 +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
Alex Ling
20a2146675 - show 403 message 2020-02-15 18:35:23 +00:00
Alex Ling
4f73f48731 - set kemal to production mode if using --release 2020-02-15 18:34:26 +00:00
Alex Ling
b176da4c29 - use encodeURI in $.load so the title/entry name can contain space 2020-02-15 16:58:43 +00:00
Alex Ling
87255e8996 - make the page parameter in reader the actual page number instead of
index
2020-02-15 16:50:38 +00:00
Alex Ling
d36aed3595 - finish the reader
- implement the infinite scroll using scrollmagic
2020-02-15 16:19:14 +00:00
Alex Ling
a0710e274b - remove unnecessary nil handling in the get_username macro 2020-02-14 17:04:50 +00:00
Alex Ling
c7bde94495 - make the page parameter in the reader view the same as the page number in books 2020-02-14 16:57:48 +00:00
Alex Ling
9114c0b488 - do not show entries containing no pages 2020-02-14 16:29:38 +00:00
Alex Ling
7511e333fc - add missing space in the confirmation on creating default config 2020-02-14 16:25:09 +00:00
Alex Ling
129f5da1db - add Makefile 2020-02-14 03:36:00 +00:00
Alex Ling
5534b9bcdf - save/load reading progress 2020-02-14 03:22:12 +00:00
Alex Ling
042df2bf1f - 2020-02-14 00:57:39 +00:00
Alex Ling
83f6fc25f0 - basic admin panel and user management 2020-02-13 04:36:59 +00:00
Alex Ling
f126dfb430 - implement reader 2020-02-12 20:17:45 +00:00
Alex Ling
0b2ec2d002 - restirct card height and hide overflow 2020-02-12 17:56:37 +00:00
Alex Ling
9eedac280e - / and /book/:title 2020-02-12 17:52:33 +00:00
Alex Ling
cc031c9aef - implement login and load images from zip 2020-02-12 03:47:10 +00:00
Alex Ling
a3203dccba - clean 2020-02-11 23:48:18 +00:00
Alex Ling
3c2b054ec8 - initial commit 2020-02-11 22:06:17 +00:00