Ryan Barrett
|
9c4888b02e
|
switch from flask_util.cached to HTTP caching, suppress some verbose logging
|
2024-05-30 14:55:35 -07:00 |
Ryan Barrett
|
93f302d5de
|
noop: tests: drop unused flask.g imports
|
2024-05-30 13:50:52 -07:00 |
Ryan Barrett
|
7e594e3227
|
authz: move NO_AUTH_DOMAINS (a.gup.pe) from Protocol.receive to activitypub.inbox
for #566
|
2024-05-30 13:34:14 -07:00 |
Ryan Barrett
|
fda7a79437
|
authz: on delete of actor signed by actor, pass authed_as to Object.get_or_create
for #566
|
2024-05-30 11:39:07 -07:00 |
dependabot[bot]
|
c0901aaf54
|
build(deps): bump requests from 2.32.2 to 2.32.3
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-05-30 05:54:17 -07:00 |
Ryan Barrett
|
9f33767f33
|
authz: move LD Sig check from Protocol.receive to activitypub.inbox
for #566
|
2024-05-29 21:17:38 -07:00 |
Ryan Barrett
|
fabfb58aa4
|
Object.get_or_create authz: allow an id on its own object
for #566
|
2024-05-29 20:17:33 -07:00 |
Ryan Barrett
|
3301da3031
|
noop: add Fake.web_url
|
2024-05-29 16:46:16 -07:00 |
Ryan Barrett
|
d6728a2e1b
|
Object.get_or_create authz check: allow a user to modify their profile object
for #566
|
2024-05-29 16:39:09 -07:00 |
Ryan Barrett
|
8f5d8221a9
|
add ids.profile_id, use everywhere
for #566
|
2024-05-29 16:18:15 -07:00 |
Ryan Barrett
|
bfbae4b280
|
authz: normalize user ids before comparing, in both receive and Object.get_or_create
for #566
|
2024-05-29 12:29:38 -07:00 |
Ryan Barrett
|
dd464ec6d3
|
add ids.normalize_user_id
for #566
|
2024-05-29 12:08:18 -07:00 |
Ryan Barrett
|
989bfebcbd
|
bump receive queue up to 5 concurrent
for #1063 :(
|
2024-05-29 11:24:08 -07:00 |
Ryan Barrett
|
ca24dfcb24
|
webfinger: cut logging way down
|
2024-05-28 21:14:33 -07:00 |
Ryan Barrett
|
d8910d52cd
|
LIMITED_DOMAINS bug fix, read lines from file separately
|
2024-05-28 20:40:48 -07:00 |
Ryan Barrett
|
ea0f61f446
|
authz: when comparing domains, handle common subdomains like www
for #566
|
2024-05-28 20:36:18 -07:00 |
Ryan Barrett
|
f2a64c8b5c
|
Object.get_or_create: rename actor => authed_as, add to all calls
for #566
|
2024-05-28 16:07:32 -07:00 |
Ryan Barrett
|
916421c033
|
activitypub authz logging, preserve original keyId, including fragment
for #566
|
2024-05-28 16:00:21 -07:00 |
Ryan Barrett
|
820f7fa4f4
|
authz: add protocol.NO_AUTH_DOMAINS for domains we can't authorize yet
...eg a.gup.pe. https://github.com/snarfed/bridgy-fed/issues/566#issuecomment-2130714037
|
2024-05-28 15:23:22 -07:00 |
Ryan Barrett
|
fc14298f0d
|
authz: expand LD Sigs check to any signature field, regardless of creator
for #566
|
2024-05-28 15:15:23 -07:00 |
Ryan Barrett
|
e26a845592
|
web.webmention_task: use domain as authed_as, not homepage URL
for #566
|
2024-05-28 15:01:45 -07:00 |
Ryan Barrett
|
1de49de720
|
update-profile: pass user id to receive task authed_as, not handle
for #566
|
2024-05-28 14:54:31 -07:00 |
Ryan Barrett
|
22760f5017
|
ActivityPub.verify_signature: follow controller/owner if different from keyId
for https://github.com/snarfed/bridgy-fed/issues/566#issuecomment-2130728082
https://swicg.github.io/activitypub-http-signature/#how-to-obtain-a-signature-s-public-key
|
2024-05-28 13:48:03 -07:00 |
Ryan Barrett
|
8ad9aeda8d
|
router.yaml: noop URL update in common
|
2024-05-28 13:22:46 -07:00 |
Ryan Barrett
|
3ec5e57136
|
activitypub.signed_request: limit redirects
for #1085, #1087
|
2024-05-27 21:02:59 -07:00 |
Ryan Barrett
|
0a3976e33a
|
Object._post_put_hook: use objects_cache_lock for objects_cache
fixes https://console.cloud.google.com/errors/detail/CMv025380KiFOg?project=bridgy-federated
|
2024-05-27 20:38:51 -07:00 |
Ryan Barrett
|
2dc693d654
|
test_pages: test_update_profile_receive_task
|
2024-05-27 20:38:51 -07:00 |
Ryan Barrett
|
03672679b9
|
activitypub, protocol: misc noop logging and code style tweaks
|
2024-05-27 20:38:49 -07:00 |
Ryan Barrett
|
83211cddc2
|
testutil: noop refactoring, remove path arg in assert_task
|
2024-05-24 22:16:20 -07:00 |
Ryan Barrett
|
6f84a98a5d
|
Protocol.receive: more authz log message tweaks
for #566
|
2024-05-24 20:00:23 -07:00 |
Ryan Barrett
|
ab4f26cf3f
|
router: drop down from 2 cpus to 1
|
2024-05-24 19:36:09 -07:00 |
Ryan Barrett
|
4ca02824c9
|
Protocol.receive: tweak authz logging messages
for #566
|
2024-05-24 19:30:31 -07:00 |
Ryan Barrett
|
973e29fcdc
|
hub: bump up ROLLBACK_WINDOW drastically to effectively all of history
for #1059
|
2024-05-24 18:40:46 -07:00 |
Ryan Barrett
|
f2be280016
|
atproto_firehose: load ATProto users by updated, not by created
fixes #1082
|
2024-05-24 18:40:22 -07:00 |
Ryan Barrett
|
5a77dde7e8
|
noop: Object.actor_link: remove dead code
|
2024-05-24 09:53:16 -07:00 |
Ryan Barrett
|
6ffc4a3c3b
|
infra: add new router flex service, switch tasks to run on it
receive, send, webmention, and poll-feed
|
2024-05-23 20:40:54 -07:00 |
Ryan Barrett
|
ae8b6ca7b6
|
fix test_activitypub_follow_bsky_bot_bad_username_error for d789fd10b6
|
2024-05-23 15:39:45 -07:00 |
Ryan Barrett
|
d789fd10b6
|
ActivityPub.inbox: run receive in task instead of inline
for #1040
|
2024-05-23 15:02:49 -07:00 |
Ryan Barrett
|
74b557c2d0
|
docs: update for blocking to disable the bridge
for #783
|
2024-05-23 13:28:54 -07:00 |
Ryan Barrett
|
aa5ec4cccd
|
Protocol.maybe_delete_copy: minor tweaks
for #783
|
2024-05-23 11:43:02 -07:00 |
Ryan Barrett
|
9de5eb400c
|
Protocol.targets: don't add ATProto for reposts of/replies to non-bridged posts
|
2024-05-22 23:28:53 -07:00 |
Ryan Barrett
|
15af8b2585
|
limited domains bug fix: don't count protocol bot user follows
|
2024-05-22 22:33:57 -07:00 |
Ryan Barrett
|
4cf0959080
|
atproto_firehose: oops, still need to skip commits from our bridged users
add a test, should have had one originally!
|
2024-05-22 22:08:25 -07:00 |
Ryan Barrett
|
769dadb882
|
ATProto: arroba: send_new_commits => send_events
snarfed/arroba@aad0d9da63
|
2024-05-22 16:47:09 -07:00 |
Ryan Barrett
|
f39392e225
|
Protocol: when disabling a protocol, also delete that protocol's copy user
for #783
|
2024-05-22 16:33:13 -07:00 |
Ryan Barrett
|
eb53ac01ce
|
ATProto: support deleting bridged users
for #783
|
2024-05-22 15:13:36 -07:00 |
Ryan Barrett
|
45ba0fb69f
|
Protocol.send_task: handle missing url or protocol param
|
2024-05-22 14:28:17 -07:00 |
Ryan Barrett
|
1778a1145e
|
Protocol.bot_follow: send in separate task instead of inline
fixes #1041
|
2024-05-22 14:28:17 -07:00 |
Ryan Barrett
|
7f72a62081
|
ATProto: delete polling code and config
for #978. end of a (brief) era!
|
2024-05-22 14:28:17 -07:00 |
dependabot[bot]
|
d2ba81a211
|
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-05-22 05:14:43 -07:00 |