Commit graph

183 commits

Author SHA1 Message Date
carbotaniuman c5d3208b9b Merge branch 'master' into 'master'
Added configuration option for external port

See merge request mangadex-pub/mangadex_at_home!40
2020-06-28 17:42:40 +00:00
wedge1001 9d2424bd13 Added configuration option for external port 2020-06-28 17:42:40 +00:00
carbotaniuman 0e6af9e7d3 Add sanity guard 2020-06-28 12:36:30 -05:00
carbotaniuman edf416cfa6 Update cert code to be more general 2020-06-27 13:15:49 -05:00
carbotaniuman 22fc42e7bc Fix state transition bug 2020-06-27 12:27:25 -05:00
lflare 73376f5b20 Merge branch 'webui' into 'master'
Update UI

See merge request mangadex-pub/mangadex_at_home!37
2020-06-22 21:53:43 +00:00
M dfc30ff688 Update UI 2020-06-22 16:46:32 -05:00
Amos Ng 81001ef01e
Full release version 1.0.0 bump 2020-06-23 05:44:07 +08:00
carbotaniuman 21b38b1cf3 Formatting 2020-06-22 12:09:11 -05:00
carbotaniuman cf58756faa Fine-tune logging statements 2020-06-22 12:08:46 -05:00
carbotaniuman 18f05f4ccd Added license headers 2020-06-22 12:02:36 -05:00
carbotaniuman 156de4e84c Add config comments 2020-06-22 11:26:22 -05:00
carbotaniuman 74cc5a55ce Revert logfile config change 2020-06-22 11:01:31 -05:00
carbotaniuman 2b2727c4e8 Fix bug 2020-06-22 10:51:09 -05:00
carbotaniuman 2c4cfefb94 Update a pathological case 2020-06-21 22:21:03 -05:00
carbotaniuman 6efff4ce40 Refactor graceful shutdown 2020-06-21 14:49:10 -05:00
carbotaniuman c5a29e07b5 Fix logging for DiskLruCache and don't auto-delete 2020-06-20 11:32:15 -05:00
carbotaniuman 919c5151b0 Adjust shutdown timings 2020-06-19 15:40:05 -05:00
carbotaniuman f02c47ca1f Adjust logback graceful close 2020-06-19 15:37:21 -05:00
carbotaniuman 5e407a9e81 Fix statistics serializing bug 2020-06-19 15:28:27 -05:00
carbotaniuman a270cf9115 Fix immediate flush 2020-06-19 15:23:05 -05:00
carbotaniuman 976d40c67d Bump version 2020-06-19 15:17:48 -05:00
carbotaniuman 45d329f692 Switch from Gson to Jackson for better null checks and invalid property support 2020-06-19 20:16:24 +00:00
carbotaniuman 42474256f0 Change logging 2020-06-19 15:09:58 -05:00
Amos Ng 6c04d19170
Changed default CPU thread count to 4
Apparently, some people like to run M@H on Atoms!
2020-06-19 10:21:12 +08:00
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