Commit Graph

180 Commits

Author SHA1 Message Date
Luck
1312aac349
Add promote and demote methods to the API (#938) 2018-04-25 19:58:56 +01:00
Luck
f5c6b9e3d4
Add 'permission clear' command (#893) 2018-04-04 18:46:01 +01:00
Luck
7684ac5d3a
Add extra parameter to EventBus#subscribe which allows a handler to be bound to a plugin 2018-04-02 17:26:02 +01:00
Luck
5db3820df4
A few minor API javadoc changes 2018-03-12 18:58:11 +00:00
Luck
8f82ef7eb4
Add copyFrom method to Node.Builder 2018-03-01 09:19:26 +00:00
Luck
98fb9946e4
Refactor Contexts class 2018-02-28 19:13:21 +00:00
Luck
a42d27f056
Don't intern strings in ContextSets (#797) 2018-02-26 17:27:28 +00:00
Luck
168e712324
Update API to 4.1 2018-02-23 22:13:41 +00:00
Luck
966bf8bf51
Replace deprecated method usage in NodeTools 2018-02-23 14:20:30 +00:00
Luck
736105cc12
Add node equality predicates, and provide way to determine hasPermission behaviour using them (#782) 2018-02-22 23:34:35 +00:00
Luck
31e436868d
Nukkit support (#764) 2018-02-18 15:10:35 +00:00
Luck
31df29194b
Add source to UserPromote & UserDemote events (#722) 2018-02-01 21:33:32 +00:00
Luck
fe200ca1ec
Add API methods to load users/groups/tracks and return a future encapsulating the resultant object instead of a success flag 2018-01-30 15:55:36 +00:00
Luck
e28d15456c
Update some dependencies 2018-01-25 23:31:31 +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
ed223f0e4e
Don't allow empty context keys/values (#688) 2018-01-15 20:06:20 +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
3413adf16f
Send a different type of update ping for user changes, and only apply the change if the user is loaded 2017-12-28 13:37:55 +00:00
Luck
3d6aa69ca1
Improve various javadocs, add LogNotifyEvent 2017-12-27 17:00:54 +00:00
Luck
6602b23f09
misc cleanup 2017-12-23 23:51:42 +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
0bec93ab1c
refactor context sets 2017-12-11 19:02:02 +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
6ca9eb13dd
General tidy up 2017-11-18 23:20:48 +00:00
Luck
22fba0c172
Fix broken usage of LogEntry#getActed 2017-11-09 21:05:06 +00:00
Luck
14005563a3
Move #refreshCachedData up the type hierarchy into PermissionHolder 2017-11-08 22:59:22 +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
d75b29f51d
Move a couple more methods around in the API 2017-11-08 15:48:55 +00:00
Luck
175a21c0e4
API 4.0 - this is a breaking change 2017-11-07 22:05:49 +00:00
Luck
54695b8046
Form more descriptive console & import usernames 2017-10-23 23:37:55 +01:00
Luck
b26fc69e73
Remove usage of the now-redundant ExtractedContexts class, other misc cleanup 2017-10-15 14:23:51 +01:00
Luck
5732e60510
Remove cleanupUsers functionality
It was pretty useless (and wasn't implemented on SQL/Mongo storage types.) Data is naturally cleaned up over time as users are loaded/saved.
2017-10-12 20:38:08 +01:00
Luck
a3d78f4d0e
Always load dependencies into the plugin classloader, and not it's parent - fixes #479 2017-09-17 19:30:43 +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
269aa39378
Fix comparator and ensure @Nonnull annotated methods never return null in LogEntry 2017-08-20 14:51:46 +02: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
046202719a
Correctly export meta/prefix/suffix nodes to command strings 2017-08-14 18:58:12 +02:00
Luck
82466c2e5d
Properly implement Contexts#allowAll - bump API to 3.3 2017-08-13 22:21:04 +02:00
Luck
d23b29aeb1
Update dependency versions 2017-07-07 14:48:42 +01:00
Luck
7d4aca68cc
Fix jsr being shaded & tweak javadoc generation to link to guava docs correctly 2017-07-02 22:04:37 +01:00
Luck
2ffbeeef8e
Add jsr305 annotations to the API 2017-06-24 17:25:13 +01:00
Luck
e50fa17f7c
Store all accumulated meta values in MetaCache 2017-06-19 21:48:52 +01:00
Luck
8766e3b408
Add jar signing to build scripts 2017-06-19 20:09:18 +01:00
Luck
046daf23d0
Deploy source & javadoc jar with the API 2017-06-13 20:17:41 +01:00
Luck
0febdbe3a4
Update copyright headers in the API module 2017-05-21 09:47:08 +01:00
Luck
cc907b6530
Don't catch exceptions thrown inside i/o (#291) 2017-05-18 21:16:31 +01:00
Luck
abc1c164cf
Expose MetaStacks in the API, general cleanup, release 3.2 2017-05-16 21:41:20 +01:00
Luck
6817945e12
Bump sponge API version, cleanup 2017-05-09 12:55:45 +01:00
Luck
4382d5c56d
show uuid in log messages if username is null 2017-04-21 21:28:50 +01:00
Luck
67b5c72520
Cleanup handling of unknown/null usernames for users 2017-04-17 19:31:52 +01:00
Luck
1f54bc41cc
Cleanup poms, update copyright header 2017-04-15 19:01:52 +01:00
Luck
4fb07ff181
API changes for 3.1 2017-04-10 22:26:20 +01:00
Luck
132d0cf578
Fix export command switchprimarygroup output, and log player uuid if their username isn't included 2017-04-07 19:59:53 +01:00
Luck
e68fc7c558
Improve performance of resolve methods in PermissionHolder, other cleanup 2017-04-04 15:22:25 +01:00
Luck
0ec19a8fee
Implement accumulation of static contexts from a file 2017-04-03 01:42:49 +01:00
Luck
e7e2e3f7e0
Allow context pairs to be specified in commands, fix misuse of exceptions in the permission holder class 2017-04-02 18:44:05 +01:00
Luck
1137e476dd
Rewrite inheritance resolution implementation 2017-03-24 22:18:18 +00:00
Luck
073b775566
Implement nicer json format for Sponge local data 2017-03-19 17:54:12 +00:00
Luck
bdff84885a
Enforce that ContextSets use the HashMultimap variant - closes #208 2017-03-18 20:18:18 +00:00
Luck
dbc909a317
Cleanup migration commands 2017-03-13 19:10:36 +00:00
Luck
d18ac2e6eb
Cleanup pom files, maybe improve build speed a bit 2017-03-12 14:28:35 +00:00
Luck
9dc2278083
Cleanup a bit 2017-03-11 21:10:27 +00:00
Luck
bce7fa871d
Fix getAllNodes cache not working properly, remove pre-process contexts on Bungee & cleanup some unused methods 2017-03-11 17:55:50 +00:00
Luck
df99ef4481
misc cleanup 2017-02-26 12:43:35 +00:00
Luck
26afb69a14
Cleanup LuckPermsSubjectData (fixes #194) 2017-02-26 01:00:02 +00:00
Luck
6798fb21b2
Events rewrite, remove most deprecated API methods (v3.0) 2017-02-19 14:57:20 +00:00
Luck
9b8d6e1dc7
Modify node escaping to use "\" characters, and remove all limits on node/server/world strings - closes #166 2017-02-04 12:18:45 +00:00
Luck
aea44fc8bc
API changes for 2.17 - closes #123 2017-01-16 20:01:41 +00:00
Luck
6501e5cf8d
Fix bukkit permission subscriptions 2017-01-14 23:19:11 +00:00
Luck
cd7b3b4f6e
Fix compat with older guava versions 2016-12-03 13:55:51 +00:00
Luck
83b0f62d59
Implement full caching for non user/group subjects 2016-12-03 13:26:17 +00:00
Luck
307e2b889c
Changes for version 2.16 2016-12-02 20:20:31 +00:00
Luck
f1606ac51b
API changes for 2.15 2016-11-22 18:27:40 +00:00
Luck
67415babc2
Fix javadocs & fix compile 2016-11-12 16:25:44 +00:00
Luck
563dd4683d
Changes for & release of API 2.14 2016-11-12 14:10:42 +00:00
Luck
9894e45516
Fix issue with Vault lookups not being preprocessed 2016-10-24 15:57:05 +01:00
Luck
383276f47a
Refactor contexts, expose cached data in the API & release 2.13 2016-10-23 16:46:53 +01:00
Luck
cd758d7e48
Bump minor version 2016-10-13 20:40:09 +01:00
Luck
83d9229295
Refactor caching system (WIP) - still working towards #23 2016-10-12 21:57:57 +01:00
Luck
db8f1bca66
Fix API javadoc & fix Bukkit legacy build 2016-10-06 17:21:04 +01:00
Luck
2429831153
API changes for 2.11 2016-10-05 21:40:54 +01:00
Luck
a32ab4bf7f
Show where a permission was inherited from in the inheritsperm command 2016-09-30 19:21:19 +01:00
Luck
3424b0542a
Release 2.10 2016-09-25 17:32:58 +01:00
Luck
5ee6db02ff
Proper context implementation - WIP 2016-09-25 10:19:36 +01:00
Luck
fa9324bda8
Implement basic standalone base, working towards #9 2016-09-20 21:50:28 +01:00
Luck
b8f44df723
Add missing headers 2016-09-10 22:40:36 +01:00
Luck
ea07f05097
Release 2.8 2016-09-07 20:53:33 +01:00
Luck
995fc2ccd8
Bump internal release version and add missing javadoc 2016-09-05 20:06:41 +01:00
Luck
60bcd5f643
Release 2.7 2016-09-05 20:00:01 +01:00
Luck
23df8a2df8
Some small fixes 2016-09-04 16:24:36 +01:00
Luck
57f5a7c4cd
Release 1.6 2016-08-28 22:05:10 +01:00
Luck
6aea3b53f3
Only save unique users 2016-08-28 21:36:16 +01:00
Luck
9f5e194a6e
bug fixes 2016-08-28 17:43:02 +01:00
Luck
a3ebf86f6b
More progress towards 1.6: implement PermissionService 2016-08-28 14:57:03 +01:00