e840b3e47b
Move accountant into world
2020-07-24 20:06:06 +01:00
46f81abbd7
Move accounts into rove-server.internal
2020-07-10 18:57:57 +01:00
dc2800fa54
Move Accountant behind an interface
2020-07-10 17:09:47 +01:00
92222127a6
Add basic account security
...
This adds a secret token associated with each account
The token must then be sent with follow-up requests to ensure they get accepted
This is _very_ basic security, and without TLS is completely vulnerable to MITM attacks, as well as brute force guessing (though it'd take a while to guess the a correct UUID)
2020-07-07 22:20:23 +01:00
b5707ab71c
Fix all go vet issues
2020-07-01 00:01:20 +01:00
abcebcebb6
Simplify - remove rove-accountant
...
This was a fun little gRPC experiment but it's simply not needed
2020-06-30 23:34:49 +01:00
8c6230ca20
Implement a reverse proxy using grpc-gateway
2020-06-13 00:23:21 +01:00
7ababb79f6
Migrate to gRPC rather than REST with swagger
...
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
2020-06-12 22:51:18 +01:00
223c50228e
Add comments to the accounts proto file
2020-06-11 18:38:34 +01:00
99da6c5d67
Move accountant to it's own deployment using gRCP
2020-06-11 13:24:42 +01:00
8f25f55658
Refactor accounts to store a data map rather than just a rover ID
2020-06-10 22:48:45 +01:00
7749854eb7
Remove account IDs in favor of just account names
...
These were a "security" feature but pre-emptive and just add complications when we can implement secrets later
2020-06-10 18:57:43 +01:00
14c4e61660
Fix up gocritic issues
2020-06-10 12:34:04 +01:00
e242fcc4f7
Fix issue with command returning true when no rover was spawned
2020-06-06 00:18:41 +01:00
0fbad15c01
Huge Instance -> Rover refactor, for clarification
2020-06-04 21:19:25 +01:00
e2857d7506
Add the /commands path to handle a set of commands
...
Entirely synchronous now but allows for the "move" command
2020-06-03 18:40:19 +01:00
c5ebbc3c40
Extract persistence code into own class
2020-06-03 12:10:31 +01:00
4c76530832
Fix tests and actually use the account name
2020-06-02 18:06:34 +01:00
b152861222
Add test for /spawn
...
Required small refactor
2020-06-02 18:00:51 +01:00
68d117e0d8
Serialise the World as well
2020-06-02 18:00:51 +01:00
50c970fea2
Add /spawn command to let an account spawn it's primary instance
2020-06-02 18:00:51 +01:00
5033ec4e63
Specify the persistence path using the command line
2020-06-02 16:12:44 +01:00
179dd3f984
Implement saving and loading for account data, currently a basic json file
2020-05-31 19:15:57 +01:00