Commit graph

292 commits

Author SHA1 Message Date
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
yushijinhun d3fa2a77eb
Refactor packages & classes structure 2020-04-29 23:30:23 +08:00
Haowei Wen 2ac95074a6
Add classloader exclusion to launchwrapper (#68) 2020-04-29 01:35:27 +08:00
yushijinhun 57050286ff
Bump asm to 8.0.1 & update dev dependencies 2020-04-29 00:27:00 +08:00
Haowei Wen a699f5acf2
Create CONTRIBUTING.md 2020-04-13 00:04:05 +08:00
Haowei Wen bc2a251dca
Update copyright year 2020-04-10 23:06:14 +08:00
Alexander Xia 0da4d5a1b6
Fix wiki url in readme 2020-04-10 20:01:01 +08:00
Alexander Xia 59083e83ce
Fix compatibility with authlib 1.6.25 2020-04-10 19:40:02 +08:00
Hai-tun af9e793db3
Allow specifying packages to ignore (#63)
* Add parameter: authlibinjector.ignoredPackages

Co-authored-by: yushijinhun <yushijinhun@gmail.com>
2020-04-07 21:29:02 +08:00
yushijinhun 22b8d11f4e
English readme 2019-02-24 21:55:39 +08:00
yushijinhun fa3b173920
update readme 2019-02-06 09:57:09 +08:00
Haowei Wen a006e784e7
Merge pull request #42 from yushijinhun/mojang-proxy
实现 #41
2019-02-05 22:23:37 +08:00
yushijinhun e8a13e7ae2
Allow accessing Mojang with proxy
Implement #41
2019-02-05 16:31:49 +08:00
Haowei Wen 1dbc5d71b9
Merge pull request #39 from yushijinhun/whitelisted-domains
允许运行时改变材质域名白名单
2019-01-24 20:47:57 +08:00
yushijinhun 90d37f9d0f
Allow whitelisted domains to be changed at runtime 2019-01-24 20:27:39 +08:00
yushijinhun 754e151b41
Refactor package structure 2019-01-24 19:40:50 +08:00
yushijinhun cb9ce1794b
[json-simple]crop 2019-01-24 19:40:50 +08:00
Haowei Wen 11086df465
Merge pull request #38 from yushijinhun/mlsupport
通过 invokedynamic 来绕过 launchwrapper
2019-01-24 19:11:00 +08:00
yushijinhun b4e97786b0
polish 2019-01-23 20:23:03 +08:00
yushijinhun 1003212d38
Use invokedynamic 2019-01-23 20:13:25 +08:00
yushijinhun a94528bb68
Implement class file version upgrading 2019-01-23 19:53:21 +08:00
yushijinhun 9eb3b0d738
Use Type.getMethodDescriptor 2019-01-23 18:47:29 +08:00
yushijinhun 244f7b1796
Use dynamic invocation to bypass launchwrapper/modlauncher 2019-01-22 20:57:31 +08:00
yushijinhun 925cc55266
Add missing license headers 2019-01-20 20:58:44 +08:00
Haowei Wen 3eee25593e
Merge pull request #37 from yushijinhun/mc52974-1710
实现 #35
2019-01-20 20:50:36 +08:00
yushijinhun 6252c0502d
Refactor agentmain 2019-01-20 18:35:38 +08:00
yushijinhun 8bd0f3b803
MC52974_1710Workaround supports forge 2019-01-20 17:33:34 +08:00
yushijinhun bee0998925
Support retransform 2019-01-20 16:17:43 +08:00
yushijinhun 1feafcdd24
Fix license is not displayed in readme 2019-01-20 13:54:03 +08:00