Luck
bf69d5314e
Implement Sponge subject lookup queries using CachedData from LP common
2018-03-07 23:50:23 +00:00
Luck
6d2ea659a4
Fix errors relating to sponge plugin parameter being an illegal argument ( #810 )
2018-03-03 20:43:41 +00:00
Luck
f93e8fdccd
Always fire SubjectDataUpdateEvent async
2018-03-03 16:27:43 +00:00
Luck
68e4d36f40
Extract common plugin behaviour into an abstract class
2018-03-03 16:26:37 +00:00
Luck
6c0bb61cb1
Remove sponge migration commands
2018-03-01 11:03:22 +00:00
Luck
d9a45b1090
Implement SubjectDataUpdateEvent ( #753 )
2018-03-01 10:58:08 +00:00
Luck
fbe84322b5
Cleanup parts of the sponge service implementation
2018-03-01 08:48:39 +00:00
Luck
98fb9946e4
Refactor Contexts class
2018-02-28 19:13:21 +00:00
Luck
6704ac4b46
Fully relocate the jedis driver
2018-02-24 18:20:56 +00:00
Luck
168e712324
Update API to 4.1
2018-02-23 22:13:41 +00:00
Luck
b1fa4263ed
Fix illegal argument exception when a proxied Sponge calculator adds an empty context ( #780 )
2018-02-22 22:24:21 +00:00
Luck
31d435dc2b
Update web related functionality to point to new locations and APIs ( #770 ) ( #784 )
2018-02-22 22:09:37 +00:00
Luck
da9977a30f
Fix compile and some minor formatting errors
2018-02-20 20:15:48 +00:00
Andrew
9c92522564
MongoDB Replica Set connections cannot resolve ( #776 & #777 )
2018-02-20 19:59:29 +00:00
Luck
31e436868d
Nukkit support ( #764 )
2018-02-18 15:10:35 +00:00
Luck
0adf85746d
Abstract out the process of traversing the inheritance tree, add configurable option to choose which algorithm to use ( #719 )
2018-02-16 17:46:17 +00:00
Luck
765f9d2545
Remove old schema migration code, cleanup a bit
2018-02-16 13:19:43 +00:00
Luck
fd937e3209
Refactor permission processors, misc cleanup
2018-02-04 18:39:34 +00:00
Luck
7f7116e1c7
Use OkHttp for web requests
2018-01-30 00:08:00 +00:00
Luck
0cc1c4e5a7
fix build, refactor Bukkit model classes
2018-01-28 14:18:53 +00:00
Luck
54dbede130
Add /lp debug command
2018-01-24 19:13:29 +00:00
Luck
982254ff5e
Reduce the amount of unnecessary data in info command outputs a bit
2018-01-23 19:55:21 +00:00
Luck
6923c4e247
Log the name of the calculator when an exception is thrown
2018-01-23 16:52:50 +00:00
Luck
4858e59b70
Don't relocate H2 or SQLite depends in favour of loading into isolated classloaders ( fixes #704 )
2018-01-22 21:32:31 +00:00
Luck
1f70ad978f
Cleanup usages of loadUser/loadGroup/loadTrack - eliminate possibility for unloading race condition ( #706 )
2018-01-22 17:34:15 +00:00
Luck
f18d230ff6
Force a clear of transient nodes when a User quits, don't just rely on their instance being unloaded
2018-01-21 20:25:00 +00:00
Luck
72d4e5cf7a
Remove the 'use-server-uuids' option and internal UuidCache system
...
The feature has stuck around since the early days - and solves a problem which really should never occur.
2018-01-21 20:18:13 +00:00
Luck
821dc4ef56
Expose a means to implement the plugin's MessagingService via the API
2018-01-19 23:35:41 +00:00
Luck
03a93b1186
Apply dependency remapping using an isolated classloader
...
* Fixes the issue which prevented LP from loading on Java 9
* Should also fix #697
2018-01-19 19:27:08 +00:00
Luck
a74475d4cd
serialise -> serialize
2018-01-18 19:21:02 +00:00
Luck
8a374aed04
add javadocs to Command class
2018-01-15 19:55:21 +00:00
Luck
9ceacdb739
Refactor some Sponge service details
2018-01-15 18:07:27 +00:00
Luck
39daed23c4
fix ~~minor~~ typo
2018-01-13 23:53:44 +00:00
Luck
19e6d4e4c8
Relocate dependency packages to prevent conflicts with other plugins
2018-01-13 23:27:55 +00:00
Luck
22006617d0
misc refactor for PermissionHolder & DummySender
2018-01-12 23:51:59 +00:00
Luck
3201d10bdd
Rewrite the way user instances are cleaned up and unloaded - towards #674
2018-01-10 21:28:33 +00:00
Luck
ea94bd8696
move bukkit-legacy module to a separate project, cleanup poms
2018-01-08 20:01:02 +00:00
Luck
f646c04d09
Remove lombok from the project
2018-01-07 18:40:23 +00:00
Luck
505a10a8b1
misc refactoring
2018-01-01 19:48:20 +00:00
Luck
4fd89e6a34
fix compile
2017-12-30 19:38:58 +00:00
Luck
7bf666b062
fix abuse of static in SubjectReferenceFactory
2017-12-30 16:11:41 +00:00
Luck
764665cf15
Populate Subject cache when obtaining SubjectReferences for instances which already exist
2017-12-30 15:23:31 +00:00
Luck
6602b23f09
misc cleanup
2017-12-23 23:51:42 +00:00
Luck
0b72507e2d
Correctly close flatfile database connections on disable, catch all exceptions when performing initial data load
2017-12-22 22:35:13 +00:00
Luck
cc3ddd51fd
fix copyright headers
2017-12-21 11:09:42 +00:00
Luck
f793fd5010
pass and account for the holder type when building PermissionCalculators
2017-12-19 22:48:53 +00:00
Luck
fb92fd9357
Extract out common constants & magic values into factory classes
2017-12-18 22:19:25 +00:00
Luck
a415a2705f
Return the loaded objects from storage methods as opposed to success flags
2017-12-18 17:03:59 +00:00
Luck
f86bdb7619
Misc cleanup
2017-12-17 12:17:46 +00:00
Luck
904bb90385
Refactor paginated command output, add flags for ordering 'permission info' entries, fix crashes caused by long messages ( #591 )
2017-12-16 21:05:43 +00:00
Luck
e5ce64266f
Add option to pull server setting from the server.properties file
2017-12-11 19:42:24 +00:00
Luck
322b522a52
propagate i/o errors to the futures returned by the dao
2017-12-10 01:47:00 +00:00
Luck
9dd4f71526
Remove the isAcceptingLogins storage state in favour of just throwing exceptions on usage
2017-12-09 19:02:23 +00:00
Luck
94b4e3d366
Validate checksums of downloaded dependencies
2017-12-09 18:36:08 +00:00
Luck
a5e41e479a
Use static empty context set where appropriate, cache reversed comparator instances
2017-12-07 19:49:04 +00:00
Luck
e2b9e37867
Change poms to conform to Sonatype's OSSRH requirements
2017-11-28 22:22:52 +00:00
Luck
1e105b4135
Cleanup sponge service impl
2017-11-25 15:56:02 +00:00
Luck
717835e5c1
Add config option for defining extra SQL connection properties ( #563 )
2017-11-25 11:37:30 +00:00
Luck
211fb219a7
Catch and ignore exceptions thrown when migrating a specific entity
2017-11-22 16:59:19 +00:00
Luck
b3e78c6dc1
Fix issue with loading tracks with configurate
2017-11-20 15:14:44 +00:00
Luck
6ca9eb13dd
General tidy up
2017-11-18 23:20:48 +00:00
Luck
987ea51264
Expose more connection pool settings in the config file
2017-11-14 19:39:46 +00:00
Luck
df37491199
maybe fix some bukkit migration issues when plugins use strange identifier formats, cleanup legacy message conversion on Bungee
2017-11-12 15:05:06 +00:00
Luck
a115ff8ce2
Final bits of API refactoring, add group data caches, fix issue with LPPermissionAttachment fake map injection
2017-11-08 22:55:05 +00:00
Luck
3e8f7911af
Fix tab completions not being returned for empty strings ( #538 )
2017-11-07 22:16:48 +00:00
Luck
175a21c0e4
API 4.0 - this is a breaking change
2017-11-07 22:05:49 +00:00
Luck
b7541c43c8
Add Sender#getNameWithLocation
2017-11-02 18:51:59 +00:00
Luck
230d9725e8
cleanup & fix build
2017-10-29 20:37:29 +00:00
Luck
72e6c75433
Cleanup / tidy up a number of classes
2017-10-29 12:58:49 +00:00
Luck
e8896fbdf7
Fix NPE on startup ( #520 )
2017-10-24 13:05:06 +01:00
Luck
54695b8046
Form more descriptive console & import usernames
2017-10-23 23:37:55 +01:00
Luck
b299301b69
Cleanup
2017-10-22 21:02:48 +01:00
Luck
a3a7198777
More storage refactoring
2017-10-22 20:09:53 +01:00
Luck
ca8cc91f37
Add group setdisplayname command ( #493 )
2017-10-22 16:58:53 +01:00
Luck
26c813c07b
Mode storage refactoring - write group nodes into their own section in flatfile types ( #502 )
2017-10-22 14:22:52 +01:00
Luck
ecfbed00b1
Add config option to allow invalid usernames ( #516 )
2017-10-22 09:00:10 +01:00
Luck
fa4bb0447a
Rewrite flatfile storage (YAML & JSON) to use configurate, add HOCON storage method
2017-10-21 23:20:45 +01:00
Luck
aa0be40124
Cleanup verbose handler & only send sponge OP command notification if the sender has permission
2017-10-16 18:55:17 +01:00
Luck
0f4c057395
Add highest_inherited and lowest_inherited meta stack elements
2017-10-15 15:13:23 +01:00
Luck
b26fc69e73
Remove usage of the now-redundant ExtractedContexts class, other misc cleanup
2017-10-15 14:23:51 +01:00
Luck
8920396360
Remove context pre-processing (mostly)
...
This approach isn't very effective when contexts are frequently changing, and it is hard to guess in advance which contexts are going to be in-use.
The Sponge version has proven that this whole system isn't really necessary.
Contexts for 'allow all' and 'global' are still pre-processed, however this should be significantly less work for the server. (even if it is being done async)
2017-10-12 20:17:52 +01:00
Luck
9c505e4402
Move Track methods away from checked exceptions, refactor ContextManager & primary group holders
2017-10-12 19:43:42 +01:00
Luck
9e6788de2f
Refactor context manager
2017-10-03 19:02:14 +01:00
Luck
1bd7e5c9c4
Refactor sponge cache invalidation
2017-09-29 23:21:12 +01:00
Luck
de8fb8de90
Only load slf4j if it's not already present on the server
2017-09-23 21:15:45 +01:00
Luck
777c972bdc
Cache SubjectReference instances, general cleanup
2017-09-21 21:59:27 +01:00
Luck
67602b8d85
Fix startup deadlock
2017-09-13 21:24:35 +01:00
Luck
2412edaa3a
Cleanup subscription updates & UserManager#loadAllUsers
2017-09-13 20:18:48 +01:00
Luck
096885d91f
Add tracing to /lp verbose, API updates/cleanup, add login process event, and utilise string interning for faster context/node comparisons
2017-09-10 21:25:00 +01:00
Luck
479bd91b74
Fix build
2017-09-04 22:32:02 +01:00
Luck
7fe5397e21
Fix incorrect usage of CompletableFuture#thenCombineAsync
2017-09-04 17:56:01 +01:00
Luck
754c7d8e3b
Add config option to prevent primary group removal ( #405 )
2017-09-04 17:03:17 +01:00
Luck
d60d0ac9c5
Reduce buffer times, refactor MessagingService init
2017-09-04 16:49:43 +01:00
Luck
509826949d
Add login debug option
2017-08-27 13:54:26 +01:00
Luck
39aaa8a292
Update for latest Text version
2017-08-22 22:51:49 +01:00
Luck
ae8be97db7
Dispatch log entries via the messaging service
2017-08-20 13:32:52 +02:00
Luck
f0ad40825b
Refactor and cleanup Log classes
2017-08-20 01:35:03 +02:00
Luck
909844aef5
Update KyoriPowered/text dependency
2017-08-16 10:56:35 +02:00
Luck
82466c2e5d
Properly implement Contexts#allowAll - bump API to 3.3
2017-08-13 22:21:04 +02:00
Luck
a40421fa1f
Optimizations to the core PermissionHolder class
...
- Remove usage of Java 8 streams from frequently called methods
- Use LinkedLists where appropriate to improve Iterator#remove speed
- Cache immutable multimap conversion
- Rename some methods to make the intended use/behaviour clearer
2017-08-13 19:24:00 +02:00