Wykres commitów

3649 Commity (create-for)

Autor SHA1 Wiadomość Data
Ryan Barrett 612a7d9131
use Protocol.create_for for all protocols, not just HAS_COPIES ones
we can now use create_for for all protocol-specific setup for new users, eg creating AP keypairs. for #1881

first attempt at this may have caused #1929, so I'm paying more attention to it this time
2025-05-16 16:38:38 -07:00
Ryan Barrett 570b06519f
drop transactions from User.enable/disable_protocol
for #1929, 37096e2
2025-05-16 16:36:19 -07:00
Ryan Barrett 67e3d096bb
integration test that an activity from a disabled user doesn't re-enable them
for #1929, 37096e2
2025-05-16 16:30:59 -07:00
Ryan Barrett e99e5316ac
stop caching users and other sensitive kinds locally in memory
only use memcache
2025-05-16 16:30:58 -07:00
Ryan Barrett dd9915c388
atproto_firehose.handle: send actor (profile) updates for #identity events
for #1074
2025-05-16 13:14:26 -07:00
Ryan Barrett cf5b62845c
test_atproto_firehose: add back handle stop-following test
re 7539fcffce
2025-05-16 12:39:37 -07:00
Ryan Barrett 3129c93bc8
docs: we now support Bluesky handle changes
for #1074
2025-05-16 11:29:16 -07:00
Ryan Barrett d14ad89960
AP: add split domain support via full webfinger resolution
implemented in ActivityPub.reload_profile, based on https://www.w3.org/community/reports/socialcg/CG-FINAL-apwf-20240608/#reverse-discovery and https://correct.webfinger-canary.fietkau.software/#developers . thanks @jfietkau! for #1031
2025-05-16 11:12:15 -07:00
Ryan Barrett 231c903215
update tests for 7539fcff 2025-05-16 10:38:21 -07:00
Ryan Barrett 7539fcffce
re-enable stop-following for ATProto 🤞🤞🤞
re #1169
2025-05-16 10:09:51 -07:00
Ryan Barrett b045262bb5
Revert "build(deps): bump certifi from 2025.1.31 to 2025.4.26"
This reverts commit a5edd93531.

again, due to #1992, https://github.com/certifi/python-certifi/issues/349

I've pinned it with dependabot now, it shouldn't retry
2025-05-15 19:55:29 -07:00
Emelia Smith 3f44179861 Create SECURITY.md
This just links to your existing policy so people can easily find it.
2025-05-15 15:29:05 -07:00
Ryan Barrett 84a66fd021
/r/: don't serve actors unless they're enabled for AP
for #1654
2025-05-15 14:59:17 -07:00
Ryan Barrett 9be3f65f2c
/admin/atproto: minor tweaks 2025-05-14 20:08:16 -07:00
Ryan Barrett 55320bab77
dms: add published field to note object and create activity
for #1924
2025-05-14 19:53:44 -07:00
Ryan Barrett 69afabf1a2
ATProto.send: when generating link previews, avoid links with text starting with @
for #1831?
2025-05-14 15:29:28 -07:00
Ryan Barrett f3743eed6f
docs: handling spam etc moderation/labeling
for #1923
2025-05-14 12:16:48 -07:00
Ryan Barrett 74ccc09cf2
don't retry atproto-commit tasks 2025-05-13 22:07:13 -07:00
Ryan Barrett 5b6582c42f
drop firehose-server/consumer, merge back into atproto-hub 2025-05-13 20:37:34 -07:00
Ryan Barrett e66e7c2583
atproto-hub, firehose-server: 6G memory, not 6.5G 2025-05-13 16:12:45 -07:00
Ryan Barrett 5d56ec78d4
atproto-hub, firehose-server: memory back down to 6.5G, max per core 2025-05-13 16:06:14 -07:00
Ryan Barrett 6582953528
atproto-hub: start firehose collector after consumer, add faulthandler
for #30
2025-05-13 15:51:22 -07:00
Ryan Barrett 37096e2ed2
Revert "use Protocol.create_for for all protocols, not just HAS_COPIES ones"
This reverts commit 9f9ecce187.

Not 100% sure but I suspect this caused #1929. Reverting while I debug more.
2025-05-13 13:43:08 -07:00
dependabot[bot] 3b37484b72 build(deps): bump flask from 3.1.0 to 3.1.1
Bumps [flask](https://github.com/pallets/flask) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: flask
  dependency-version: 3.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 13:33:23 -07:00
Ryan Barrett cf2b7719ec
fix atproto tests for snarfed/arroba#54
snarfed/arroba@4416a7f099
2025-05-13 13:18:56 -07:00
Ryan Barrett 2518ec1c3a
config: bump up memory for firehose-server, atproto-hub 2025-05-13 11:38:45 -07:00
Ryan Barrett 6898270d58
/admin/atproto: expose which thread is holding the firehose lock
using snarfed/arroba@12f8ed846c
2025-05-12 16:29:27 -07:00
Ryan Barrett 7699a6f657
config: arroba.firehose logging back to INFO 2025-05-12 16:19:50 -07:00
Ryan Barrett ab3495249e
whoops, keep suppressing lexrpc.flask_server DEBUG logs 2025-05-12 14:07:09 -07:00
Ryan Barrett 4d779c23f7
app config: log arroba.firehose at DEBUG 2025-05-12 13:27:39 -07:00
Ryan Barrett 9e87193764
firehose-server: add faulthandler, dump all threads' stacks on exit
for #30
2025-05-12 12:12:45 -07:00
Ryan Barrett d694f96229
/admin/atproto: add start/end times 2025-05-12 12:12:44 -07:00
dependabot[bot] a5edd93531 build(deps): bump certifi from 2025.1.31 to 2025.4.26
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.1.31 to 2025.4.26.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.01.31...2025.04.26)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.4.26
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 06:11:46 -07:00
dependabot[bot] 0ea035eedc build(deps): bump dependabot/fetch-metadata from 2.3.0 to 2.4.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 05:35:07 -07:00
Ryan Barrett cba4f9da97
dispatch: switch firehose serving back to firehose-server 2025-05-11 12:08:04 -07:00
Ryan Barrett 3e2d749b75
suppress lexrpc flask_server DEBUG logs 2025-05-11 12:07:51 -07:00
Ryan Barrett 91da2a0c36
add .claude/ to .gitignore 2025-05-11 12:06:45 -07:00
Ryan Barrett 7f6cb3437e
/admin/atproto: add rollback window 2025-05-11 11:44:58 -07:00
Ryan Barrett 650e1a5b21
ATProto.create_for: don't emit #account event if account is already active 2025-05-10 15:14:52 -07:00
Ryan Barrett 9f9ecce187
use Protocol.create_for for all protocols, not just HAS_COPIES ones
we can now use create_for for all protocol-specific setup for new users, eg creating AP keypairs. for #1881
2025-05-10 09:03:38 -07:00
Ryan Barrett 9d6705b049
dispatch: back to atproto-hub (from firehose-server), for now
until we figure out the deadlock in snarfed/arroba#30
2025-05-10 09:01:55 -07:00
Ryan Barrett c16be614ed
fix tests for snarfed/lexrpc@edfcb07468 2025-05-09 09:26:05 -07:00
Ryan Barrett a9c83190dc
Revert "build(deps): bump certifi from 2025.1.31 to 2025.4.26"
This reverts commit 879c073fc8.

due to #1992, https://github.com/certifi/python-certifi/issues/349
2025-05-09 08:46:46 -07:00
Ryan Barrett 3362dbbce2
atproto-hub/firehose-server: don't start serving until preload is done
also drop PRELOAD_WINDOW down to default 4k

for snarfed/arroba#30
2025-05-06 14:46:41 -07:00
Ryan Barrett f7177d07a5
minor docs tweaks 2025-05-06 09:17:19 -07:00
Ryan Barrett 02dd9b629d
temporarily split atproto-hub into separate services for firehose serving vs consuming
for snarfed/arroba#30
2025-05-05 12:31:35 -07:00
Ryan Barrett 27eddfa2f2
atproto-hub: switch to new unified arroba firehose
for snarfed/arroba#30
2025-05-05 12:31:35 -07:00
dependabot[bot] c7e6165300 build(deps): bump cryptography from 44.0.2 to 44.0.3
Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.2 to 44.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/44.0.2...44.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 06:07:32 -07:00
Ryan Barrett 3eaba98cf8
atproto-hub: add more bsky IPs, temporarily bump cores up to 2 2025-05-02 07:53:35 -07:00
Ryan Barrett 9e7444b796
opt_out.py: remove mozilla.social :( 2025-05-02 07:53:35 -07:00