Ryan Barrett
47d77a03cb
ndb logging: add arroba to traceback stack frames
2025-01-27 21:21:41 -08:00
Ryan Barrett
ca86534f21
Protocol.receive: when fetching actor, fetch profile id
...
also update tests to test profile vs actor id with Fake users more
2025-01-27 16:47:33 -08:00
Ryan Barrett
bf9957f889
/update-profile bug fix for profile id vs actor id
...
for #1720
2025-01-27 16:13:59 -08:00
Ryan Barrett
bca276d6a2
nodeinfo: only count enabled web users
...
for #1509
2025-01-27 15:49:19 -08:00
Ryan Barrett
264905ac20
Protocol.receive bug fix: preserve actor id if we fetch actor profile
...
we were accidentally using the profile id, which broke some ATProto => AP delivery, #1720
2025-01-27 14:48:07 -08:00
Ryan Barrett
893f8d1b22
tests noop: move ActivityPub.assert_deliveries => TestCase.assert_ap_deliveries
2025-01-27 14:48:07 -08:00
Ryan Barrett
ab748997eb
drop Object.clear(), narrow when we unset our_as1
...
mostly a noop
2025-01-27 14:48:07 -08:00
dependabot[bot]
b0ec661523
build(deps): bump dependabot/fetch-metadata from 2.2.0 to 2.3.0
...
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases )
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.2.0...v2.3.0 )
---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 05:06:38 -08:00
dependabot[bot]
5fb96b8250
build(deps): bump deprecated from 1.2.15 to 1.2.18
...
Bumps [deprecated](https://github.com/laurent-laporte-pro/deprecated ) from 1.2.15 to 1.2.18.
- [Release notes](https://github.com/laurent-laporte-pro/deprecated/releases )
- [Changelog](https://github.com/laurent-laporte-pro/deprecated/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/laurent-laporte-pro/deprecated/compare/v1.2.15...v1.2.18 )
---
updated-dependencies:
- dependency-name: deprecated
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 05:05:20 -08:00
Ryan Barrett
18febbd3c5
Revert "temporarily turn on ndb debugging for lookups"
...
This reverts commit 517d363834 .
2025-01-26 22:35:49 -08:00
Ryan Barrett
77e79d20bf
nodeinfo: add per-protocol user counts
...
fixes #1509
2025-01-26 22:22:19 -08:00
Ryan Barrett
517d363834
temporarily turn on ndb debugging for lookups
2025-01-26 21:40:20 -08:00
Ryan Barrett
aba59c6e47
/.well-known/host-meta: add the Cache-Control header
2025-01-26 20:30:01 -08:00
Ryan Barrett
899a6dd405
remove a bunch of old deprecated URL endpoints
...
looked at requests to these endpoints over the last 30d, they all have either none, or all errors, or requests for just my account (snarfed.org web)
* /ap/web/...
* /inbox
* /render
* /user/...
2025-01-26 19:40:29 -08:00
Ryan Barrett
c930927ff9
noop: add constant for ndb memcache timeout
2025-01-25 09:37:42 -08:00
Ryan Barrett
be79e84f2d
router config: drop min instances to 1, add target_concurrent_requests attempt
2025-01-24 21:27:01 -08:00
Ryan Barrett
860a44ca4d
add HTTP caching to feed serving
2025-01-24 21:25:23 -08:00
Ryan Barrett
7fd128cda4
Protocol.receive: don't log delay for deletes since we schedule them 2m out
...
for #1361 , #1378
2025-01-24 19:40:07 -08:00
Ryan Barrett
e3f50b4318
atproto.DatastoreClient.get_record: noop: minor refactoring
2025-01-24 19:31:04 -08:00
Ryan Barrett
bbdf38ec23
ids.translate_*_id, models.resolve_ids: narrow when we query by copy id
...
for #1149
2025-01-24 15:49:23 -08:00
Ryan Barrett
9a41e6bd61
misc doc updates
...
for #1706
2025-01-24 10:36:40 -08:00
Ryan Barrett
9c2055eaa2
docs: add section for blank images/videos in Bluesky
...
for https://github.com/snarfed/bridgy-fed/issues/1715 , https://github.com/bluesky-social/atproto/discussions/3451 , etc
2025-01-24 10:36:40 -08:00
Ryan Barrett
23e07b6a2e
activitypub: stop checking whether instance domain is in Web.manual_opt_out
...
we do something like 10qpm of the initial query that loads the manual_opt_out Web domains, I guess due to spinning up new frontend instances
2025-01-24 10:36:40 -08:00
dependabot[bot]
23dfecc661
build(deps): bump grpcio-status from 1.69.0 to 1.70.0
...
Bumps [grpcio-status](https://grpc.io ) from 1.69.0 to 1.70.0.
---
updated-dependencies:
- dependency-name: grpcio-status
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 04:52:27 -08:00
dependabot[bot]
7c60f7f34a
build(deps): bump grpcio from 1.69.0 to 1.70.0
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.69.0 to 1.70.0.
- [Release notes](https://github.com/grpc/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/grpc/grpc/compare/v1.69.0...v1.70.0 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 04:45:13 -08:00
dependabot[bot]
b47ca1ea2c
build(deps): bump tlslite-ng from 0.7.6 to 0.8.2
...
Bumps [tlslite-ng](https://github.com/tlsfuzzer/tlslite-ng ) from 0.7.6 to 0.8.2.
- [Release notes](https://github.com/tlsfuzzer/tlslite-ng/releases )
- [Commits](https://github.com/tlsfuzzer/tlslite-ng/compare/v0.7.6...v0.8.2 )
---
updated-dependencies:
- dependency-name: tlslite-ng
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 20:29:29 -08:00
Ryan Barrett
604f5c45af
atproto: DatastoreClient getRecord: handle when record doesn't exist
...
bug fix for f12bdf793c , fixes https://console.cloud.google.com/errors/detail/CPiVzZ6Bs9mx_AE;locations=global;time=P30D?project=bridgy-federated&
2025-01-22 21:50:04 -08:00
Ryan Barrett
0e63a1515a
preserve more activities from datastore expiration
2025-01-22 21:37:31 -08:00
Ryan Barrett
ce7ea9b6e8
standardize request param logging into common.log_request()
...
truncates values at 1k chars each
2025-01-22 21:35:19 -08:00
Ryan Barrett
f12bdf793c
atproto: DatastoreClient.get_record: if Object doesn't have bsky, fetch it
...
band-aid for #1711 , somewhere around #1360 we started overwriting Object.bsky for external records with our_as1, argh
2025-01-22 15:38:00 -08:00
Ryan Barrett
6b43b14c5a
temporarily add Object index on type + updated
...
for #1703
2025-01-22 14:51:59 -08:00
Ryan Barrett
bb50ad38e3
bug fix for actor deletes after #1360
2025-01-22 11:58:16 -08:00
Ryan Barrett
b877a9f3b1
don't expire flag Objects
2025-01-22 11:05:28 -08:00
Ryan Barrett
3f31449832
don't expire follow activity Objects
2025-01-21 21:14:56 -08:00
Ryan Barrett
cc9c7d5226
Web.poll_feed_task: tighten last_polled_feed check to only if the task param is greater
...
for #1712
2025-01-21 17:52:24 -08:00
Ryan Barrett
35bd39298c
garbage collect more Objects, everything except actors, and everything deleted
...
for #1703 , #1149
2025-01-21 14:45:14 -08:00
Ryan Barrett
ab5161bf0a
Protocol.deliver: only rewrite object if targets() updated notify/feed
...
for #1149
2025-01-20 18:39:11 -08:00
Ryan Barrett
f91aa967e5
Object.get_or_create: only write back to datastore if we modify any properties
...
for #1149
2025-01-20 16:03:52 -08:00
Ryan Barrett
0484570fbe
Protocol.receive: switch from Object.get_or_create blind put
...
shouldn't overwrite because we already check that we haven't seen the id before
for #1360
2025-01-20 15:26:23 -08:00
Ryan Barrett
5603e46a48
Protocol.receive: on create/update without full object, fetch it
...
re https://github.com/akirk/friends/issues/436
2025-01-20 15:12:38 -08:00
Ryan Barrett
9e800a4e3c
readthedocs config: add sphinx configuration key
...
https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/
2025-01-20 15:10:03 -08:00
Ryan Barrett
6f384c9e21
PagesTest.test_update_profile: use fake:profile:... id
2025-01-20 13:45:12 -08:00
Ryan Barrett
c0aa4b6ecd
ids.normalize_user_id: convert profile ids to user ids
2025-01-20 13:45:12 -08:00
Ryan Barrett
3bcde43697
not storing CRUD activities any more: populate Object.notify/feed
...
for #1360
getting closer...
2025-01-20 13:45:12 -08:00
Ryan Barrett
e56f22f92a
Object.get_or_create: drop support for new/changed kwargs, we don't use them any more
2025-01-20 13:45:12 -08:00
Ryan Barrett
d863add480
first pass at not storing CRUD activities any more
...
for #1360
good! but not done yet, need to fix populating Object.notify/feed, handling user vs profile ids
2025-01-20 13:45:12 -08:00
dependabot[bot]
d6d7154700
build(deps): bump domain2idna from 1.12.2 to 1.12.3
...
Bumps [domain2idna](https://github.com/PyFunceble/domain2idna ) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/PyFunceble/domain2idna/releases )
- [Commits](https://github.com/PyFunceble/domain2idna/commits )
---
updated-dependencies:
- dependency-name: domain2idna
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 05:01:26 -08:00
dependabot[bot]
ae762963d0
build(deps): bump websockets from 14.1 to 14.2
...
Bumps [websockets](https://github.com/python-websockets/websockets ) from 14.1 to 14.2.
- [Release notes](https://github.com/python-websockets/websockets/releases )
- [Commits](https://github.com/python-websockets/websockets/compare/14.1...14.2 )
---
updated-dependencies:
- dependency-name: websockets
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 05:01:13 -08:00
Ryan Barrett
44b075877b
atproto_firehose: noop: move logging from subscribe to handle
...
...so that we don't log commits that we currently ignore, eg deletes of follows
2025-01-19 10:36:10 -08:00
Ryan Barrett
4624529eb9
move rumble.com from web blocklist to common blocklist so that it applies to AP too
2025-01-19 10:02:01 -08:00