264 Commits

Author SHA1 Message Date
rafael
64100a75b3
Bookmarks (#4163) 2025-09-02 10:28:34 -03:00
hailey
0a6a87891e
adjust notifications to filter thread hidden tags (#4140) 2025-08-27 11:55:28 -07:00
rafael
c370d933b7
Lists API improvements (#4081)
* Add purposes filter to app.bsky.graph.getLists

* Add getListsWithMembership

* Add getStarterPacksWithMembership

* Refactor list membership hydration

* changeset

* update getStarterPacksWithMembership lexicon output

* bsky: address feedback on list api improvements

* tidy

* tidy

---------

Co-authored-by: Devin Ivy <devinivy@gmail.com>
2025-08-05 01:06:05 -04:00
hailey
a723ab3893
hydrate acceptsInteractions in generator view (#4071)
* hydrate  in generator view

* add a mock feedgen

* add feed-generation test

* Fix verify

---------

Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-08-04 11:40:47 -04:00
rafael
9751eebd71
Cleanup app.bsky.unspecced.checkHandleAvailability (#4072) 2025-07-29 17:00:05 -03:00
rafael
459a5dcddc
Cleanup AA gate (#4066) 2025-07-28 10:53:10 -03:00
rafael
de29a346d8
Fix paginateAll mistakes and improve typing (#4062) 2025-07-22 14:51:16 -03:00
Eric Bailey
8787fd9dea
Prevent assured user from re-initiating (#4058)
* Validate user status before initiating

* Format

* Add test, not working yet

* Fix test

* Import order

---------

Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-07-18 14:13:25 -05:00
rafael
534bea0a98
Fixes on handle suggestions (#4055) 2025-07-18 12:12:09 -03:00
rafael
dc84906c86
checkHandleAvailability endpoint (#4049) 2025-07-17 16:09:14 -03:00
rafael
88c1364274
APIs for age assurance compliance (#4028)
Co-authored-by: Eric Bailey <git@esb.lol>
2025-07-11 19:09:18 -03:00
Matthieu Sieben
8ef976d385
xrpc-server & lex-cli rework (#3999)
* xrpc-server & lex-cli rework

* codegen

* tidy

* tidy

* tidy

* Update .changeset/nasty-icons-peel.md

Co-authored-by: devin ivy <devinivy@gmail.com>

* excludeErrorResult util

* Restore export of `SkeletonHandler` from `pds`

* Make `calcKey` RateLimiter option required

* Process request input after auth

* fix tests

* changeset

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2025-07-08 13:04:11 +02:00
Samuel Newman
8a0f190399
Subscribe to activity implementation (#3908)
Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-06-30 18:43:27 -03:00
rafael
3499642ed1
Improve stash types for namespaces (#4000) 2025-06-26 16:45:18 -03:00
Samuel Newman
97ef116571
Rename filter -> include (#3966)
* rename filter -> include

* changeset

* fix tests
2025-06-17 13:45:49 -04:00
rafael
dfdc8c8470
Add threads v2 seeds to dev-env seeds (#3911) 2025-06-10 10:57:04 -03:00
Samuel Newman
a48671e730
Notification preferences V2 endpoints (#3901)
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-06-06 18:29:05 -03:00
Eric Bailey
c6eb8a12e2
Update V2 additional replies naming convention (#3929)
* Rename

* Import sorting
2025-06-06 10:54:36 -05:00
Eric Bailey
a5cd018bd5
Unify getPostThreadV2 and getPostThreadHiddenV2 responses (#3912)
Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-05-31 16:25:25 -03:00
rafael
f6d5a467e7
Fix handling following users in threads v2 (#3909) 2025-05-29 13:01:11 -03:00
rafael
cb8bf1838f
app.bsky.unspecced.getPostThreadV2 filtering (#3905) 2025-05-29 00:32:11 -03:00
rafael
1dae6c59ab
Add app.bsky.unspecced.getPostThreadV2 (#3825)
Co-authored-by: Eric Bailey <git@esb.lol>
2025-05-27 22:12:12 -03:00
Samuel Newman
79a75bb1ed
Referred likes lexicon changes (#3882) 2025-05-26 19:28:59 +03:00
hailey
80f402f366
add reqId to interactions (#3869) 2025-05-20 14:45:19 -07:00
rafael
86b3153884
Add liveNow to app.bsky.unspecced.getConfig (#3860) 2025-05-16 17:01:37 -03:00
rafael
3a65b68f7d
Actor status lexicon and views (#3824) 2025-05-05 17:35:10 -03:00
rafael
7049117ea2
Fix takendown blocklists application (#3807) 2025-04-30 14:03:05 -03:00
rafael
0087dc1c0b
Verification notifications (#3773)
Co-authored-by: Eric Bailey <git@esb.lol>
2025-04-18 16:46:42 -03:00
rafael
688268b6a5
Delegated verification (#3761)
Co-authored-by: Eric Bailey <git@esb.lol>
2025-04-16 19:38:16 -03:00
Eric Bailey
04b6230cd2
Return StarterPackView instead of StarterPackViewBasic from getSuggestedStarterPacks (#3706) 2025-04-01 15:58:55 -05:00
Hailey
0eea698bef
suggested starterpacks pipethrough (#3677)
* Reapply "add codegen"

This reverts commit 620b10954af90f53e1692c3fd7451c675f1e9956.

* add pipethrough

* pipethrough header

* fix descriptions

* rm

* codgen/build

* suggested starterpacks pipethrough

* Reapply "add codegen"

This reverts commit 620b10954af90f53e1692c3fd7451c675f1e9956.

* add pipethrough

* pipethrough header

* fix descriptions

* rm

* codgen/build

* add hot

* Codegen

* Hotter

* Category as optional open string

* Format

* Run codegen for reaction lexicon changes (#3674)

* codegen main

* changeset

* Version packages (#3675)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add hot

* Codegen

* Hotter

* Category as optional open string

* Format

* codegen

* tidy

* required array

* add route

* update lex

* use right viewer

* use right viewer

* remove viewer property

* lex codegen

* update comment

* Changeset

* Add test

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-04-01 14:18:13 -05:00
Hailey
2b7efb6cb1
v2 trends endpoint (#3673)
* Reapply "add codegen"

This reverts commit 620b10954af90f53e1692c3fd7451c675f1e9956.

* add pipethrough

* pipethrough header

* fix descriptions

* rm

* codgen/build

* add hot

* Codegen

* Hotter

* Category as optional open string

* Format

* required array

* update lex

* use right viewer

* lex codegen

* update comment

* codegen

* Add basic test

* Format

* Changeset

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: rafael <rafael@blueskyweb.xyz>
2025-04-01 12:44:18 -05:00
rafael
be800369c5
Notification cursor delay (#3573)
* Use ISO 8601 datetime string as notif list cursor

* Refactor pagination functions to methods

* Implement configurable notification delay

* Add comment

* Apply PR suggestions

* Implement suggestions

* Properly synchronize notification delay test

* Simplify date validation logic
2025-02-28 17:35:43 -03:00
devin ivy
48b0a6f7b9
Appview: etcd-backed dataplane host list (#3586)
* appview: setup etcd-based dataplane host list

* appview: remove old file

* appview: tidy etcd host list functionality and add tests

* appview: add config and lifecycle for etcd-based dataplane host list

* tidy

* tidy

* appview: tidy config and dataplane client types

* build
2025-02-26 11:20:07 -05:00
Eric Bailey
11d8d21bea
[APP-1072] Support labeler declaration fields on app view responses (#3579)
* Mirror new fields on labelerViewDetailed

(cherry picked from commit 33fdceec26c189995936129355135fdb1480a738)
(cherry picked from commit fe5626639e2d9d03448d8a7e829ad4d8b5e54ec3)

* Mirror new labeler service record properties on labelerViewDetailed lexicons

(cherry picked from commit 6a490f83232c258ac4cc2cd46379048195c4710f)

* Include new labeler service record properties on the labelerViewDetailed reponse from the app view.

(cherry picked from commit 279ed6472d370a61bf669656fda2fddaf2f88621)

* Format

(cherry picked from commit 620346d1e15d130e11fea45cf05d12d246b8e605)

* Fix up bad conflict resolution in test suite

(cherry picked from commit efa04cf592088be0bb8c7c96eb2d45ecbc1a2ea4)

* Import order

(cherry picked from commit 82567caaf53daa09951f71704827ff8d48f1bcc3)
2025-02-26 09:00:57 -06:00
Daniel Holmgren
7e3678c089
Send prevs on firehose (#3449)
* schema

* reset rate limit codegen

* codegen

* send prev cids on firehose

* fix test

* fix some test compiler errors & add experimental note

* fix linting

* build branch

* add prevData to commit event

* fix cbor undefined err

* add sibling proofs to relevant blocks

* bump depth of obj in test

* fix bug on right sibling proof & add some tests

* another test

* refactor proof construction

* more tests

* factor into fixtures

* fix styles in json

* lint: import ordering

* pr feedback

* add invertible op test

* remove prev from outgoing events

* return to original proof construction

* dont build branch

* changeset
2025-02-21 15:01:08 -06:00
devin ivy
3c7976a0d1
Appview: apply needs-review to individual records (#3532)
appview: apply needs-review to individual records
2025-02-13 22:56:50 -05:00
rafael
809c7ac5e3
Label expiration (#3510) 2025-02-13 15:34:01 -03:00
Matthieu Sieben
c53d943c8b
Improve codegen typings (#2999)
* Make codegen types stricter
* Add .js file extension to import statements in generated code
* Fixes a bug that would clear interests prefs when updating hidden posts prefs.
2025-02-13 15:21:00 +01:00
rafael
dc8a7842e6
Add followerRule threadgate (#3496)
* Add followerRule threadgate

* changeset
2025-02-06 11:52:21 -03:00
Matthieu Sieben
61dc0d60e1
Add linting rule to sort imports (#3220)
* Add linting rule to sort imports

* remove spacing between import groups

* changeset

* changeset

* prettier config fine tuning

* forbid use of deprecated imports

* tidy
2025-02-05 15:06:58 +01:00
Matthieu Sieben
fb64d50ee2
Explicitly allow "undefined" values in headers (#3456)
* Explicitly allow "undefined" values in `headers`

* fix tests types
2025-01-26 13:24:27 -08:00
devin ivy
a8f06939f9
Appview: ensure takedowns on modlist authors always apply (#3192)
* appview: begin rewiring logic for applying modlist, based on owner status.

* appview: unify logic for checking list-block/mutes

* appview: apply actor takedowns for 3p list-blocks

* appview: apply actor takedowns for 1p list-blocks, fix dataplane method

* appview: test takedown on modlist author, application of list
2025-01-24 18:49:35 -05:00
rafael
c0a75d310a
posts_with_video filter (#3390) 2025-01-21 15:49:02 -03:00
rafael
6b8a51e881
[threadContext 2] Add threadContext to threadViewPost - backend (#3313) 2025-01-21 15:35:16 -03:00
rafael
cbf17066f3
feed generator content mode (#3389) 2025-01-17 20:26:29 -03:00
Matthieu Sieben
72eba67af1
Drop axios dependency (#3177)
* Minor adaptation of VerifyCidTransform implementation

* refactor: factorize content-encoding negotiation into new lib

* bsky: Use undici to stream blob

* fixup! bsky: Use undici to stream blob

* disable ssrf bsky protection in dev-env

* remove http requests to self to host "/img/"

* drop axios from tests

* fixes

* fix tests

* reviex changes

* properly handle HEAD requests

* handle client disconnection

* fix tests

* drop unrelated change

* tidy

* tidy

* tidy

* remove axios from dev-env

* remove axios from identity package

* use undici 6

* remove axios dependency from ozone

* tidy

* remove axios from PDS package

* avoid killing bsky-pds connections

* improve debugging data

* Better handle invalid CID

* tidy

* tidy

* refactor "allFulfilled" util in @atproto/common

* tidy

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2025-01-06 18:34:11 +01:00
rafael
638f5a8312
Fix avatar path resolution in dev-env (#3266)
* Fix avatar path resolution in dev-env

* changeset

* extract dev-env assets to dedicated folder

* add comment

* fix fmt
2024-12-19 11:25:41 -03:00
Daniel Holmgren
2694c396b9
Filtering on listNotifications (#3225)
* Add filter param to listNotifications

* Codegen

* Changeset

* update schemas

* update schemas

* impl server-side notif pagination

* add notification tests

* tweak schema

* revert lockfile changes

* dont paginate for unfiltered

* fix snaps

* fix priority notif bug

* filter -> reasons

* filter -> reasons

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-12-11 13:59:27 -06:00
rafael
3303ff16a4
Remove author blocks from getLikes (#3012)
* Capture the issue in a test case

* Remove 3p blocks in getLikes

* fix test that captures the bug

* remove unnecessary hydration

* Remove `!viewer` check
2024-11-26 17:56:42 -05:00