1776 Commits

Author SHA1 Message Date
Hailey
620b10954a Revert "add codegen"
This reverts commit 00b409567271d5b1b27a40f8c8e8ad020967781b.
2025-03-26 11:50:32 -07:00
Hailey
00b4095672 add codegen 2025-03-26 11:50:01 -07:00
github-actions[bot]
ff581e1e0b
Version packages (#3671)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-26 14:45:09 -03:00
github-actions[bot]
03ca772612
Version packages (#3658)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-21 09:46:44 +01:00
Johannes Andersen
42807cad56
fix(oauth-provider): hCaptcha error codes should be optional (#3656)
* fix(oauth-provider): hCaptcha error codes should be optional

* fix: hostname can be nullable

* fix: add changesets
2025-03-21 09:17:51 +01:00
github-actions[bot]
c777ba6d68
Version packages (#3631)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-20 15:21:15 +01:00
Matthieu Sieben
49528e83da
OAuth: Allow onSignedUp hook to access hcaptcha result data (#3645)
* OAuth: Allow `onSignedUp` hook to access hcaptcha result data

* OAuth hcatpcha fixes

* Update .changeset/slimy-flowers-punch.md

Co-authored-by: devin ivy <devinivy@gmail.com>

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2025-03-20 14:57:54 +01:00
Matthieu Sieben
cc4122652e
Split OAuth Provider's ui into its own package (#3640)
* Split OAuth Provider's ui into its own package

* Create distinct entry files for authorization and error pages
2025-03-19 09:19:27 +01:00
Matthieu Sieben
03fc0aa270 Improve password reset error reporting during OAuth 2025-03-19 08:42:45 +01:00
bnewbold
a07aca9737
syntax: update to allow non-leading digits in NSID 'name' part (#3633)
* syntax: allow non-leading digits in NSID 'name' part

* update (copied) interop tests

* prettier
2025-03-11 18:04:14 -07:00
Matthieu Sieben
9332c0f315
Set COEP header to "unsafe-none" when hcaptcha is enabled (#3627)
* Set "Cross-Origin-Embedder-Policy" header to "unsafe-none" when hcaptcha is enabled

Fixes #3625

* tidy

* tidy
2025-03-11 13:32:53 -04:00
github-actions[bot]
48f194ffa2
Version packages (#3623)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-10 17:30:48 -04:00
Timothy Cyrus
c501715b0d
lex-cli: Fix TS Errors with codegen (#3282)
Co-authored-by: Timothy Cyrus <4201229+tcyrus@users.noreply.github.com>
Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
2025-03-10 16:47:27 +01:00
Matthieu Sieben
5ada66ceb9
OAuth sign-up fixes (#3621)
Allow invite codes in any format
2025-03-10 15:43:11 +01:00
Matthieu Sieben
0ae7f416e8
Emit "sync" event on account creation through OAuth (#3624) 2025-03-10 15:19:25 +01:00
Matthieu Sieben
9e3eace8f9
Validate OAuth sign-up handle using @atproto/syntax (#3622)
* Validate OAuth sign-up handle using @atproto/syntax

Fixes #3619

* Improve input validation
2025-03-10 14:58:35 +01:00
Foysal Ahamed
7a7f2c43aa
🐛 include takendown list members for admins (#3609) 2025-03-09 16:21:32 +00:00
github-actions[bot]
72a5265e05
Version packages (#3613)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-07 18:21:03 -05:00
Samuel Newman
b20907a705
[sync] Fix types for Firehose options (#3599)
* add @types/ws to sync

* changeset

* fix typo
2025-03-07 18:16:07 -05:00
Foysal Ahamed
18fbfa0005
Add team member handle and displayName (#3587)
*  Add team member handle and displayName

*  Add periodic profile details sync

* 📝 Add changeset

*  Update team service instantiation

* 🐛 Cleanup

* 🧹 Cleanup unnecessary index
2025-03-07 23:00:25 +00:00
devin ivy
eab9c003f8
Sync event handling (#3612)
* pds: add sync event to account creation

* changeset

* fix bsky subscription handler

* add sync events to @atproto/sync package

* more sync package fixup

* fix sequencer test

* fix sync tests

* clarify firehose event type

---------

Co-authored-by: dholms <dtholmgren@gmail.com>
2025-03-07 15:35:57 -06:00
Matthieu Sieben
8827ff433a
Improve parsing of colors (#3614)
* improve branding parsing

* Fix build

* tidy
2025-03-07 20:46:15 +01:00
Matthieu Sieben
c01d7f5d15
Make branding colors optional (#3611) 2025-03-07 14:08:52 -05:00
github-actions[bot]
f46554bcb8
Version packages (#3591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-07 11:03:00 -05:00
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
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