206 Commits

Author SHA1 Message Date
Alex Ling
1a0c3d81ce Add Patreon 2020-03-21 05:18:53 +00:00
Alex Ling
33c61fd8c1
Add build badge 2020-03-19 16:04:06 -04:00
Alex Ling
6eba3fe351 Create build.yml 2020-03-19 19:58:59 +00:00
Alex Ling
da2708abe5 Put mango binary in / instead of /root/Mango/ v0.2.2 2020-03-19 18:17:26 +00:00
Alex Ling
febf344d33 Remove unnecessary libraries 2020-03-19 18:16:48 +00:00
Alex Ling
ae15398b6c Name the builder stage 2020-03-19 18:14:02 +00:00
Alex Ling
b28f6046dd
Merge pull request #17 from WROIATE/master
Update Dockerfile to reduce the image size
2020-03-19 12:29:19 -04:00
Jarao
91b823450c
Update Dockerfile 2020-03-19 13:00:11 +08:00
Alex Ling
085fba611c
Update README.md 2020-03-17 11:59:32 -04:00
Alex Ling
f8d633c751
Add example library structure to README 2020-03-17 11:45:46 -04:00
Alex Ling
f5e6f42fc2
Update README.md v0.2.1 2020-03-15 13:16:19 -04:00
Alex Ling
3ca6d3d338 Bump version (0.2.0 -> 0.2.1) 2020-03-15 17:09:27 +00:00
Alex Ling
750a28eccb Break words in modal title and path to handle long text 2020-03-15 02:58:27 +00:00
Alex Ling
88b16445e2 Show entry title instead of book title in modal 2020-03-15 02:55:35 +00:00
Alex Ling
7774efa471 When a title has no entry as immediate child, always return 0 as the reading progress 2020-03-15 02:30:18 +00:00
Alex Ling
4aeda53806 Sort title_ids and entries alphanumerically 2020-03-15 02:29:45 +00:00
Alex Ling
5d62a87720 Fix inaccurate sorting when sorting by progress 2020-03-15 02:28:21 +00:00
Alex Ling
e902e1dff0 Merge branch 'nested' into v0.2.1 2020-03-15 02:15:55 +00:00
Alex Ling
9fe32b5011 When a title contains no entry as immediate child, display mango logo and remove progress badge 2020-03-15 02:10:22 +00:00
Alex Ling
e65d701e0a Show sum of entries and titles count when displaying the number of entries 2020-03-15 02:08:20 +00:00
Alex Ling
5a500364fc Show a list of parent directories on the title page 2020-03-15 01:45:10 +00:00
Alex Ling
3e42266955 List the parent title objects in Title.to_json 2020-03-15 01:31:14 +00:00
Alex Ling
6407cea7bf Refactor src/library.cr to reduce memory usage
- Store the `Title` objects in `Library@title_hash`
- The `Title` objects only stores IDs to other titles
2020-03-15 01:05:37 +00:00
Alex Ling
7e22cc5f57 Fix bug in API /api/book/:tid that causes 500 2020-03-15 01:03:49 +00:00
Alex Ling
e68678f2fb Remove unnecessary JSON::Field calls 2020-03-14 23:59:46 +00:00
Alex Ling
82fb45b242 Use json builder in src/library.cr instead of json mapping 2020-03-14 23:58:49 +00:00
Alex Ling
46dfc2f712 Set login cookie expiration date 2020-03-14 22:53:52 +00:00
Alex Ling
79aa816ca8 Merge branch 'v0.2.0' of https://github.com/hkalexling/Mango into v0.2.0 v0.2.0 2020-03-13 18:16:14 +00:00
Alex Ling
e35cf2ce0c
Update README.md 2020-03-13 14:00:22 -04:00
Alex Ling
47ba0e39af
Add dark mode screenshot 2020-03-13 13:59:25 -04:00
Alex Ling
aedb13ac92
Update README.md 2020-03-13 13:53:54 -04:00
Alex Ling
d1c0e52f90 Fix crash after generating default config 2020-03-13 17:46:28 +00:00
Alex Ling
173ff2d2e6 Ignore key mangadex_default in config YAML and remove unnecessary
calls to `YAML::Field`
2020-03-13 17:45:29 +00:00
Alex Ling
ae281e2e21 Bump version number (0.1.2 -> 0.2.0) 2020-03-13 17:03:20 +00:00
Alex Ling
2c10623731 Formatting 2020-03-13 17:03:06 +00:00
Alex Ling
31da5acdc5 Preserve line-breaks in download error messages 2020-03-13 17:00:52 +00:00
Alex Ling
77237a274a Color the close button in alert black so it won't disappear in dark
mode
2020-03-13 01:38:16 +00:00
Alex Ling
318501bc9b Show reading progress in reader 2020-03-13 01:05:16 +00:00
Alex Ling
dc5284968d Use helper function compare_alphanumerically(String, String) to make
the function call shorter
2020-03-12 23:53:51 +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
Alex Ling
335fb45de6 Add spec for util.cr 2020-03-12 23:47:14 +00:00
Alex Ling
8c7ced87f1 Add nested library support (WIP) 2020-03-12 20:37:03 +00:00
Alex Ling
00d2540b95
Merge pull request #14 from Leeingnyo/change-page-sort
Sort page names alphanumerically
2020-03-12 13:37:59 -04: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
9536ce62e6 Add the "auto" sorting option (#9) 2020-03-12 03:10:56 +00:00
Alex Ling
4ba81b9ffe Sort download jobs listed on the download manager by time 2020-03-11 19:28:04 +00:00
Alex Ling
c355c67415 Download older chapters (as shown on MangaDex) first 2020-03-11 19:26:23 +00:00