Wykres commitów

972 Commity (d8932d4e767f237e4153ec508dea2f1835ff12cb)

Autor SHA1 Wiadomość Data
dependabot[bot] 3f4c7fe63e build(deps): bump websocket-client from 1.5.0 to 1.5.1
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.0 to 1.5.1.
- [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.0...v1.5.1)

---
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-02-07 14:08:33 -08:00
dependabot[bot] 0b9640a756 build(deps): bump humanize from 4.5.0 to 4.6.0
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.5.0...4.6.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-02-07 14:08:03 -08:00
Ryan Barrett c68e06654b
add nodeinfo
https://nodeinfo.diaspora.software/

for #401
2023-02-07 13:51:15 -08:00
Ryan Barrett b5a0386cd0
store home page URL in update profile Objects, render better in activities UI
fixes #407
2023-02-07 12:44:41 -08:00
Ryan Barrett 52c6aa6160
fix update profile Object id
use synthetic URL with #update-[timestamp] fragment, not just home page URL
2023-02-07 12:23:08 -08:00
Ryan Barrett 48252bf42d
user page activities UI: fall back to summary for content
for #286
2023-02-07 11:45:50 -08:00
Ryan Barrett e1856c21a1
add more logging for when we write Objects 2023-02-07 08:24:36 -08:00
Ryan Barrett c143192aa4
user page activities UI: if actor has no displayName, default to username
#286
2023-02-07 08:24:24 -08:00
Ryan Barrett ca2bffd076
user page activities: show counts of delivered, failed, undelivered
for #286
2023-02-07 08:01:21 -08:00
Ryan Barrett cb605e96c6
user page activities: if object is user, render as pretty user link
for #406
2023-02-06 21:28:40 -08:00
Ryan Barrett f922ce89bb
user page: activities: render fediverse actor links as @-@
for #406
2023-02-06 21:08:52 -08:00
Ryan Barrett db4d765cf8
user page: activities: fix user actor rendering for UI follows
fixes #406
2023-02-06 20:30:08 -08:00
Ryan Barrett 3623df8e20
bring back default signing user for shared inbox
for #403, fixes https://console.cloud.google.com/errors/detail/CIfnyvKDx8mDTA;time=P30D?project=bridgy-federated
2023-02-06 20:08:32 -08:00
Ryan Barrett 4b37674624
always sign requests with current user's key, stop defaulting to snarfed.org
for #403
2023-02-06 19:23:25 -08:00
Ryan Barrett 717b068193
signed_post: don't follow redirects
fixes https://console.cloud.google.com/errors/detail/CLuyuajU2sqLtAE;time=P30D;refresh=true?project=bridgy-federated
2023-02-06 14:44:17 -08:00
Ryan Barrett 0af276d029
follow/unfollow UI: default IndieAuth to https
for #403
2023-02-06 11:16:05 -08:00
Ryan Barrett 18404f70e7
speed up tests by only using 1024 bit keys
fixes #398
2023-02-05 22:22:22 -08:00
Ryan Barrett e42c11bab2
make follow UI respect User.use_instead
once more, with feeling for #403
2023-02-05 20:59:39 -08:00
Ryan Barrett a820eeb57a
Activity => Object: temporarily disable inner object rendering
...until we're storing inner objects everywhere.
2023-02-05 08:17:22 -08:00
Ryan Barrett 04c2a582b9
migrate_activity_to_object: resume from latest_updated 2023-02-05 08:17:11 -08:00
Ryan Barrett d74c00f5b6
unfollow: handle Follower.last_follow with string id instead of object
fixes #402
2023-02-04 21:23:04 -08:00
Ryan Barrett 2a1b199558
Activity => Object: user dashboard UI bug fixes, add missing Object index 2023-02-04 20:46:28 -08:00
Ryan Barrett 9680f6f83e
Activity => Object: drop /recent, tweak feed queries, update datastore indices 2023-02-04 20:46:28 -08:00
Ryan Barrett 2c3a693b4d
Activity => Object: add script to migrate existing Activitys to Objects
#286

temporarily adds back Activity model definition, will remove again later.
2023-02-04 20:46:28 -08:00
Ryan Barrett 08265123f6
Activity => Object: use 'in progress' status
#286
2023-02-04 20:46:28 -08:00
Ryan Barrett 532ccb8ac1
Activity => Object: use StructuredProperty for Object.delivered etc, add protocol
#286

ndb implements StructuredProperty by hoisting each nested property into a
corresponding property on the parent entity, prefixed by the StructuredProperty's
name, eg delivered.uri, delivered.protocol, etc.

For repeated StructuredPropertys, the hoisted properties are all repeated on the
parent entity, and reconstructed into StructuredPropertys based on their order.

https://googleapis.dev/python/python-ndb/latest/model.html#google.cloud.ndb.model.StructuredProperty
2023-02-04 20:46:27 -08:00
Ryan Barrett f9891b6ef7
Activity => Object: add activity label, unify Objects for AP => wm
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 4d2fcdd76f
Activity => Object: fully populate labels, source_protocol webmention
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett a76fe45891
Activity => Object: finish ap_delivered, ap_undelivered, ap_failed
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 97ffc10f72
Activity => Object: populate Object.object_ids property
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett eafba6d7cd
Activity => Object: populate Object.type
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett d72be97d78
Activity => Object: populate ap_* fields for inbox delivery results
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 94a74b9800
noop: test_webmention: switch more asserts to assert_object() 2023-02-04 20:46:27 -08:00
Ryan Barrett 9d4e73344b
Activity => Object: populate ap_delivered, ap_undelivered, ap_failed
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 58e836b380
Activity => Object: update webmention.py
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 060ad96752
Activity => Object: update activitypub.py
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 8176cd1f56
Activity => Object: update pages.py
#286
2023-02-04 20:46:27 -08:00
Ryan Barrett 23aff3b176
Activity => Object: update follow.py 2023-02-04 20:46:27 -08:00
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