github-actions[bot]
8ce97d4245
Version packages ( #2518 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 16:48:03 -05:00
Daniel Holmgren
0cc5ef70f4
Privileged app passwords ( #2515 )
...
* schemas
* impl
* hook up migration
* tests
* make column not null
* comments to clarify
* changeset
2024-05-23 16:05:46 -05:00
github-actions[bot]
9974e9ad5f
Version packages ( #2508 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-22 23:30:36 -04:00
Foysal Ahamed
1f560f021c
✨ Allow dynamic labeler header through ozone ( #2442 )
...
* ✨ Allow dynamic labeler header through ozone
* ✅ Close third party ozone
* ✨ Add 3p labels in for repos
* ✅ Update snapshots
* ✅ Update pds snapshots
* ✅ Update ozone snapshots
* ✨ Fix typing for labels
* ✨ Add queryLabels endpoint in appview
* ✨ Use queryLabels to hydrate labels
* 🧹 Cleanup
* ✅ Update pds snapshots
✅ Update pds snapshots
✅ Update ozone snapshots
✅ Update pds snapshots
✅ Update pds snapshots
✅ Update pds snapshots
✅ Update pds snapshots
* ✅ Update pds snapshots
* ✅ Checking if tests fail
* ✨ Don't default to labelers in header
* ✅ Adjust tests
* 🧹 Cleanup
* 🧹 Remove unnecessary auth header
* 📝 Add changeset
* 📝 Add @atproto/api to patch update list
2024-05-22 17:55:50 +02:00
github-actions[bot]
a317116665
Version packages ( #2502 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-20 13:31:34 -05:00
devin ivy
06d2328eeb
Lexicon: misc fixes to chat lexicons ( #2499 )
...
* lexicon: misc chat-related tweaks/fixes
* ozone: track convo ids on chat message reports
* add changeset
* fix tests
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
2024-05-20 10:13:12 -04:00
Daniel Holmgren
265ce86e15
Ozone chat integration ( #2490 )
...
* wip
* schema tweaks
* room -> chat
* missed one
* missed another
* deleted messages + incoming message settings
* add schemas for blocking users
* chat update schemas
* make updateUserSettings more generic
* fix dangling ref
* fix dangling refs
* mute chats & leave chats
* schema consistency, naming
* lexicon for updating chat read state
* dm lexicon updates, add batch send endpoint
* dm sender on deleted message
* Add codegen for temp lex
* lexicon: switch temp.dm to chat.bsky namespace, misc fixes
* lexicon: codegen
* lexicon: fix some chat/convo terminology
* lexicon: codegen
* moderator schemas
* codegen
* lexicon: consistency in chat lexicons
* lexicon: add chat to associated profile info
* add ref to updateActorAccess
* add annotation on convoView for disabled members
* codegen
* ozone lexicons
* scaffold routes
* hook up chat moderation routes to ozone
* add message subject for reports/events
* remove dm references from ozone schemas
* ensure report exists before serving getMessageContext
* 🐛 Fix typo in column name
* adjust before/after instead of throwing
* add dev script
* add dev-env introspection server
* hook up chat mod routes to pds & ozone
* ✨ Add message ref subject in eventView def
* fix typo
* add chat reporting test
* fix test
* update dev-env chat did
* update dms server routes name
* pr feedback
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Foysal Ahamed <foysal@blueskyweb.xyz>
2024-05-15 18:52:47 -05:00
github-actions[bot]
69f0bb3b10
Version packages ( #2486 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 14:43:51 -04:00
devin ivy
d32f7215f6
Lexicon: add lexicons for chat.bsky namespace ( #2485 )
...
* wip
* schema tweaks
* room -> chat
* missed one
* missed another
* deleted messages + incoming message settings
* add schemas for blocking users
* chat update schemas
* make updateUserSettings more generic
* fix dangling ref
* fix dangling refs
* mute chats & leave chats
* schema consistency, naming
* lexicon for updating chat read state
* dm lexicon updates, add batch send endpoint
* dm sender on deleted message
* Add codegen for temp lex
* lexicon: switch temp.dm to chat.bsky namespace, misc fixes
* lexicon: codegen
* lexicon: fix some chat/convo terminology
* lexicon: codegen
* moderator schemas
* codegen
* lexicon: consistency in chat lexicons
* lexicon: add chat to associated profile info
* add ref to updateActorAccess
* add annotation on convoView for disabled members
* codegen
* remove dm references from ozone schemas
* lexicon: chat account deletion, data export, and profile state
* lexicon typo
* lexicon typo
* lexicon: mark chat senders as required
* add changeset
* appview: proper support for chat.bsky lexicons
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2024-05-13 14:22:58 -04:00
github-actions[bot]
bdd66bb4e1
Version packages ( #2473 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-08 18:47:20 -07:00
Hailey
f83b4c8cad
api: Always apply self labels even if post is your own, downgrade hide moderation preference to blur when the post is your own ( #2467 )
...
* always show your post even if it's labeled
still apply to `contentMedia`
update tests
only apply to posts and `contentView`
add a comment
always show your post even if it's labeled
* Tweak to use a more consistent approach
* Add changeset
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2024-05-08 18:42:56 -07:00
github-actions[bot]
5226cbcc16
Version packages ( #2465 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-06 18:05:57 -04:00
devin ivy
ec40af0c96
Appview: add grandparent author to reply ref, ensure no replies to blocked grandparent in feeds ( #2461 )
...
* lexicon: add parent reply author to #replyRef
* lexicon: tweak to naming in reply ref
* appview: hydrate and present grandparent author in feed items
* appview: ensure replies to blocked users don't appear in feeds via reply parents
* fix snaps
* fix snaps
2024-05-02 15:25:43 -04:00
github-actions[bot]
651d4c2a34
Version packages ( #2446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-25 19:29:59 +02:00
Foysal Ahamed
58551bbe05
✨ Allow muting reporter ( #2390 )
...
* ✨ Allow muting reporter
* ✨ Allow fetching ONLY muted subjects
* 🚨 re-run linter on fixed main
* ✨ Track muted reports
* ✅ Adjust snapshot
* ✅ Adjust snapshot
* ✅ Adjust snapshot
* 📝 Add changesets
* ♻️ Refactor muted reporter check
* ✨ Use new event type for muting/unmuting reporter
* 🧹 Cleanup
2024-04-25 10:43:04 -04:00
github-actions[bot]
b9e205ae01
Version packages ( #2443 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-24 11:53:09 -05:00
Eric Bailey
b9b7c58219
Add savedFeedsPrefV2 and new methods ( #2427 )
...
* Preview
* Double write v2 -> v1
* Add savedFeeds output
* Tightening up
* Revise and clean up APIs, update tests
* Codegen
* Enforce sort order
* Fix unrelated tests
* Reduce edits by using old naming
* Remove redundant test, fix title
* Add changeset
* Ensure unique constraints preserve insertion order if duplicates are found
* Adds addSavedFeeds as a convenience
* Use pluralized interfaces
* Update deprecation notices
* Update method naming
* Update deprecation comments
* Filter invalid types during migration
* Change uri of default timeline
* Fix typo
2024-04-24 11:48:50 -05:00
github-actions[bot]
d0625be266
Version packages ( #2422 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 09:45:44 -07:00
Paul Frazee
3424a17703
Add email auth factor tools to API ( #2419 )
...
* Add authFactorToken to session object
* Add changeset
2024-04-18 09:40:54 -07:00
github-actions[bot]
32c97d4c8b
Version packages ( #2417 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-17 20:04:44 -04:00
devin ivy
93a4a4df9c
Lexicons: email auth factor ( #2416 )
...
* lexicon: email auth factor
* add changeset
2024-04-17 19:57:18 -04:00
Daniel Holmgren
45981de5c1
getSuggestionsSkeleton lexicon ( #2399 )
...
* schema
* codegen
* add skeletonActor def
* add optional viewer param
* codegen
* make move route to unspecced
* use unspecced skeleton actor
2024-04-16 13:50:17 -05:00
github-actions[bot]
1074f43b4a
Version packages ( #2401 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16 14:39:43 -04:00
devin ivy
c6d758b8b6
Appview: support new post search params, viewer context in search ( #2409 )
...
* remove viewer param from searchActorsTypeahead
* appview: pass new search params to search service, add viewer
* add changeset
2024-04-16 14:10:30 -04:00
bnewbold
a2d5658f28
lexicons: add more search parameters ( #2396 )
...
* lex: add account to actor search, for following boost
* lex: addition post search query params
* lex: add tag to post search; set default for sort
* lex: fix formats and skeleton consistency
* lex: searchPosts 'until' should be exclusive
* lex: relax post time range syntax
* lex: allow multiple tags ('AND') as search params
* make fmt
* lex: use 'viewer' for account DID making profile search
* lex: no viewer param in searchActor (only skeleton); do include in post skeleton
* codegen search param additions
2024-04-11 16:45:13 -07:00
Daniel Holmgren
0edef0ec01
Feed interactions schema ( #2383 )
...
* first pass schemas
* requestFeedback boolean
* rewrite schemas
* tidy
* tidy
* tweaks
* pr feedback
* codegen + lint
* changeset
* rm default
2024-04-10 19:27:17 -05:00
devin ivy
84cdc5b65a
Appview: include like/repost/reply counts on post embed ( #2395 )
...
* lexicon: add post counts to embed#viewRecord
* appview: hydrate and present aggregations on post embeds
* update snaps for aggregations on post embeds
2024-04-09 21:24:47 -04:00
Matthieu Sieben
b8f8f06a12
fix(codegen): fix use of prettier.format for codegen ( #2393 )
...
* fix(codegen): fix use of prettier.format for codegen
* chore(deps): remove unused "babel" dependency
* chore(deps): update typescript to latest (5.4.4)
2024-04-09 10:07:47 -04:00
Matthieu Sieben
97482da17a
Update prettier & eslint ( #2373 )
...
* chore(deps): update linting tools
* style(lint): format code
2024-04-03 21:39:11 +02:00
bnewbold
2f62faab6f
lex: limit createReport size ( #2362 )
...
* lex: limit createReport size
This has actually be limited on the *output* for a long time, apparently
as a mistake/typo when locking down string length fields earlier.
Going with the existing length there (2000 graphemes). 1200 might also
be good; a longer description could be a future additional field or
out-of-band or something.
* codegen lex changes
2024-03-22 21:04:02 +00:00
bnewbold
6e552a26da
lexicon nits: use string format uri in more places ( #2348 )
...
* lexicons: use format=uri for more bsky URLs
* lexicons: use format=uri for URLs in server description (links to policies)
* codegen lex changes
2024-03-20 10:17:28 -07:00
github-actions[bot]
dbda260a21
Version packages ( #2345 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 16:02:56 -05:00
Eric Bailey
abc6f82da3
Handle apostrophes and other punctuation when muting words ( #2344 )
...
Support muted words with apostrophes/punct
2024-03-19 15:59:20 -05:00
github-actions[bot]
b4346727f7
Version packages ( #2343 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 14:09:41 -05:00
devin ivy
c28e374868
Appview: add associated.labeler info to all profile views ( #2341 )
...
* lexicon: add associated field to profile and profile-basic views, for indicating whether labeler
* appview: add associated.labeler to profile and profile-basic views
* dev-env: downgrade get-port, non-esm-only version
2024-03-19 12:26:14 -04:00
github-actions[bot]
07ec9ea749
Version packages ( #2339 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-18 18:24:07 -04:00
Paul Frazee
36f2e966cb
Fix: correctly detect blocked QPs when moderating posts ( #2338 )
...
* Fix: correctly detect blocked QPs when moderating posts
* Add changeset
2024-03-18 14:30:20 -07:00
Matthieu Sieben
f689bd51a2
Build system rework ( #2169 )
...
* refactor(crypto): remove circular dependency
* refactor(crypto): expose compress/decompress as part of the DidKeyPlugin interface
* fix(crypto): remove import from private file
* refactor: isolate tsconfig
* fix: remove unused bench file
* chore(repo): remove unused deps
* fix(ozone): properly list dependencies
* fix(services): do lint js files
* fix(services/pds): remove unused deps
* chore(pds): remove bench
* chore(dev-env): remove unused deps
* chore(api): remove bench
* remove unused babel.config.js files
* fix: remove .ts extension from import
* fix(pds): remove imports of src files
* fix(tsconfig): properly list all projects
* fix(dev-env): remove imports of src files
* fix(bsky): remove direct import to crypto src
* fix(api): remove imports to api internals
* chore(build): prevent bundling of built output
* chore(dev): add "dev" script to build in watch mode
* chore(deps): move ts-node dependency where it is actually used
* fix(deps): add dev-env as project dependency
* fix(xrpc-server): properly type kexicon
* fix(bsky): improve typings
* fix(pds): fully type formatRecordEmbedInternal return value
* fix(repo): remove imports from @ipld/car/api
* feat(dev-env): re-export BskyIngester
* fix: properly lint & type jest config & test files
* fix(ci): test after build
* fix(types): use NodeJS.Timeout instead of NodeJS.Timer
* fix(bsky): make types exportable
* fix(ozone): make types exportable
* fix(xrpc-server): make types exportable
* fix(xprc-server): make code compliant with "node" types
* fix(xrpc-server): avoid accessing properties of unknown
* chore(deps): update @types/node
* feat(tsconfig): narrow down available types depending on the package's target environment
* fix(pds): remove unused prop
* fix(bsync): Database's migrator not always initialized
* fix(dev-env): remove unreachable code
* fix(xrpc-server): remove unused import
* fix(xrpc-server): mark header property as abstract
* fix(pds): initialize LeakyTxPlugin's txOver property
* fix(bsky): initialize LeakyTxPlugin's txOver property
* fix(bsky): remove unused migrator from DatabaseCoordinator
* fix(bsky): Properly initialize LabelService's cache property
* fix(ozone): Database's migrator not initialized
* fix(ozone): initialize LeakyTxPlugin's txOver property
* fix(crypto): ignore unused variable error
* feat(tsconfig): use stricter rules
* feat(tsconfig): enable useDefineForClassFields
* feat(xrpc-server): add support for brotli incoming payload
* fix(xrpc-server): properly parse & process content-encoding
* fix(common:stream): always call cb in _transform
* tidy/fix tests and service entrypoints
* Revert "fix(xrpc-server): properly parse & process content-encoding"
This reverts commit 2b1c66e153820d3e128fc839fcc1834d52a66686.
* Revert "feat(xrpc-server): add support for brotli incoming payload"
This reverts commit e710c21e6118214ddf215b0515e68cb87299a952.
* remove special node env for tests (defaults to jest val of "test")
* kill mute sync handler on disconnect
* work around connect-es bug w/ request aborts
* style(crypto): rename imports from uint8arrays
* fix update package-lock
* fix lint
* force hbs files to be bundled as cjs
* fix: use concurrently instead of npm-run-all
npm-run-all seems not to be maintained anymore. Additionally, concurrently better forwards signals to child processes.
* remove concurrently alltogether
* ignore sqlite files in services/pds
* fix verify
* fix verify
* tidy, fix verify
* fix blob diversion test
* build rework changeset
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
2024-03-18 17:10:58 -04:00
futur
0a2464cb67
Remove unused dependencies ( #2327 )
2024-03-18 16:01:15 -04:00
github-actions[bot]
f45eef3414
Version packages ( #2330 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-16 10:19:29 -05:00
Eric Bailey
7dd9941b73
Remove unecessary escapes ( #2328 )
2024-03-16 10:14:50 -05:00
github-actions[bot]
f42f548e1b
Version packages ( #2314 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-13 19:19:48 -04:00
devin ivy
722d4173ee
PDS contact email address ( #2313 )
...
* lexicon: add pds server contact email
* pds: configuration for contact email address
2024-03-13 19:05:47 -04:00
Paul Frazee
2194807644
Fix agent.clone() - copy the pdsUrl config ( #2312 )
...
* Fix agent.clone() - copy the pdsUrl config
* Add changeset
2024-03-13 15:58:10 -07:00
github-actions[bot]
b286cd1a84
Version packages ( #2305 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-13 12:50:35 -05:00
Daniel Holmgren
4eaadc0acb
Labeler API Changeset ( #2302 )
...
add changsets for labeler api changes
2024-03-13 12:48:36 -05:00
Eric Bailey
84e72c6607
Mod sdk fixes ( #2304 )
...
* Adds fix for missing default labelers
* Update tests
2024-03-13 10:48:05 -07:00
Paul Frazee
00a567daa0
Additional 3p labeler updates ( #2286 )
...
* Rename bsky_labeler_did
* Use labeldef default setting
* Add definedBy to interpretted label defs
* Improve dev-env mocks for labels
* Remove global label defs for dmca-violation, doxxing, and !no-promote
* Change nudity global label def to default to ignore and no longer be adult-only
* Remove old !no-promote tests
* Add mod authorities header and move bsky labeler into it
* Rename modsPref and addModService/removeModService to labelersPref and add/removeLabeler
* Add defaultSetting and adultOnly to custom label value definitions
* Rename InterprettedLabelValueDefinition to InterpretedLabelValueDefinition
* Update dev-env mock
* Move muted words and hidden posts into moderationPrefs
* Add muted word and hidden post handling to moderatePost
* Add mutewords tests
* Finish muteword tests
* Add mod-authority.test to dev-env
* Rename global label value def gore to graphic-media
* Fix typo
* Stop converting old label values
* Update label target=profile behaviors: dont filter content on hide, dont blur display names, but do show the info cards
* Update label target=account behaviors: dont blur media of content
* Add muteword moderation behaviors
* Fix mock label defs
* Implement quote-post moderation handling
* Add adult content test
* Handle sync legacy labels (#2291 )
* Handle sync legacy labels
* Remap values on read
* Filter out double-written legacy label values
* Better naming, fix types
* Fix test
* Update moderation docs in sdk
* Update to new atproto-accept-labelers header behavior
* Add getLabelDefinitions() helper method
* Add proxy header support to agent
* Update mock moderation
* lint
* Implement moderation for userlists and feedgens
* Add another test label
* fix labeler in dev-env agents
* fix label hydration test
* fix lint error
* fix agent test
* fix takedown labels test
---------
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: dholms <dtholmgren@gmail.com>
2024-03-12 21:10:19 -07:00
Daniel Holmgren
2ea27e340a
Ozone lexicons ( #2288 )
...
* lexicons
* clean up old admin schemas
* codegen
* renaming all routes
* fix more
* fix snaps
* fix test
* format
* hook up ozone routes on pds
* publish next version
* build branch
* dont build branch
2024-03-12 18:42:11 -05:00
devin ivy
8dd67f5c81
Appview: labels on feed gens and list views ( #2298 )
...
* lexicon: add labels to feedgen and list views
* appview: hydrate labels onto lists, feedgens
* test hydration of labels on lists and feedgens
* update pds snap
2024-03-12 16:04:02 -05:00