rafael
8a4d06c367
Add --heapsnapshot-signal=SIGUSR2 to bsky service ( #2927 )
2024-10-31 23:16:12 -04:00
rafael
512585a09f
Enforce feed limit before hydration ( #2935 )
...
* Enforce feed limit before hydration
* Remove limit margin
2024-10-31 23:14:49 -04:00
Samuel Newman
e680d55ca2
Filter out invalid facets in RichText ( #2933 )
...
* add failing test
* simplify test
* check facet was removed
* filter out invalid facets
* changeset
2024-10-31 18:09:49 +00:00
Matthieu Sieben
9ffeb5216a
Allow retrying proxied requests ( #2850 )
...
* Allow retrying proxied requests
* fix tests
* remove un-necessary code
* Only retry on socket errors
2024-10-31 00:21:05 -04:00
github-actions[bot]
7ea0fc146b
Version packages ( #2930 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-30 18:36:37 -05:00
Daniel Holmgren
73f40e63ab
Add threat signatures to ozone repo views ( #2931 )
...
* add threat signatures to ozone repo views
* explicitly add to views
2024-10-30 18:30:41 -05:00
devin ivy
209238769c
Add app.bsky.unspecced.getConfig endpoint ( #2918 )
...
* lexicon: add app.bsky.unspecced.getConfig for client runtime config
* bsky: add app.bsky.unspecced.getConfig w/ new env for checkEmailConfirmed
* changeset
2024-10-30 19:09:54 -04:00
github-actions[bot]
d9fcaf8a78
Version packages ( #2928 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-30 18:07:13 -05:00
Daniel Holmgren
0158ab3845
Add threat signatures to admin view ( #2929 )
...
* add threat signatures to admin view
* codegne
2024-10-30 18:01:12 -05:00
Foysal Ahamed
19e36afb2c
✨ Add collection and subjectType filters to queryEvents and queryStatuses ( #2914 )
...
* ✨ Add collection and subjectType filters to queryEvents and queryStatuses
* 📝 Add changeset
* ♻️ Refactor or query builder
2024-10-30 16:20:38 +01:00
github-actions[bot]
91bd63ba38
Version packages ( #2925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-29 18:20:10 -05:00
Daniel Holmgren
c1b0e176ad
updateHandle changeset ( #2924 )
...
changset
2024-10-29 17:58:56 -05:00
Daniel Holmgren
0204a678d5
Support alternate did methods in update handle ( #2922 )
...
* support alternate did methods in update handle
* add colon
* force refresh
* Update packages/pds/src/api/com/atproto/identity/updateHandle.ts
Co-authored-by: devin ivy <devinivy@gmail.com>
---------
Co-authored-by: devin ivy <devinivy@gmail.com>
2024-10-29 17:57:19 -05:00
Ilya Siamionau
de194398ed
Fix root block missing in too big seq commit ( #2894 )
...
* Fix root block missing in too big seq commit
* Update packages/pds/src/sequencer/events.ts
* fix indentation
---------
Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com>
2024-10-29 17:56:22 -05:00
David Wood
c36456f0ba
chore: add missing symbol in comment ( #2913 )
2024-10-28 08:59:49 +01:00
Foysal Ahamed
09656d6db5
✨ Open up some more useful endpoints to admin tokens ( #2872 )
2024-10-25 10:14:34 -05:00
github-actions[bot]
c307a75db1
Version packages ( #2889 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-24 11:32:50 -05:00
Daniel Holmgren
d605577c25
@atproto/sync: avoid parsing commits with no relevant ops ( #2906 )
...
* avoid parsing commits with no relevant ops
* changeset
2024-10-24 11:07:02 -05:00
Matthieu Sieben
8f2b80a0dc
Better report invalid content-encoding errors ( #2902 )
2024-10-21 14:22:29 +02:00
Matthieu Sieben
81ae1b1238
Fix dockerbuild ( #2891 )
...
* do not install puppeteer in prod
* fix
* single bracket
2024-10-18 20:57:31 +02:00
Matthieu Sieben
9d40ccbb69
Various OAuth related fixes ( #2871 )
...
* wip
* tidy
* tidy
* tidy
* Update packages/oauth/oauth-client/src/session-getter.ts
Co-authored-by: devin ivy <devinivy@gmail.com>
* fix combineSignals
* tidy
* tidy
* improve typing of atprotoScopeSchema
* stronger typings
* tidy
* ci
* Fix cors error
* downgrade ioredis dependency
* fix ioredis version
* tidy
---------
Co-authored-by: devin ivy <devinivy@gmail.com>
2024-10-18 20:23:33 +02:00
Matthieu Sieben
7f26b17652
Add OAuth tests ( #2874 )
...
* Improve error message when using invalid client_id during code exchange
* Extract SPA example OAuth client in own package
* wip
* remove dependency on get-port
* Properly configure jest to only transpile "get-port" from node_modules
https://jestjs.io/docs/configuration#transformignorepatterns-arraystring
* Use dynamically assigned port number during tests
* use puppeteer to run tests
* remove login input "id" attribute
* code style
* add missing declaration
* tidy
* headless
* remove get-port dependency
* fix tests/proxied/admin.test.ts
* fix tests
* Allow unsecure oauth providers through configuration
* transpile "lande" during ozone tests
* Cache Puppeteer browser binaries
* Use puppeteer cache during all workflow steps
* remove use of set-output
* use get-port in xrpc-server tests
* Renamed to allowHttp
* tidy
* tidy
2024-10-18 15:40:05 +02:00
devin ivy
60df3fc652
Appview: pinned post validation fix ( #2876 )
...
* appview: temp fix for bad pinned post values
* appview: avoid passing non-object to strong ref validation
2024-10-11 14:37:56 -04:00
devin ivy
7096fe03d0
Appview: temp fix for bad pinned post values ( #2875 )
...
appview: temp fix for bad pinned post values
2024-10-11 14:16:23 -04:00
Matthieu Sieben
fabc8a9381
Update typescript to version 5.6.2 ( #2863 )
2024-10-11 14:05:53 +02:00
github-actions[bot]
4f6f57a33e
Version packages ( #2870 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 10:44:20 +02:00
Foysal Ahamed
22d039a229
✨ Ozone sets ( #2636 )
...
* ✨ Initial implementation of sets api on ozone
* ✨ Introduce sortDirection to querySets
* 🧹 Cleanup and refactor
* ✨ Align setView for response
* ♻️ Rename and add specific error
* 🐛 Cleanup unnecessary check that is covered by lexicon
* ✨ Rename remove to delete and add set suffix
* ✨ Use id and createdAt for values pagination
* ✨ Add index on createdAt for query perf and other cleanups
* 🐛 Set createdAt when inserting values
* 📝 Add changeset
* ✨ Add index on setId and createdAt
2024-10-08 19:16:09 +02:00
github-actions[bot]
3e1ae8d1d5
Version packages ( #2861 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-04 15:07:43 -04:00
Hailey
95cb897751
Send mark-read-generic
notification on updateSeen
( #2567 )
...
* send `mark-read-generic` notification on `updateSeen`
add `reason`
add `recipientDid`
push `mark-read-generic` notification on `updateSeen`
add `client_controlled`
* unique id, change `alwaysDeliver` to false
* use murmur id
* organize import
* bsky: fix tests, making courier config optional. fix unread count query.
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
2024-10-04 14:35:37 -04:00
Matthieu Sieben
80450cbf2c
Do not use HTTP2 connection when performing "safe fetch" HTTP requests ( #2865 )
2024-10-04 18:55:15 +02:00
Matthieu Sieben
08ed0a5a91
Fix build ( #2862 )
...
add missing ts dependency
2024-10-04 11:40:50 +02:00
Matthieu Sieben
72549f4422
Allow using a handle as "actor" param in app.bsky.graph.getLists ( #2853 )
...
* Allow using a handle as "actor" param in app.bsky.graph.getLists
* tests
2024-10-04 07:18:38 +02:00
Kev 🐶
4e09849b0b
Fix wrong imports in oauth-client-node README ( #2844 )
2024-10-03 23:31:59 -04:00
github-actions[bot]
556c5a549c
Version packages ( #2859 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 20:36:45 -05:00
Eric Bailey
a0531ce429
Add check for external media within RecordWithMedia ( #2857 )
2024-10-03 20:24:00 -05:00
github-actions[bot]
600fea65d4
Version packages ( #2856 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 14:07:55 -05:00
Matthieu Sieben
8943c10082
Disable use of HTTP2 when checking SSRF IP ( #2854 )
2024-10-03 14:03:48 -05:00
Daniel Holmgren
df14df522b
Ozone signature methods ( #2855 )
...
* lexicons
* fix typo & add proxy routes
* changeset
2024-10-03 14:00:12 -05:00
github-actions[bot]
a611a5fe56
Version packages ( #2846 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 20:13:26 +02:00
Foysal Ahamed
a2bad977a8
✨ Ozone batch repo and record getters ( #2836 )
...
* ✨ Add getRepos and getRecords endpoints for bulk fetching
* ✨ Fix issues and add tests for get repos and get records
* ✨ Use the right lxm
* 🐛 Revert changes in lockfile
* ✨ Add getAccountInfos in PDS
* 🐛 Fix type def for repo and record view detail
* ✅ Update snapshots
* ✅ Update snapshots
* ✨ Consolidate error type for com.atproto and tools.ozone getRecord error type
* 🧹 Cleanup
* ✅ Update snapshots
* ✅ Update snapshots
* ✨ Changeset
2024-10-01 19:37:23 +02:00
Matthieu Sieben
1226ed2682
Do not display the client_name of untrusted clients ( #2847 )
...
* Do not display the client_name of untrusted clients
* do not show client id of trusted clients
2024-10-01 19:08:26 +02:00
Foysal Ahamed
cafa8a15c0
⚡ Add index on reviewState column on moderation_subject_status table ( #2848 )
2024-10-01 19:07:55 +02:00
Samuel Newman
a8c6b8997c
Disallow pinning someone else's post ( #2840 )
...
* Reapply "add failing test for pinning someone else's post"
This reverts commit 16a2399e19cd11851ae39edf06cb9fd812c28678.
* make sure pinned post belongs to the person who pinned it
* add snapshot
* Use uriToDid
---------
Co-authored-by: Eric Bailey <git@esb.lol>
2024-10-01 11:53:19 -05:00
Samuel Newman
023474cc74
Don't replace first post with pin if limit=1 ( #2841 )
...
don't replace post if limit=1
2024-10-01 11:53:07 -05:00
Matthieu Sieben
4098d98901
Default to unencoded responses ( #2834 )
...
* Allow defaulting to unencoded responses when proxying client requests that do not specify accept-encoding
* fix content-encoding negotiation
2024-10-01 10:43:15 +02:00
Eric Bailey
27882035e7
Use uppercase 2fa codes in email templates ( #2843 )
...
* Update email templates
* Format random readme
2024-09-30 17:18:33 -05:00
Kev 🐶
2974d83786
Fix Promise generic in oauth-client README ( #2839 )
2024-09-30 18:31:11 +02:00
Samuel Newman
16a2399e19
Revert "add failing test for pinning someone else's post"
...
This reverts commit 734f5d5484a838d18667808ff968c2d7ccef5478.
2024-09-30 13:41:03 +03:00
Samuel Newman
734f5d5484
add failing test for pinning someone else's post
2024-09-30 13:40:12 +03:00
Paul Lindner
98d9a158f9
Follow-on cleanup after #2483 ( #2837 )
...
- Change tests to use AtpClient instead of the deprecated BskyClient
2024-09-28 20:10:36 +02:00