Commit graph

220 commits

Author SHA1 Message Date
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
yushijinhun
b12dd75fa5
Forbid multiple ALI redirects (#78) 2020-08-13 20:49:47 +08:00
yushijinhun
0bd7134c81
Support HTTP redirects, fix #77 2020-08-12 19:33:06 +08:00
yushijinhun
b4f571a88d
Update copyright years
I forgot to update this in e305dea256.

Commit message of e305dea256
shoud be `fix '@mojang' suffix broken since authlib 1.6.25`.
I can't amend this typo because force push is disabled.
2020-08-10 01:46:50 +08:00
yushijinhun
e305dea256
fix '@mojang' suffix broken since authlib 1.5.23
fix #76
2020-08-07 16:43:29 +08:00
yushijinhun
0341ee107c
completely switch to github actions 2020-06-20 21:47:06 +08:00
yushijinhun
9cfcb49e41
[actions] minor fix 2020-05-01 21:30:38 +08:00
Haowei Wen
3510ca4c3a
Introducing GitHub Actions 2020-05-01 21:23:27 +08:00
yushijinhun
b9a0a3f996
Remove license check plugin 2020-05-01 21:12:23 +08:00
yushijinhun
d05c005b39
Reimplement signing key injection 2020-05-01 00:47:52 +08:00
yushijinhun
71913d41ab
Put invokedynamic bootstrap method in target class 2020-04-30 00:19:18 +08:00
yushijinhun
106e13b17f
Revert "Add classloader exclusion to launchwrapper (#68)"
This reverts commit 2ac95074a6.
2020-04-29 23:34:12 +08:00