Wykres commitów

834 Commity (d655ea0024793308f09aaa14827fbca188dd4db6)

Autor SHA1 Wiadomość Data
Ryan Barrett d655ea0024
Activity => Object: update xrpc_feed.py
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett cc453035c8
initial design of new Object model, implement it in render.py 2023-02-04 20:46:27 -08:00
Ryan Barrett 55ee0e468a
update follow tests for snarfed/oauth-dropins@52b00f602f 2023-02-04 20:46:10 -08:00
Ryan Barrett 82547c9557
override User.get_by_id() to handle use_instead
fixes #403
2023-02-04 19:53:30 -08:00
Ryan Barrett 7155a6c0d6
minor tweaks to front page language 2023-02-04 19:10:39 -08:00
Ryan Barrett 5ed49a1eb9
add pkce to deps
for snarfed/oauth-dropins@972d473923
2023-02-04 19:08:34 -08:00
dependabot[bot] c5e5593998 build(deps): bump beautifulsoup4 from 4.11.1 to 4.11.2
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.11.1 to 4.11.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 04:06:02 -08:00
Ryan Barrett dcd566b4f5
docs: update description of Mastodon HTML handling, add link 2023-01-31 11:11:49 -08:00
Ryan Barrett 4a621eed65
bump RSA key length up from 1024 to 2048 bits
https://www.pycryptodome.org/src/public_key/rsa#Crypto.PublicKey.RSA.generate
fixes https://github.com/snarfed/bridgy-fed/security/code-scanning/10
2023-01-30 15:49:11 -08:00
dependabot[bot] 5626a49784 build(deps): bump pycryptodome from 3.16.0 to 3.17
Bumps [pycryptodome](https://github.com/Legrandin/pycryptodome) from 3.16.0 to 3.17.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.16.0...v3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 04:04:22 -08:00
dependabot[bot] 37cdef654f build(deps): bump humanize from 4.4.0 to 4.5.0
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.4.0...4.5.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-01-30 04:04:12 -08:00
Ryan Barrett 789da26362
AP: return 501 for Undo not supported, not 400 2023-01-26 12:03:13 -08:00
dependabot[bot] 400231f122 build(deps): bump websocket-client from 1.4.2 to 1.5.0
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.2 to 1.5.0.
- [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.4.2...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 04:04:15 -08:00
Ryan Barrett d523cc085a
remove OStatus parts of Webfinger
background on Mastodon interop:
* https://docs.joinmastodon.org/spec/webfinger/
* https://github.com/mastodon/mastodon/pull/11280
* https://docs.joinmastodon.org/spec/activitypub/#publicKey
2023-01-25 20:59:40 -08:00
Ryan Barrett f0a5f1745e
webfinger: return data even if site has no representative h-card
fixes #384
2023-01-25 20:41:29 -08:00
Ryan Barrett 38c7c1bc5f
webfinger: return 404 if User not found
for #384
2023-01-25 20:00:54 -08:00
Ryan Barrett d724ae8cba
accept Updates to Person objects, do nothing with them
fixes #387
2023-01-25 19:44:48 -08:00
Ryan Barrett d85ffaec04
implement stub empty outbox
for #383
2023-01-25 13:12:24 -08:00
Ryan Barrett 05c8dc83c4
override link label for home page to be "Web site"
for #331
2023-01-25 12:33:53 -08:00
dependabot[bot] f296d0f017 build(deps): bump google-cloud-logging from 3.4.0 to 3.5.0
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging) from 3.4.0 to 3.5.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.4.0...v3.5.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>
2023-01-25 04:04:25 -08:00
Ryan Barrett eca2f6f1ca
outbound AP: only log pretty-printed AS2 object on first request, not all 2023-01-24 16:49:48 -08:00
Ryan Barrett 55d5206188
cache 502s and 504s for requests that fetch users' sites
for #378
2023-01-24 16:29:19 -08:00
Ryan Barrett a2d9dcb4a9
cache more aggressively: bump expiration up to 60s, threshold to 3k
for #378
2023-01-24 16:13:22 -08:00
Ryan Barrett bb2d3e03de
noop: convert a few %s'es to f-strings
thanks flynt! https://github.com/ikamensh/flynt
2023-01-24 12:17:24 -08:00
Ryan Barrett 965554a714
docs: minor tweak to follow UI description 2023-01-24 12:05:27 -08:00
Ryan Barrett 01af6983c4
minor docs tweak: Source => Open source 2023-01-24 10:04:07 -08:00
dependabot[bot] 4c3c99fbda build(deps): bump google-cloud-tasks from 2.12.0 to 2.12.1
Bumps [google-cloud-tasks](https://github.com/googleapis/python-tasks) from 2.12.0 to 2.12.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.12.0...v2.12.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-01-24 04:04:19 -08:00
Ryan Barrett 46736df21b
common.postprocess_as2 bug fix, handle multiply valued image field 2023-01-23 21:13:05 -08:00
Ryan Barrett 0d0a4ed642
update profile bug fix: always populate object.updated field
for #376
2023-01-23 20:53:34 -08:00
Ryan Barrett e6889b4cf6
activities UI bug fix for rendering profile updates 2023-01-23 20:46:12 -08:00
Ryan Barrett 378bb5dbf4
activities UI: handle empty Activity, source_mf2 without `items`
for #376
2023-01-23 19:20:31 -08:00
Ryan Barrett 783abcaf25
add update profile button on user page UI
for #376
2023-01-23 18:57:49 -08:00
Ryan Barrett 1627ff667a
translate webmention from home page into profile (actor) Update
for #376, #331
2023-01-23 16:09:25 -08:00
Ryan Barrett 21c79a304c
when converting h-card to actor, use link text or title for profile links
for #331
2023-01-22 07:47:27 -08:00
Ryan Barrett a2b9096b19
bump pending latency down to 500ms, threads up to 30, for link preview DOSes
for #378
2023-01-22 07:46:06 -08:00
Ryan Barrett af769de99e
implement rest of followers/following collections
for #264
2023-01-20 07:02:55 -08:00
Ryan Barrett 74ebbc428b
add new common.fetch_followers() fn, use in UI, AP collections, and XRPCs
for #264
2023-01-19 15:29:52 -08:00
Ryan Barrett ea02b82f39
test_pages: add tests for followers/following UI pages 2023-01-19 15:25:56 -08:00
Ryan Barrett 0c7048d93f
bug fix for followers/ing UI pages
bug was introduced in 02aa3e9801
2023-01-19 07:52:41 -08:00
Ryan Barrett fc4e8b11d2
return actors in AP Followers/Following collections
for #264. next: paging
2023-01-19 07:00:35 -08:00
Ryan Barrett 36349a5db9
add Follower.to_as2() 2023-01-19 06:49:39 -08:00
Ryan Barrett c3edf3a68e
make Follower.to_as1() handle both inbound and outbound last_follow
...and use it in followers and following UI pages
2023-01-18 22:31:13 -08:00
Ryan Barrett 02aa3e9801
refactoring: move fetch_page from pages to common 2023-01-18 22:19:51 -08:00
Ryan Barrett 6d354c1e34
drop old deprecated /responses URL 2023-01-18 21:44:02 -08:00
Ryan Barrett f8fbf1391c
refactoring: unify followers and following UI page handlers 2023-01-18 21:25:54 -08:00
Ryan Barrett 37e389447a
always store Follower.last_follow as AP/AS2 Follow activity
specifically, this switches storing outbound follows from inbound webmentions from AS1 to AS2.
2023-01-18 21:09:43 -08:00
Ryan Barrett 84606500fa
refactoring: unify followers and following AP collection endpoints 2023-01-18 20:32:23 -08:00
Ryan Barrett 6069f283ac
docs: minor tweaks to app compatibility section 2023-01-18 20:30:35 -08:00
Ryan Barrett 8507a6aa8a
update fediverse app compatibility, move from readme to docs 2023-01-18 16:02:49 -08:00
Ryan Barrett acd11c14e2
fix minor typo on the home page 2023-01-18 13:48:03 -08:00