Wykres commitów

1398 Commity (nostr)

Autor SHA1 Wiadomość Data
Ryan Barrett 6796b47a9f
noop: move web.NoMicroformats to common, misc other minor cleanup 2023-06-10 07:53:07 -07:00
Ryan Barrett 9e839b51ed
user page bug fix, drop extra / after source URL in update profile webmention form 2023-06-10 07:18:05 -07:00
Ryan Barrett 9ee616b4c2
update profile bug fix, update local user as well as sending fediverse Update
thanks for reporting @KR4DIO!
2023-06-10 07:16:54 -07:00
Ryan Barrett c98ab3f2d5
AP users: Object schema change, domains => users
also for AP => wm, only try to send webmentions to domains that we already have an existing Web user for. the vast majority of targets are fediverse URLs, and we were trying to send them all wms, ie at least running wm discovery and finding nothing. harmless, but a waste.
2023-06-09 12:56:45 -07:00
Ryan Barrett 62d44bdc63
minor UI fixes for domain => g.user in template vars 2023-06-09 12:46:11 -07:00
Ryan Barrett 05f244b86f
AP => wm follow bug fix: store correct actor_as2, not Follow object
🤦

fixes https://console.cloud.google.com/errors/detail/CKOFx6_Wrfzf6wE;time=P30D?project=bridgy-federated
2023-06-09 12:28:13 -07:00
Ryan Barrett 7f6cc61683
improve domain validation for Web key ids, normalize to lower case 2023-06-09 10:58:28 -07:00
Ryan Barrett 0f19654eb2
/convert/: require user for converting to AS2
since activitypub.postprocess_as2 currently needs g.user.
2023-06-09 09:39:13 -07:00
dependabot[bot] c8026298b9 build(deps): bump websocket-client from 1.5.2 to 1.5.3
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.2...v1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 06:04:35 -07:00
dependabot[bot] f4751472a4 build(deps): bump werkzeug from 2.3.5 to 2.3.6
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.5 to 2.3.6.
- [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.5...2.3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 06:00:11 -07:00
Ryan Barrett 788da1fe66
suppress bs4.MarkupResemblesLocatorWarning in WebTest.test_create_author_only_url
```
local/lib/python3.9/site-packages/bs4/__init__.py:435: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
```
2023-06-08 21:21:40 -07:00
Ryan Barrett 38fbce8714
bug fix for rel-alternate link in /r/ HTML response 2023-06-08 21:18:06 -07:00
Ryan Barrett bca0878bb2
add rel-alternate link to /r/ HTML response to make posts discoverable 2023-06-08 21:11:06 -07:00
Ryan Barrett 7066a935e6
add AP to allowed sources and Web to allowed dests for /convert/ 2023-06-08 21:02:12 -07:00
Ryan Barrett 9ce676934d
user page remote follow form bug fix, add protocol field
thanks for reporting @tantek!
2023-06-08 20:44:31 -07:00
Ryan Barrett 3972b31cd1
AP users: drop deprecated Follow.src, dest, and last_follow properties
for #512
2023-06-08 16:04:37 -07:00
Ryan Barrett 861552f455
webfinger verification: handle URL-encoded Location header
fixes #535
2023-06-08 11:07:24 -07:00
dependabot[bot] de7201fd77 build(deps): bump werkzeug from 2.3.4 to 2.3.5
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.4 to 2.3.5.
- [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.4...2.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 06:00:17 -07:00
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