Wykres commitów

1398 Commity (nostr)

Autor SHA1 Wiadomość Data
Ryan Barrett ebb0a6c154
Web user signup: remove leading and trailing dots from domains 2023-08-18 13:30:26 -07:00
dependabot[bot] 04bacf0361 build(deps): bump humanize from 4.7.0 to 4.8.0
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.7.0...4.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 05:15:17 -07:00
dependabot[bot] fdc23547fb build(deps): bump werkzeug from 2.3.6 to 2.3.7
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.6 to 2.3.7.
- [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/2.3.6...2.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 05:32:37 -07:00
dependabot[bot] 21ae7b33b5 build(deps): bump grpcio from 1.56.2 to 1.57.0
Bumps [grpcio](https://github.com/grpc/grpc) from 1.56.2 to 1.57.0.
- [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.56.2...v1.57.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 05:42:14 -07:00
Ryan Barrett 53518a3e4d
AP: handle Follow activities sent to shared inbox
fixes https://console.cloud.google.com/errors/detail/CKCyj4Cml--vUw;time=P30D?project=bridgy-federated
2023-08-09 11:26:36 -07:00
Ryan Barrett f95834911b
add websocket deps for granary, lexrpc 2023-08-09 10:39:32 -07:00
Ryan Barrett 9211aa3cae
bug fixes for Object.clear and get_or_create
be more careful about clearing and preserving as2/mf2/bsky/our_as1 properties

discovered by @jamietanna, thanks for reporting Jamie!
2023-08-08 10:26:00 -07:00
Ryan Barrett e6caa1c592
add readthedocs config 2023-08-07 10:42:00 -07:00
dependabot[bot] e49d1ea725 build(deps): bump jsonschema from 4.18.6 to 4.19.0
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.18.6 to 4.19.0.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.18.6...v4.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 05:07:10 -07:00
dependabot[bot] 76aaaf5f1c build(deps): bump google-cloud-tasks from 2.14.0 to 2.14.1
Bumps [google-cloud-tasks](https://github.com/googleapis/python-tasks) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/googleapis/python-tasks/releases)
- [Changelog](https://github.com/googleapis/python-tasks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-tasks/compare/v2.14.0...v2.14.1)

---
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>
2023-08-04 05:19:13 -07:00
dependabot[bot] fea3c9b2e5 build(deps): bump jsonschema from 4.18.4 to 4.18.6
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.18.4 to 4.18.6.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.18.4...v4.18.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 05:15:17 -07:00
Ryan Barrett de5191a10e
bug fix for web user updat profile button
for synthesized update/create/delete activities, switch actor id from protocol-specific AP to protocol-agnostic web URL.

thanks @capjamesg for reporting!
2023-08-02 19:12:09 -07:00
Ryan Barrett 62ba627bc9
bug fix for interactive follow with followee Object without as2
fixes https://console.cloud.google.com/errors/detail/CIeL-MyNk9z5LQ;time=P30D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/COLs4IvxloWVUg;time=P30D?project=bridgy-federated
2023-08-01 09:47:32 -07:00
dependabot[bot] d4035d867a build(deps): bump googleapis-common-protos from 1.59.1 to 1.60.0
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos) from 1.59.1 to 1.60.0.
- [Release notes](https://github.com/googleapis/python-api-common-protos/releases)
- [Changelog](https://github.com/googleapis/python-api-common-protos/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-api-common-protos/compare/v1.59.1...v1.60.0)

---
updated-dependencies:
- dependency-name: googleapis-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 05:21:14 -07:00
dependabot[bot] 1230952deb build(deps): bump pyparsing from 3.1.0 to 3.1.1
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.0...3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 05:48:41 -07:00
dependabot[bot] 0ddeeaca60 build(deps): bump google-cloud-ndb from 2.1.1 to 2.2.0
Bumps [google-cloud-ndb](https://github.com/googleapis/python-ndb) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/googleapis/python-ndb/releases)
- [Changelog](https://github.com/googleapis/python-ndb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-ndb/compare/v2.1.1...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-29 15:27:43 -07:00
Ryan Barrett 669481d7d7
deps: upgrade google-cloud-datastore to 2.16.1 2023-07-29 15:22:04 -07:00
Ryan Barrett e389690276
Web.fetch: handle author missing u-url
originally from https://r0ss.me/notes/20230727-starfield-animated-videos.html
2023-07-28 19:13:59 -07:00
Ryan Barrett b2b5383271
fix authors in RSS and Atom feeds 2023-07-28 15:53:56 -07:00
Ryan Barrett 8850e27374
Activity.target_for: fix infinite loop when author is object id
fixes #603 and https://console.cloud.google.com/errors/detail/CLPmoOqegtfm0AE;time=P30D?project=bridgy-federated
2023-07-27 15:06:56 -07:00
Ryan Barrett 2f308b43e2
/convert: use generic Protocol for fed subdomain
not entirely sure about this one, will see

for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett 96e523d887
fix Object.proxy_url to use per-protocol subdomains
it should have already been using them!

for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett a1d4806e2a
fix /convert/ redirect on fed.brid.gy to preserve URL-encoding
for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett b57c96d7d5
move AtpNode to arroba 2023-07-26 09:02:23 -07:00
dependabot[bot] 9332506be6 build(deps): bump google-cloud-tasks from 2.13.2 to 2.14.0
Bumps [google-cloud-tasks](https://github.com/googleapis/python-tasks) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/googleapis/python-tasks/releases)
- [Changelog](https://github.com/googleapis/python-tasks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-tasks/compare/v2.13.2...v2.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 05:28:02 -07:00
Ryan Barrett 3d23618b1b
Protocol.receive: handle unknown protocol for followeee
fixes https://console.cloud.google.com/errors/detail/CKjCqOC34bL3SQ;time=P30D?project=bridgy-federated
2023-07-25 09:53:23 -07:00
Ryan Barrett aa124413f6
Web: set author to user homepage more carefully
for when h-entry author points to non-homepage, eg @techlifeweb's https://techlifeweb.com/blog/2023/07/2023-07-25-post-025/ 's author url is https://techlifeweb.com/hcard
2023-07-24 21:28:37 -07:00
Ryan Barrett 77812b1b61
AP: fix sig verification bug, handle Objects with non-as2 data
fixes https://console.cloud.google.com/errors/detail/CKCN17fmoZHraw;time=P30D?project=bridgy-federated
2023-07-24 18:16:50 -07:00
Ryan Barrett 850e8a1dc8
switch convert URLs from ^^ back to #
for #581. the ^^s didn't help with WordPress, which was the original motivation, and they're confusing everyone else.
2023-07-24 14:31:07 -07:00
Ryan Barrett 414fa5f197
Protocol.receive: resume existing create if it's not complete 2023-07-24 14:07:44 -07:00
Ryan Barrett 95cbfba31c
Web: default missing author to homepage, not fed.brid.gy AP actor URL
for #599
2023-07-24 12:17:03 -07:00
dependabot[bot] 0dbbbe167c build(deps): bump certifi from 2023.5.7 to 2023.7.22
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 05:07:57 -07:00
Ryan Barrett 17fe6db6eb
change Protocol.key_for to return None instead of raise on invalid user ids
hopefully fixes https://console.cloud.google.com/errors/detail/CKWmwa7SybLcQw;time=P30D?project=bridgy-federated
2023-07-22 20:32:55 -10:00
Ryan Barrett c3f9c56c31
Protocol.receive: drop fed.brid.gy domain check
this happens after protocols pre-process objects and eg fill in BF AP actor ids. moved this check to *.send and user entity pre post hooks instead. for #597
2023-07-22 20:11:12 -10:00
Ryan Barrett 9a7597b365
don't allow blocklisted domains in Web, ActivityPub ids
for #597
2023-07-22 20:09:16 -10:00
Ryan Barrett 405ca4145f
Web.send, ActivityPub.send: skip sending to blocklisted URLs
for #597
2023-07-22 20:02:12 -10:00
Ryan Barrett ca1d0dcc01
feeds: also load repost objects from separate Objects
for #419, follows 47b90c8
2023-07-20 07:26:16 -10:00
dependabot[bot] 36d020eb77 build(deps): bump urllib3 from 2.0.3 to 2.0.4
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.3...2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 06:02:15 -07:00
dependabot[bot] 710401042e build(deps): bump grpcio from 1.56.0 to 1.56.2
Bumps [grpcio](https://github.com/grpc/grpc) from 1.56.0 to 1.56.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.56.0...v1.56.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 06:01:43 -07:00
Ryan Barrett 47b90c890e
/feed: load author/actor if it's in a separate Object
fixes #419. thanks again @gRegorLove!
2023-07-19 19:39:29 -10:00
Ryan Barrett 14ee9c1516
one more datastore index for 57350ab81a 2023-07-19 19:39:29 -10:00
dependabot[bot] 96198b2f20 build(deps): bump gunicorn from 20.1.0 to 21.2.0
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 21.2.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/20.1.0...21.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:34:09 -07:00
dependabot[bot] deae0041dd build(deps): bump click from 8.1.5 to 8.1.6
Bumps [click](https://github.com/pallets/click) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.5...8.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 05:35:14 -07:00
dependabot[bot] 1605874768 build(deps): bump jsonschema from 4.18.3 to 4.18.4
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.18.3 to 4.18.4.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.18.3...v4.18.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 05:12:32 -07:00
dependabot[bot] 1327b13d43 build(deps): bump pyyaml from 6.0 to 6.0.1
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 05:11:45 -07:00
Ryan Barrett 557d115c98
add another datastore index for 57350ab81a 2023-07-17 16:17:03 -10:00
Ryan Barrett 7c414e99f8
add datastore indices for 57350ab81a 2023-07-17 11:59:40 -10:00
Ryan Barrett ad893b1a97
update test_activitypub, test_web for new Object.notify/feed props
added in 95d0a695aa30c06880c218a96a98f591850a0a3c
2023-07-17 05:34:56 -10:00
Ryan Barrett 57350ab81a
switch from Object.users + labels to users + notify + feed lists
needed to distinguish an activity's owners from who it should notify from who should see it in their feeds.

also, unrelated, start sending stop-following activities.

in progress, test_web and test_activitypub still need updating.
2023-07-17 05:34:56 -10:00
Ryan Barrett 764494be16
Protocol.receive follow: send accept for every followee, not just the last one 2023-07-17 05:34:56 -10:00