Wykres commitów

2438 Commity (9c4888b02e63fbce0a4adc92ce5302b8793042be)

Autor SHA1 Wiadomość Data
Ryan Barrett d56f405c96
ATProto firehose: fix race conditions in loading DIDs
for #978
2024-05-09 15:39:18 -07:00
Ryan Barrett 5ef4111b4d
ATProto firehose: reload our DIDs every 20s
for #978
2024-05-09 14:31:57 -07:00
Ryan Barrett 66b8846760
ATProto firehose: refactor and extract out loading our DIDs 2024-05-09 14:05:05 -07:00
Ryan Barrett 20d23c536e
ATProto firehose: run in threads in hub
for #978
2024-05-09 13:36:36 -07:00
Ryan Barrett 940c0e8cae
ATProto firehose: don't assume required fields, handle error reporting errors
for #978
2024-05-09 13:26:24 -07:00
Ryan Barrett 61e73d880f
front page: drop emoji
thanks for the nudge @yoavlurie!
2024-05-09 10:56:51 -07:00
Ryan Barrett eea8779872
ATProto firehose: subscribe at stored cursor + 1
for #978
2024-05-09 08:44:30 -07:00
Ryan Barrett a690bc0115
add bsky.social, x.com to domain blocklist
for https://github.com/snarfed/bridgy-fed/discussions/1035 . thanks for the nudge @lucajet!
2024-05-09 07:08:34 -07:00
Ryan Barrett 87165497f0
misc noop langauge changes in comments and docs, eg BGS => relay 2024-05-09 06:43:51 -07:00
Ryan Barrett 1ecdaf6b34
ATProto firehose: store cursor 2024-05-08 23:11:27 -07:00
Ryan Barrett b788105a71
ATProto firehose: start implementing cursor
for #978
2024-05-08 21:35:03 -07:00
Ryan Barrett 1e5fcfda0b
ATProto firehose: error handling, reconnect in subscribe 2024-05-08 20:43:10 -07:00
Ryan Barrett b8e0fecc3b
atproto_firehose.handle: implement delete
for #978
2024-05-08 20:19:18 -07:00
Ryan Barrett b4841f3e60
ATProto firehose: noop refactoring, add Op namedtuple
for #978
2024-05-08 15:48:39 -07:00
Ryan Barrett 0d24fafefc
ATProto firehose: tests for updates
for #978
2024-05-08 13:31:08 -07:00
Ryan Barrett 7867326ebe
ATProto firehose: implement deletes
for #978
2024-05-08 13:26:36 -07:00
Ryan Barrett 5c77f02dba
ATProto firehose: bug fix for quote posts with media embeds
for #978
2024-05-08 12:13:26 -07:00
Ryan Barrett 20afb59809
ATProto firehose: implement quote posts
for #978
2024-05-08 11:39:45 -07:00
Ryan Barrett 72ae63f4a0
ATProto firehose: test replies, mentions
#978
2024-05-08 11:31:31 -07:00
Ryan Barrett 8ff5426c49
test_atproto_firehose: noop refactor 2024-05-08 11:25:59 -07:00
Ryan Barrett 44763ca8ab
ATProto firehose: more tests
for #978
2024-05-08 11:18:50 -07:00
Ryan Barrett e214bc0a43
ATProto firehose: more tests
for #978
2024-05-08 10:39:03 -07:00
Ryan Barrett 389e2d9205
Protocol.targets: don't add trailing slash to PDS URL https://atproto.brid.gy
fixes #1032
2024-05-08 09:37:47 -07:00
Ryan Barrett 67e0ac414e
stop storing Object.as1 in datastore, generate it dynamically instead
I thought I'd use it in the web console for debugging more, but I use a Python shell instead
2024-05-07 22:13:54 -07:00
Ryan Barrett 7ecf3dc381
ATProto firehose: start tests
for #978
2024-05-07 17:36:34 -07:00
Ryan Barrett f533479e0b
noop: drop unused flask.g imports 2024-05-07 17:14:59 -07:00
Ryan Barrett 0f35a2e1a1
ATProto firehose: convert to function we can run in a thread
for #978
2024-05-07 16:58:52 -07:00
Ryan Barrett 622d07a984
ATProto firehose: move and rename file 2024-05-07 16:24:16 -07:00
Ryan Barrett 3057dd6757
ATProto firehose: correctly load and handle bridged ATProto vs non-ATProto DIDs
for #978
2024-05-07 16:17:44 -07:00
Ryan Barrett 38a8067ef7
models.PROTOCOLS: switch to hard coding protocol string labels/abbrevs
we used to wait for ProtocolUserMeta to populate these string keys, but that was awkward to use in datastore model properties with choices, below; it required overriding them in reset_model_properties, which was always flaky.
2024-05-07 16:15:20 -07:00
Ryan Barrett 6f4d79a5f1
ATProto: start on firehose subscriber to replace polling
can't wait for this! for #978
2024-05-07 14:15:51 -07:00
Ryan Barrett 8ef39958b4
fix typos in bsky.brid.gy bio 2024-05-07 14:15:26 -07:00
Ryan Barrett 21b745496e
update docs and bsky.brid.gy bio to explain why it follows you back
for #999
2024-05-07 11:06:15 -07:00
Ryan Barrett 4da00192b0
when someone follows a bot user to opt in, have the bot user follow them back
fixes #999. this makes sure we start receiving posts from AP users immediately, instead of waiting until a Bluesky opted in user follows them.
2024-05-07 10:54:18 -07:00
Ryan Barrett 9765227aa0
bump up ATProto polling frequency to just 1m after last poll finished 2024-05-07 08:16:41 -07:00
Ryan Barrett ca8e70de6a
ATProto: switch polling getAuthorFeed to posts_with_replies
for #1011, #1018
2024-05-07 08:16:41 -07:00
dependabot[bot] 6504da6414 build(deps): bump cryptography from 42.0.5 to 42.0.7
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.5 to 42.0.7.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.5...42.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 05:22:42 -07:00
dependabot[bot] 98abefddf7 build(deps): bump jinja2 from 3.1.3 to 3.1.4
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 13:44:28 -07:00
Ryan Barrett 5fa0645d0b
user page: don't show DMs to protocol bot users
fixes #1022
2024-05-06 12:10:13 -07:00
Ryan Barrett 2fa1ae73eb
when someone follows a bot user, refresh their profile first
...so that we're up to date on whether they're opted out or not

fixes #1017
2024-05-06 11:30:33 -07:00
Ryan Barrett 99129b6309
hub: drop memory back down to default 2024-05-06 11:30:33 -07:00
dependabot[bot] 2cd38213f9 build(deps): bump werkzeug from 3.0.2 to 3.0.3
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 05:53:50 -07:00
dependabot[bot] 5dbde70ad5 build(deps): bump flask-caching from 2.2.0 to 2.3.0
Bumps [flask-caching](https://github.com/pallets-eco/flask-caching) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/pallets-eco/flask-caching/releases)
- [Changelog](https://github.com/pallets-eco/flask-caching/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets-eco/flask-caching/compare/v2.2.0...v.2.3.0)

---
updated-dependencies:
- dependency-name: flask-caching
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 05:53:21 -07:00
Ryan Barrett c943e6fd87
/update-profile: bug fix for when user profile fetch fails
fixes https://console.cloud.google.com/errors/detail/CLzStOz_oPfYxwE;time=P30D?project=bridgy-federated
2024-05-05 19:22:11 -07:00
Ryan Barrett 515be28cdd
Protocol.receive: automatically send to ATProto PDS if user has ATProto enabled
for #999
2024-05-05 17:21:24 -07:00
Ryan Barrett c608ecaa36
noop: misc constants cleanup 2024-05-05 16:35:23 -07:00
Ryan Barrett 01d42f87a6
docs: revise Bluesky polling delay 2024-05-05 14:25:16 -07:00
Ryan Barrett 12d41ad4c0
first pass at FEDERATION.md file
fixes #477
2024-05-05 13:52:27 -07:00
Ryan Barrett efedc49cc0
AP: implement FEP-2677: add instance actor to nodeinfo
https://codeberg.org/fediverse/fep/src/branch/main/fep/2677/fep-2677.md
2024-05-05 13:02:44 -07:00
Ryan Barrett ca8745d317
docs: historical posts sometimes but only best effort 2024-05-05 11:19:18 -07:00