Commit Graph

840 Commits

Author SHA1 Message Date
Him188
9ce468db95 Install serializers for Permission objects 2020-09-09 23:01:01 +08:00
Him188
0c94ea96a8 Fix generated usage 2020-09-09 22:54:47 +08:00
Him188
a6bd7b7d63 Fix data comparison, fix commands 2020-09-09 22:49:48 +08:00
Him188
6ec3390b8d Move extensions into PermissionService.Companion 2020-09-09 22:20:18 +08:00
Him188
4822a8c5fe Rename AncestorPermission to RootPermission 2020-09-09 22:09:37 +08:00
Him188
a6109bb301 Rename Permission.parent to Permission.parentId 2020-09-09 22:08:50 +08:00
Him188
6429e400f1 Rename BasePermission to AncestorPermission 2020-09-09 22:08:15 +08:00
Him188
39ef007370 Review: Add duplication details for DuplicatedPermissionRegistrationException 2020-09-09 22:06:09 +08:00
Him188
703c4feae1 Add missing opt-in annotations 2020-09-09 22:00:25 +08:00
Him188
d3e3db9662 (internal) Use MutableList for grantedPermissionMap 2020-09-09 22:00:06 +08:00
Him188
a7777d008a Change parameter permissionId: PermissionId to permission: P for PermissionService.testPermission;
Add PermissionService<P>.getOrFail
2020-09-09 21:55:48 +08:00
Him188
1abb0204a2 Update docs 2020-09-09 21:53:10 +08:00
Him188
6cdc85facd Fix permissionType checks 2020-09-09 21:45:12 +08:00
Him188
c622c1b4fe Fix NotNullMutableMap 2020-09-09 21:42:38 +08:00
Him188
8d115cd954 Don't infix for grantedWith 2020-09-09 21:41:20 +08:00
Him188
8661627607 Introduce NotNullMap and NotNullMutableMap 2020-09-09 21:34:08 +08:00
Him188
72df43db27 Cleanup 2020-09-09 20:07:32 +08:00
Him188
2926e55590 Introduce parentPermission for commands 2020-09-09 10:02:56 +08:00
Him188
44ef4e7c56 Introduce BasePermission 2020-09-09 08:59:39 +08:00
Him188
a830a095de Add extensions for permission 2020-09-09 08:41:28 +08:00
Him188
3183bc4018 Init ConsoleInput and BotManager on start 2020-09-08 21:43:00 +08:00
Him188
9fec51977e Remove the serializer of PluginKind 2020-09-08 21:41:32 +08:00
Him188
05cde028bf Fix docs 2020-09-08 21:37:26 +08:00
Him188
6010d8c618 Remove CuiPluginCenter 2020-09-08 21:37:20 +08:00
Him188
48f6d68581 Add missing license 2020-09-08 21:35:52 +08:00
Him188
485e7ec9f7 Rearrange implementations 2020-09-08 21:35:30 +08:00
Him188
5cfaef0fcd Use 'Console' for dataHolderName for builtins 2020-09-08 21:29:30 +08:00
Him188
bf4c82f1a5 ExtensionSelectors and improved extensions API 2020-09-08 21:28:56 +08:00
Him188
e1f8125163 Structured init phases; Load plugins and init services in order 2020-09-08 20:21:41 +08:00
Him188
102f359a11
Merge pull request #156 from mamoe/permission
PermissionService & Permissions
2020-09-08 20:16:12 +08:00
Him188
4d854dc4d5
Merge pull request #158 from AlightY/master
word revise
2020-09-08 19:51:16 +08:00
Him188
2f7d7fb097 Add docs 2020-09-08 19:27:30 +08:00
AlightY
5de88be198
word revise 2020-09-08 18:48:39 +08:00
Him188
60e13e73e9 Fix ExactMember, ExactTemp 2020-09-08 17:24:02 +08:00
Him188
5c2a9a9553 Integrate Command with PermissionService 2020-09-08 17:21:53 +08:00
Him188
7638a7e759 No more kapt 2020-09-08 15:51:45 +08:00
Him188
048a10cc50 Fix serializers for StorablePermissionService.SaveData 2020-09-08 12:34:20 +08:00
Him188
900eac58b4 Install serializer for PermissionImpl, make PermissionImpl final 2020-09-08 12:33:56 +08:00
Him188
9b3c7c1902 Install serializer for PermissionId 2020-09-08 12:33:12 +08:00
Him188
6af2094b8f Don't require plugin to be enabled when registering extensions 2020-09-08 12:23:27 +08:00
Him188
fac66583ed Make inheritors of AbstractPermissibleIdentifier data class 2020-09-08 09:54:39 +08:00
Him188
1f9705deaf Permissions 2020-09-07 21:59:15 +08:00
Him188
8e3e328672 PermissionService fundamental 2020-09-07 12:12:27 +08:00
Him188
599c0b6d59 Merge remote-tracking branch 'origin/master' 2020-09-06 14:25:06 +08:00
Him188
78d5f56c49 PermissionService fundamental 2020-09-06 14:24:50 +08:00
Him188
77176f5242 Adjust exception message for ExtensionException 2020-09-06 14:22:01 +08:00
Him188
7da6d33815 Add PostStartupExtension 2020-09-06 14:21:41 +08:00
Him188
52d417ad0e Check forbidden plugin names 2020-09-06 11:54:16 +08:00
Him188
9add8f71ef Add fake constructor for JvmPluginDescription 2020-09-06 11:44:16 +08:00
Him188
c3a4e5ef6f
Create Run.md 2020-09-05 14:30:22 +08:00