Wykres commitów

1380 Commity (b2b53832718eca711d9b17249bdea5f8b3ec8d32)

Autor SHA1 Wiadomość Data
Ryan Barrett afbb453043
AP users: finish migrating follow.py to Follower schema with new from/to
for #512, fixes https://console.cloud.google.com/errors/detail/CPn404XJ2rC6rAE;time=P30D?project=bridgy-federated
2023-06-07 23:51:41 -07:00
Ryan Barrett 68982e113f
AP users: followers/following UI page bug fixes for Follower migration to to/from
for #512
2023-06-07 22:34:08 -07:00
Ryan Barrett ac5123e2b7
add datastore indices for Follower schema migration to to/from 2023-06-07 22:33:54 -07:00
Ryan Barrett 0bcd63af04
testutil: hide stdlib and virtualenv lines in test failures tracebacks 2023-06-07 19:06:50 -07:00
Ryan Barrett 7c82bf7ec5
AP users: finish migrating Follower from string domains/ids to User keys
for #512
2023-06-07 19:06:44 -07:00
Ryan Barrett 9cb8c1f9f2
AP users: start migrating Follower from string domains/ids to User keys
for #512
2023-06-07 12:43:48 -07:00
Ryan Barrett 797a0bbbb3
bug fix, don't redirect web users to readable_id
fixes #534
2023-06-07 12:14:49 -07:00
dependabot[bot] 56e27e8fc9 build(deps): bump urllib3 from 2.0.2 to 2.0.3
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.2 to 2.0.3.
- [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.2...2.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 05:59:47 -07:00
Ryan Barrett 2941d79b64
move follow.fetch_webfinger to webfinger.py 2023-06-06 11:29:36 -07:00
Ryan Barrett 92b6c7546e
circle: --use-firestore-in-datastore-mode 2023-06-05 21:13:53 -07:00
Ryan Barrett 286ab9c7d6
wm => AP: add force param to force inbox delivery even if content is unchanged 2023-06-05 19:06:21 -07:00
Ryan Barrett 4d2f26eff0
noop test refactoring: convert test_web test data from self attrs to constants
long overdue!
2023-06-05 19:06:21 -07:00
dependabot[bot] 5abacfeb35 build(deps): bump markupsafe from 2.1.2 to 2.1.3
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.2...2.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 05:59:47 -07:00
Ryan Barrett 51c2773594
AP users: /r/: switch external user to indirect user
for #512
2023-06-04 20:58:21 -07:00
Ryan Barrett 9a75d10f54
move Model.username() to Web 2023-06-04 16:10:37 -07:00
Ryan Barrett 71dadc2ba5
AP users: ignore webmention sending failures
since webmention support is optional for web users: https://fed.brid.gy/docs#error-handling

for #512
2023-06-04 15:11:52 -07:00
Ryan Barrett 1366842bba
dev docs on error handling 2023-06-04 13:47:27 -07:00
Ryan Barrett d30eccbe8b
AP users: make show protocol-specific UI like remote follow conditional
for #512
2023-06-04 10:13:02 -07:00
Ryan Barrett 47b3dd29d0
AP users: minor tweak, include full @context in indirect users' actors
for #512
2023-06-04 07:33:30 -07:00
Ryan Barrett fe27742b80
AP users: promote ActivityPub.label_id computed prop to User.readable_id
and drop ActivityPub.get_by_id() override, move logic to user() page handler. fixes 'Only ancestor queries are allowed inside transactions.'

for #512
2023-06-03 21:48:15 -07:00
Ryan Barrett cf68c1ebc7
AP users: fill in more fields in base actor objects
working on Mastodon account discovery interop. for #512
2023-06-03 08:36:55 -07:00
Ryan Barrett daba73ce38
update a few user page links in the web UI, /user/ => /web/
for #512
2023-06-03 08:03:38 -07:00
Ryan Barrett c41b55a199
Web.fetch: switch back to raising instead of returning empty Object
raise new custom NoMicroformats exception
2023-06-03 07:28:01 -07:00
Ryan Barrett 20864f9246
inbound webmention: handle source pages with no mf2
fixes https://console.cloud.google.com/errors/detail/CKOFx6_Wrfzf6wE;time=P30D;refresh=true?project=bridgy-federated
2023-06-03 07:01:20 -07:00
Ryan Barrett 92b71e5f9d
user page UI bug fixes, handle generic User subclasses, id instead of domain 2023-06-02 22:13:42 -07:00
Ryan Barrett 9d1dc652f9
Protocol.load: bug fix, handle Object.as1 going from non-None to None
fixes https://console.cloud.google.com/errors/detail/CI3L3MzXjPza9gE;time=P30D?project=bridgy-federated
2023-06-02 21:53:44 -07:00
Ryan Barrett d9cd5d14b9
AP users: fetch user on demand on /[actor] if we don't already have it
also change Web.fetch() to allow missing mf2 instead of raising exception. we now create Web users with None for mf2 property if the site has no mf2.

for #512
2023-06-02 12:55:07 -07:00
Ryan Barrett 388769a1dd
incoming webmention, handle bad source URLs better
fixes https://console.cloud.google.com/errors/detail/CO-fpZfMq_6ktgE;time=P30D?project=bridgy-federated
2023-06-02 11:10:04 -07:00
Ryan Barrett e05ddb0a45
AP users: serve ActivityPub user page with address (handle) in URL
eg /activitypub/@me@instance.com

for #512
2023-06-01 22:00:47 -07:00
Ryan Barrett ca64793fff
AP users: add User.name() and label_id(), ActivityPub.address computed property
for #512
2023-06-01 21:37:58 -07:00
Ryan Barrett 17ed24b6f5
AP users: switch ActivityPub.ap_address() to use as2.address()
for #512
2023-06-01 20:58:42 -07:00
Ryan Barrett 958f81ddd1
AP users: rename [is_]homepage => [is_]web_url, move into Protocol subclasses
for #512
2023-05-31 18:47:40 -07:00
Ryan Barrett 28eabd07a3
create AP users on inbox delivery for an indirect or nonexistent Web user
for #512
2023-05-31 13:17:17 -07:00
Ryan Barrett 086c6d032c
minor noop User tweak, domain => id 2023-05-31 12:38:00 -07:00
Ryan Barrett 56f18f5d9a
AP users: make User.ap_actor/ap_address abstract, implement in subclasses
for #512
2023-05-31 10:47:09 -07:00
Ryan Barrett 35060c172a
switch actor_id() and address90 back to User methods, to be implemented by subclasses
partially reverts 9e906f18e4
2023-05-31 10:10:14 -07:00
Ryan Barrett 9e906f18e4
move address, actor_id from User to activitypub.py, /web-site to web.py
for #512
2023-05-30 17:24:49 -07:00
Ryan Barrett cec093ea60
AP users: parameterize /remote-follow by protocol
for #512
2023-05-30 16:53:08 -07:00
Ryan Barrett 852bd5deaf
AP users: update robots.txt for new URL prefixes
for #512
2023-05-30 16:41:55 -07:00
Ryan Barrett 29f1a1d4ac
AP users: start parameterizing URLs, including UI pages and AP endpoints
user pages now have /[protocol]/ prefix, AP endpoints have /ap/ prefix. for #512
2023-05-30 16:38:58 -07:00
Ryan Barrett 8d4228b811
AP users: change web UI user page paths from /user/... to /[protocol]/...
for #512
2023-05-30 14:08:47 -07:00
Ryan Barrett 47b04f5574
rename Web.LABEL from 'webmention' to 'web' 2023-05-30 12:15:36 -07:00
Ryan Barrett 93f621aaf5
AP users: start to replace external with indirect, starting with webfinger
#512
2023-05-29 20:16:15 -07:00
Ryan Barrett 624355d85a
AP users: add new User.direct property
direct users signed up or otherwise interacted with BF explicitly, indirect users didn't
2023-05-29 19:37:41 -07:00
Ryan Barrett 6e834713f1
when replying to Follow with Accept, include original Follow object verbatim
notably, including id. fixes #522 (again)
2023-05-29 19:04:26 -07:00
dependabot[bot] 368c5b26aa build(deps): bump fixtures from 4.0.1 to 4.1.0
Bumps [fixtures](https://github.com/testing-cabal/fixtures) from 4.0.1 to 4.1.0.
- [Changelog](https://github.com/testing-cabal/fixtures/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/fixtures/compare/4.0.1...4.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 06:00:18 -07:00
dependabot[bot] e85138dd65 build(deps): bump deprecated from 1.2.13 to 1.2.14
Bumps [deprecated](https://github.com/tantale/deprecated) from 1.2.13 to 1.2.14.
- [Release notes](https://github.com/tantale/deprecated/releases)
- [Changelog](https://github.com/tantale/deprecated/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tantale/deprecated/compare/v1.2.13...v1.2.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 05:59:56 -07:00
Ryan Barrett 72024f90b1
bug fix for application/ld+json content type
fixes #522
2023-05-28 08:06:36 -07:00
Ryan Barrett b7bebb4075
move base64_to_long, long_to_base64 to common 2023-05-27 14:58:22 -07:00
Ryan Barrett 3cba0e272b
translating docs, minor language tweaks 2023-05-27 14:27:31 -07:00