* Model votes in lexicon, remove likes
* Model votes in db, setup notifs, fix schema
* Update pds logic, move likes to votes
* Codegen
* Update tests for votes
* Test vote filter by direction
* Fix dev-env
* scene creation w unique handles
* wip
* user_dids -> did_handle
* invites -> assertion/confirmation
* do all the ops on scene create
* start tests + bug fixin
* user can make requests on behalf of scene
* accepting invites
* fix schema names
* get scene profiles
* return actor type in getProfile
* scene views test
* notifications test
* patch up a few db things
* rework handle & email noramlization
* codegen createscene errors
* Segment lexicons into more specific namespaces and tighten up some naming conventions
* Update API to use new lexicons
* Update pds and dev-env to use new lexicons
* Update lexicons of xprc procedures to avoid using query params when possible
* Update code generated by lex-cli to reduce param counts
* Update all API usages to new signatures
* Fix readme
* Remove params from postNotifiactionsSeen lexicon schema
* Move codegen api client into its own directory
* Implement session-aware client for pds
* Test pds session client, fixes
* Use pds lexicon rather than api types where possible
* Tidy
* schemas
* database & buffing up schemas
* declaration on createAccount, + fixing up test client
* fix up dev-env
* schema comments
* nsid for declaration actorType
* declaration description
* oops token schema slipped in
* declaration -> declarationCid
* missed a couple of db things
* clean up old todos
* recovery key in server cfg & allow user provided key
* tests & rename
* testing did creation
* recoveryKey in dev-env
* require recovery key
* Rename ADX to ATP
* Remove old docs (now in atproto website repo)
* Update readme
* Update README.md
Co-authored-by: devin ivy <devinivy@gmail.com>
* A couple of @ -> AT
Co-authored-by: devin ivy <devinivy@gmail.com>
* update schemas for keyed
* codegen dict
* codgen record ids
* determine key type from schema
* allow non-tid keys
* rm tids from batch write schema
* use schema ids record in db layouts
* standardize on rkey
* doc update
* crud test
* repo tests for custom rkeys
* record type for accepted badge
* getBadgeMembers view
* updateProfile procedure
* better return type on updateProfile & gen client
* add badges to getProfile view
* testing & bug fixes
* tests for updating profile & linking badges
* errors
* badgeOffer record type
* getProfile view ensures badges are both offered & accepted
* getBadgeMembers test
* PR feedback
* cid check
* Add initial schemas for getUsersSearch and getUsersTypeahead
* Stub-out pds user search/typeahead, add pg indexes to support it
* Implement and test user typeahead method for postgres
* Implement user typeahead for sqlite
* Tidy
* Get user search view working, except pagination
* Get pagination working on pds user search w/ postgres
* Bail on jest snapshots for the conditional pg/sqlite search results
* Refactor user search queries out of user search method
* Apply user search helpers to typeahead
* Tidy user search implementation
* Test bad search input for sqlite
* Fix loading of pg_trgm extension to be friendly with the test suite
* Fix typo
* Query consistency
* All server tests can reference app
* Handle bad user search cursors
* Update lexicon doc format to support .defs field and .descriptions within method bodies
* Add correct resolution to lexicon, including to lex: URIs
* Update lexicons and generated code to use new resolution
* Improve lex-cli to remove files that no longer exist
* Update lex-cli to use new ns
* Rename lexicons: todo.adx to com.atproto, todo.social to app.bsky
* Improve lex-cli md generator
* Schemas and scaffolding for reset password methods
* Initial handler for todo.adx.requestAccountPasswordReset
* Initial handler for todo.adx.resetAccountPassword
* Implement server mailer
* Configure server for mailer and testing w/ mailer
* Test happy path of pass reset, fix reset bug
* Update lex to fix types bug for requestAccountPasswordReset
* Fix handlebars reference to config getters
* Test some negative password reset flows
* Minor cleanup to pass reset
* Tidy handlebars file with prettier, supporting double-quotes for html
* Fix esbuild of server for mailer templates, fix test issue
* Misc tidying for password reset
* Misc tidying for password reset
* Split getFeed() into getAuthorFeed() and getHomeFeed()
* Remove unused getFeed codegen file
* Unify queries for getHomeFeed and getAuthorFeed
* Factor out common query parts for building feeds
* Test firehose and default feed algorithm
* Fix api tsconfig reference
* notification methods on tables
* process notifs
* last seen
* notifs xrpc methods
* seen notifs route
* register route
* notifications tests
* rm unused db method
* parsing dids to something we understand
* revamping did-sdk with did-resolver
* testing
* fixing some thigns & finishing tests
* fix type error & remove old test
* wip
* create did on server & add email
* check username available & store email
* better test utils
* remove did:test
* allow authstore to sign for controlled dids
* Add lexicon doc
* Update error-handling spec
* Implement new error-behaviors in xrpc and xrpc-server packages
* Update lexicon and lex-cli packages to add xrpc error behaviors
* Generate new API and test an error behavior
* Update dev-env to use new authorization system
* Add did and name to createSession response body
* Handle not found in getProfile api
* Stop putting a timestamp in the generated code, ffs
* Add todo.adx.getAccountsConfig
* Remove timestamps from schema codegen
* Add ServerConfig class
* Update todo.adx.resolveName spec to make name param optional
* Add .test username and did:test behaviors
* Document name/did resolution and the .test/did:test behaviors
* Move did:test registry into server config to share across servers in the dev env
* Rework the server package structure to make it easier to include as a library
* Fix dev-env build issues
* Give better error when repo API is called on an invalid DID
* Add mock data environment to dev-env
* Add xrpc-cli package; implement 'new' and 'gen-md' commands
* Add gen-ts-obj to xrpc-cli
* Add gen-api command to xrpc-cli
* Add gen-server to xrpc-cli
* Update codegen from xrpc-cli to run prettier and include a banner comment
* Use 'void' instead of 'undefined' for return type
* Skip invalid schemas when generating code
* Rewrite schemas package to use new simplified schema
* Output type definitions in nested folders
* Add record schema code-generation
* Change xrcp client call() signature to be easier to use
* Update client codegen to match new xrpc call signature
* Fixes and improvements to generated record APIs
* Update generated api to use per-service instances
* Add xrpc-cli readme
* (WIP) Rewrite server to use xrpc
* Add missing references to server/tsconfig.json
* Replace api implementation with xrpc generated client
* Add /schemas folder with todo.adx
* Add /schemas/todo.social
* Update api package to include todo.social xrpc and adx schemas
* Update server package to include todo.social xrpc and adx schemas
* Fix some schema definitions
* (WIP) Work toward xrpc update of server
* Update auth package to use nsids for collections
* Update repo package to use nsids for collections
* Update AdxUri to use nsid collection IDs
* Bring server CRUD tests to passing state
* Move API to simpler xrpc call signature
* Apply fixes and improvements to record apis
* Update to new generated api with per-service instances
* Rename the todo.social.* view methods
* Rewrite the views system to use xrpc
* Remove paths accidentally added to tsconfig
* Remove microblog package
* Add simple API readme
* todo about deduping ucan prfs
* increase postThread default depth to fix failing test. & fix USE_TEST_SERVER config
Co-authored-by: dholms <dtholmgren@gmail.com>
* 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>