Wykres commitów

2787 Commity (9467bccb5e0d7cb6cd4f4bddcec1fbfde497d5f1)

Autor SHA1 Wiadomość Data
Ryan Barrett e9dc38c75c
actually turn on ndb global cache with global_cache_policy
🤦
2024-08-01 12:42:13 -07:00
Ryan Barrett c193a4634b
common.cache_policy, global_cache_timeout_policy: handle both types of keys
google.cloud.datastore.key.Key or google.cloud.ndb.key.Key. see https://github.com/googleapis/python-ndb/issues/987
2024-08-01 12:32:28 -07:00
Ryan Barrett d59e662129
atproto_hub fix for 4097fe7 2024-08-01 12:16:45 -07:00
Ryan Barrett 4097fe71fb
use ndb in-memory context cache for DID doc Objects
for #1149
2024-08-01 12:09:37 -07:00
dependabot[bot] 0f12c755a4 build(deps): bump google-api-python-client from 2.138.0 to 2.139.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.138.0 to 2.139.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.138.0...v2.139.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 06:02:23 -07:00
dependabot[bot] 585cfdca30 build(deps): bump google-cloud-tasks from 2.16.4 to 2.16.5
Bumps [google-cloud-tasks](https://github.com/googleapis/google-cloud-python) from 2.16.4 to 2.16.5.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-tasks-v2.16.4...google-cloud-tasks-v2.16.5)

---
updated-dependencies:
- dependency-name: google-cloud-tasks
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 06:02:01 -07:00
Ryan Barrett d769d03a4f
Protocol.check_supported: block DMs (for now) 2024-07-31 23:12:47 -07:00
Ryan Barrett 22570881b7
fix tests for 3529216 2024-07-31 09:23:12 -07:00
Ryan Barrett 3529216e5d
disable caching get_originals (88cbe3b) until bugs are fixed
for #1149
2024-07-31 09:14:31 -07:00
dependabot[bot] 6d7066c08d build(deps): bump google-cloud-appengine-logging from 1.4.4 to 1.4.5
Bumps [google-cloud-appengine-logging](https://github.com/googleapis/google-cloud-python) from 1.4.4 to 1.4.5.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-appengine-logging-v1.4.4...google-cloud-appengine-logging-v1.4.5)

---
updated-dependencies:
- dependency-name: google-cloud-appengine-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 05:49:35 -07:00
dependabot[bot] d6f662cff4 build(deps): bump grpcio from 1.65.1 to 1.65.2
Bumps [grpcio](https://github.com/grpc/grpc) from 1.65.1 to 1.65.2.
- [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.65.1...v1.65.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 05:49:11 -07:00
Ryan Barrett 88cbe3b7b4
cache models.get_originals in memcache with new memcache_memoize decorator
for #1149
2024-07-30 14:50:33 -07:00
Ryan Barrett 33e0d0b14a
common.memcache_key: encode Unicode chars as UTF-8 2024-07-30 14:49:50 -07:00
Ryan Barrett 373a92df3e
docs: minor additions to troubleshooting section 2024-07-29 21:01:25 -07:00
Ryan Barrett 773a6055fc
Fake: support Flag 2024-07-28 10:15:37 -07:00
Ryan Barrett 174f82cc6e
opt_out.py: add mozilla.social 2024-07-28 10:02:36 -07:00
Ryan Barrett caa8dd2341
Protocol.delete_user_copy: use better id for delete activity
that's more likely to pass Protocol.owns_id for all protocols. (this was failing ATProto)
2024-07-27 16:40:56 -07:00
Ryan Barrett 5454e19a23
ATProto.handle_to_id: skip opted out/blocked users
for #1215
2024-07-27 08:55:53 -07:00
Ryan Barrett 05ad4d8ccd
Protocol.receive: set expiration on memcache activity id "done" entries 2024-07-27 08:55:53 -07:00
dependabot[bot] d81d33599a build(deps): bump google-cloud-logging from 3.10.0 to 3.11.0
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/googleapis/python-logging/releases)
- [Changelog](https://github.com/googleapis/python-logging/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-logging/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: google-cloud-logging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 05:52:35 -07:00
dependabot[bot] 88436a3a8b build(deps): bump google-api-python-client from 2.137.0 to 2.138.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.137.0 to 2.138.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.137.0...v2.138.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 05:52:25 -07:00
Ryan Barrett 8bdcd1ff1b
protocol: minor log tweak 2024-07-25 18:18:53 -07:00
Ryan Barrett 96846c2f2a
protocol, activitypub: drop some verbose logging from INFO down to DEBUG 2024-07-25 14:44:15 -07:00
Ryan Barrett c09ea21baf
dos: add "public posts only" to #troubleshooting 2024-07-25 08:58:21 -07:00
Ryan Barrett d1e7bf5f78
docs: drop replies section, it's misleading 2024-07-25 08:56:29 -07:00
Ryan Barrett a75ff16cba
docs: don't claim that Threads is supported (yet)
for #1210
2024-07-24 17:42:21 -07:00
Ryan Barrett d14e19ce16
ATProto._convert: when converting images to blobs, skip images that we can't fetch
fixes errors registering web sites when fetching their favicons etc fails
2024-07-24 16:08:55 -07:00
Ryan Barrett 30490da0a7
deps: misc upgrades 2024-07-24 15:07:08 -07:00
Ryan Barrett 37e70104e5
drop unused protocol.seen_ids, we switched it to memcache a bit ago 2024-07-24 14:58:25 -07:00
dependabot[bot] 72460d1ef1 build(deps): bump cryptography from 42.0.8 to 43.0.0
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.8 to 43.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.8...43.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 14:56:38 -07:00
Ryan Barrett 32b7d4a5d5
deps: syntax bug fix for deps introduced in 00626f5 2024-07-24 13:50:51 -07:00
Ryan Barrett 00626f5f42
ATProto.create_for: handle existing DNS record
delete and add new one. for #1072
2024-07-24 13:41:21 -07:00
Ryan Barrett 4c21eb2f74
ATProto.create_for: extract out set_dns_did method
prep for #1072
2024-07-24 08:17:06 -07:00
Ryan Barrett da251d9ec1
ATProto: link to user page in profile footer links for web users 2024-07-23 22:11:42 -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 f34d1b43a3
User.status: make opt in override #nobot but not #nobridge
for #1204, re #974
2024-07-23 13:54:24 -07:00
Ryan Barrett 4e958f68e2
Web feed polling: don't use user profile images as post metaformats images
for #1191
2024-07-23 13:05:27 -07:00
Ryan Barrett 56cb6378d4
test_web: fix tests to include requests.get responses for fetching posts for images
tests weren't broken, technically, but BeautifulSoup was complaining. for 45df0ea
2024-07-23 12:13:19 -07:00
Ryan Barrett b90cdefacf
Web.fetch bug fix: only default metaformats on for home pages
fixes 45df0ea
2024-07-23 11:54:56 -07:00
Ryan Barrett 755997e5f7
atproto_firehose: don't load DIDs for tombstoned AtpRepos
for #1193
2024-07-22 22:24:13 -07:00
Ryan Barrett 5bcb230d39
drop /bridge-user 2024-07-22 20:45:22 -07:00
Ryan Barrett c0c801de58
drop bluesky sandbox env vars, it's dead now
https://docs.bsky.app/blog/federation-sandbox
2024-07-22 20:44:18 -07:00
Ryan Barrett 45df0ea410
Web feed polling: if an entry doesn't have an image, fetch it from metaformats 2024-07-22 18:11:49 -07:00
Ryan Barrett b904654335
flask app config: only setup prod logging when in prod 2024-07-22 15:03:31 -07:00
Ryan Barrett 4c5b666703
ATProto._convert: always convert RSS/Atom posts to external embeds
with new bluesky.from_as1 as_embed kwarg
2024-07-22 13:55:35 -07:00
dependabot[bot] d2473f365a build(deps): bump typing-validation from 1.2.11.post1 to 1.2.11.post4
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.11.post1 to 1.2.11.post4.
- [Release notes](https://github.com/hashberg-io/typing-validation/releases)
- [Commits](https://github.com/hashberg-io/typing-validation/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 05:20:58 -07:00
Ryan Barrett 3b37890635
web feed poll: accept text/xml as well as application/xml
https://bsky.app/profile/kerim.oxus.net/post/3kxtd6hvpt62s

https://stackoverflow.com/questions/4832357/whats-the-difference-between-text-xml-vs-application-xml-for-webservice-respons
2024-07-21 20:08:14 -07:00
Ryan Barrett 2a63b1cc27
nodeinfo: log total user count 2024-07-20 15:19:29 -07:00
Ryan Barrett 5423857774
atproto_firehose: bug fix for loading ATProto DIDs by updated instead of created
for f2be280016
2024-07-20 15:19:18 -07:00
Ryan Barrett 88666cb2d4
atproto_firehose: noop TODO 2024-07-20 11:17:08 -07:00