944 Commits

Author SHA1 Message Date
Alex Ling
ab29a9eb80 Fix down SQL for removing columns 2021-12-31 14:33:49 +00:00
Leeingnyo
e7538bb7f2 Use val(), Remove callbacks after modal hidden 2021-12-26 05:56:45 +09:00
Leeingnyo
ecaec307d6 Fix title sort bug, invalidate titles of the Library
Refactor remove cache
2021-12-26 05:15:21 +09:00
Leeingnyo
b711072492 Fix lint 2021-12-26 04:10:03 +09:00
Leeingnyo
0f94288bab Avoid N+1 queries problem 2021-12-26 03:29:41 +09:00
Leeingnyo
bd2ed1b338 Implement to restore a display name with an empty input
Add a placeholder for the default display name
Remove some console.log() callings
2021-12-26 03:29:23 +09:00
Leeingnyo
1cd777d27d Cache sorted titles 2021-12-26 02:56:57 +09:00
Leeingnyo
1ec8dcbfda Use sort_title, sort_titles in title page 2021-12-26 02:55:52 +09:00
Leeingnyo
8fea35fa51 Use sorted_titles 2021-12-26 00:27:00 +09:00
Leeingnyo
234b29bbdd Fix save 2021-12-25 23:05:12 +09:00
Leeingnyo
edfef80e5c Invalidate sort result cache after change sort_title 2021-12-25 23:05:12 +09:00
Leeingnyo
45ffa3d428 Implement UI to edit sort title 2021-12-25 23:05:12 +09:00
Leeingnyo
162318cf4a Add Api call 2021-12-25 23:05:12 +09:00
Leeingnyo
d4b58e91d1 Implement sort title api 2021-12-25 22:43:35 +09:00
Leeingnyo
546bd0138c Use sort_title instead of title 2021-12-25 22:43:35 +09:00
Leeingnyo
ab799af866 Implement sort_title getter, setter 2021-12-25 22:43:35 +09:00
Leeingnyo
3a932d7b0a Add column 'sort_title' to titles, ids table 2021-12-25 21:49:30 +09:00
Leeingnyo
57683d1cfb Add sort option "Name" for title 2021-12-24 16:44:07 +09:00
Alex Ling
d7afd0969a
Merge pull request #258 from Leeingnyo/fix/fix-bug-on-scan
Fix bug on scanning
2021-12-22 20:33:12 +08:00
Alex Ling
4eda55552b Linter fix 2021-12-22 12:16:44 +00:00
Leeingnyo
f9254c49a1 Fix lint error 2021-12-19 17:14:47 +09:00
Leeingnyo
6d834e9164 Fix formatting 2021-12-19 17:03:39 +09:00
Leeingnyo
70259d8e50 Do same with an entry 2021-12-19 17:03:10 +09:00
Leeingnyo
0fa2bfa744 Fix bug on examine 2021-12-19 16:40:38 +09:00
Leeingnyo
cc33fa6595 Fix bug: remove titles not in root library anymore 2021-12-19 16:31:43 +09:00
Alex Ling
921628ba6d Limit max length in download table (fixes #244) 2021-11-17 13:10:44 +00:00
Alex Ling
1199eb7a03 Use mobile menu at @m (fixes #246) 2021-11-16 13:37:19 +00:00
Alex Ling
f075511847
Merge pull request #245 from hkalexling/feature/login-api
Add endpoint `/api/login`
2021-10-11 13:20:34 +08:00
Alex Ling
80344c3bf0 Add endpoint /api/login 2021-10-08 10:07:40 +00:00
Alex Ling
8a732804ae
Merge pull request #232 from hkalexling/rc/0.24.0
v0.24.0
v0.24.0
2021-09-25 13:39:48 +08:00
Alex Ling
9df372f784 Merge branch 'dev' into rc/0.24.0 2021-09-23 07:52:58 +00:00
Alex Ling
cf7431b8b6
Merge pull request #236 from hkalexling/fix/shallow-api-fix
Use `depth` instead of `shallow` in API
2021-09-23 15:52:14 +08:00
Alex Ling
974b6cfe9b Use depth instead of shallow in API 2021-09-22 09:17:14 +00:00
Alex Ling
4fbe5b471c Update README 2021-09-20 01:36:31 +00:00
Alex Ling
33e7e31fbc Bump version to 0.24.0 2021-09-20 01:11:26 +00:00
Alex Ling
72fae7f5ed Fix typo cbz -> gz 2021-09-18 12:41:25 +00:00
Alex Ling
f50a7e3b3e Merge branch 'dev' into rc/0.24.0 2021-09-18 12:40:56 +00:00
Alex Ling
66c4037f2b
Merge pull request #233 from Leeingnyo/feature/avoid-unnecessary-sort
Avoid a unnecessary sorting
2021-09-18 20:40:25 +08:00
Leeingnyo
2c022a07e7 Avoid unnecessary sorts when getting deep percentage
This make page loading fast
2021-09-18 18:49:29 +09:00
Alex Ling
91362dfc7d Merge branch 'master' into rc/0.24.0 2021-09-18 09:20:59 +00:00
Alex Ling
97168b65d8 Make library cache path configurable 2021-09-18 08:40:08 +00:00
Alex Ling
6e04e249e7
Merge pull request #229 from Leeingnyo/feature/preserve-scanned-titles
Reuse scanned titles on boot and scanning
2021-09-18 16:14:31 +08:00
Alex Ling
16397050dd Update comments 2021-09-18 02:24:50 +00:00
Alex Ling
3f73591dd4 Update comments 2021-09-18 02:14:22 +00:00
Alex Ling
ec25109fa5 Merge branch 'feature/preserve-scanned-titles' of https://github.com/Leeingnyo/Mango into feature/preserve-scanned-titles 2021-09-18 02:04:02 +00:00
Alex Ling
96f1ef3dde Improve comments on examine 2021-09-18 02:00:10 +00:00
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
Alex Ling
44a6f822cd Simplify Title.new 2021-09-15 09:00:30 +00:00