Anton Tarasenko
3020318025
Complete user groups/adata implementation
2 years ago
Anton Tarasenko
ec567d51dc
A fuckload of changes, need to rebase anyway
2 years ago
Anton Tarasenko
fb062a361e
Change add/removeuser subcommands for usergroups command
2 years ago
Anton Tarasenko
f1497cd0ff
Add proper `IsEqual()` method to `UserID`
2 years ago
Anton Tarasenko
8507a79f6e
Add in-progress version of "usergroups" command
2 years ago
Anton Tarasenko
932839fe2e
Fix formatting
2 years ago
Anton Tarasenko
b52aa61eb3
Add finalizer to `UserID` class
2 years ago
Anton Tarasenko
c0363244c9
Add scheduled saving to configs
2 years ago
Anton Tarasenko
0cdc77fe09
Add new `UserAPI` methods
2 years ago
Anton Tarasenko
7419c6f907
Add scheduler support to users feature
2 years ago
Anton Tarasenko
4c4b9f7a33
Refactor local group loading
2 years ago
Anton Tarasenko
8f7c908b6f
Finish group management methods
2 years ago
Anton Tarasenko
04f6eb7bbf
Improve documentation
2 years ago
Anton Tarasenko
3eacea5827
Add methods for addding and removing users
2 years ago
Anton Tarasenko
356b1d6cbf
Refactor group API
2 years ago
Anton Tarasenko
86648239f9
Add dirty changes made thus far
2 years ago
Anton Tarasenko
7f6911ec77
Add reading users' groups from user data database
2 years ago
Anton Tarasenko
8d34d6db54
Add support for user groups inside `User`
2 years ago
Anton Tarasenko
ea112e426a
Fix usage of object references in user-related classes
...
References returned from methods should be deallocated and methods that
return those references should increment reference count to account for
that. These classes were writted before this system and didn't correctly
handle references. This patch addresses that.
2 years ago
Anton Tarasenko
b00d67a9a2
Add "AcediaUserGroups.ini" config
2 years ago
Anton Tarasenko
70d3dc5957
Move command classes into CoreRealm
2 years ago
Anton Tarasenko
cd056b9daa
Document commands-related classes
2 years ago
Anton Tarasenko
187e69eedc
Fix command classes formatting
2 years ago
Anton Tarasenko
4d8bb3d09c
Add alias support into "help" command
2 years ago
Anton Tarasenko
b568548da8
Remove "test" command
2 years ago
Anton Tarasenko
759d2b512d
Add `GetAllAliases()` method for alias sources
2 years ago
Anton Tarasenko
a93a74d4d3
Fix command aliases not being properly added
...
There were numerous errors in new files, as well as conflicts with the
ones added awhile ago.
2 years ago
Anton Tarasenko
0f0f2b6dae
Add command alias support for `Commands-Feature`
2 years ago
Anton Tarasenko
7fdd51d5b7
Change Command_Feature's interface for accepting command input
2 years ago
Anton Tarasenko
7cae407049
Add new alias source for commands' aliases
2 years ago
Anton Tarasenko
2286540a60
Fix comments for `ResolveCustom` methods from `AliasAPI`
2 years ago
Anton Tarasenko
fb52e29d1a
Add auto-alias resolving for Acedia's commands
2 years ago
Anton Tarasenko
40d35f4cfb
Fix `ResolveCustomSource()` not always copying argument on failure
2 years ago
Anton Tarasenko
d28f00593a
Fix comment/documentation for `AliasesAPI`
2 years ago
Anton Tarasenko
0ee809194a
Add parsing support for players command arguments
2 years ago
Anton Tarasenko
518332da39
Change register of `CPT_Players` type definition
...
This is a stylistic change
2 years ago
Anton Tarasenko
a7bb4a84d9
Fix `PlayersParser` not properly cleaning `EPlayer` reference
2 years ago
Anton Tarasenko
eba74e29f1
Add tests for JSON command arguments
2 years ago
Anton Tarasenko
caa2d01a7e
Fix command parser not using methods with `Text` output
2 years ago
Anton Tarasenko
e1943612b7
Add parsing support for JSON command arguments
2 years ago
Anton Tarasenko
b282dfdcff
Add coloring for new argument types in "help" command
2 years ago
Anton Tarasenko
5351d13a5d
Fix JSONAPI not parsing JSON values padded with spaces
...
JSONAPI couldn't parse JSON values like " {"key": :value"}" because of
the spaces before the opening curly brace. This behaviour was judged to
be unintuitive and a bug. This patch fixes the issue by always skipping
spaces in front of the value.
This should not break parsing JSON string values, since they are
supposed to start with double quotation mark.
2 years ago
Anton Tarasenko
499b4359ed
Fix names for JSONAPI's internal methods
2 years ago
Anton Tarasenko
40e7bb4b48
Add new argument types for JSON and players
...
This patch adds two more possible argument types for Acedia's commands:
for arbitrary JSON values (argument types for any specific type of value
were already availabler before) and for players type of value (allowing
to specify a list of players with selectors, similar to how one does it
for targeted commands).
This patch does not actually implement parsing of these two arguments,
simply adds a possibility to declare them.
2 years ago
Anton Tarasenko
f246739d36
Add spaces between lines
2 years ago
Anton Tarasenko
e7372c8b6d
Add `FindInstance()` method for `MutatorAPI`
2 years ago
Anton Tarasenko
f9c9cde5e1
Add wave component and `ASquad` object
2 years ago
Anton Tarasenko
6a0c8ba5ee
Fix `Collection.GetItemByJSON()` method mishandling reference counting
2 years ago
Anton Tarasenko
acd7f311fe
Add implicit conversion between `int` and `float` inside collections
2 years ago
Anton Tarasenko
c0137e5003
Change source ini file for Acedia's feature aliases
2 years ago