2067 Commits

Author SHA1 Message Date
Daniel Holmgren
569c8e8a39 Fleshing out interface & stubbed out rest 2022-02-04 14:18:20 -07:00
Daniel Holmgren
2dd3ab52f7 UserStore interface 2022-02-04 14:15:41 -07:00
Paul Frazee
da73395ac7
Merge pull request #38 from bluesky-social/cli-more-cmds
More CLI command implementations
2022-02-04 13:02:12 -06:00
Daniel Holmgren
6f3d89366a
Merge pull request #36 from bluesky-social/cli-server-list-users
CLI command: 'server list users'
2022-02-04 11:34:50 -07:00
Daniel Holmgren
46b91d7122
Merge pull request #33 from bluesky-social/logout
Implement logout button (close #32)
2022-02-04 11:31:43 -07:00
Paul Frazee
51acd2ab3e Implement cli 'register' cmd 2022-02-04 12:22:31 -06:00
Paul Frazee
f7aa63695f Implement more logic for cli 'feed' cmd 2022-02-04 12:10:58 -06:00
Paul Frazee
0242631844 Implement cli 'whois' command 2022-02-04 12:03:58 -06:00
Paul Frazee
8a1feb89b9 Implement cli 'whoami' command 2022-02-04 12:02:04 -06:00
Paul Frazee
62914c8610 Implement cli 'list follows' cmd 2022-02-04 11:55:50 -06:00
Paul Frazee
1c06ec802d Implement CLI follow cmd 2022-02-04 11:47:58 -06:00
Paul Frazee
afa602939f Add Repo uploadToServer helper 2022-02-04 11:47:51 -06:00
Paul Frazee
7de0804d77 Implement cli arg validation and fallbacks 2022-02-04 11:47:25 -06:00
Paul Frazee
4c722abeaf Remove .type from cli args (cant actually coerce due to type restrictions) 2022-02-04 11:45:55 -06:00
Paul Frazee
a58566c4d9 Implement cli 'server list users' 2022-02-04 11:20:12 -06:00
Paul Frazee
823a25f0e6 Change server /users to include usernames along with dids 2022-02-04 11:18:28 -06:00
Paul Frazee
f7f6b62f2e
Merge pull request #35 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 #30 from bluesky-social/naive-follows
Simple follows
2022-02-03 13:17:49 -07:00
Daniel Holmgren
a63f532a04
Merge pull request #29 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 #32) 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 #27 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