457 Commits

Author SHA1 Message Date
Matthieu Sieben
e69e89a037
Properly compute sleep time in contantTime util (#3514) 2025-02-14 09:53:53 +01:00
Matthieu Sieben
20e57bacf9
Improve indexing for chat.bsky.moderation.getMessageContext (#3520)
* Improve indexing for chat.bsky.moderation.getMessageContext

* tidy
2025-02-14 09:44:07 +01:00
Matthieu Sieben
6ea9c961af
Rework of authorization request hooks (#3525)
* Rework of authorization request hooks

* add device details to `onAuthorized` hook

* Expose port number in DeviceDetails, allow passing options to DeviceManager

* tidy

* tidy

* tidy

* tidy

* changeset

* Expose client request metadata in hooks

* tidy

* tidy

* docs
2025-02-14 09:38:57 +01:00
github-actions[bot]
03351a5818
Version packages (#3529)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-13 15:27:09 +01: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
github-actions[bot]
f90eedc865
Version packages (#3505)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-06 21:03:25 +00:00
Foysal Ahamed
709a85b0b6
Add a priority score value for ozone subjects (#3495)
*  Add a priority score value for ozone subjects

* 🚨 Bring back lock file

*  Update snapshot for pds proxied tests

*  Update takedown appeal snapshot

*  Update takedown appeal snapshot

*  Update repo and record snapshots

* :rotating_lights: Fix lint issue

*  Update moderation events snapshot

*  Update moderation statuses snapshot

* 🧹 Cleanup unnecessary durationInHours field

*  Allow filtering by priority score

*  Add test for priorityScore filter

* 🚨 Fix import order

*  Allow 0 priority score filter

* 📝 Add changeset
2025-02-06 20:54:27 +00:00
github-actions[bot]
526bcf8cba
Version packages (#3499)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-06 12:21:42 -06:00
Eric Bailey
636951e472
Include new followerRule as valid setting in postInteractionSettings pref (#3501)
Include new followerRule as valid setting in postInteractionSettings pref
2025-02-06 12:17:14 -06:00
rafael
dc8a7842e6
Add followerRule threadgate (#3496)
* Add followerRule threadgate

* changeset
2025-02-06 11:52:21 -03:00
github-actions[bot]
799dd925e9
Version packages (#3493)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-05 17:50:10 -06:00
Eric Bailey
87ed907a6b
Add setPostInteractionSettings and related prefs (#3494)
* Add setPostInteractionSettings and related prefs

* Fix test

* Align types and implementation

* Tighten up, clarifying descriptions

* Fix test

* Format
2025-02-05 17:43:27 -06: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
53a577fd4b
PDS: ActorStore Refactor (#3492)
* Similification of the `pds` package by:
- Removing `DetailedAccountStore` class (moving its logic inside `AccountManager`)
- Factorizes image URL building into its own class (for easy re-use from `AccountManager`)
- Adds an `AppView` class that exposes an `agent: AtpAgent` and url builder function (used by the `ImageUrlBuilder`).
- Reworks the `ActorStore` to avoid circular dependency between `AccountManager` and `LocalViewerCreator` (needed because of first item)

* tidy

* move classes in their own file
2025-02-05 13:37:16 +01:00
rafael
8a30e0ed92
[SH] fixes base (#3445)
Co-authored-by: Eric Bailey <git@esb.lol>
2025-02-04 16:37:48 -03:00
github-actions[bot]
1c195a3845
Version packages (#3442)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-31 18:01:32 -06:00
Daniel Holmgren
52c687a05c
CBOR: parse safe uint64 as number (#3481)
* parse safe uint64 as number

* rename test
2025-01-31 17:57:48 -06:00
Foysal Ahamed
7f52e67354
Mark appeals as resolved when takedown is issued (#3352)
*  Mark appeals as resolved when takedown is issued

*  Only set appealed false if in appealed state

* 📝 Add changeset
2025-01-31 12:01:17 -08:00
Matthieu Sieben
cc2a1222bd
Fix did:web encoding/decoding (#3454) 2025-01-26 16:06:06 -08: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
Matthieu Sieben
8810885b8e
fix pds tests flakiness (#3463) 2025-01-26 13:24:03 -08:00
Matthieu Sieben
da7a831a73
Code cleanup (#3437) 2025-01-24 15:29:33 +01:00
Matthieu Sieben
4f2841efeb
Improve error reporting in case of failed PLC update operation (#3439)
* Improve error reporting in case of failed PLC update operation

* Improve error message

* convert all PlcClientError XRPCError

* changeset
2025-01-23 15:53:38 +01:00
github-actions[bot]
3aa97a9dd3
Version packages (#3438)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-23 14:27:29 +00:00
Samuel Newman
8c6c7813a9
Allow passing allowTakendown to createSession (#3441)
* allow passing `allowTakendown` to createSession

* changeset
2025-01-23 14:22:55 +00:00
Matthieu Sieben
b04943191b
Add description for transition:* scopes (#3432) 2025-01-23 11:01:37 +01:00
github-actions[bot]
e6bd2ad8d1
Version packages (#3427)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-22 15:52:42 -03:00
Matthieu Sieben
c5a4cdb0a5
Improve error description in case invalid DPoP nonce is used (#3415) 2025-01-22 11:17:20 +01:00
rafael
e6e6aea381
version api (#3429) 2025-01-21 22:06:08 -03:00
rafael
c0a75d310a
posts_with_video filter (#3390) 2025-01-21 15:49:02 -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
rafael
1015d96925
changeset (#3422) 2025-01-21 10:33:28 -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
50603b4f2e
Add account and record level statistics when querring `tools.ozone.mo… (#3416)
* Add account and record level statistics when querring `tools.ozone.moderation.queryStatuses`.

* Update `tools.ozone.moderation.queryStatuses` lexicon
2025-01-20 16:17:42 +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
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
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
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
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