John-Mark Gurney
21dfa9e3c5
failfast so it's easier to debug..
2 years ago
John-Mark Gurney
d4d2d2e367
minor changes to sorted, and make hashing large files work..
2 years ago
John-Mark Gurney
70c68310c3
skip a few, and import a test as different name so it runs..
2 years ago
John-Mark Gurney
51aa039e9b
depend upon version restriction in setup.py
2 years ago
John-Mark Gurney
f90c3d16ba
catch up w/ work, drop Klein for FastAPI, 3.8, and other minor
changes..
2 years ago
John-Mark Gurney
6c521cbcf5
these changes are broken, but about to clean stuff up so checkpoint..
This was partial work to go to python3, but I've now since learned that
going twisted is not the way I want to work for web frameworks, so a
large amount of this code will be dropped (kleintest.py) or rewritten..
3 years ago
John-Mark Gurney
4dd21d78cf
update to python 3..
3 years ago
John-Mark Gurney
1514a41ca1
can now look up objects based upon their hash..
4 years ago
John-Mark Gurney
db01bcffad
make sure invalid attributes raise correct exception...
Personas can now create metadata objects that are linked to themselves..
4 years ago
John-Mark Gurney
f6590c734d
comment out some debug statements..
4 years ago
John-Mark Gurney
bf544391fa
don't run some tests twice due to bad subclassing... add support
to save/restore the state of the server..
5 years ago
John-Mark Gurney
54b6ec745f
rename overlay_refs to parent_refs... fix up hash string
description..
5 years ago
John-Mark Gurney
bc99e0ba99
add a couple comments to describe why the error cases are there..
5 years ago
John-Mark Gurney
afc81b59ea
get basic object storage and lookup working...
5 years ago
John-Mark Gurney
7d6f404bcd
encode UUIDs as bytes.. This shrinks the pubkey string significantly...
5 years ago
John-Mark Gurney
42eb9220d9
before this test, verify was unneeded..
5 years ago
John-Mark Gurney
74d73cddd3
basic support for addpubkey and verifying submitted objects..
5 years ago
John-Mark Gurney
9627bf4e82
misspelling fix that didn't make previous, add uuid property for Persona
5 years ago
John-Mark Gurney
4ab4553af1
expand the pubkey to include the uuid from the identity...
this is needd to be able to lookup the pubkey...
In testing this, we verified the identity obj, and it
exposed the issue that the ASN1DictCoder doesn't actually
make canonical output (dict keys were not sorted), so fix
this locally...
5 years ago
John-Mark Gurney
3a7e7d50bf
add support for request bodies.. make sure we handle app failures
properly by setting the status code properly...
5 years ago
John-Mark Gurney
5834387a0b
add the basics for running the server, still incomplete..
5 years ago
John-Mark Gurney
e852abcc2a
refactor and make an interface to get the public key in an printable format
5 years ago
John-Mark Gurney
834a6880f9
make the comment match the code..
5 years ago
John-Mark Gurney
22ad754779
print out the base58 encoding of an identity's public key so that
it can be loaded into the server to be authorized...
5 years ago
John-Mark Gurney
53b70e6a3b
hide the test cases from import *
5 years ago
John-Mark Gurney
5240a7d92b
allow updating properties of the identity
5 years ago
John-Mark Gurney
c3c8baf075
add option to generate your identity...
5 years ago
John-Mark Gurney
8780e6807b
make common properties directly setable, as there must only
be one of them..
sign the identity object w/ the generate key...
prep for generating identities in the cli..
5 years ago
John-Mark Gurney
997ca67c62
add signing support...
as part of this work, also uplifted automatic promotion of uuid
to a UUID object...
add encode/decode methods to MDBase to make things more simple
when handling serialization...
5 years ago
John-Mark Gurney
247eb2dde7
add Persona and various tests for it..
5 years ago
John-Mark Gurney
e30849421f
move fixtures ignore to the dir, and add the new persona
5 years ago
John-Mark Gurney
aa0b36c185
start work on the http server for this work...
look at using signatures for items..
5 years ago
John-Mark Gurney
8b0b56036b
ignore coverage data..
5 years ago
John-Mark Gurney
4efdcc6634
fix coverage of overlays, and mark a not implemented
exception as no cover..
5 years ago
John-Mark Gurney
d7741a1307
ignore the virtualenv dir..
5 years ago
John-Mark Gurney
8562359ad0
add module to parse mtree output that is compatible w/ bsdtar..
5 years ago
John-Mark Gurney
a892b7273a
add overlay support
5 years ago
John-Mark Gurney
74d6bf08c1
add support for append and delete to the cli..
5 years ago
John-Mark Gurney
5359b43697
properties need to be lists, as there might be multiple ones..
add new_version that creates a new version with modifications
5 years ago
John-Mark Gurney
b19d98a07e
it's creator, not author, add some comments on tests to add and
private members... also increase coverage back to 100%, delete
outdated comments..
5 years ago
John-Mark Gurney
8c25fc0fd8
start adding support for the command to list the properties...
this involved restructing the objectstore to be more of a complete
repo, keeping things like create_by_ref for new objects...
5 years ago
John-Mark Gurney
665a46e86d
make genfixtures use ObjectStore so it's like what the cli uses..
5 years ago
John-Mark Gurney
835e4f1815
add coverage support, and cover a line, and mark a couple lines no cover
5 years ago
John-Mark Gurney
96b90c059f
make type generate if not present, make FileObject subclass MDBase
5 years ago
John-Mark Gurney
c1593e3a81
make sure original object is not modified, and auto-generate some
required common properties..
5 years ago
John-Mark Gurney
762e422586
add created_by_ref, and some previously missing files..
5 years ago
John-Mark Gurney
6815ebdf92
add default hash, add base object + common property enforcement,
FileObject now has hashes and other properties, use realpath
for the dir to get common path
5 years ago
John-Mark Gurney
56da697d94
parameterize the filename
5 years ago