Commit graph

1198 commits

Author SHA1 Message Date
Gravita
85986c2916 [FEATURE] Check certificate expired 2023-07-25 17:10:18 +07:00
Gravita
8153c3a438 [FIX] componentName in config 2023-07-21 21:18:12 +07:00
microwin7
2f7b94365a
[FIX] Proguard mapping letter L (#670) 2023-07-21 21:08:45 +07:00
Gravita
e887035920 [FIX] Remove experimental warning 2023-07-16 13:59:45 +07:00
Gravita
82938fe8d4 [FIX] Remove old style assets folder 2023-07-16 13:36:45 +07:00
microwin7
55c0cdfa0d
[FEATURE] Replaced with use TimeUnit (#666) 2023-07-16 13:11:58 +07:00
microwin7
b12c43676b
[FEATURE] Replaced String.format to formatted (#665) 2023-07-16 13:11:45 +07:00
microwin7
2aa8dffcaa
[REFACTOR] Replaced to pattern matching instanceof (#664) 2023-07-15 14:37:26 +07:00
Gravita
bd83e8a4c5 [FEATURE] Support hikariMaxLifetime 2023-06-30 20:21:20 +07:00
Gravita
bea7898939 [FEATURE] Change hash type to sha1 2023-06-09 18:25:08 +07:00
Gravit'a
bddf31c94e [FEATURE] LaunchServerLauncherExeInit 2023-05-25 15:33:01 +07:00
microwin7
ae426b2fd0
[FIX] Incorrect send AuthException for User not found (#651) 2023-05-13 15:49:30 +07:00
Gravita
e338bb9a02 [FIX] Autoupdate mirror link 2023-04-28 21:19:44 +07:00
Gravita
dec86c9a91 [ANY] 5.4.0 stable 2023-04-28 20:41:48 +07:00
Gravita
b10535042f [FIX] FileAuthSystem slim support 2023-04-27 21:02:30 +07:00
microwin7
e05aa4b204
[FIX] DownloadAssetCommand.java command
ArrayIndexOutOfBoundsException
2023-04-25 16:28:14 +03:00
Gravita
bfa6966ec6 [ANY] Update mirror link 2023-04-22 20:17:02 +07:00
Gravita
6caa34e255 [FEATURE] MirrorHelper Quilt support 2023-04-21 15:34:42 +07:00
Gravita
48799cf3c2 [FEATURE] New ClientProfile$Version 2023-04-20 19:06:12 +07:00
Gravit'a
76f8b4602c [FIX] JAVA_HOME override 2023-04-15 17:40:34 +07:00
Gravit'a
fc7f96d536 [FIX] launcher-pack in Windows 2023-04-15 13:59:32 +07:00
Gravita
06e9bc8578 [ANY] IDEA code inspect 2023-04-03 13:04:12 +07:00
Gravita
e0b3f3d6a5 [FEATURE] Launcher build number 2023-03-29 23:46:26 +07:00
Gravita
6a057514b2 [FIX] RequestTextureProvider localPath 2023-03-26 23:57:28 +07:00
Gravita
17f9c28f3d [FEATURE] WebSocket hook rework 2023-03-20 00:25:27 +07:00
Gravita
8ac9866258 [FEATURE] SentryProguardUpload 2023-03-07 15:23:20 +07:00
Gravita
930a5caf74 [ANY] Remove old guard/antiinject support 2023-02-26 19:01:43 +07:00
Gravita
0818b3037c [FEATURE] ClientProfile compat flags, remove deprecated 2023-02-26 18:00:44 +07:00
microwin7
5588b4aac1 [FEATURE] Default value for client profile and assets dir 2023-02-18 07:00:35 +03:00
Gravita
6d1440207b [FIX] Launch4j build exe 2023-01-25 18:02:24 +07:00
Gravita
9d719c48e3 [ANY] Update dependencies 2023-01-24 17:17:03 +07:00
Gravita
b0fba84fbb [FEATURE] MergeAuthCoreProvider 2023-01-20 19:57:14 +07:00
Gravita
d30f0b900b [ANY] Change domain 2023-01-11 18:16:51 +07:00
Gravita
a0ac58f0b5 [FEATURE] printExperimentalBranch info 2022-12-22 19:11:11 +07:00
Gravita
a27d7f1597 [FEATURE] printExperimentalBranch 2022-12-22 19:07:46 +07:00
Gravita
5f7808afff [FIX] MySQLAuthCoreProvider 2022-12-12 15:14:12 +07:00
Gravita
7dcc5aef3f [FIX] More details in error when reading launcher module config file 2022-12-09 21:46:05 +07:00
Gravita
ae994ebb4f [FIX] More safe save config and 5.3.3 2022-12-09 21:34:23 +07:00
Gravita
553cdf5250 [FEATURE] Safe config write 2022-12-09 21:17:07 +07:00
Gravita
0d1b32fc1c [FIX] Save config with postgresql 2022-12-09 20:55:58 +07:00
Gravita
7f4fe566de [FIX] ClassCastException 2022-12-09 20:19:22 +07:00
Gravita
3c5e25b67f [FIX] Launcher permissions 2022-12-05 23:17:12 +07:00
Gravita
a0722fb5f4 [FIX] HttpAuthCoreProvider findmulti 2022-12-05 17:22:32 +07:00
Gravita
8fb1349487 [FIX] Roles support 2022-11-21 13:44:58 +07:00
Gravita
5631bc6af1 [FIX] permissionsPermissionColumn 2022-11-21 13:32:10 +07:00
AlexCatze
9cc1810831
[FEATURE] Roles support for MySQL and PostgreSQL (#622)
* [FEATURE] Roles support for MySQL and PostgreSQL

Roles are stored in separate (name,uuid) table. Role can be given to user by adding "role.<name/guid>" permission to user. Permissions can be added to role by adding record with role`s uuid to permissions table.

* [REFACTOR] Refactor roles quering

Use 2 queries, first to query names of all user`s roles, second to recursively query all permissions. This also allows roles inheritance. All code from previous realisation, that is not used in this one, was commented, so if this realisation will be accepted, that code can be finaly removed.

* [REFACTOR] Removed commented code

* [REFACTOR] Remover useless catches
2022-11-19 18:01:32 +07:00
Gravita
a7d3cba949 [FEATURE] Directory launcher-pack 2022-11-18 16:06:42 +07:00
Gravita
10888ed2e7 [ANY] Full IDEA reformat 2022-11-18 14:47:03 +07:00
Gravita
82accb211d [ANY] IDEA reformat 2022-11-18 14:39:35 +07:00
Gravita
10df931c2a [FIX] MySQL/PostgreSQL permissions 2022-11-18 14:38:39 +07:00
AlexCatze
40d4681bce [FEATURE] Move shared SQL code to abstract class
Also ports permissions support to MySQL, because it doen`t have PostgreSQL-specific code.
2022-11-14 21:14:53 +02:00
AlexCatze
d11c9e92a5
[FEATURE] Add permissions support to PostgreSQL
This commit adds permissions support to PostgreSQL auth method.
2022-11-13 19:52:20 +01:00
Gravita
6fb9174681 [FEATURE] AuthSupportRemoteClientAccess 2022-10-07 18:55:42 +07:00
Gravita
36d97e7f8b [FEATURE] Profiles refresh 2022-10-01 16:40:19 +07:00
Gravita
86f9f20b52 [FEATURE] BCryptPasswordVerifier 2022-09-28 16:53:56 +07:00
microwin7
6d5ae93889
[FIX] JRE Full Download URL Update (#607)
Which is based on OpenJFX and Minimal VM
2022-09-01 14:04:27 +07:00
Gravita
2324af1c46 [FIX] Bug fixes 2022-08-30 14:26:08 +07:00
Gravita
230194f2a0 [FEATURE] Update rework 2022-08-24 13:41:01 +07:00
Clercq
9bac9e3bef
[FIX] HttpAuthCoreProvider (#603) 2022-08-12 16:22:50 +07:00
Clercq
385f2d9ec5
Add to HttpAuthCoreProvider the AuthSupportHardware implementation (#601)
* initial

* test fixes

* review fixes

* review fixes

* test fixes

* review fixes

* review fixes
2022-08-01 15:54:07 +07:00
Gravita
81b80a7938 [FEATURE] Download assets from mojang 2022-07-30 16:15:35 +07:00
Gravita
c8768326ea [FEATURE] 5.3.0 features 2022-07-24 16:27:24 +07:00
Gravita
afd147f92e [FIX] Small fixes 2022-06-29 17:36:45 +07:00
Gravita
0b38781858 [FIX] HttpAuthCoreProvider small fixes 2022-06-08 23:17:35 +07:00
Gravita
44ba945b58 [FEATURE] DebugCommand 2022-05-31 17:07:52 +07:00
microwin7
3a43ebff45 [FIX][STYLE] Minimal recommend JAVA for 1.18+ set 17 2022-05-29 06:44:25 +03:00
Gravita
8379a6efec [FIX] Client permissions 2022-04-11 20:43:35 +07:00
Gravita
8a51c98df8 [ANY] Remove deprecated 2022-04-11 19:28:47 +07:00
Gravita
5e6ab3763e [FIX] DiscordBotConsole 2022-04-10 22:14:55 +07:00
Gravita
a20b70e2a1 [FEATURE] HttpAuthCoreProvider toString() methods 2022-04-07 22:16:25 +07:00
Gravita
b135535147 Upgrade dependencies 2022-04-03 15:44:57 +07:00
Gravita
7cd6b9c1d9 [FIX] Bad login (MySQL + HWID) 2022-04-03 15:08:15 +07:00
Gravita
7bfa4ebdab [FIX] Bad login (MySQL + HWID) 2022-03-30 16:39:48 +07:00
Gravita
8afa630546 [FIX] Bad login (MySQL + HWID) 2022-03-30 15:52:28 +07:00
Gravita
9b3b49966a [FIX] RefreshToken 2022-03-18 20:03:36 +07:00
Gravita
f6ee175acd [FIX] UTC Clock 2022-03-18 19:54:56 +07:00
Gravita
736bf51eaa [FIX] UTC Timezone 2022-03-18 19:50:46 +07:00
Gravita
96915b0f78 [FIX] PostgresSQLCoreProvider and HttpAuthCoreProvider bug fixes 2022-03-18 19:02:58 +07:00
Gravita
6430b9e2d4 Merge branch 'feature/removelegacysession' into dev 2022-03-18 18:28:27 +07:00
Gravita
a54d7ba89a [FEATURE] PlayerProfile properties, User assets 2022-03-17 23:28:16 +07:00
Gravita
2b117f6717 [FEATURE] UserSupportProperties extension 2022-03-17 22:55:30 +07:00
Gravita
6086b15c9f [FIX] Deprecate RestoreSession 2022-03-17 21:27:08 +07:00
Gravita
62094e0cf6 [FEATURE] Remove legacy session 2022-03-17 21:07:54 +07:00
Gravita
6aed114791 [FEATURE] MySQL and PostgreSQL AuthCoreProvider use OAuth 2022-03-17 20:57:20 +07:00
Gravita
afbed1345f [FEATURE] Support customJvmOptions 2022-03-17 19:30:10 +07:00
microwin7
999d7b7795
[FIX] MySQL remove limit 1 for update query 2022-01-24 09:10:26 +03:00
Gravita
07bfd0b340 [ANY] Update mirror 2022-01-12 20:45:13 +07:00
Gravita
2b95c58f28 [FIX] MicrosoftAuthCoreProvider 2022-01-12 02:15:01 +07:00
Gravita
4cb47d5891 [ANY] Set default mirror 2022-01-06 23:25:57 +07:00
Gravita
b496d60b40 [ANY] New client format support, fix fabric 2021-12-13 00:58:38 +07:00
Gravita
ce4f4cab62 [FIX] Postgresql no hwidId need 2021-12-10 20:57:21 +07:00
Gravita
796b2e2533 [FEATURE] Postgresql support 2021-12-10 20:46:49 +07:00
Gravita
fbb24bb904 [ANY] Deprecated old features 2021-11-10 23:44:19 +07:00
Gravita
f30daab0f7 [FIX] Proguard jdk dir specified twice 2021-11-10 23:32:26 +07:00
Gravita
50d8f12536 [FIX] Remove HWIDProvider 2021-11-10 23:14:26 +07:00
Gravita
ac1279ff5c [FIX] HttpAuthCoreProvider 2021-11-09 14:32:09 +07:00
Gravita
f8569f9165 [FEATURE] GSON serialize Record 2021-11-09 14:12:31 +07:00
Gravita
2d0957f834 [FIX] MemoryAuthCoreProvider 2021-11-09 12:22:18 +07:00
Gravita
2a2c2f6b93 [FEATURE] AuthCoreProvider rework 2021-11-05 22:19:00 +07:00
Gravita
15da924aa6 [FIX] AcceptPasswordVerifier 2021-10-23 17:27:08 +07:00
Gravita
618e981de5 [FIX] AuthProviderPair logger is null 2021-10-18 14:44:35 +07:00
Gravita
e5b603e2a9 [FEATURE] Use UUID for checkServer token 2021-10-17 16:53:33 +07:00
BartolomeoDR
af2155c4bf
[FIX] Fixed user is unable to play after logout
Right now refCount value is set to 1, and inside handler.setClient its being incremented to 2. Because of that refCount check never goes to 0, and so current session is never stored ( as only single handler has this client, and not two ).
2021-10-16 14:32:57 +03:00
BartolomeoDR
d1bc03664b
Update Client.java
Added ability to customize refCount value of a client
2021-10-16 14:27:48 +03:00
Gravita
1a7160c394 [FIX] Small UI improvements 2021-10-15 21:35:47 +07:00
Gravita
7d8975041f [FIX] Deprecation warning 2021-10-15 21:29:26 +07:00
Gravita
d9a8e161f1 [FEATURE] Improvements for token command 2021-10-15 21:25:27 +07:00
Gravita
b5aeac3ff2 [FIX] Correct error in checkServer 2021-10-15 21:05:26 +07:00
Gravita
112ac31803 [FIX] needMoreFactors 2021-10-13 21:28:43 +07:00
Gravita
26ed69e1a7 [FIX] FileAuthSystem module permissions 2021-10-13 20:01:12 +07:00
Gravita
dabe2e8106 [FIX] Ping Server 2021-10-12 17:34:44 +07:00
Gravita
58dfc472ac [FIX] ServerWrapper connect to ServerProfile 2021-10-12 17:09:19 +07:00
Gravita
9841ef3157 [FEATURE] Permissions 2021-10-12 16:55:32 +07:00
Gravita
a94b6e8836 [FEATURE][EXPERIMENTAL] Microsoft account support 2021-09-30 19:39:35 +07:00
Gravita
dfd565d44f [FIX] Bug fixes 2021-09-25 18:46:07 +07:00
Gravita
958686a032 [FEATURE][EXPERIMENTAL] New ServerWrapper auth system 2021-09-25 17:40:08 +07:00
Gravita
4c78d00360 [FEATURE] Pattern-based permissions system 2021-09-22 16:50:05 +07:00
Gravita
39ac6cdad8 [FEATURE] FileAuthSystem improvements 2021-09-22 13:52:17 +07:00
Gravita
4bd84728f3 [REFACTOR] Remove deprecated methods 2021-09-22 13:06:45 +07:00
Gravita
9b55e243e7 [REFACTOR] Remove AuthProvider/AuthHandler support 2021-09-22 12:45:48 +07:00
Gravita
fbbde7991e [REFACTOR] Upgrade to Java 17 2021-09-22 12:19:18 +07:00
Gravita
3cce0e93f3 [ANY] 5.2.2 stable 2021-09-22 11:15:10 +07:00
Gravita
11af2943db [ANY] Update gradle 2021-09-14 18:05:36 +07:00
Gravita
f0ae4cbb12 [FIX] AuthManager NPE 2021-09-12 17:52:28 +07:00
Gravit
acf106baa9
Merge pull request #515 from microwin7/dev
Update dependencies and fix HikariCP
2021-09-04 19:59:29 +07:00
Gravita
8694963313 [FIX] TextureProvider NPE error message 2021-09-04 19:54:48 +07:00
microwin7
c44162dbbe [FIX] build.gradle 2021-09-04 09:03:33 +03:00
microwin7
6211744b83 [FIX] build.gradle 2021-09-04 09:02:58 +03:00
microwin7
f279e97ea2 [ANY] Update common modules and FileAuthSystem_module README.md 2021-09-04 08:57:35 +03:00
microwin7
ad5c2382cf [FIX] AdditionalHash_module 2021-09-04 08:54:34 +03:00
microwin7
62991ed709 [FIX] MySQLSourceConfig HikariCP 2021-09-04 08:51:34 +03:00
Gravita
fb7a552843 [FIX] JsonAuthCoreProvider Bearer header 2021-08-23 15:56:08 +07:00
Gravita
dc3d75c650 [FIX] getParamsFromUri UTF-8 2021-08-17 15:05:27 +07:00
Gravita
3e973c5de3 [FIX] NPE Issue #506 2021-08-14 03:25:31 +07:00
Gravita
b7621ef760 [FIX] pro.gravit.launcher.debug 2021-08-10 04:30:55 +07:00
Gravita
a915d41b93 [FIX] JsonAuthCoreProvider joinServer/checkServer 2021-08-08 16:10:07 +07:00
Gravit'a
9fff11e887 [FIX] JsonCoreProvider verifyPassword 2021-08-08 14:53:25 +07:00
Gravit'a
19344b9d27 [FIX] jsonRequest 2021-08-07 03:02:47 +07:00
Gravita
4dd30faf7e [FEATURE][EXPERIMENTAL] Support slim skins 2021-07-27 04:26:10 +07:00
Gravita
b0538abe63 [FEATURE] Performance: Skin/Cloak local load 2021-07-27 04:26:10 +07:00
Zaxar163
eb9871123b
[ANY] Небольшой рефактор.
Обнаружил isClient и IS_CLIENT, ещё пару подобных пережитков...
2021-07-21 19:43:47 +03:00
Gravita
30ec6409fd [FIX] makeprofile fabric fix 2021-07-11 23:33:31 +07:00
Gravita
9112ca0c88 [FEATURE] launcherinstaller fabric 2021-07-11 18:35:36 +07:00
Gravita
afa0cd0366 [FEATURE] Downloader ProgressBar 2021-07-11 17:07:54 +07:00
Gravita
7f1583c0a3 [ANY] Обновлены библиотеки 2021-07-11 16:00:58 +07:00
Gravita
8085b50b3d [FEATURE] MakeProfileHelper 2021-07-11 15:35:51 +07:00
Gravita
0cc47a7b06 [FIX] JavaHelper Windows 2021-07-09 17:18:29 +07:00
Gravita
736aa93106 [FEATURE] MakeProfileCommand 2021-07-09 15:35:00 +07:00
Gravita
442ff9b752 [FIX] Compilation fix 2021-07-04 22:19:33 +07:00
Gravita
602a4b17f8 [FEATURE] DialogService, AdditionalDataRequest 2021-07-04 20:01:24 +07:00