Wykres commitów

1222 Commity (cd)

Autor SHA1 Wiadomość Data
Ryan Barrett 690d9dc7a1
continuous deploy on Circle
for #540
2023-06-14 13:00:11 -07:00
Ryan Barrett bfb462e414
Protocol.for_id: handle null Object.source_protocol 2023-06-13 21:36:56 -07:00
Ryan Barrett 65e1479d88
don't allow Followers from and to the same protocol
also make from and to required
2023-06-13 20:58:28 -07:00
Ryan Barrett e6f72f33b6
Web.load: default check_backlink kwarg to False, pass it through to fetch 2023-06-13 20:24:42 -07:00
Ryan Barrett 7b3aeb2e8e
add Protocol.key_for to let us normalize Web keys from http://x.com/ => x.com
for #548, #512
2023-06-13 14:30:00 -07:00
Ryan Barrett 730fa9155d
handle per-protocol subdomains in Protocol.for_id
for #548
2023-06-13 13:43:41 -07:00
Ryan Barrett 48c40c10a8
add Protocol.for_id and .owns_id
fixes #548
2023-06-13 13:21:30 -07:00
dependabot[bot] 60c3bf5948 build(deps): bump googleapis-common-protos from 1.59.0 to 1.59.1
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos) from 1.59.0 to 1.59.1.
- [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.0...v1.59.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 06:00:12 -07:00
Ryan Barrett 98ec4fafdd
Protocol.for_domain: add fed kwarg, support URLs as well as domains 2023-06-12 22:05:13 -07:00
Ryan Barrett 436595c2a2
AP users: generalize protocol in Protocol.deliver
for #512
2023-06-12 21:43:08 -07:00
Ryan Barrett fed9e40145
AP users: generalize sending class in Protocol.receive
for #512
2023-06-12 20:52:42 -07:00
Ryan Barrett 3448ec7368
AP users: generalize receiving class in Protocol.receive
for #512
2023-06-12 19:01:50 -07:00
Ryan Barrett f951c143e3
fix tests for 0902994af0 2023-06-12 15:50:47 -07:00
Ryan Barrett 0902994af0
webfinger: infer protocol from brid.gy subdomain in request or resource
first commit for inferring protocol. exciting! for #512
2023-06-12 15:50:00 -07:00
Ryan Barrett e7f8710cc4
noop test_protocol for_domain/for_request refactoring 2023-06-12 14:17:44 -07:00
Ryan Barrett 239976ca43
drop old /acct: URL route for serving Webfinger
honestly no clue where this came from, haven't found it in the spec, couldn't figure out when/why I originally added it in git history. 🤷
2023-06-12 13:32:21 -07:00
Ryan Barrett 743adef653
docs: bug fix for identity translation table, Nostr => AP 2023-06-12 08:53:34 -07:00
dependabot[bot] d9bd76fb62 build(deps): bump ujson from 5.7.0 to 5.8.0
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.7.0...5.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 05:59:36 -07:00
Ryan Barrett 5420031945
docs: identity mapping table, streamline layout 2023-06-11 19:57:41 -07:00
Ryan Barrett 1c02c192f1
docs: identity translation: switch to per-protocol subdomains 2023-06-11 12:12:07 -07:00
Ryan Barrett cb1f80832f
AP users: add Protocol.ABBREV, Protocol.OTHER_LABELS
for #512
2023-06-11 08:14:17 -07:00
Ryan Barrett 510cd036bf
AP users: add Protocol.for_domain and for_request
getting ready to serve per-protocol subdomains, eg nostr.brid.gy, ap.brid.gy, etc

for #512
2023-06-10 19:55:08 -07:00
Ryan Barrett 4909046506
add new brid.gy subdomains and todo to canonicalize them 2023-06-10 16:29:58 -07:00
Ryan Barrett cb5e7bf8c7
noop, minor protocol generalization and cleanup
for #512
2023-06-10 15:07:26 -07:00
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