bnewbold
584dea52c4
tidy up package.json and READMEs ( #1649 )
...
* identity: README example and tidy
* tidy up package metadata (package.json files)
* updated README headers/stubs for several packages
* crypto: longer README, with usage
* syntax: tweak README
* Apply suggestions from code review
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: devin ivy <devinivy@gmail.com>
---------
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: devin ivy <devinivy@gmail.com>
2023-09-21 18:07:33 -07:00
github-actions[bot]
38f8f44c41
Version packages ( #1612 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-15 15:49:31 -05:00
Eric Bailey
a7c42cfe39
Clean up prettier/eslint scripts ( #1514 )
...
* add prettierignore, hoist script
* upgrade prettier
* bump prettier eslint deps
* format all files
* hoist prettier check
* remove unused scripts, hoist lint:fix
* remove npm-run-all, unused
* hoist lint
* remove lint scripts
* improve lint scripts
* remove prettierignores
* downgrade prettier deps to fix codgen
* reformat all files
* update makefile, format
* fix locklife
* final format
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
2023-09-06 19:27:50 -05:00
Eric Bailey
90e8325e5f
pnpm setup ( #1532 )
...
* use pnpm
* fix dependency issues, replace yarn and lerna scripts
* remove the main/dist scripts
* update Dockerfiles
* use pnpm
* fix dependency issues, replace yarn and lerna scripts
* remove the main/dist scripts
* update Dockerfiles
* update bin script
* remove unused zod dep
* fix type errors in pds
* add types prop to packages
* remove unused, bump lock
* fix test running
* build before test
* fix pino types
* format
* pds depends on dev-env in test
* refer to src instead of built packages
* pds relies on bsky in test too
* remove yarn.lock
* add -r flag to root test
* test push to aws
* remove docker test
* add publishConfig to new package
* move services to top level dir
(cherry picked from commit f5012bec33435a4473e9960066807623334f3aff)
* update workflow paths
(cherry picked from commit 5c70f0176d381ca35d6be10cfa173e22373a5b5d)
* add main-to-dist script
* use script in all packages, remove old Dockerfiles
* remove old bsky service
* remove newline
* test container builds
* Revert "test container builds"
This reverts commit c228611f5e8e1624d4b124be4976c49590130f43.
* remove unused config
* test build containers
* pnpm in syntax
* bump dd-trace
* shamefully hoist
* even more shame
* hoist, externalize deps
* clean install for prod and smaller containers
* dont build branches
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
2023-09-05 18:45:49 -05:00
Daniel Holmgren
7e0201d4d6
Bump package versions ( #1288 )
...
* v0.3.0
* bump common-web to 0.2.0
* v0.2.0
* v0.2.0
* v0.1.0
* v0.1.0
* v0.1.0
* v0.2.0
* v0.4.0
* v0.1.0
* v0.2.0
* v0.2.0
* v0.3.0
* v0.2.0
2023-07-05 20:54:26 -05:00
Daniel Holmgren
e47bbed270
Fix uint8arrays version mismatch ( #1243 )
...
fix ui8 version
2023-06-26 19:20:20 -05:00
Daniel Holmgren
2e94c43010
Cleanup @atproto/crypto ( #1218 )
...
* remove webcrypto, upgrade @noble/curves, normalize p256 interface
* cleanup
* Test vectors for secp and p256 signature verification (#737 )
Add test vectors for secp and p256 signature verification
* fix up test vectors
* add explicit test vectors for high-s signatures
* tidy json to pass verify check
---------
Co-authored-by: devin ivy <devinivy@gmail.com>
2023-06-26 18:47:28 -05:00
Wes Todd
b01e47b617
fix: updated repository field for packages ( #994 )
2023-05-08 11:38:42 -04:00
Wes Bos
958c9ef6b3
add repository field to package.json ( #895 )
2023-05-01 20:43:32 -05:00
devin ivy
2aeda0fbe9
Account for possible path prefix in cloudfront invalidation ( #758 )
2023-04-07 11:34:49 -04:00
Daniel Holmgren
afa28c709f
Get blobs ( #606 )
...
* refactor repo routes
* basic blob route
* getBlob route
* tidy
* move getBlob to sync
* allow mimetype on getBlob
* creator on blob table
* migration
* migration
* handle deletes & check db on getBlob
* fix content type bug
* back to octet-stream
* Update packages/pds/src/api/com/atproto/sync/getBlob.ts
Co-authored-by: devin ivy <devinivy@gmail.com>
* fix up migrations
* pr feedback
* fixing up merge & migration
* patched up migration
---------
Co-authored-by: devin ivy <devinivy@gmail.com>
2023-03-13 19:11:47 -05:00
Devin Ivy
0c58a937c9
Fix aws package exports
2023-02-06 19:39:56 -05:00
devin ivy
b91e6e96b7
Incorporate blobs into moderation actions ( #511 )
...
* Lexicon updates for moderating blobs
* Add tracking of blob takedowns to moderation system
* Handle blobs in record takedown reversal
* Apply blob takedowns w/ image invalidation
* Test blob takedowns
* Implement cloudfront image invalidator
* Update lexicons for current moderation action on records and blobs
* Fix migration for postgres
* Enforce single current action per repo and blob, present current action on repo and blob
* Test single active mod action per repo, record, and blob
* Continue to resolve handles for moderated repos
2023-02-06 11:44:26 -05:00
Daniel Holmgren
773f9e304d
Account deletion ( #488 )
...
* wip
* fleshing out repo storage
* fleshing out sql storage
* cleaning things up
* fix up tests
* dumb bug - commit log reversed
* rm staging in favor of commiting diffs to blockstore
* clean up benches
* fixing up sql storage
* some caching for sql repo store
* pr feedback
* migration
* wip
* migraiton test
* unclear param
* sql repo storage tests
* rm unused code
* fix up some diff code
* pr feedback
* enum for action types
* missed some
* wip
* ripping out auth lib
* more auth cleanup
* another lurker
* wip better sync primitives
* wip
* improving diffs & sync
* tests working!
* actually implemented checkout lol
* simplify interface & improve error handling
* writing sql storage code
* fixing up tests
* testing & bugfixes
* checkouts return records instead of cids
* one last refactor lol
* missed one
* handle other cid codecs on incoming car verification
* tests + tricky bugs
* unneeded blockstore method
* trim mst on del instead of save
* cleanup comment
* dont resolve did for every commit
* use "commit" instead of "root"
* getRoot -> getHead
* pr feedback
* very silly bug fix
* improve sync output
* reorging + sync of particular records
* serve & verify proofs. also rename some ipld methods
* fix up sync issue in mst
* find reachable records form carfile
* getRecord xrpc method
* pr feedback
* better migration test
* check migraiton result
* fixing up a couple things for pg
* explicit migrateTo
* async exceptions
* ipld car mimetype + remove updateRepo
* Update module publish scripts (#478 )
* Update pds package publishing scripts
* Update auth package publishing scripts
* Update crypto package publishing scripts
* Update did-resolver package publishing scripts
* Update handle package publishing scripts
* Update xrpc-server package publishing scripts
* Update common package publishing scripts
* Update plc package publishing scripts
* Update uri package publishing scripts
* Update repo package publishing scripts
* Sort "suggested follows" by number of posts (#477 )
* return suggestions by post count
* pr feedback
* fix up PG pagination issue
* partiion commit-history & commit-blocks by user did
* some lexicons
reworking routes
request deletion flows
delete actor rows
migration for user-partitioned-cids
move creator to be on ipld_block
migration tests
* delete records & repos
* delete blobs
* hook it up in route
* pettier ignore email templates
* testing & bugfixes
* testing blobs & bugfixes
* pr feedback
* make deletion test more robust
* change out handle for did on account deletion
* small cleanup
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-02-02 12:34:00 -06:00
Daniel Holmgren
75e14ae102
Feature branch: storage & sync revamp ( #446 )
...
* wip
* fleshing out repo storage
* fleshing out sql storage
* cleaning things up
* fix up tests
* dumb bug - commit log reversed
* rm staging in favor of commiting diffs to blockstore
* clean up benches
* fixing up sql storage
* some caching for sql repo store
* pr feedback
* migration
* wip
* migraiton test
* unclear param
* sql repo storage tests
* rm unused code
* fix up some diff code
* pr feedback
* enum for action types
* missed some
* wip
* ripping out auth lib
* more auth cleanup
* another lurker
* wip better sync primitives
* wip
* improving diffs & sync
* tests working!
* actually implemented checkout lol
* simplify interface & improve error handling
* writing sql storage code
* fixing up tests
* testing & bugfixes
* checkouts return records instead of cids
* one last refactor lol
* missed one
* handle other cid codecs on incoming car verification
* tests + tricky bugs
* unneeded blockstore method
* trim mst on del instead of save
* cleanup comment
* dont resolve did for every commit
* use "commit" instead of "root"
* getRoot -> getHead
* pr feedback
* very silly bug fix
* improve sync output
* reorging + sync of particular records
* serve & verify proofs. also rename some ipld methods
* fix up sync issue in mst
* find reachable records form carfile
* getRecord xrpc method
* pr feedback
* better migration test
* check migraiton result
* fixing up a couple things for pg
* explicit migrateTo
* async exceptions
* ipld car mimetype + remove updateRepo
* Update module publish scripts (#478 )
* Update pds package publishing scripts
* Update auth package publishing scripts
* Update crypto package publishing scripts
* Update did-resolver package publishing scripts
* Update handle package publishing scripts
* Update xrpc-server package publishing scripts
* Update common package publishing scripts
* Update plc package publishing scripts
* Update uri package publishing scripts
* Update repo package publishing scripts
* Sort "suggested follows" by number of posts (#477 )
* return suggestions by post count
* pr feedback
* fix up PG pagination issue
* partiion commit-history & commit-blocks by user did
* fix migration type
* switch pk indexes
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-01-26 18:09:55 -06:00
Daniel Holmgren
9598a22ef5
Cleanup dependencies ( #410 )
...
* cleaning up & deleting unused deps
* oops we were using npm-run-all
2022-12-14 12:31:28 -06:00
devin ivy
13f8fae5c9
Fix S3 blob store, issue putting object from a stream ( #389 )
...
Fix s3.putObject when used w/ streams by using Upload
2022-12-08 12:00:33 -05:00
Daniel Holmgren
d0b7497a08
File uploads & profile image support ( #383 )
...
* Setup interface for image processing
* Implement getInfo() on SharpImageProcessor
* Reorganize pds image processing code
* Implement initial resize() on SharpImageProcessor
* Test sharp image processor, apply a couple fixes
* Tidy
* wip
* improve repo processing & add blbos
* more blob processing
* work into routes & config
* testing out w profiles
* Implement initial pds image uri builder/signer/verifier
* pr fixup & tests
* streaming
* better streaming interface
* s3 interface
* fix s3 prefixes
* readable streams as xrpc inputs
* more tests + cleaning up apis
* tests for failed references
* Initial implementation of image processing server
* Update node types for node v18
* fix clone issue
* add getStream to blobstore
* fixing up tests & dev-env
* get img info on upload
* integrating img processing
* hex for img uri & fixing build errors
* improve streams
* hook up uris to getProfile
* pr feedback on tmp
* test on getprofile
* testing avatars
* fix snapshot after hmac changed
* quick cleanup
Co-authored-by: Devin Ivy <devinivy@gmail.com>
2022-12-07 18:08:29 -06:00