1610 Commits

Author SHA1 Message Date
445f38c6be filter embed 2025-01-15 01:51:45 -05:00
f8a71d0aab maximum call stack size exceeded fuckin 2025-01-15 01:06:55 -05:00
49c8c9f124 filter youtube tracking links 2025-01-15 00:53:22 -05:00
Daniel Holmgren
3f93d8cabf
Fix flaky appeal test (#3369)
fix flaky appeal test
2025-01-14 13:02:06 -06:00
Hailey
17057144d8
add pipethrough for recids on suggestions (#3365)
* add pipethrough

* add missing
2025-01-13 16:33:32 -08:00
github-actions[bot]
a44db38d05
Version packages (#3345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-13 16:32:43 -08:00
Ian Wesley-Smith
e277158f70
Add recId to getSuggestionsSkeleton (#3364)
* Add recId to getSuggestionsSkeleton

* codegen

* add recId to app client endpoints

* codegen

* changeset

---------

Co-authored-by: Hailey <me@haileyok.com>
2025-01-13 15:34:11 -08:00
Matthieu Sieben
d97272de0b
Fixes lexgen on main (#3351)
fix lexgen
2025-01-10 14:46:14 +01:00
Matthieu Sieben
5ece8c6aea
Fix typo in "@atproto/fetch" (#3343)
* fix typo
* Response mime type check is now case-insensitive
2025-01-09 14:27:17 +01:00
Matthieu Sieben
2889c76995
Improve type safety and compatibility with Bun (#2879)
* jwk: Improve type safety and compatibility with Bun
* improve type safety of jwk keys
* improve typing of verifyAccessToken
* update @types/http-errors
* Better report invalid content-encoding errors
* Mark jwk key fields as readonly
2025-01-09 14:26:07 +01:00
Matthieu Sieben
48a0e9d606
Properly dispose of unused undici HTTP responses (#3344)
Properly dispose of unused http responses
2025-01-09 14:18:07 +01:00
Foysal Ahamed
9dc7251fc7
Update snapshot check for tags array (#3340) 2025-01-08 17:24:31 +01:00
github-actions[bot]
5b6e0611d6
Version packages (#3336)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-07 12:06:16 -06:00
Daniel Holmgren
1abfd74ec7
Update crypto libraries (#3335)
* update crypto libs & use new format option

* reinstall deps

* changeset
2025-01-07 11:59:21 -06:00
github-actions[bot]
7aecc57dbb
Version packages (#3331)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-07 09:29:57 -05:00
rafael
9690f1102a
[bsky did 0] Feature - Add appview DID to bsky (#3321) 2025-01-07 00:13:57 -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
Matthieu Sieben
3365bf8b22
install pnpm through corepack (#2864)
* install pnpm through corepack

* remove engine from services package.json
2025-01-02 22:04:43 -05:00
github-actions[bot]
3442668194
Version packages (#3320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-02 21:00:31 -05:00
Foysal Ahamed
53621f8e10
Add a policy property to takedown events (#3271)
*  Add a policy property to takedown events

*  Add policy list setting validation

*  Make multiple policies possible for takedown and event search

* 📝 Add changeset

*  Use , as policies separator
2025-01-02 20:46:53 -05:00
github-actions[bot]
f70d159706
Version packages (#3296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-31 13:09:12 -05:00
devin ivy
53c273c3e2
Fix clobbered codegen changes (#3311)
fix clobbered codegen changes
2024-12-31 12:13:03 -05:00
Foysal Ahamed
6d1ad37836
Remove landing page for ozone (#3310)
* 🧹 Remove landing page for ozone since it's meant to serve the frontend app

* 📝 Add changeset
2024-12-31 16:48:59 +00:00
Foysal Ahamed
d90d999def
🐛 Fix tags length (#3294)
* 🐛 Allow tag item longer than 25 char

* 📝 Add changeset
2024-12-27 16:48:58 +00:00
github-actions[bot]
22a96d6b74
Version packages (#3281)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-23 18:58:21 +00:00
bnewbold
13e834f261
better service landing pages (#2959)
* update PDS home text

* update AppView home text

* ozone API homepage

* make fmt
2024-12-23 10:14:15 -08:00
Foysal Ahamed
9ea2cce9a4
Apply queue filter on database query when fetching subjects (#3280)
*  Apply queue filter on database query when fetching subjects

*  Add queue seed option

* 📝 Add changeset

* 🐛 Allow 0 value for queueIndex
2024-12-23 13:08:31 +00:00
Daniel Holmgren
b4674a61a9
Fix auth scopes for account migration (#3273)
*  Allow appeals on takendown account

*  Update snapshot

*  Remove duplicate test

*  Respond with takendown token from createSession for takendown accounts

* 🧹 cleanup appeal account action stuff

* 📝 Add description to new field

* ♻️ Refactor authscope formatter and add test for create record with takendown token

*  Update snapshot

* add createReport route

* fix scopes for account mgiration

* changeset

* changset

---------

Co-authored-by: Foysal Ahamed <foysal@blueskyweb.xyz>
2024-12-20 14:09:06 -06:00
Foysal Ahamed
6d308b857b
Allow appeals on takendown account (#3251)
*  Allow appeals on takendown account

*  Update snapshot

*  Remove duplicate test

*  Respond with takendown token from createSession for takendown accounts

* 🧹 cleanup appeal account action stuff

* 📝 Add description to new field

* ♻️ Refactor authscope formatter and add test for create record with takendown token

*  Update snapshot

* add createReport route

* changeset

---------

Co-authored-by: dholms <dtholmgren@gmail.com>
2024-12-20 13:52:20 -06:00
github-actions[bot]
522294bb49
Version packages (#3275)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-20 13:34:22 -06:00
Eric Bailey
f22383cee8
Add codegen to support deprecated labels (#3270)
* Port app code into SDK, remapping gore to graphic-media

* Support deprecated gore label by duplicated graphic-media

* Add alias field, codegen with deprecation comment

* Format

* Changeset
2024-12-20 11:58:46 -06:00
Daniel Holmgren
672243a9ea
Nullable ratelimit calcKey (#3274)
* fix codegen

* re-codegen

* changeset
2024-12-19 17:28:52 -06:00
github-actions[bot]
85a437800d
Version packages (#3259)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-19 11:41:41 -05: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
Foysal Ahamed
c559e7e3de
Add subject tags with report type (#3260)
*  Add subject tags with report type

*  Update snapshots

*  Update snpshot for pds admin

*  Update ozone snapshot

*  Update ozone snapshot

* 🧹 Cleanup
2024-12-18 22:57:27 +00:00
Foysal Ahamed
6a3e781b98
Add && separator for tags filter param on queryStatuses endpoint (#3261)
*  Add && separator for tags filter param on queryStatuses endpoint

* 🐛 Handle potential empty tag search input

* 🐛 Handle empty condition
2024-12-18 22:46:05 +00:00
Hailey
448139ddcd
fix missing limit param in getTrendingTopics (#3262)
* fix missing params

* fix
2024-12-18 09:59:38 -06:00
Sergio Garcia
a200e50951
Accept a wider range of content types for DoH API calls. (#3046) 2024-12-17 16:02:04 +01:00
github-actions[bot]
fecbe757c5
Version packages (#3252)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 15:26:05 -08:00
Hailey
dced566de5
add trending topic lex, wire in agent (#3250)
* add lex

* add suggested as well

* don't use uri format

* codegen

* tweak lex

* wire in

* add missing var

* move

* make auth optional

* mount

* add trending topics to server cfg (#3226)

* add trending topics to server cfg

* rename stuff

* remove langs

* make viewer nullable

* recodegen

* changeset again

---------

Co-authored-by: dholms <dtholmgren@gmail.com>
2024-12-16 15:20:46 -08:00
Daniel Holmgren
13636ba963
Validate profile records for views (#3238)
validate profile records for views
2024-12-12 10:38:56 -06:00
devin ivy
a940c3fcef
PDS: fix account deactivation when behind entryway by using entryway auth (#3173)
pds: fix account deactivation when behind entryway by using entryway auth
2024-12-11 15:12:37 -05:00
github-actions[bot]
51b0c48ce7
Version packages (#3188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 14:11:08 -06: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
dan
207728d2b3
Add reasons param to listNotifications (#3222)
* Add filter param to listNotifications

* Codegen

* Changeset

* update schemas

* tweak schema

* filter -> reasons

---------

Co-authored-by: dholms <dtholmgren@gmail.com>
2024-12-11 13:46:14 -06:00
dan
5ade78ddb3
Add fast path skipping UTF8 length counting (#2819)
* Harden UTF8 length test cases

* Harden tests to account for new fast path

* Add fast paths that skip UTF8 encoding
2024-12-10 19:45:04 +00:00
Daiki Mizukami
57c58f6326
fix(crypto): fix error message of bytesToMultibase (#3203)
It was printing the `Uint8Array` instead of the encoding name.
2024-12-09 15:23:39 -05:00
devin ivy
45e7ed52c4
Appview: apply needs-review to addl notif types (#3199)
appview: apply needs-review to addl notif types
2024-12-09 12:44:04 -05:00
Foysal Ahamed
e9240c8b5e
🐛 Retrieve takendown profiles from app.bsky.actor.getProfiles based on auth (#3206) 2024-12-07 16:47:02 -05:00
Foysal Ahamed
32baddf4a9
🐛 Fix auth level check for protected tags (#3205) 2024-12-07 12:02:42 -05:00