2251 Commits

Author SHA1 Message Date
dholms
c985b751f1 make walk a generator function + order independence test 2022-07-29 14:37:11 -05:00
dholms
fe5a58bfbf cleanup + comments 2022-07-29 14:28:57 -05:00
dholms
9a40f04738 cleanup 2022-07-28 21:01:26 -05:00
dholms
a276aa0a74 added persistence & loading test 2022-07-28 19:03:01 -05:00
dholms
11700dbadf add ability to diff msts 2022-07-28 18:45:50 -05:00
dholms
6081af9bec bug fix on deletes 2022-07-28 16:03:40 -05:00
dholms
ca3c9500cd bug fixes on split 2022-07-28 15:27:33 -05:00
dholms
59d73cb3bb fix split bug 2022-07-28 13:11:19 -05:00
dholms
45d74086ab fixed biugs 2022-07-27 23:01:35 -05:00
dholms
82e9334294 redoing a bunch of stuff, all in memory 2022-07-27 22:26:13 -05:00
dholms
197b75f116 saving progress on new merge algo 2022-07-25 23:45:06 -05:00
dholms
b3942a42ff merging wip 2022-07-25 23:03:37 -05:00
dholms
cefe3f6a5e addressed some subtle bugs & added in specific tests 2022-07-22 18:57:19 -05:00
dholms
54651ee19d fixed bug in multi level split 2022-07-22 17:27:50 -05:00
dholms
68dc9fba0c wip 2022-07-22 11:46:29 -05:00
dholms
c23df960a9 sets & gets working 2022-07-21 19:09:17 -05:00
dholms
5c12a926fc sets seem to be working 2022-07-21 17:10:56 -05:00
dholms
1dc4f01371 starting on mst 2022-07-21 15:53:09 -05:00
dholms
95f2facb37 Quick readme edit 2022-07-14 18:41:30 -05:00
Daniel Holmgren
6a1bdb8ee6
Merge pull request #156 from bluesky-social/dev
Dev
2022-07-14 18:40:38 -05:00
dholms
7b66ed1a2f update readme 2022-07-14 18:39:25 -05:00
Paul Frazee
fd08591933
API package (#148)
* WIP API branch squash

 * Cleanup

 * Add missing pieces of API package's api

 * Add locale support to schemas package

 * Add test for view schemas

 * Add validation to the view api

 * Add createViewValidator() to schemas

 * Add client-side schema validation to record CRUD ops

 * Add writes to API client

 * WIP make progress on the PDS API (server and client)

 * Add .collection and .recordKey to AdxUri

 * Move name-resolution code to common

 * Remove leftover imports

 * WIP progress on API client code-structure

 * More progress on API module

 * WIP: Refactor server routes

 * Update schemas to use the canonical name & id for keying

 * Fix a bug in the schemas readme

 * Schemas readme improvements

 * Add @adxp/schemas

 * Fix typo in AdxUri regex that allowed invalid characters in names

 * Remove accidental commit

 * WIP: Add @adxp/api package

 * WIP: add .mkuser to dev-env repl

 * Allow colons in the adx uri name section

 * Update did:web devenv server to allow overwriting dids

 * Add AdxUri utility class

* Move api and schemas packages to the packages folder

* Update schemas package to use new repo structure

* Update API package to use new build system

* Fix some merge conflicts that werent caught earlier

* Switch from .incompatible to .compatible

* Dont send authStore over the wire

* Quick patch - refactor followup (#153)

* patching ws-relay build

* added @babel/core

* fixed package exports (#154)

* Quick auth lobby fix (#155)

* readme update

* fixed up api build

* cleaned up uri tests

* api types

* fix old esm imports & temporarily remove server tests

Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com>
2022-07-14 18:36:23 -05:00
dholms
c871dc5342 readme update 2022-07-14 10:46:10 -05:00
Daniel Holmgren
cb59469d82
Quick auth lobby fix (#155) 2022-07-13 21:14:25 -05:00
Daniel Holmgren
34c3e31af7
fixed package exports (#154) 2022-07-13 10:16:05 -05:00
Daniel Holmgren
559fb42476
Quick patch - refactor followup (#153)
* patching ws-relay build

* added @babel/core
2022-07-11 07:25:03 -05:00
Daniel Holmgren
a11c1754a2
Tooling refactor + @ucans/core integration (#152)
* revamp crypto lib

* reworkign ucan capabilities

* fixing up auth lib

* migrating to monorepo

* got jest working with esm

* tests & fixed CID parsing

* common tests up to date

* ported did-sdk

* cli + did:web hanging fix

* ported server

* poted example app

* working on server build

* server build working

* integrating dev-env

* patched up frontend scripts

* patching up cli & dev env build script

* docs & readme

* fixing up package.jsons

* wiped out unneeded dev deps
2022-07-08 11:41:55 -05:00
Daniel Holmgren
47a5744a1a
Integrate auth lib & AuthStore into repo/cli/PDS (#149)
* integrate authstore into common

* fix up tests for auth store

* update server

* integrate authSTore into server

* cleanup

* have auth return authstore not ucanstore
2022-07-05 14:29:09 -05:00
Paul Frazee
1e9c14039f
Dev env repl (#147)
* Add support for multiple ws-relay instances

* Update server creator to return http.Server instance

* Update DidWebServer.create to return without awaiting listen or logging

* Refactor dev-env to export a callable API

* Add repl to dev env

* Refactor dev-env for consistency
2022-06-28 12:07:57 -05:00
Daniel Holmgren
85cea5844c
Dev Env (#143)
* split out did-network

* yarn.lock

* fix up network file

* add db to did:web & add timeout

* run did web server

* import/export keypairs

* fix padding issue in key compression

* accept didDoc creation on web server

* did stuff

* key manager + .env for dev-env

* cleanup

* point key manager at correct server
2022-06-23 16:23:41 -05:00
Paul Frazee
55dee72a6a
Style the auth-lobby UI (#144) 2022-06-20 14:21:50 -05:00
Daniel Holmgren
aa1954bd7e
Fix crypto lib & add Sha256 (#142)
* oops copied over the wrong files, also added sha

* comment
2022-06-16 12:19:09 -05:00
Paul Frazee
46b9495f05 @adxp/auth-lobby@0.0.3 2022-06-16 11:57:25 -05:00
Paul Frazee
264b23a7f6
Auth lobby serve (#141)
* Move auth-lobby's debug root user behavior to in-app button

* Add auth-lobby server
2022-06-16 11:56:43 -05:00
Paul Frazee
05a83af971 Merge did-sdk into dev 2022-06-16 10:39:13 -05:00
Daniel Holmgren
e8fcbc4866
verify ucan is what was requested from AWAKE (#140) 2022-06-16 10:09:36 -05:00
Daniel Holmgren
3d1894dd67
Crypto lib with public key compression (#139)
* split out crypto lib & add public key compress/decompress

* split out crypto lib & integrate into awake

* better semantics around aes keys
2022-06-16 09:09:07 -05:00
Paul Frazee
da922dac8a @adxp/auth-lobby@0.0.2 2022-06-14 12:57:22 -05:00
Paul Frazee
19b0014855
Module publish fixes (#138)
* Add .npmignore

* @adxp/server@0.0.2

* @adxp/awake@0.0.2

* @adxp/auth@0.0.3
2022-06-14 12:52:28 -05:00
Paul Frazee
a1abf25805
Rename packages from @adx to @adxp (#137)
* Rename packages from @adx to @adxp

* @adxp/server@0.0.1

* @adxp/ws-relay@0.0.1

* @adxp/auth-lobby@0.0.1
2022-06-14 11:46:50 -05:00
Paul Frazee
7a8564964b @adxp/awake@0.0.1 2022-06-14 10:50:15 -05:00
Paul Frazee
7ee62897f2 @adxp/auth@0.0.2 2022-06-14 10:48:42 -05:00
Daniel Holmgren
4bb2d48cfe
Browser wallet (#134)
* port over ws-relay

* port awake

* port auth lobby

* on success fns

* checkpoint

* move from callbacks to promises

* revamp frontend

* fix bug in ws-relay

* cleaning up error handling, allow subsequent auth flows

* port over example app & fix errors

* refactor app auth code;

* auth app for unauthed device working

* cleaning up

* README

* cleanup logs

* added envs

* ucanReq -> appReq

* cleanup

* remove env vars from authstore

* redirect application auth flow

* fn name change
2022-06-13 18:29:07 -05:00
Daniel Holmgren
4eda6bbd27
Auth lib (#130)
* splitting out auth lib & updating ucan version

* checks

* builders & tests

* fix tests

* more builders

* add in schemas

* better comment

* update export

* package.json things
2022-06-06 23:18:55 -05:00
Paul Frazee
964b1bd3c1 Remove stupid and needless base64 encoding 2022-06-06 20:53:26 -05:00
Paul Frazee
e76fd78ff3 Add default key generation parameters 2022-06-06 20:51:54 -05:00
Paul Frazee
361253f62d Remove left-over test-skip 2022-06-06 20:26:00 -05:00
dholms
89b9cd6be1 add to monorepo packages 2022-06-06 16:52:57 -05:00
Paul Frazee
d81c8b61a8 Fix to did-sdk readme 2022-06-06 16:10:21 -05:00
Paul Frazee
eeaeb8d34f Fixes to readme 2022-06-06 16:09:22 -05:00