Commit graph

231 commits

Author SHA1 Message Date
Haowei Wen
a2b994e7a2
Merge pull request #124 from yushijinhun/social-interactions
Intercept requests to api.minecraftservices.com
2021-06-12 00:34:58 +08:00
Haowei Wen
3e1b4eb4b3
add telemetry=false to PrivilegesFilter 2021-06-12 00:12:14 +08:00
Haowei Wen
90c4a649f6
Merge branch 'develop' into social-interactions 2021-06-12 00:09:05 +08:00
Haowei Wen
42640b4330
fix #121 2021-06-11 18:29:26 +08:00
Haowei Wen
a656770c30
license-header.txt: change copyright year to 2021 2021-03-06 01:22:17 +08:00
Haowei Wen
b4dd26f0fa
upgrade dependencies 2021-02-16 18:54:52 +08:00
Haowei Wen
9e25915157
add log file 2021-02-01 16:52:13 +08:00
Haowei Wen
35b8b58e1d
polyfill api.minecraftservices.com/privileges 2020-12-25 05:50:29 +08:00
Haowei Wen
961366e012
redirect api.minecraftservices.com 2020-12-25 05:20:52 +08:00
Haowei Wen
eaffc03292
Merge pull request #91 from yushijinhun/skindomains
新的 skinDomains 匹配方法
2020-10-17 23:04:08 +08:00
Haowei Wen
edd40f394d
Fix skinDomains can match unwanted domains 2020-10-17 22:59:55 +08:00
Haowei Wen
6f236dceeb
show auth server name in menu screen 2020-10-10 19:04:56 +08:00
Haowei Wen
d121ac3b7c
readme: clarify mojangProxy option
inspired by #88
2020-09-20 20:20:32 +08:00
Haowei Wen
fab398038a
deploy: sort versions 2020-09-11 23:41:00 +08:00
Haowei Wen
4cc87e8d83
update badge order 2020-09-11 23:28:29 +08:00
Haowei Wen
dca83ed51b
update badges 2020-09-11 23:26:24 +08:00
Alexander Xia
9a27867398
Merge pull request #86 from yushijinhun/fix-proxy
修复与 --proxyHost 冲突
2020-09-11 22:55:01 +08:00
Haowei Wen
6d3e5856c2
Drop main arguments --proxyHost, --proxyPort, --proxyUser, --proxyPass 2020-09-11 20:55:16 +08:00
Haowei Wen
c4a769271a
nanohttpd: refactor: rename myPort->port, myThread->listenerThread, myServerSocket->serverSocket 2020-08-26 20:44:18 +08:00
Haowei Wen
cda96f96e1
nanohttpd: refactor: remove socket timeout parameter 2020-08-26 20:42:30 +08:00
Haowei Wen
85f38d47ac
nanohttpd: refactor: remove NanoHTTPD.LOG 2020-08-26 20:38:02 +08:00
Haowei Wen
728e5d0d61
nanohttpd: refactor: remove NanoHTTPD.closeAllConnections 2020-08-26 20:19:51 +08:00
Haowei Wen
848e6da6a9
nanohttpd: refactor: move NanoHTTPD.MIME_PLAINTEXT-> IOUtils.CONTENT_TYPE_TEXT 2020-08-26 20:15:28 +08:00
Haowei Wen
61b787aa4d
nanohttpd: refactor: remove Response.newFixedLength(String) 2020-08-26 20:15:27 +08:00
Haowei Wen
514f2829e2
nanohttpd: refactor: simplify keep-alive check 2020-08-26 20:15:27 +08:00
Haowei Wen
f84afc976e
nanohttpd: refactor: add missing this. 2020-08-26 20:15:27 +08:00
Haowei Wen
e56a68ecc3
nanohttpd: refactor: AsyncRunner: use concurrent data structures 2020-08-26 20:15:19 +08:00
Haowei Wen
bac4022ada
nanohttpd: refactor: add ConnectionCloseException to signal connection closes normally 2020-08-26 20:04:34 +08:00
Haowei Wen
e88f1eb009
nanohttpd: refactor: remove Response.lowerCaseHeader 2020-08-26 20:03:35 +08:00
Haowei Wen
f0e635bff3
nanohttpd: refactor: move HTTPSession to a new file 2020-08-26 19:34:58 +08:00
Haowei Wen
d2ee1cb282
nanohttpd: refactor: extract HTTPSession.readHeader() 2020-08-26 19:31:33 +08:00
Haowei Wen
854b0284bd
nanohttpd: refactor: remove IHTTPSession.execute() 2020-08-26 19:31:32 +08:00
Haowei Wen
5ca213f5cc
nanohttpd: refactor: replace remoteIpAddress & remoteHostName with remoteAddress 2020-08-26 19:31:11 +08:00
Haowei Wen
665a400f04
httpd: fix reverse proxy can't handle 204 properly 2020-08-26 18:23:07 +08:00
Haowei Wen
86feaa3273
nanohttpd: fix npe introduced in 2df9dde936 2020-08-26 15:23:03 +08:00
Haowei Wen
2df9dde936
nanohttpd: refactor x2 2020-08-26 00:35:22 +08:00
Haowei Wen
05f61d92c6
nanohttpd: refactor 2020-08-26 00:27:46 +08:00
Haowei Wen
d72035a066
nanohttpd: reset parsedInputStream & continueSent between requests
fix #83

bug description:
if tcp keep-available is on, after processing a POST request,
parsedInputStream's value is retained. if the next request is a
GET request, HttpSession.getInputStream() will not return null
as expected.
2020-08-25 23:30:32 +08:00
Haowei Wen
3d3dd29f33
update download site 2020-08-23 16:06:57 +08:00
yushijinhun
244fe2e969
logging: remove control characters to prevent messing up the console 2020-08-23 01:50:43 +08:00
yushijinhun
e913d7d4d4
fix #81 2020-08-23 00:18:51 +08:00
yushijinhun
14741ad521
prevent logging output being redirected 2020-08-22 22:40:40 +08:00
yushijinhun
9b2075775e
add options for mojang namespace & legacy skin api polyfill
- add option: -Dauthlibinjector.mojangNamespace={default|enabled|disabled}
- add option: -Dauthlibinjector.legacySkinPolyfill={default|enabled|disabled}
- add metadata field: feature.no_mojang_namespace
- update options doc
2020-08-22 19:16:07 +08:00
yushijinhun
20224ede05
remove 'path' param from URLFilter.canHandle 2020-08-22 16:37:42 +08:00
yushijinhun
1ba5bbb678
refactor
YggdrasilConfiguration -> APIMetadata
InjectorInitializationException -> InitializationException
javaagent/AuthlibInjectorPremain -> Premain
2020-08-22 16:26:22 +08:00
yushijinhun
496baee488
refactor config & logging
replaced java.logging, fixed #80

deprecated options:
-Dauthlibinjector.debug=all => -Dauthlibinjector.debug
-Dauthlibinjector.mojang.proxy= => -Dauthlibinjector.mojangProxy=
2020-08-22 02:24:37 +08:00
yushijinhun
9c115558d5
update build dependencies 2020-08-14 20:51:39 +08:00
yushijinhun
3ce68a3db2
update copyright year
forgotten in 0bd7134c81
2020-08-14 20:40:18 +08:00
yushijinhun
d3da27444c
Use keep-available when processing ALI 2020-08-13 21:30:43 +08:00
yushijinhun
059dc2641d
Remove ExecutionEnvironment & authlibinjector.side
'authlibinjector.side' option becomes unnecessary now.
This commit discards 'authlibinjector.side' option defined in proposal #16.
2020-08-13 20:50:14 +08:00