Commit graph

420 commits

Author SHA1 Message Date
FlorianMichael
4ef4115b10
Remove 1.14 -> 1.13.2 extra data fix
Upstream has merged this fix into itself
2023-10-24 06:25:33 +02:00
RaphiMC
c30a5a2d1f
Removed an unneeded fix 2023-10-23 19:37:08 +02:00
RaphiMC
d7211fa33b
Updated Via* API usage 2023-10-22 11:56:18 +02:00
RaphiMC
e3651490c5
Fixed chat signature injection 2023-10-20 21:13:24 +02:00
RaphiMC
d986ea0875
Added CLI option to ignore packet translation errors 2023-10-20 16:50:37 +02:00
RaphiMC
598626c610
Updated Via* API usage 2023-10-20 16:39:35 +02:00
RaphiMC
f608551097
Updated Via* 2023-10-19 21:15:32 +02:00
RaphiMC
f890fd0c79
Added the ability to use microsoft accounts in CLI 2023-10-16 19:47:59 +02:00
RaphiMC
85ddaf877a
Moved ViaProxy specific dump data to platform dump section 2023-10-16 17:41:12 +02:00
RaphiMC
175c24d320
Updated MinecraftAuth (jjwt) 2023-10-15 10:19:59 +02:00
RaphiMC
382da68e6a
Updated Via* 2023-10-11 20:38:25 +02:00
RaphiMC
a919cbdf88
Made state label more readable 2023-10-10 00:37:29 +02:00
RaphiMC
27d155a878
Temp fix jjwt as the official fix probably takes ages 2023-10-10 00:00:07 +02:00
RaphiMC
3a357b3dac
Print IMPL_VERSION to log 2023-10-09 12:42:45 +02:00
RaphiMC
4353ebfa7f
Fill ViaVersion platform dump data 2023-10-09 12:39:56 +02:00
RaphiMC
0197c6098c
Updated Via* API usage 2023-10-08 11:49:44 +02:00
RaphiMC
d69ba03224
Thanks Intellij for not committing this file 2023-10-07 21:27:37 +02:00
RaphiMC
8dda29a6f4
Updated Via* (23w40a server support) 2023-10-07 21:26:08 +02:00
RaphiMC
ad41b10cfa
Made code more readable 2023-10-04 18:21:06 +02:00
RaphiMC
8a51d507bb
Fixed bedrock pinging not working 2023-10-04 18:20:56 +02:00
RaphiMC
b33f2ac5fa
Added SRV resolving support to passthrough handler 2023-10-04 18:20:29 +02:00
RaphiMC
25b341a545
Fixed packets being sent too early after connecting 2023-10-03 20:20:49 +02:00
RaphiMC
58b4819677
Fixed legacy passthrough 2023-10-03 18:44:21 +02:00
RaphiMC
e461ef165e
Renamed class 2023-10-02 19:20:10 +02:00
RaphiMC
7b663e28f3
Made backend connect non blocking 2023-10-02 19:07:12 +02:00
RaphiMC
c51bb3eafb
Merge remote-tracking branch 'origin/main' 2023-10-02 18:03:04 +02:00
RaphiMC
cee36bf910
Fixed auto read race conditions 2023-10-02 18:02:48 +02:00
Lenni0451
a383772441
Use normal swing layouts and remove swingx 2023-10-02 16:59:36 +02:00
RaphiMC
8574db690c
Added LegacyProxyConnection for legacy client passthrough 2023-10-01 22:03:36 +02:00
RaphiMC
006f359d69
Refactored legacy client passthrough to make use of events 2023-10-01 21:27:50 +02:00
RaphiMC
b27d387418
Made account part of ProxyConnection 2023-09-27 22:00:59 +02:00
RaphiMC
cc6fcc8dc6
Release 3.0.21 2023-09-21 18:22:28 +02:00
RaphiMC
52792c6964
Added ClientLoggedInEvent 2023-09-17 23:08:25 +02:00
RaphiMC
75c0434ceb
Don't trigger language change when the language isn't actually changed 2023-09-17 12:50:43 +02:00
RaphiMC
1c18ce4699
Added localization system 2023-09-17 12:46:36 +02:00
RaphiMC
9f4fbe0031
Use event system for GUI related events 2023-09-16 20:55:31 +02:00
Lenni0451
1a7c557adf
Use system default font 2023-09-16 20:02:26 +02:00
Lenni0451
fb74c159c4
Use hand cursor for Discord link 2023-09-16 19:54:26 +02:00
Lenni0451
85deab7e63
Use grid variable 2023-09-16 19:45:22 +02:00
Lenni0451
94b835554e
Make popups use layouts as well 2023-09-16 19:38:51 +02:00
Lenni0451
345ecd8b78
Finished tabs 2023-09-16 19:22:02 +02:00
Lenni0451
ec028e8723
Started UI recode 2023-09-16 18:15:35 +02:00
RaphiMC
277a845bc8
Fixed compile error better 2023-09-15 17:44:19 +02:00
Lenni0451
a1e14e5610
Fixed compile error 2023-09-15 17:19:51 +02:00
RaphiMC
8baa02ec40
Fixed jANSI segfaulting the JVM when there is no console 2023-09-12 18:09:09 +02:00
RaphiMC
59e9aa708d
Fixed ANSI support on Windows 2023-09-10 17:00:28 +02:00
RaphiMC
73f2e96201
Added option to ignore packet translation errors 2023-09-10 14:51:16 +02:00
RaphiMC
05bb19bdd0
Added support for 1.20.2-pre2 2023-09-10 00:21:24 +02:00
RaphiMC
305714905b
Fixed HAProxy IPv6 issues and added HAProxy support to legacy passthrough 2023-09-08 12:44:28 +02:00
RaphiMC
b91723164c
Moved location of ProxyStartEvent 2023-09-05 18:45:46 +02:00
RaphiMC
57342c5491
Cleaned up some code 2023-09-04 20:53:13 +02:00
RaphiMC
1fbfc2765f
Migrated project to Java 17 and use JavaDowngrader gradle plugin to target Java 8 2023-09-04 19:36:24 +02:00
RaphiMC
da71e7dbb2
Added support for 23w35a 2023-08-30 19:34:54 +02:00
RaphiMC
3ac0d81484
Fixed config state tracking issues 2023-08-18 23:42:47 +02:00
RaphiMC
7c0f72b8b1
Added support for 23w33a 2023-08-17 19:04:22 +02:00
RaphiMC
0acc098b7d
Improved anti-cheat warning message 2023-08-17 18:52:09 +02:00
RaphiMC
a75a016641
Added missing play state checks 2023-08-15 22:10:01 +02:00
RaphiMC
50c117dd6a
Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyHandler.java
2023-08-15 21:22:47 +02:00
RaphiMC
94baa38e7f
Added support for 23w32a clients and servers, Refactored packet handler code 2023-08-15 21:22:18 +02:00
Lenni0451
f2d413577e
Cleaned code 2023-08-15 00:57:18 +02:00
RaphiMC
2196ed5258
Added 'exit' command to shutdown ViaProxy 2023-08-09 20:24:38 +02:00
RaphiMC
5f21cbe19d
Improved code 2023-07-31 21:31:12 +02:00
RaphiMC
ce10d26107
Fixed protocol/version blocking not doing anything 2023-07-26 10:51:26 +02:00
RaphiMC
286ac0a269
Implemented ViaBedrock TransferProvider 2023-07-03 19:14:30 +02:00
RaphiMC
b0a4b22f72
Properly implemented BungeeCord player info forwarding support 2023-06-28 14:08:04 +02:00
RaphiMC
7f34005147
Added support for bungeecord legacy player info forwarding 2023-06-28 08:55:50 +02:00
RaphiMC
02a48b519f
Fixed proxy <-> server ping behaviour 2023-06-26 22:29:25 +02:00
RaphiMC
353b1301e8
Made version parsing more lenient and improved CLI error handling 2023-06-22 19:50:14 +02:00
Lenni0451
a0e1732bb9
Merge remote-tracking branch 'origin/main' 2023-06-19 18:29:06 +02:00
Lenni0451
370222b2a9
Use cell renderer instead of raw strings 2023-06-19 18:28:57 +02:00
RaphiMC
cdcdfaa60e
Added account refresh cache of 10 seconds 2023-06-19 18:28:28 +02:00
RaphiMC
68d4a4b72d
Don't refresh all accounts on startup 2023-06-19 18:13:37 +02:00
RaphiMC
44579a0046
Removed movement fix because its now part of Via 2023-06-18 14:58:45 +02:00
RaphiMC
76f84af5da
Updated MinecraftAuth usage 2023-06-17 00:42:52 +02:00
RaphiMC
9510c672a7
Improved chat signing implementation and lazy load account runtime data 2023-06-16 15:32:55 +02:00
RaphiMC
d4660a9b97
Use new Via API for creating dumps 2023-06-14 23:30:08 +02:00
RaphiMC
411b534499
Made 1.19.0 chat signing optional 2023-06-14 23:21:53 +02:00
RaphiMC
b7d2956b08
Refreshing bedrock account chain before join 2023-06-14 22:56:16 +02:00
RaphiMC
ad3e34b369
Added buttons to upload the log and create ViaVersion dumps 2023-06-14 16:04:28 +02:00
RaphiMC
6f263513c9
Renamed 1.20 protocol version 2023-06-12 16:53:22 +02:00
RaphiMC
cb7eb2bade
Fixed UI not saving the server version state properly 2023-06-08 17:05:51 +02:00
RaphiMC
3fc5671e86
Fixed CLI exception on startup when there is no CLI 2023-06-08 17:05:37 +02:00
RaphiMC
2aee84ff1c
Fixed OpenAuthMod auth status not resetting when changing auth method 2023-06-08 16:34:28 +02:00
RaphiMC
ade7294e54
Added dependency system to plugin loader 2023-06-08 00:00:33 +02:00
RaphiMC
0172a3d870
Fixed YAML interpreting plugin version as Number 2023-06-07 22:47:49 +02:00
RaphiMC
87a1392cd9
Added 1.20 client and server support 2023-06-07 21:43:02 +02:00
RaphiMC
5a3ea47e8d
Fixed bedrock accounts not saving 2023-06-02 00:36:11 +02:00
RaphiMC
7448c0cbff
Fixed plugin loader 2023-05-31 22:40:05 +02:00
RaphiMC
0613132cb1
Updated ViaBedrock usage 2023-05-31 22:12:27 +02:00
RaphiMC
fae244e5e5 Updated to 1.20-rc1 2023-05-31 15:54:02 +02:00
RaphiMC
0a1fc12e22 Updated libraries 2023-05-30 22:46:59 +02:00
RaphiMC
b6abe50c1e Add cursed code to allow replacing Via* at runtime 2023-05-30 21:44:57 +02:00
RaphiMC
c3c5aa3bf3 Swapped out discord link 2023-05-30 21:05:58 +02:00
RaphiMC
d12491bb52 Migrated to ViaLoader 2023-05-30 00:34:51 +02:00
RaphiMC
98758740e1 Updated to 1.20-pre7 2023-05-29 19:31:21 +02:00
RaphiMC
79f77da4be Improved plugin API 2023-05-29 13:08:42 +02:00
RaphiMC
a718506d68 Migrated ViaLoader usage 2023-05-28 19:42:22 +02:00
Lenni0451
e9b3f7605c Added warning when starting ViaProxy for the first time 2023-05-28 17:15:37 +02:00
RaphiMC
4455f90949 Improved code 2023-05-28 11:41:10 +02:00
RaphiMC
55b58444bd Fixed Via commands for the CLi interface 2023-05-28 11:18:48 +02:00
RaphiMC
2f53b38769 Trim proxy URL 2023-05-26 01:05:52 +02:00
RaphiMC
af7a46c813 Updated Via* 2023-05-25 21:28:26 +02:00
RaphiMC
9fcfae67d9 Fixed high background CPU usage 2023-05-23 19:14:57 +02:00
RaphiMC
a537fd296a Updated Via* 2023-05-20 16:38:50 +02:00
RaphiMC
0a7f14ae9f Implemented JavaDowngrader 2023-05-17 18:08:31 +02:00
RaphiMC
f2aeb9f485 Improved CLI interface 2023-05-14 22:41:53 +02:00
Josiah Glosson
e4b92ecb69
Make changes to Java17ToJava8 to make it more standalone (#45)
* Constructors galore for Java17ToJava8

* Change system property

* Use slf4j for logger

* Don't make everything public
2023-05-13 21:50:56 +02:00
Josiah (Gaming32) Glosson
98da518b01 Fix package whitelist system 2023-05-13 11:41:32 -05:00
Josiah (Gaming32) Glosson
1e1b8be79b Better Stream.toList conversion 2023-05-13 07:33:55 -05:00
Josiah (Gaming32) Glosson
384f8ca581 Fix lists being constructed in reverse
Well they still are, but they're reversed at the end.
2023-05-13 07:28:43 -05:00
Josiah (Gaming32) Glosson
636663274a No more runtime libraries for J17 -> J8
I dropped Apache Commons IO by implementing transferTo, then implementing readAllBytes as a transferTo a ByteArrayOutputStream
2023-05-12 23:11:24 -05:00
Josiah (Gaming32) Glosson
d95f3a277a Desugar record equals, hashCode, and toString 2023-05-12 20:59:08 -05:00
RaphiMC
565690fcb1 Updated Via* 2023-05-10 17:51:57 +02:00
RaphiMC
cd8055a140 Removed support for unofficial clients 2023-05-09 23:51:31 +02:00
RaphiMC
9f8d12cd24 Updated MinecraftAuth lib 2023-05-06 18:56:04 +02:00
RaphiMC
fd1e9932d0 Updated Via* 2023-05-04 23:07:13 +02:00
RaphiMC
9ae3efd41f Changed position of auto read disabling 2023-04-30 17:48:20 +02:00
RaphiMC
d58c879283 Removed test code 2023-04-30 17:39:34 +02:00
RaphiMC
657c4b402b Fixed deadlocking issues with packet syncing 2023-04-30 17:39:06 +02:00
RaphiMC
c5a772d6db Removed now not needed anymore code 2023-04-29 22:31:49 +02:00
RaphiMC
ab93dbc9ed Merge remote-tracking branch 'origin/main' 2023-04-28 21:25:09 +02:00
RaphiMC
7cc21baff9 Make legacy skull loading configurable 2023-04-28 21:24:59 +02:00
Lenni0451
e05013d54f Added threaddump command 2023-04-27 17:48:09 +02:00
RaphiMC
3bbe0eea98 Updated Via* 2023-04-26 20:45:09 +02:00
Lenni0451
23c6d3512b Added more java 17 to java 8 translations 2023-04-24 19:09:04 +02:00
RaphiMC
9c0ce3b45a Fixed plugin min version requirement comparison 2023-04-23 23:28:53 +02:00
RaphiMC
1bff55024f Updated ClassTransform usage 2023-04-23 22:36:56 +02:00
Lenni0451
bf931dbae8 Merge branch 'main' of https://github.com/RaphiMC/ViaProxy 2023-04-23 22:19:50 +02:00
RaphiMC
fc9ee03e07 Replaced guava usage 2023-04-23 21:50:36 +02:00
RaphiMC
bae9379172 More cursedness 2023-04-23 21:15:18 +02:00
Lenni0451
e2b68f0644 Added missing return statement 2023-04-23 19:30:02 +02:00
Lenni0451
1c46b09449 Merge remote-tracking branch 'origin/main' 2023-04-23 18:54:32 +02:00
Lenni0451
19cb01e4d4 Renamed field 2023-04-23 18:54:24 +02:00
RaphiMC
5c4ec627b7 Merge remote-tracking branch 'origin/main' 2023-04-23 18:52:26 +02:00
RaphiMC
46d137a158 Make Java17ToJava8 converter whitelisted 2023-04-23 18:52:18 +02:00
Lenni0451
d9b01a3b63 Added transformer support for plugins 2023-04-23 18:43:26 +02:00
Lenni0451
bda7244b90 Improved code 2023-04-23 17:54:45 +02:00
RaphiMC
30307d8231 Curse the Java17ToJava8 converter to allow conversion of Geyser 2023-04-23 02:09:59 +02:00
RaphiMC
1cb01789a9 Added new events 2023-04-22 20:30:59 +02:00
RaphiMC
48e20167c2 Expose plugins dir 2023-04-22 18:39:39 +02:00
RaphiMC
f66bc3c435 Fixed legacy ping passthrough not working when eaglercraft support is enabled 2023-04-19 15:48:55 +02:00
RaphiMC
b873551a79 Fixed legacy ping passthrough not working when eaglercraft support is enabled 2023-04-19 15:34:26 +02:00
RaphiMC
1bbaf9773a Updated Via* 2023-04-14 16:55:09 +02:00
RaphiMC
55ca5c7087 Use UTF-8 charset for string -> bytes conversion 2023-04-13 16:32:56 +02:00
RaphiMC
44e21eccd5 Updated Via* 2023-04-11 22:10:48 +02:00
RaphiMC
0822235d67 Updated Via* 2023-04-11 21:09:05 +02:00
RaphiMC
9949f2e729 Fixed Eaglercraft pinging for <=1.6.4 servers 2023-04-11 19:40:46 +02:00
RaphiMC
93ce462636 Changed memory warn message 2023-04-10 19:48:09 +02:00
RaphiMC
52f31b527e Added system property to ignore system requirements 2023-04-10 19:01:04 +02:00
RaphiMC
0e8d7e6f58 Improved UI design 2023-04-09 18:22:42 +02:00
EnZaXD
a18cf6fe80
Corrected class naming (#37) 2023-04-09 18:12:51 +02:00
RaphiMC
c01cb7b3e0 Use non deprecated API 2023-04-08 19:36:47 +02:00
RaphiMC
f840a002e7 Fixed code 2023-04-08 16:02:26 +02:00
RaphiMC
2c4cb91ff7 Added minimum memory requirement 2023-04-08 15:57:52 +02:00
Lenni0451
52b257e206 Merge remote-tracking branch 'origin/main' 2023-04-08 15:08:58 +02:00
Lenni0451
1c5d6b22d2 Printing java version and os on startup 2023-04-08 15:08:51 +02:00
RaphiMC
5ff22c7aab Added status protocol support for Eaglercraft 2023-04-08 02:41:29 +02:00
RaphiMC
c0e04ee5f6 Added eaglercraft option to GUI 2023-04-07 23:24:09 +02:00
RaphiMC
407a492fc0 Added Eaglercraft 1.5.2 support 2023-04-07 21:58:02 +02:00
RaphiMC
4494920acd Added support for EaglerCraft clients 2023-04-07 19:15:43 +02:00
RaphiMC
8da007c0a4 Made LegacyClientPassthroughHandler more extendable 2023-04-07 18:07:22 +02:00
RaphiMC
5dfe2f5a74 Cleaned up Options 2023-04-05 23:24:09 +02:00
RaphiMC
9f026b041a Added support for passing <= 1.6.4 clients through 2023-04-05 19:03:52 +02:00
RaphiMC
14d2ad1f36 Fixed import error 2023-04-05 16:04:44 +02:00
RaphiMC
038782a60d Implemented HAProxy protocol for backend connections 2023-04-05 15:05:46 +02:00
RaphiMC
af3ab5f6eb Fixed NPE 2023-04-02 21:28:33 +02:00
RaphiMC
42a3d45e53 Implemented ViaBedrock 2023-04-02 21:25:27 +02:00
RaphiMC
c08f566c2b Fixed issue with the version clearing after pressing Stop 2023-04-01 22:52:11 +02:00
RaphiMC
683e55c3a0 Don't use addFirst for the proxy handler 2023-04-01 19:44:57 +02:00
RaphiMC
63e22d06ba Added new setting for legacy skin loading 2023-03-31 22:58:47 +02:00
RaphiMC
9d45cc5e28 Updated Via* 2023-03-31 09:53:47 +02:00
RaphiMC
cb89d3a413 Removed unused variable 2023-03-29 23:43:06 +02:00
RaphiMC
5befe8802b Fixed layout related issues 2023-03-29 23:30:26 +02:00
Lenni0451
e9b16fec4f Added advanced options to ui 2023-03-29 21:29:40 +02:00
RaphiMC
f0599ca775 Fixed MP pass not resetting 2023-03-28 23:50:49 +02:00
RaphiMC
f3f3bf67a9 Added support for joining ClassiCube servers 2023-03-26 21:02:53 +02:00
RaphiMC
c612d79a81 Updated Via* 2023-03-23 13:48:09 +01:00
RaphiMC
bfe70507bc Added support for connecting through proxies 2023-03-18 17:26:13 +01:00
RaphiMC
1ccf625b78 Added 1.19.4 support 2023-03-14 18:37:41 +01:00
RaphiMC
619531f7c6 Updated Via* 2023-03-13 18:53:34 +01:00
RaphiMC
11176c9799 Improved error handling 2023-03-11 12:53:34 +01:00
RaphiMC
3cbdc73657 Updated Via* 2023-03-10 18:20:10 +01:00
RaphiMC
3edef445f1 Updated Via* 2023-03-09 18:25:32 +01:00
Lenni0451
0cb63c3e24 Updated block connection update packet spam fix 2023-03-06 20:45:35 +01:00
RaphiMC
a86ec29c10 Updated Via* 2023-03-04 21:52:58 +01:00
RaphiMC
a37a0c3692 Updated Via* 2023-03-03 16:31:47 +01:00
RaphiMC
3a28086c9d Fixed issues with docker thinking ViaProxy is stopped 2023-03-01 16:52:19 +01:00
RaphiMC
7294987809 Fixed GUI text being cut on some resolutions 2023-02-24 00:45:14 +01:00
RaphiMC
f1010f1237 Improved invalid client version check 2023-02-24 00:43:31 +01:00
Lenni0451
3828bfe9d3 Added pre- and post-options parse events 2023-02-23 21:18:48 +01:00
RaphiMC
b058648de0 Removed netty thread count option 2023-02-23 21:13:41 +01:00
RaphiMC
1a229750bf Fixed errors with too long hostnames 2023-02-23 18:37:50 +01:00
RaphiMC
a173565f79 Updated Via* 2023-02-22 19:16:49 +01:00
RaphiMC
829b8006e1 Updated Via* 2023-02-20 15:38:52 +01:00
RaphiMC
3f899f1d92 Added double click to AccountsTab 2023-02-20 00:16:14 +01:00
RaphiMC
6dd76b46ad Fixed Proxy2ServerHandler on connectionless channels 2023-02-18 22:02:51 +01:00
RaphiMC
645e14c043 Fixed error handling suppressing exceptions sometimes 2023-02-18 21:58:16 +01:00
RaphiMC
bae12ec8a6 Made some variables final 2023-02-18 02:14:38 +01:00
RaphiMC
a039b88200 Updated Via* 2023-02-18 01:32:57 +01:00
RaphiMC
a9f8ad27d0 Added option to send resource pack on join 2023-02-17 11:24:29 +01:00