Commit Graph

2096 Commits

Author SHA1 Message Date
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
Luck
3c4091018c
Fix bukkit legacy 1.7 build 2021-02-18 13:28:47 +00:00
lucko
75d8f00400
Implement jar-in-jar loader system (#2899)
This fixes an issue that prevented LuckPerms from loading on Java 16
2021-02-18 12:21:17 +00:00
Luck
cb5f403043
Invalidate context cache on Bukkit PlayerJoinEvent
The players world is first defined just before this event, so we need to invalidate here as well as on world change
2021-02-16 17:38:45 +00:00
Luck
997e3c7ef7
Add timeout for command executions (#2887) 2021-02-10 11:38:35 +00:00
Luck
cb9e0899fc
Misc refactoring and tidying up 2021-02-10 11:12:30 +00:00
Luck
ab009ed110
Don't use pretty-printed JSON when uploading to bytebin for web apps 2021-02-05 12:44:48 +00:00
Luck
c8b89f245e
Tidy up RabbitMQMessenger a bit 2021-02-05 12:00:16 +00:00
Callum Seabrook
d8aefd23d3
Added virtual host support for RabbitMQ (#2877) 2021-02-05 11:38:13 +00:00
ruViolence
a8dfd38fe6
RabbitMQ messenger support (#2874) 2021-02-04 17:10:30 +00:00
Luck
b7ac05a0a5
Improve Fabric initial connection debug 2021-02-04 13:29:33 +00:00
Luck
b8e044c4e3
Fix Sponge build 2021-01-31 12:51:16 +00:00
Federico López
b708d04141
Improve CraftBukkit detection (#2867) 2021-01-31 11:01:44 +00:00
Federico López
d485017744
Fix trailing period in translation bundle (#2868) 2021-01-31 11:00:55 +00:00
Luck
35f5944d7b
Make separated flat-file read/writes atomic (#2860)
This has become an issue as a result of removing the global per user/group/track IO locks in 478fddc486
2021-01-29 11:42:48 +00:00
Federico López
d12be01ecd
Fix checking for table existence on SQL storage types (#2864) 2021-01-29 09:34:55 +00:00
Conclure
8043b84dc4
Substitute null check with Configuration#isSet (#2851) 2021-01-26 11:52:12 +00:00
Luck
284e260bc2
Fix node change events not being called for web editor changes (#2857) 2021-01-26 11:41:38 +00:00
Luck
ec296460b2
Always allow console to use LP commands (#2841) 2021-01-22 19:16:53 +00:00
Luck
20fee360fb
Don't use a WeakReference to hold platform sender objects (#2838) 2021-01-21 12:58:59 +00:00
Luck
cd496fdc39
Default apply-default-negated-permissions-before-wildcards to false on Bukkit/Nukkit (#2787) 2021-01-19 14:34:54 +00:00
Luck
f9030825fd
Add some more annotations to mark API methods 2021-01-19 14:29:49 +00:00
Luck
0a92597767
Don't use adventure-platform on Sponge (#2822) 2021-01-18 22:57:27 +00:00
Luck
6c34da6b32
Catch another Hikari/classloading issue 2021-01-18 13:18:05 +00:00
Luck
d5cefac65d
Fix Fabric permissions not being copied during player respawn (#2818) 2021-01-16 18:25:26 +00:00
Luck
2a44572fb2
Fix non-daemon command manager thread sometimes preventing shutdown 2021-01-16 18:24:10 +00:00
Luck
73230bc9b6
Tidy up node + context comparators a bit 2021-01-14 20:45:51 +00:00
Luck
be1b9d45fa
Show the full redis exception in logger output 2021-01-14 20:43:39 +00:00
Luck
238a4fba75
Rename MapProcessor to DirectProcessor 2021-01-13 18:25:02 +00:00
Luck
33e412f663
Include info about wildcards in permission check command output 2021-01-13 17:55:41 +00:00
Luck
c904ede972
Improve & consolidate permission check commands 2021-01-13 16:40:57 +00:00
Luck
489c09ddfc
Add /lp track <track> editor command (#2752) 2021-01-13 14:33:01 +00:00
Luck
505c073c8e
Add config to control whether display names are returned by the Vault hook 2021-01-09 20:36:08 +00:00
Luck
443ea510bb
Implement plugin message messenger service on Fabric 2021-01-06 13:14:41 +00:00
Luck
848c36928f
Fix logging in on Fabric using offline mode (#2810) 2021-01-05 10:30:28 +00:00
i509VCB
21abb94796
Fabric (#2029) 2021-01-04 15:23:54 +00:00
Luck
0a99a96188
Tidy up Node add/remove/clear API events 2021-01-02 21:16:45 +00:00
Luck
a8b1dc8c07
Only store ids of received messages for 1 hour to prevent high memory usage on instances with high uptime (#2807) 2021-01-02 20:08:56 +00:00
Luck
c3581c00d3
Fix verbose command no checks message format 2021-01-02 00:50:18 +00:00
Luck
8124a17adb
Conserve expiry time when promoting/demoting (#2794) 2021-01-01 20:25:47 +00:00
Luck
68167490d4
Fix permissible injection issue on Nukkit (#2791, #2799) 2021-01-01 20:00:03 +00:00
Luck
657cf2a45e
Brigadier arguments in the same parse tree need unique names (#2798) 2021-01-01 19:38:55 +00:00
Luck
d83559b949
Change permission tree size limits to be less restrictive 2021-01-01 18:17:56 +00:00
Luck
8167fbf73f
Give false default permissions priority over wildcards
I think this is a good compromise. It won't apply to registered permissions that are defaulted to 'op' (Bukkit) or 'undefined' (Sponge), only to those that are specifically set to false.

The change is configurable, enabled by default for new installs of LP.

Will hopefully go some way to resolving:
- #2787
- https://v2.nucleuspowered.org/docs/nowildcard.html
- NucleusPowered/Nucleus#1093 (and related)

cc: @dualspiral @slipcor
2020-12-23 14:36:31 +00:00
Luck
8dfeef9575
Some misc tidying up 2020-12-23 12:16:14 +00:00
Luck
5c44333892
Move migration commands to a separate jar 2020-12-22 14:53:22 +00:00
Luck
142cdc8e89
Add some unit tests
This is a start at least.. I have some catching up to do!
2020-12-22 14:40:29 +00:00
Luck
abb608b856
Support Bukkit-Forge hacks which add enum constants at runtime (#2779) 2020-12-20 15:45:57 +00:00
Luck
c28b1949a9
Process 'give default if needed' when saving instead of after each change made in the API (#2775) 2020-12-18 19:17:01 +00:00