1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
93e9907e03 better provider config 2024-09-23 02:37:00 +03:00
de4e8a3178 do not replace an already existing skin file when migrating 2024-09-13 09:39:28 +03:00
e7d8dfa6b6 catch UncheckedExecutionException for better exception message 2024-09-06 03:06:42 +03:00
017478374d use switch expression in WebUtils.throwOnClientErrors 2024-09-06 02:33:31 +03:00
3360bc567b remove unused imports 2024-09-06 02:32:50 +03:00
75889944e9 make cache duration for providers configurable 2024-09-03 20:46:24 +03:00
8baad37227 Merge remote-tracking branch 'origin/1.21-multiloader' into 1.21-multiloader 2024-09-03 20:09:26 +03:00
4280659c70 use java services for platform specific stuff 2024-09-03 19:15:00 +03:00
2e7c42b619 add translations for config reload command response 2024-09-02 02:10:41 +03:00
9873747dfb add response to config reload command 2024-09-02 02:10:19 +03:00
b209893511 raise skin config command required permission to 4 2024-09-02 02:07:46 +03:00
3a8a513180 add caching to skin providers 2024-08-29 20:31:35 +03:00
9e0c41482f add refreshSkinOnJoin config 2024-08-29 06:43:28 +03:00
449e286fba add skin config reload command 2024-08-29 06:35:40 +03:00
c536dd36e2 recreate http client on config reload 2024-08-29 06:30:52 +03:00
b2ae60ac73 split return and property creation 2024-08-29 00:28:38 +03:00
b850086ad8 implement mojang profile caching 2024-08-29 00:26:04 +03:00
6611077b93 remove PlayerUtils.findTexturesProperty 2024-08-29 00:25:35 +03:00
417ed7d695 parse mojang response with strict types 2024-08-29 00:24:36 +03:00
40cddfc2a7 parse ely.by response as MinecraftProfilePropertiesResponse 2024-08-29 00:20:46 +03:00
0d6ed15014 preparse url in MineskinSkinProvider 2024-08-29 00:06:34 +03:00
182f0c4497 use Iterables.getFirst instead of Stream API in PlayerUtils.getPlayerSkin 2024-08-28 22:58:19 +03:00
3492f82214 register profile related type adapters 2024-08-28 22:45:29 +03:00
2f5edc7069 rename SkinRestorer.resource to SkinRestorer.assetPath 2024-08-28 22:44:35 +03:00
29a8b406c1 extract proxy parsing logic to Proxy class 2024-08-28 22:39:13 +03:00
304c3b371d use custom GSON in JsonUtils.parseJson 2024-08-28 17:10:49 +03:00
d286270bdc fix old skin directory migration not working 2024-08-28 16:49:47 +03:00
2bd9e55b53 validate username before sending requests 2024-08-28 16:26:49 +03:00
7fcf515790 verify and fix config 2024-08-20 13:14:39 +03:00
4339753271 add aliases for FirstJoinSkinProvider 2024-08-20 13:13:32 +03:00
251fdce7ff allow to configure skin provider for first join skin fetching 2024-08-20 12:41:44 +03:00
84da16fae6 use System.currentTimeMillis() instead of Date.getTime() 2024-08-03 23:30:51 +03:00
82baf0b63e use neoforge gradle 2024-08-03 10:41:00 +03:00
6cf7d0c465 use fabric loom in common project 2024-08-01 18:00:45 +03:00
20feec931f formatting 2024-08-01 16:13:23 +03:00
f9aa3f664a add pack.mcmeta 2024-07-31 17:13:14 +03:00
9edbb21128 use multiloader template 2024-07-31 16:30:19 +03:00
7bceb0d5ed log "failed to fetch skin on first join" as warning 2024-07-16 19:53:27 +03:00
65957b61c5 fix concurrent modification 2024-07-16 19:51:45 +03:00
dirtTW
1dc1789fa4 Apply suggestions from code review
Co-authored-by: notlin4 <121224522+notlin4@users.noreply.github.com>
2024-07-03 17:24:33 +07:00
dirtTW
85a0fa760b Update zh_tw.json 2024-07-03 17:13:57 +07:00
dirtTW
0a00b40655 Added Traditional Chinese (zh_tw.json)
Added Traditional Chinese translations
2024-07-03 17:11:34 +07:00
f98808583d add function to send effects for backporting 2024-07-03 01:48:13 +03:00
3ed9c67faa add timeout and proxy config 2024-07-02 12:14:30 +03:00
b6b10c1e9e move Translation to its own package 2024-07-02 01:26:39 +03:00
399636e1ae add ely.by provider 2024-07-02 01:24:40 +03:00
3e88781186 display error message in case of exception 2024-07-02 01:24:12 +03:00
686d659126 merge if 2024-07-02 00:44:49 +03:00
8f20c6a68a better display invalid provider error 2024-07-02 00:44:01 +03:00
dd3c5ac58d downscale icon 2024-07-02 00:43:36 +03:00