Commit Graph

2872 Commits

Author SHA1 Message Date
Matthieu Sieben 80c4bb51f6 "no-unused-vars" now causes errors (#3608) 2025-03-07 15:17:07 +01:00
Matthieu Sieben 850e39843c OAuth: Reset password & Sign-up (#2945)
* Adds "password reset" during OAuth flows
* Adds "Sign up" during OAuth flows
* Adds support for multiple languages in the OAuth flow
* Adds "fr" translation for the OAuth flow

Co-authored-by: devin ivy <devinivy@gmail.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2025-03-07 09:41:06 +01:00
devin ivy 442fcce308 PDS: allow admins to update to any valid handle (#3603)
on admin.updateAccountHandle, permit any valid handle as break glass measure
2025-03-03 18:48:08 -05:00
devin ivy 6bcbb6d8cd app.bsky: permit 100mb video uploads (#3602)
* app.bsky: permit 100mb videos.

* codegen

* changeset

* app.bsky: add description to video embed blob field.
2025-03-03 18:25:10 -05:00
rafael 98aa023420 Make random test fail less often (#3597) 2025-03-03 00:33:56 -05:00
Daniel Holmgren 38320191e5 Wrap sync semantics (#3585)
* deprecate blobs & tooBig

* add sync event, deprecate handle & tombstone

* fix up tests

* small tidy

* add test for sync account on account activation

* use new sync event in another place

* remove deprecated events from lexicons

* formatting

* pr cleanup

* changeset
2025-02-28 17:19:18 -06: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
bnewbold dc6e4ecb0e lex: add more identity helpers (#2264)
* lex: add more identity helpers

* lex: update identity helpers

* make fmt

* fix typo in 'id'

* add errors; add resolveDid; more descriptions

* lint

* fix 'identifier' field names

* identity: rename def; DID deactivation as error, not flag; require handle+doc

* update again, to 'identityInfo'

* codegen

* changeset
2025-02-26 14:36:58 -08: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
github-actions[bot] e5d72e8d1c Version packages (#3584)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 10:12:09 -06: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
bnewbold 27b0a7be1e remove deprecated sync fields (#2506)
* lex: remove deprecated sync fields

* codegen field removals

* remove deprecated fields from code

* changeset
2025-02-25 12:32:22 -06:00
Daniel Holmgren d4e14b7bdc Move sequenceCommit into actor store transaction (#3580)
* serialize sequencing by moving sequenceCommit into actor store transaction

* do not throw on updateRepoRoot failure

* build branch

* changset

* dont build branch
2025-02-25 11:07:49 -06:00
devin ivy 5cce766705 Add x-forwarded-for to PDS-proxied requests to entryway (#3553)
* add x-forward-for to pds proxied requests to entryway

* pds: pull entryway auth/passthru headers into own methods, adjust forwarding

* tidy

* changeset

* pds: switch back to forward just first untrusted ips, trust local ips
2025-02-25 11:11:53 -05:00
bnewbold 99e2809ca2 [APP-1072] Add labeler declaration lexicons (#3521)
* updates to com.atproto.moderation.* for report routing

* updates to labeler service declaration; and new reason types

* Apply suggestions from code review

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* remove dupe reasonAppeal

* iterate on labeler declaration lexicons

* Makefile: fast helper for formatting just lex json

* external, not link

* change default when subjectCollections is not defined

* remove 'example reason' disclaimers

* simplify lex report proposal: just labeler declartions

* missed knownValues list

* Codegen, changeset

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2025-02-25 09:46:12 -06:00
Brian Olson e40758c36a nobody uses notifyOfUpdate, deprecate (#3574) 2025-02-25 10:36:16 -05:00
github-actions[bot] 78caefd7d4 Version packages (#3578)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 17:47:09 -05:00
Matthieu Sieben 82d5a2d361 OAuthProvider: Update "trustProxy" options to allow function (#3557)
* OAuthProvider: Update "trustProxy" options to allow function

* DeviceManager options can now be passed as argument to the OAuthProvider constructor

* Only trust one level of proxying when computing IP during OAuthFlows

* Prevent invalid use of trustProxy config

* tidy

* make the code compliant with legacy behavior
2025-02-24 17:12:16 -05:00
github-actions[bot] 43d2703742 Version packages (#3577)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 18:20:26 -03:00
rafael 44f81f2eb9 Add chat.bsky.convo.updateAllRead lex (#3576) 2025-02-24 13:15:33 -08:00
github-actions[bot] 95299e0f62 Version packages (#3566)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 14:29:37 +01:00
Foysal Ahamed 9b643fbeca 📝 Make comment property optional on ozone comment event (#3572) 2025-02-24 14:19:06 +01:00
Foysal Ahamed 5e61126157 🐛 Store empty comment for ozone events (#3571)
* 🐛 Store empty comment for ozone events

*  Make comment property optional

* 📝 Better comment event description
2025-02-24 14:15:20 +01:00
bnewbold 6e382f67aa Lexicon updates for Sync v1.1 (inductive firehose) (#3391)
* mark 'blobs' as deprecated (can parse from records blocks)

* add 'prev' CID to record ops

* add inductive changes and #resync event

* updates from recent discussion

* add sync v1.1 account hosting status states (broken, throttled)

* prettier

* updates from discussion

* remove 'data' from #sync message

* add note on 'repo' field about inconsistent name

* codegen

* changeset
2025-02-21 17:01:13 -08: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
github-actions[bot] 27bff80a98 Version packages (#3565)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-21 16:42:38 +00:00
Foysal Ahamed b9cb049d94 🐛 Add missing divert event to list of events on emitEvent (#3561)
* 🐛 Add missing divert event to list of events on emitEvent

* ♻️ Clean up

* 📝 Add changeset
2025-02-21 17:11:17 +01:00
github-actions[bot] 36ad5b1e82 Version packages (#3563)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-21 11:22:50 -03:00
rafael 22af31a898 Update chat lexicons (#3564)
* new chat lex

* changeset
2025-02-21 05:01:37 -08:00
bnewbold 01874c4be7 lexicons: use 'tid' and 'record-key' formats in sync+repo lexicons (#2378)
* lex: use 'tid' and 'record-key' formats in lexicons

* more TID formats; and remove redundant maxLength

* add maxLength back, with a comment/description

* revert accidential change to applyWrites

* codegen

* changeset

* update test for invalid record-key
2025-02-20 11:50:24 -08:00
Daniel Holmgren 2c0435f4ed Emit identity event on activateAccount (#3560)
* push to run CI

* maybe fix

* attempted fix

* tidy
2025-02-20 12:24:19 -06:00
bnewbold 8b2f0a62c6 update year to 2025 (#3559) 2025-02-19 16:10:51 -08:00
github-actions[bot] 88ce852a8d Version packages (#3556)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-19 10:20:10 +01:00
Matthieu Sieben 6faf3eb254 Add vscode settings and recommended extensions (#3507) 2025-02-19 10:16:21 +01:00
Foysal Ahamed 7449f8607c Allow filtering ozone team list by role and status (#3554)
*  Allow filtering ozone team list by role and status

* fix style

* changeset

---------

Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
2025-02-19 10:15:58 +01:00
github-actions[bot] 7b93618353 Version packages (#3548)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-19 09:44:01 +01:00
Foysal Ahamed a9887f6877 📝 Add changeset for ozone reporter stats feature (#3546) 2025-02-18 16:23:02 +01:00
bnewbold afb3e1cd6c update CONTRIBUTORS.md (#3549) 2025-02-17 18:28:00 -08:00
bnewbold 010f10c6f2 com.atproto.sync.listReposByCollection Lexicon, for collections directory (#3524)
* com.atproto.sync.listReposByCollection, for collections directory

* bump listReposByCollection limit

* update max+default to align more with listRepos

* codegen

* changeset for listReposByCollection
2025-02-17 18:15:35 -08:00
Foysal Ahamed b41ff4b4e3 Add reporter_stats materialized view and endpoint to fetch reporter stats (#3509)
*  Add reporter_stats materialized view and endpoint to fetch reporter stats

* 🚨 Fix linter issues

*  Change reporter stats query from materialized view to on demand select

* Add "createdAt" as part of the index

---------

Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com>
2025-02-17 22:17:43 +01:00
github-actions[bot] f1d323a6ef Version packages (#3539)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-14 14:24:57 +01:00
Matthieu Sieben bde6f71c4c Mark "userAgent" as optional in RequestMetadata (#3538) 2025-02-14 14:20:18 +01:00
github-actions[bot] a3d2204a7e Version packages (#3533)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-14 10:57:36 +01:00
Matthieu Sieben 3f58dd0e74 changeset for Appview: apply needs-review to individual records (#3537) 2025-02-14 10:49:42 +01:00
Matthieu Sieben ba5bb6e667 Add missing changeset for bugfix in api package (#3535) 2025-02-14 10:15:33 +01:00
Matthieu Sieben 175f89f8fe Fix lex-cli Windows compatibility (#3534)
Windows compatibility

Fixes #3327
2025-02-14 10:10:10 +01:00
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
Tatsuya Yamamoto / T28_tatsuya eb83ae176d fix(api): pass refreshJwt to deleteSession on logout() (#3530)
fix: set refreshJwt
2025-02-14 09:41:28 +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