Commit graph

208 commits

Author SHA1 Message Date
Amos Ng 28418c6315
Update Web-UI version number in Constants.kt 2020-06-19 09:05:08 +08:00
M b2b47ac7e1 Fix WebUI reliability score issue (for real) 2020-06-18 20:01:28 -05:00
M 0dbb793cd2 Fix WebUI reliability score issue 2020-06-18 19:35:01 -05:00
M eb2a777220 Fix WebUI reliability score issue 2020-06-18 19:34:38 -05:00
RedMatriz 660af4c512 WebUI 2020-06-19 00:12:15 +00:00
Amos Ng f565ad2161
Bumped version & CHANGELOG.md for RC19 2020-06-19 03:28:37 +08:00
Amos Ng 094347f1c6
Fixed conversion mistake 2020-06-18 07:02:22 +08:00
carbotaniuman 46e5cf23f8 Add null check for safety 2020-06-17 18:01:38 -05:00
Amos Ng 52b5458961
Revamp configuration & units 2020-06-18 06:53:46 +08:00
carbotaniuman 74eec1fa53 Merge branch 'webui' into 'master'
Webui

See merge request mangadex/mangadex_at_home!30
2020-06-17 22:46:29 +00:00
RedMatriz 1c3fa630da Webui 2020-06-17 22:46:29 +00:00
carbotaniuman c50c523edb Add graceful shutdown 2020-06-17 17:41:04 -05:00
Amos Ng 964c4afb4b
Fixed minor typo with threads error logging 2020-06-17 09:14:05 +08:00
Amos Ng f43e2a2055
Bumped version number for RC18 2020-06-17 07:11:10 +08:00
carbotaniuman 137414fa77 Update readme 2020-06-16 18:00:28 -05:00
carbotaniuman 1af4455be6 Add try catches 2020-06-16 12:56:33 -05:00
Amos Ng 8b655575e1
Applied spotlessJava 2020-06-16 18:53:01 +08:00
Fugi d27cd91947
Also set Access-Control-Expose-Headers 2020-06-15 22:59:35 -07:00
Fugi 3c7f796c9e
Add Access-Control-Allow-Origin 2020-06-15 22:10:36 -07:00
carbotaniuman 286f2b3bbc Keep alive handler 2020-06-15 22:45:59 -05:00
Amos Ng 70575166a3
Changed log level of response timings to INFO 2020-06-16 09:55:53 +08:00
Amos Ng 0afa1d2eaa
Properly synchronised sqlite3 handler across threads 2020-06-16 08:04:22 +08:00
Amos Ng fa4f89b706
Bumped CLIENT_BUILD in preparation for RC17 2020-06-16 06:31:54 +08:00
carbotaniuman 7eec78e2d2 Use a sqlite DB for metadata 2020-06-15 22:25:31 +00:00
Amos Ng afe83a240b
Fixed tokenized data-saver parser not working 2020-06-16 05:53:57 +08:00
Amos Ng bd0eaa4234
Added logging of url and compromised parameters from /ping 2020-06-16 02:57:18 +08:00
carbotaniuman c74250f045 Increment build version 2020-06-14 21:26:11 -05:00
carbotaniuman 5d360ed244 Add null check 2020-06-14 21:24:57 -05:00
carbotaniuman c1710d1ef8 Fix bug in ping 2020-06-14 21:20:42 -05:00
carbotaniuman a8126b9026 Merge branch 'add-response-timings' into 'master'
Added response timings to trace logs and response headers

See merge request mangadex/mangadex_at_home!24
2020-06-14 23:48:24 +00:00
Amos Ng aa60500fb0 Allow client configuration of hosts binding 2020-06-14 23:47:57 +00:00
Amos Ng f4fa882381
Added response timings to trace logs and response headers 2020-06-14 23:17:08 +08:00
Amos Ng 41d06a2646
Fixed minor linting issue 2020-06-14 19:04:20 +08:00
Amos Ng f5291531bc
Updated CHANGELOG.md for kotlinisers 2020-06-14 07:42:04 +08:00
carbotaniuman 9afa914566 Kotlinify some more things 2020-06-13 18:19:04 -05:00
carbotaniuman 57ba8eb019 Spotless + different log output 2020-06-13 17:46:18 -05:00
M d478135af1 Minor fixes to data updates 2020-06-13 17:38:32 -05:00
carbotaniuman f958b9e7c4 Modularize the image server 2020-06-13 22:36:26 +00:00
carbotaniuman 3260473de0 Further improve sensible defaults 2020-06-13 17:24:15 -05:00
carbotaniuman 7c4ad5543c Remove unused settings and have a better default 2020-06-13 17:20:34 -05:00
M f2bab07bfb Cleaned out unused files and code 2020-06-13 17:15:59 -05:00
M b3aaf4cf58 Merge branch 'master' of https://gitlab.com/mangadex/mangadex_at_home 2020-06-13 17:11:51 -05:00
M 933bb80456 Cleaned out unused files and code 2020-06-13 17:11:13 -05:00
Amos Ng 5eb7b5d811
Bump client version to 5 2020-06-14 05:55:16 +08:00
Amos Ng d640072b4d
Added additional entry to server ping for network speed 2020-06-14 05:39:10 +08:00
carbotaniuman 8d862b2ac2 Fix merge stupidity 2020-06-13 16:14:28 -05:00
carbotaniuman a4a21904ed Fix saving 2020-06-13 16:10:17 -05:00
carbotaniuman 1818175d4a Commit the roughest POC of an UI ever 2020-06-13 16:09:03 -05:00
M 9fe15a8afa charts maybe? 2020-06-13 15:26:04 -05:00
M 1098664814 Merge branch 'webui' of https://gitlab.com/mangadex/mangadex_at_home
 Conflicts:
	build.gradle
	src/main/java/mdnet/base/MangaDexClient.java
	src/main/java/mdnet/base/settings/ClientSettings.java
	src/main/java/mdnet/base/settings/WebSettings.java
	src/main/kotlin/mdnet/base/web/Application.kt
	src/main/resources/webui/dataReceive.js
2020-06-13 12:27:43 -05:00
Amos Ng da88b12500 a 2020-06-13 12:25:48 -05:00
M bb5fae1fb6 Merge branch 'master' of https://gitlab.com/mangadex/mangadex_at_home 2020-06-13 12:12:06 -05:00
carbotaniuman 9f1f30eace Add hourly cache of stats 2020-06-13 11:16:56 -05:00
Amos Ng dc952e31eb
Modified AsyncAppender queue size to 1024 2020-06-13 22:05:19 +08:00
Amos Ng 4fe55fbb17
Allow for the two log levels to be configurable 2020-06-13 21:52:08 +08:00
carbotaniuman 505c917e56 Make Statistics immutable 2020-06-12 22:35:08 -05:00
carbotaniuman f153a11717 Stuff 2020-06-12 14:56:51 -05:00
M 9086e09c60 slight fixes 2020-06-12 13:54:29 -05:00
M 8ccca2ec93 merge 2020-06-12 13:54:29 -05:00
M b56a86495a all the dockables 2020-06-12 13:54:29 -05:00
carbotaniuman 83663a786b Squash a lot of things 2020-06-12 13:54:29 -05:00
M 27a54c7640 slight fixes 2020-06-12 13:52:50 -05:00
M 541890190a merge 2020-06-12 12:58:10 -05:00
Amos Ng dc4ff667fc
Bump version numbers 2020-06-12 23:53:39 +08:00
Amos Ng afbfd29d66
Hotfix to allow for directory creation during migration 2020-06-12 23:53:21 +08:00
M d7bf45af0b all the dockables 2020-06-12 10:17:19 -05:00
carbotaniuman bf486dd276 Squash a lot of things 2020-06-12 10:17:19 -05:00
carbotaniuman c302bf6d67 Improve DiskLruCache 2020-06-12 09:50:49 -05:00
Amos Ng 3a7876d492
Fixed semantics 2020-06-12 22:19:07 +08:00
Amos Ng d611f4a6da
Use atomic operations for cache migration 2020-06-12 22:19:07 +08:00
Amos Ng 4b7c8bb0cb
Rectification attempt at cache migration issues with nio File 2020-06-12 22:19:07 +08:00
Amos Ng 32a2fecfd0
Merge branch 'fix/threads-global' into 'master'
Made Netty thread count global instead of per-cpu

See merge request mangadex/mangadex_at_home!18
2020-06-12 22:19:01 +08:00
Amos Ng 662ceb44e4
Made Netty thread count global instead of per-cpu 2020-06-12 20:09:22 +08:00
Amos Ng ecad0a0d34
Replaced exponential calculation for ApacheClient threads
Turns out Kotlin doesn't do powers easily :/
2020-06-12 18:10:42 +08:00
Amos Ng 3706bdaee8
Raising socket limit again, should be neligible for performance.
We need people getting Gbit/s traffic to see if this works :hmm:
2020-06-12 17:21:12 +08:00
Amos Ng 69151d058f
Re-added missing default threads_per_cpu setting 2020-06-12 17:17:01 +08:00
dskilly 3afc953fcf Update ClientSettings.java changed showing client secret in logs back to hidden 2020-06-12 08:04:22 +00:00
carbotaniuman 8ba1c6dd2f Bump build version 2020-06-11 22:05:40 -05:00
carbotaniuman 07ff969422 Rc12 bonanza - fix hourly refresh bug, bump version number 2020-06-11 22:02:59 -05:00
carbotaniuman ce1fc92322 Clean stuff up 2020-06-11 15:13:58 -05:00
carbotaniuman a70381eea4 Fix nits 2020-06-11 15:13:58 -05:00
Amos Ng 522c96f70f
Added back mdResponse.close()
Accidentally deleted it, whoops!
2020-06-12 04:04:49 +08:00
Amos Ng 40be05e4d4
Made threads-per-cpu configurable for moar speed 2020-06-12 04:04:49 +08:00
Amos Ng ac682e98c3
Made more changes to the numbers used for threading 2020-06-12 04:04:48 +08:00
Amos Ng c87a0c0041
Change ApacheClient to maximum open sockets allowed 2020-06-12 04:04:48 +08:00
Amos Ng a1130d204c
Slight typo. 2020-06-12 04:04:48 +08:00
Amos Ng da47b86d97
Make Netty naive-multithreaded too
Hopefully we can replace this that intelligently scales to a user
setting next time...
2020-06-12 04:04:48 +08:00
Amos Ng 5dbe29c8e9
Shifted closing of pool connections better 2020-06-12 04:04:48 +08:00
Amos Ng 25cfc53674
Added missing connection closer(?) 2020-06-12 04:04:48 +08:00
carbotaniuman b2231721d1 Cache changes + log reduction 2020-06-11 14:57:17 -05:00
Fugi 9b3b6633d3
Handle token in URL, report build version 2020-06-09 18:29:28 -07:00
carbotaniuman 82a2ef2ddc Add more logs, remove HTTP support, remove limiter 2020-06-09 17:37:42 -05:00
carbotaniuman a13a7c671a Wtf 2 2020-06-09 14:35:45 -05:00
carbotaniuman 5d73f2e182 Wtf 2020-06-09 14:29:33 -05:00
carbotaniuman 8a098d81ca Formatting 2020-06-09 14:21:29 -05:00
carbotaniuman 35ea86c6ac Reinstall limiter, add buffering, fix TLS setup 2020-06-09 14:21:18 -05:00
carbotaniuman d1629e9f5c Update logs and stuff 2020-06-09 11:18:18 -05:00
carbotaniuman 4744214e96 Bump threads, sanitize uri, hide some errors, change logs some more 2020-06-09 09:40:36 -05:00
carbotaniuman d5d162fe69 Bump client build 2020-06-08 20:35:11 -05:00
carbotaniuman a6e7f10d6e Fix me not knowing that "" is not a number - also rc7 tiem 2020-06-08 20:34:23 -05:00
carbotaniuman 907e90803d Rc6 release
- proxy data-saver
- optimize thread count
2020-06-08 19:57:50 -05:00
carbotaniuman 98c4956b80 Rc5 release
- hid SSL in logs
- possibly fix a crash bug
2020-06-08 17:10:41 -05:00
carbotaniuman d9fb96c08d Rc4 release
- use openssl to reduce memory footprint
- invalidate everyone's caches again (in order to fix 128 bit SSL on older JREs)
- Add more logging
- Hide secret printouts
- Rebrand
2020-06-08 10:17:21 -05:00
carbotaniuman a92ee85dd7 Copy Last-Modified from upstream 2020-06-07 10:14:14 -05:00
carbotaniuman 902798d868 Add Last-Modified for easy caching 2020-06-07 10:10:58 -05:00
carbotaniuman 4238717460 Cache updates 2020-06-06 22:34:43 -05:00
carbotaniuman 198f790bed Update SERVER_ADDRESS 2020-06-06 18:14:18 -05:00
carbotaniuman 6b106f52fc Squash a bunch of commits together 2020-06-06 17:52:25 -05:00