Commit Graph

1551 Commits

Author SHA1 Message Date
Luck
2e0a4d71a5
Fix redis close (#3353) 2022-03-27 16:50:31 +01:00
Luck
5647b2e5c6
Shutdown okhttp on plugin disable (#3347) 2022-03-23 20:15:03 +00:00
Luck
eece15d415
Close web editor sockets on plugin disable (#3326) 2022-03-20 10:45:59 +00:00
Luck
fb56189f0a
Improve AbstractJavaScheduler (#3326) 2022-03-19 23:30:39 +00:00
Marton Schneider
405c5c3cf9
Fix typo with env var reading (#3345)
* resolves LuckPerms/LuckPerms#3339

* change server name from env var => add to a separate option for this

* fix missing variable assignment
2022-03-18 21:01:01 +00:00
Marton Schneider
eeec818286
Allow server name to be specified with an env var (#3341) 2022-03-16 21:01:21 +00:00
Luck
138f2c1b3e
Provide snakeyaml for Fabric (#3325) 2022-02-28 20:45:15 +00:00
Luck
f840c76e44
Don't pretty-print exporter json (#3329) 2022-02-28 20:33:00 +00:00
Luck
775f1adf36
Support for command completions on Bukkit 1.18.2 2022-02-28 20:20:30 +00:00
Luck
8ed63159ce
Set mongodb uuid representation (#3324) 2022-02-27 13:17:12 +00:00
Luck
4bdcca6566
Update mongodb driver 2022-02-20 22:41:58 +00:00
Luck
5c8b0a604e
Maintain order in editor users/groups collection 2022-02-16 19:53:33 +00:00
Luck
59f3866e36
Warn if the API was classloaded by another plugin 2022-02-09 21:08:18 +00:00
Sxtanna
d45d9a295b
Optimize parent resolution in info commands (#3309) 2022-02-09 20:15:18 +00:00
Luck
b13a74c61e
Pre-generate web editor keypair to speed up initial session init 2022-02-09 20:08:16 +00:00
Luck
0fe85ed6ff
Ignore http 503 error from socket server 2022-02-09 19:59:01 +00:00
Luck
bc15e348f5
Optimize bulk user loading for editor command (#3273) 2022-02-08 22:45:00 +00:00
Luck
1b3b9b5c62
Update commodore to fix running LP commands from a Forge client (#3299) 2022-02-07 22:35:52 +00:00
Luck
fe80ba6cc4
Shutdown ForkJoinPool worker on disable (#3247) 2022-02-07 21:27:26 +00:00
lucko
ee79f53612
SpongeAPI 8 (#2728) 2022-02-07 21:10:01 +00:00
lucko
d3029a8467
Web editor socket connection (#3303) 2022-02-07 19:13:09 +00:00
Luck
f61d9ff9f0
Fix NPE from permission holder initialisation order (#3263) 2022-01-02 16:58:15 +00:00
Luck
a53c9fad00
Reuse the same InheritanceOrigin object where possible 2022-01-01 20:49:12 +00:00
Luck
4de7448394
Include whether a node is normal/transient in InheritanceOriginMetadata 2022-01-01 19:33:48 +00:00
Luck
6781c1fb51
Provide API access to cached data result info (#3243) 2022-01-01 14:38:46 +00:00
Luck
acdc259771
Fix MetaValueSelector NPE 2021-12-31 17:50:42 +00:00
Luck
d319d8dc52
Fix TristateResult NPE 2021-12-31 17:24:38 +00:00
lucko
2d662cbab9
Retain cause node information for cached permission/meta data (#3250) 2021-12-31 16:03:00 +00:00
OmegaWeaponDev
ae93c9768b
Add default file name for export command (#3248) 2021-12-31 16:02:24 +00:00
Luck
664cad21a9
Clarify uuid type in user info command (#3233) 2021-12-10 23:47:06 +00:00
Luck
8cc126f711
Add config option to disable bulkupdate functionality 2021-12-09 21:32:02 +00:00
Luck
9c0874162b
Fix cast to long in MongoStorage 2021-12-04 10:41:12 +00:00
Luck
f35a9b6a09
Update dependencies for 1.18 2021-12-02 13:24:02 +00:00
Tadhg Boyle
64bd8b5eaf
Add pagination to listgroups command (#3226) 2021-11-30 19:52:43 +00:00
Luck
e227d96cbf
Fix sql insert player query (#3225) 2021-11-28 10:46:48 +00:00
Luck
6e07d6ad36
Revert "Fix player insert duplicate key issue with PSQL (#3223)"
This reverts commit d6c810aa71.
2021-11-28 10:29:55 +00:00
Tadhg Boyle
d6c810aa71
Fix player insert duplicate key issue with PSQL (#3223) 2021-11-27 22:48:22 +00:00
Luck
10f698b70f
Add warning for common editor mistakes 2021-11-27 17:58:10 +00:00
Luck
594f50bee7
Add config option to disable context calculators 2021-11-27 09:49:01 +00:00
Luck
9204848ffb
Fix username lookup returning "null" instead of null (#3220) 2021-11-27 09:43:47 +00:00
Luck
272d289d4a
More context performance improvements (#3209) 2021-11-18 18:21:30 +00:00
Luck
c9d4c7dac7
ContextSet performance improvements (#3209)
A bit experimental, should be stable enough though.
2021-11-17 23:18:11 +00:00
Eduard Wayland
848fc353d4
Added redis authentication with username (#3201) 2021-11-12 22:49:46 +00:00
Luck
9c5a43b487
Allow meta/prefix/suffix nodes to be negated to cancel inheritance (#3020) 2021-10-18 22:10:20 +01:00
Luck
b2c76aca7d
Improve translations handling (#3166) 2021-10-10 13:26:33 +01:00
Luck
2cf77db8b6
TranslationManager fixes and improvements (#3165) 2021-09-18 17:30:17 +01:00
Luck
d1cb644712
Fix empty prefix/suffix strings in YAML storage (#3139, #3160) 2021-09-10 19:14:47 +01:00
Luck
9cd33d26f2
Fix toLowerCase/toUpperCase locale sensitivity 2021-08-25 20:09:20 +01:00
Luck
a182768cfa
Change user housekeeper to be more lenient towards API usage (#3143) 2021-08-25 19:30:46 +01:00
Callum Seabrook
ba522597a8
Update to Gradle 7 (#3051) 2021-08-20 18:16:39 +01:00
Luck
b232cb94b4
ReflectionClassPathAppender on Java 16+ 2021-08-17 21:29:10 +01:00
Luck
b3ebf202fd
Update adventure-platform for 1.17 (#3127) 2021-08-06 14:35:23 +01:00
Emily
0fa3095241
Save renamed group before syncing with storage (#3129) 2021-08-06 09:59:38 +01:00
Luck
5ea2aee2f4
More helpful error message when user is null in API PlayerAdapter (#3104) 2021-07-18 20:38:06 +01:00
Luck
cfb298f69b
Use different classifier for dependency files with Bukkit-Legacy remappings 2021-07-08 22:54:04 +01:00
Emily
fb36bd0ced
Bulk update triggers for group related commands (#3073) 2021-07-04 10:00:18 +01:00
Luck
4598435dd4
Fix extension loading causing whole plugin to error 2021-06-13 12:46:02 +01:00
Luck
51202924af
Update commodore for MC 1.17 support 2021-06-12 17:57:43 +01:00
Jacob C
8ae70990ad
Generify SqlStorage shutdown exception message (#3039) 2021-06-10 21:16:23 +01:00
Luck
ad49508b74
Some misc tidying up 2021-05-23 11:29:22 +01:00
Luck
05c9ca5951
Properly cleanup JarInJarClassLoader when plugin disables 2021-05-23 11:27:45 +01:00
Luck
f5cdb98b01
Fix ExpiringSet not really working & causing memory leaks (#3027) 2021-05-19 12:31:48 +01:00
Luck
1511193e58
Add Bukkit child permissions to the PermissionRegistry 2021-05-06 12:23:09 +01:00
Luck
528d668bc6
API User#setPrimaryGroup should care about stored value only (#3008) 2021-05-03 23:10:57 +01:00
Luck
931d61e2ed
Include more information about targets in verbose payloads 2021-05-02 15:50:38 +01:00
Luck
9d4f278117
Remove redundant CommandResult enum 2021-04-22 21:01:57 +01:00
Luck
1d465aa800
Fix track editor command for empty tracks (£2997) 2021-04-22 20:32:43 +01:00
Luck
8741e8259f
Fix commodore not working after dependency update 2021-04-18 18:42:57 +01:00
Luck
98adb046ee
Update lots of dependencies 2021-04-18 18:20:54 +01:00
Luck
0808392353
Update adventure 2021-04-18 13:33:22 +01:00
Luck
07f672ae1f
Add 'skip-bulkupdate-confirmation' config option (#2980) 2021-04-18 11:55:06 +01:00
Luck
82488140ee
Parallelize user data load in web editor request (#2973) 2021-04-07 08:32:02 +01:00
Luck
327ccec02f
Use the correct config file location on Fabric and Sponge (#2972) 2021-04-07 08:24:38 +01:00
Federico López
46efe0ef93
Give default group if needed on UserManager#modifyUser (#2971) 2021-04-07 08:11:19 +01:00
Luck
c2231bcc2e
Disallow empty permission node (#2966) 2021-04-05 18:30:12 +01:00
Luck
d150bd39a5
Send messaging service ping for creategroup command (#2956) 2021-03-25 22:28:52 +00:00
Federico López
f813122468
Fix 'meta settemp' ignoring temporary modifier (#2958) 2021-03-24 21:28:00 +00:00
Luck
2e62c98c45
Avoid blocking worker pool for command timeout check (#2951)
3rd time lucky...
2021-03-24 12:40:24 +00:00
Luck
2dc6902001
Fix deadlock when lots of commands are executed at the same time (#2951) 2021-03-23 11:10:18 +00:00
Luck
6b2c4bca58
Change command manager lock handling to avoid non-fair tryLock call 2021-03-20 15:28:45 +00:00
Luck
1c7e2dfb8c
Fix very lenient duration parsing (#2940) 2021-03-19 19:59:15 +00:00
Daniil
a17b441165
Don't rely on getPackage to determine generated class name (#2937) 2021-03-15 12:12:02 +00:00
Luck
e3138eb94c
Make console detection more resilient against spoofed UUIDs 2021-03-13 14:25:33 +00:00
Luck
53bb61f9b2
Allow server name to be specified by a system property 2021-03-13 14:16:02 +00:00
Luck
370e2aed0d
Add some missing null annotations 2021-03-13 14:14:59 +00:00
Luck
c948632dfa
Create a copy of args for command timeout catcher 2021-03-02 17:53:10 +00:00
Luck
9647b7de43
Translation file fixes 2021-03-01 13:20:47 +00:00
Luck
e7f2a8d713
Add config option to disable built-in contexts 2021-03-01 11:18:21 +00:00
Luck
bf0ac1a867
Micro-optimise some frequently iterated lists 2021-03-01 10:38:48 +00:00
Luck
89894353b6
Add web editor deletion cause 2021-03-01 10:16:21 +00:00
Luck
ca65e2175d
Add getMetaValue API method that accepts a value transformer function 2021-02-28 12:04:23 +00:00
Luck
84c5b818b8
Add cancellable UserUnloadEvent 2021-02-27 18:24:39 +00:00
Luck
4ff2c75538
Add config option to set Hikari keepalive property 2021-02-22 23:02:43 +00:00
Luck
734b011dc7
Some minor tidying 2021-02-22 22:51:45 +00:00
Federico López
4018493285
Fix holder type and name on hover and click events in meta info entries (#2906) 2021-02-22 11:14:45 +00:00
Hai-tun
435e039b38
Bump PostgreSQL version (#2903) 2021-02-20 11:09:07 +00:00
Luck
16ee500054
Fix NoClassDefFoundError when loading extensions on non-JiJ platforms 2021-02-19 16:33:59 +00:00
Luck
88f040e822
Allow extensions to opt to be added to the parent classloader instead 2021-02-19 16:25:11 +00:00
Luck
a766c0e9aa
Support the web editor payload format in /lp import
This means that if a user accidentally deletes data locally but still has a working web editor session, they can automatically recover the data contained in the session by importing it with the --upload flag.

Of course, this will only be able to recover the data present in the session. The sensible thing would be to create proper backups (using /lp export or otherwise) - but hey, people are dumb.
2021-02-19 14:33:54 +00:00
Luck
40e8038604
Fix non-lower-case meta lookups via the API (#2900) 2021-02-19 09:43:37 +00:00