Wykres commitów

34 Commity (860a44ca4d43e61349932e025b6296c672758dca)

Autor SHA1 Wiadomość Data
Ryan Barrett a1e5d4419d
User.get_or_create: create AP keys more aggressively, check that we have all parts
fixes https://console.cloud.google.com/errors/detail/CKXLrIb56cr0zQE;locations=global;time=P30D?project=bridgy-federated
2025-01-14 09:04:27 -08:00
Ryan Barrett 63c0e25deb
drop per-target delivery tracking
sad, it's useful, but it's too expensive. for #1501, #1149
2024-12-14 20:53:47 -08:00
Ryan Barrett e84589732d
opt_out.py bug fix for --only-proto 2024-11-25 12:15:34 -08:00
Ryan Barrett 45f242ab8e
opt_out.py bug fix, add missing import 2024-11-25 07:43:31 -08:00
Ryan Barrett f7e789856a
opt_out: call disable_protocol with --only 2024-11-20 16:28:10 -08:00
Ryan Barrett 6e59248ab2
opt_out.py: don't set manual_opt_out if --only is set 2024-10-24 23:06:25 -07:00
Ryan Barrett 06242b8ae9
opt_out.py bug fix for protocols that aren't in AP's DEFAULT_ENABLED_PROTOCOLS
eg bsky
2024-10-23 16:37:49 -07:00
Ryan Barrett 48c00c4fd9
opt_out.py: allow spam filtered accounts 2024-10-22 11:52:20 -07:00
Ryan Barrett 5bf5a7f4f1
opt_out.py: switch obj param to obj_id
to match bba9cb2d16
2024-10-16 18:08:14 -07:00
Ryan Barrett 3d12734474
opt_out.py: add --only, --no-extra flags 2024-09-26 21:11:16 -07:00
Ryan Barrett 9240131091
opt_out.py: migrate to argparse 2024-09-26 21:11:16 -07:00
Ryan Barrett 794a772619
switch ATProto chat polling from task to cron job 2024-09-10 16:46:37 -07:00
Ryan Barrett 688c4d693a
opt_out.py: check that user isn't opted out/blocked by other means
if they are, eg if they've added #nobridge to their profile, we won't be able to delete them.
2024-09-03 12:15:25 -07:00
Ryan Barrett 1494fe3fe6
opt_out.py: kbin.social is dead 2024-08-09 12:12:27 -07:00
Ryan Barrett 1fc67fcd88
opt_out.py: tweak list of fediverse inboxes 2024-08-05 13:34:54 -07:00
Ryan Barrett 174f82cc6e
opt_out.py: add mozilla.social 2024-07-28 10:02:36 -07:00
Ryan Barrett 100a208e5e
add allow_opt_out to Protocol.key_for, User.get_or_create, Protocol.receive internal
for #1204
2024-07-23 19:26:30 -07:00
Ryan Barrett 8457f2a048
drop unused Object.object_ids computed property 2024-06-27 13:20:07 -07:00
Ryan Barrett 25bb96ed78
minor opt_out.py bug fix for web users 2024-06-23 08:43:50 -07:00
Ryan Barrett 53e3511fca
make opt_out.py a bit more protocol-generic
using 6e7667c266
2024-06-22 16:41:51 -07:00
Ryan Barrett f938a2b57e
opt out script bug fix for ATProto 2024-06-22 10:51:54 -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 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 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 2f57a07b9e
make opt_out.py multi-protocol, other improvements 2024-02-15 13:28:55 -08:00
Ryan Barrett b81d9c4ad8
opt_out.py: deliver delete to user's followers 2024-02-07 07:31:01 -08:00
Ryan Barrett 85a25e5f9e
scripts/opt_out.py bug fixes 2024-01-28 18:23:10 -08:00
Ryan Barrett ee213531c5
add scripts/opt_out.py
for #783
2024-01-27 14:10:51 -08:00
Ryan Barrett 4d095fa3d9
misc cleanup
* remove obsolete TODOs, commented out code
* remove obsolete circular imports of per-protocol modules
* minimize Object put in Protocol.load
* remove duplicated Protocol.load tests in test_activitypub
* re-enable rest of ActivityPubUtilsTest.test_postprocess_as2_idempotent
* drop default cls=Web in TestCase.make_user
2023-11-15 14:23:08 -08:00
Ryan Barrett 0917b52bb6
noop, add missing imports to scripts/activity_model.py 2023-04-18 13:23:56 -07:00
Ryan Barrett d72540fde7
move Activity model to scripts/activity_model.py 2023-02-11 18:11:30 -08:00
Ryan Barrett 04c2a582b9
migrate_activity_to_object: resume from latest_updated 2023-02-05 08:17:11 -08:00
Ryan Barrett 2c3a693b4d
Activity => Object: add script to migrate existing Activitys to Objects
#286

temporarily adds back Activity model definition, will remove again later.
2023-02-04 20:46:28 -08:00