2251 Commits

Author SHA1 Message Date
Paul Frazee
f7f6b62f2e
Merge pull request from bluesky-social/cli
New CLI (tracking PR)
2022-02-04 11:05:41 -06:00
Paul Frazee
915dd42e54 Simplify root-cid handling and add transact fn to reduce chances of a race 2022-02-04 11:05:12 -06:00
Paul Frazee
0a2bb3b03a Update CLI repo management to use leveldb blockstore 2022-02-03 17:03:36 -06:00
Paul Frazee
c3b3eb473f Merge branch 'master' into cli 2022-02-03 14:44:20 -06:00
Paul Frazee
06bc6d8a6f Merge branch 'master' into cli 2022-02-03 14:43:32 -06:00
Daniel Holmgren
873700d405
Merge pull request from bluesky-social/naive-follows
Simple follows
2022-02-03 13:17:49 -07:00
Daniel Holmgren
a63f532a04
Merge pull request from bluesky-social/persistent-bs
Persistent Blockstore
2022-02-03 13:03:23 -07:00
Paul Frazee
49a566e193 Scaffold out all CLI commands 2022-02-03 11:37:45 -06:00
Paul Frazee
3b28842339 Add post and feed commands 2022-02-02 16:08:48 -06:00
Paul Frazee
ff47fdca0f Implement CLI command: init 2022-02-02 15:21:27 -06:00
Paul Frazee
0da578d1f9 Move from esbuild to tsc
This was done for a couple reasons.

 1. ESBuild does not run type checks, which makes it easy for type errors to slip by.
 2. I wasn't able to produce the CLI subpackage builds with esbuild -- possibly due to unfamiliarity with that tool -- and used tsc. With tsc, you need any dependencies to be built .js/.d.ts files, and so common needed to move to tsc, and that cascaded into the server as well.

Reason 2 isn't very good on its own, since I might have been able to figure out esbuild by consulting with a team mate, but the lack of type checking on esbuild made me think this would be a good change either way.
2022-02-02 15:17:13 -06:00
Paul Frazee
a179efa133 Implement boilerplate/framework for new CLI 2022-02-02 12:23:24 -06:00
Paul Frazee
2693409630 Implement logout button (close ) 2022-01-31 11:27:53 -06:00
Daniel Holmgren
a19d78a37c Merge branch 'persistent-bs' into naive-follows 2022-01-31 08:45:11 -07:00
Daniel Holmgren
b64dd82d7f clean up & no singletons 2022-01-31 08:38:56 -07:00
Daniel Holmgren
2ed48d5d00 update readme 2022-01-28 14:58:50 -07:00
Daniel Holmgren
2fe51688ff Merge branch 'persistent-bs' into naive-follows 2022-01-28 14:10:26 -07:00
Daniel Holmgren
2db2532b83 merge master 2022-01-28 14:09:58 -07:00
Daniel Holmgren
a70dc03ccc
Merge pull request from bluesky-social/ts-server
Convert server to Typescript
2022-01-28 14:08:17 -07:00
Daniel Holmgren
6d09f13d81 cleanup 2022-01-28 14:07:57 -07:00
Daniel Holmgren
cde4f439fc simple implementation of follows 2022-01-28 13:11:42 -07:00
Daniel Holmgren
15a7e957f6 wipe-db script 2022-01-27 20:07:08 -07:00
Daniel Holmgren
78579b2f2d git ignore 2022-01-27 19:59:05 -07:00
Daniel Holmgren
1ec019e056 cleanup 2022-01-27 19:58:48 -07:00
Daniel Holmgren
22accc0b45 persist blockstores w level 2022-01-27 17:17:24 -07:00
Daniel Holmgren
563597c0a8 quick cleanup 2022-01-27 14:13:19 -07:00
Daniel Holmgren
ba4490506e error handling on loading user store 2022-01-26 17:17:55 -07:00
Daniel Holmgren
514736afb0 renaming 2022-01-26 17:10:37 -07:00
Daniel Holmgren
489211b0a6 update routes on cli 2022-01-26 17:05:24 -07:00
Daniel Holmgren
9f2429d00b ucan handling for update route 2022-01-26 14:55:28 -07:00
Daniel Holmgren
204b15c5ef correctly send car file 2022-01-26 14:11:16 -07:00
Daniel Holmgren
60300a1302 basic routes for getting & putting user store & better car file serialization 2022-01-26 13:59:33 -07:00
Daniel Holmgren
1596ec782c register route & fix dependencies 2022-01-26 11:28:10 -07:00
Daniel Holmgren
6b9358da38 scaffold server & simple routes 2022-01-26 10:24:08 -07:00
Daniel Holmgren
091c0ab8e5 laying out server dir 2022-01-25 17:46:15 -07:00
Daniel Holmgren
00609ca547
Merge pull request from bluesky-social/listUsers
List all users on server
2022-01-25 14:51:00 -07:00
Daniel Holmgren
9c057709b3 merged 2022-01-25 14:50:21 -07:00
Daniel Holmgren
45bd92d942 error handling for badly formatted tokens 2022-01-25 14:48:55 -07:00
Daniel Holmgren
72fbcb6406 lock on user dids 2022-01-25 14:48:55 -07:00
Daniel Holmgren
9d811cc25a upgrade ucan lib 2022-01-25 14:48:55 -07:00
Daniel Holmgren
a0476f634a change comment 2022-01-25 14:48:55 -07:00
Daniel Holmgren
82e3b3d219 merged 2022-01-25 14:45:04 -07:00
Daniel Holmgren
2a0ee75a50 use esbuild instead of ts-node 2022-01-25 14:41:37 -07:00
Daniel Holmgren
bc58188036 porting over third party code 2022-01-25 14:41:37 -07:00
Daniel Holmgren
795f025cf5
Merge pull request from bluesky-social/error-handling
Error handling
2022-01-19 18:21:28 -07:00
Jay Graber
d4fd352452 Iterate over dids, not usernames 2022-01-19 14:59:25 -08:00
Daniel Holmgren
8195954c3d error handling for badly formatted tokens 2022-01-19 14:30:43 -07:00
Daniel Holmgren
6c96b02a17 lock on user dids 2022-01-19 14:20:10 -07:00
Daniel Holmgren
28724c4ef9
Merge pull request from bluesky-social/upgrade-ucans
Upgrade ucan lib
2022-01-11 21:19:15 -06:00
Daniel Holmgren
70e24c61b2 upgrade ucan lib 2022-01-11 21:17:25 -06:00