1776 Commits

Author SHA1 Message Date
Matthieu Sieben
c5a4cdb0a5
Improve error description in case invalid DPoP nonce is used (#3415) 2025-01-22 11:17:20 +01: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
b1dd0504cc
[threadContext 1] Add threadContext to threadViewPost - lex (#3318) 2025-01-21 14:36:50 -03:00
Matthieu Sieben
1ada2d0934
Fix getSubjectStatuses SQL (#3426) 2025-01-21 17:12:02 +01:00
github-actions[bot]
74ee108262
Version packages (#3425)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-21 10:55:50 -03:00
github-actions[bot]
d3432f0a79
Version packages (#3421)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-20 22:00:43 -03:00
rafael
6241f6b00b
expose resetRouteRateLimits to the req handler (#3420) 2025-01-20 21:56:11 -03:00
github-actions[bot]
d80380cb56
Version packages (#3417)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-20 15:28:55 +00:00
Matthieu Sieben
ee9779d074
Add account details to queryStatuses (#3236)
* Moderation subjectStatusView with statistics

* add account stats to queue entries

* fix

* adapt

* review changes

* style

* review comments

* wip

* add indexes

* refresh materialized view

* use the background queue to refresh materialized views

* tidy

* fix verrify

* tidy

* Add filtering based on "minAccountSuspendCount"

* fix tests

* Update test snapshots

* update materialized views when running `processAll`

* tidy

* processAll sequentially

* tidy

* tidy

* fix dead lock
2025-01-20 15:36:02 +01:00
github-actions[bot]
5417476622
Version packages (#3380)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-17 20:32:20 -03:00
rafael
cbf17066f3
feed generator content mode (#3389) 2025-01-17 20:26:29 -03:00
devin ivy
9c01281931
fetch-node: ensure unicast checks allow psl domains (#3379) 2025-01-16 18:43:27 -05:00
rafael
4ab7075fde
small rate-limit improvements (#3376) 2025-01-16 16:38:28 -03:00
rafael
688ff00dde
codegen un-codegen-ed stuff on main (#3374) 2025-01-15 19:34:42 -03:00
github-actions[bot]
fa96a997ec
Version packages (#3372)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-15 13:58:19 -03:00
rafael
0832a377d2
Allow resetting a route's rate limits (#3348) 2025-01-15 13:43:16 -03:00
devin ivy
c6c8686de4
Appview: permit redirects during blob resolution (#3370)
appview: permit redirects during blob resolution
2025-01-15 11:04:42 -05:00
bnewbold
07f11d3e0c
lexicon schema for lexicon schema records (meta) (#3286)
* lexicon schema for lexicon schema records (meta)

* defs are object/unknown, not array

* simplify just to 'lexicon' field

* codegen lexicon schema
2025-01-14 22:21:09 -08: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