Commit Graph

1347 Commits

Author SHA1 Message Date
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
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
Foysal Ahamed d377d1a9be Allow creating labels with expiry (#3476)
*  Allow creating labels with expiry

* 🧹 Cleanup
2025-01-31 11:48:10 -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
Eric Bailey e5d4c7462d Update confirm-email template (#2849) 2025-01-24 14:59:31 -06: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
Daniel Holmgren 08a48c16a0 Reset rate limit codegen (#3435)
reset rate limit codegen
2025-01-22 17:55:34 -06: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
rafael c0a75d310a posts_with_video filter (#3390) 2025-01-21 15:49:02 -03:00
rafael b1dd0504cc [threadContext 1] Add threadContext to threadViewPost - lex (#3318) 2025-01-21 14:36:50 -03: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] 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
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
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
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
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
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
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 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
Daniel Holmgren 672243a9ea Nullable ratelimit calcKey (#3274)
* fix codegen

* re-codegen

* changeset
2024-12-19 17:28:52 -06: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
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
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
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