- Adds `get_expiries` endpoint to retrieve expiries
- Adds `extend=True` parameter to the expire_msgs endpoint. This is
just like `shorten=True` but in the opposite direction (i.e. it allows
you to only extend).
- Adds `unchanged` key to the result of a expire_msgs: this is a dict of
all the hashes -> expiries of all hashes that were *not* updated when
using one of the new shorten/extend options.
This adds a new endpoint to the storage server to revoke a subkey. The
storage server will keep track of previously revoked subkeys and will
now check that a message authenticated by a subkey does not use one of
these revoked subkeys.
Allows subkey authentication for the `expire` endpoint; if using a
subkey, expiries can be extended but not shortened (so that you can't
misuse expiry to delete messages prematurely).
The `load_fields` calls using a ton of vertical space because of the
long list of type names; this adds some short typedefs to significantly
shorten them and make the formatted code much smaller.
Adding `"required": true` to the delete_msgs request tells SS to return
a 404 if no swarm members found anything to delete, allowing chaining
into a sequence to only proceed if a message got deleted.
This makes all endpoints consistent w.r.t. how the namespace is handled:
invoking with "namespace": 0 and omitting namespace are now equivalent
(and use the same signature value, with "" for the namespace value) for
all endpoints.
- Moves all source code under oxenss/
- Removes .../include, .../src setup
- Use include subdirectories and subnamespaces
- Various small code cleanups in common/utils code, eliminating or
splitting up unrelated functionality.
2022-04-29 14:17:00 -03:00
Renamed from httpserver/client_rpc_endpoints.cpp (Browse further)