Ryan Barrett
4a3607325f
canonicalize domain: redirect UI requests on other domains to fed.brid.gy
2023-10-16 14:02:17 -07:00
Ryan Barrett
66da2efc7a
Protocol.receive: bump up threads from 10 to 30
...
10 still isn't enough! tantek's ~300 inboxes are still hitting the 10m deadline.
2023-10-16 13:47:54 -07:00
Ryan Barrett
325ba64c66
authorization: block external requests to cloud task handlers
...
...by checking for a GAE Cloud Tasks header: https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_task_request_headers
2023-10-16 13:04:34 -07:00
Ryan Barrett
db3a5e7fd6
authorization: pass and accept authed_as in receive task handler
...
for #566
2023-10-16 12:45:27 -07:00
Ryan Barrett
f292a7d957
authorization: allow actor to update/delete itself
...
for #566
2023-10-16 12:25:29 -07:00
Ryan Barrett
c83c77a73e
authorization: log when authed user doesn't match activity's author/actor
...
for #566 . just logging for now, want to see if we're already hitting this at all.
2023-10-16 11:13:38 -07:00
Ryan Barrett
7466a000a5
testutil: add assertLogs wrapper that enables/disables logs
2023-10-16 10:53:58 -07:00
Ryan Barrett
66cf3bfd42
bug fix for 55c8d9b
2023-10-16 06:54:06 -07:00
Ryan Barrett
55c8d9bec6
authorization: log updates, deletes, creates from the wrong actor
...
for #566 . just logging for now, want to see if we're already hitting this at all.
2023-10-16 06:37:52 -07:00
dependabot[bot]
5cbcd67628
build(deps): bump flask from 2.3.3 to 3.0.0
...
Bumps [flask](https://github.com/pallets/flask ) from 2.3.3 to 3.0.0.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/2.3.3...3.0.0 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 06:32:12 -07:00
Ryan Barrett
787c64c674
remove a couple errant util.d's
2023-10-14 14:14:05 -07:00
Ryan Barrett
441c5aa29f
log_data bug fixes
2023-10-14 14:13:13 -07:00
Ryan Barrett
f3039fc87a
Protocol.send: bring back log_data kwarg
2023-10-13 18:29:28 -07:00
Ryan Barrett
bd19851d6c
user page UI bug fix for HTML logos
2023-10-13 12:38:29 -07:00
Ryan Barrett
d0da119b07
add opt out via #nobridge or #nobot text in user profile bio
...
fixes #666
(unfortunate issue number 😆 )
2023-10-13 12:36:31 -07:00
Tantek Çelik
fbf1e645ef
real tag link instead of example.com
...
use a real tag destination and hashtag instead of example.com
2023-10-13 12:32:12 -07:00
Tantek Çelik
3f811fb855
Update docs.html
...
Update a bunch of @-@ permalinks and addresses to newer ones and folks more actively in touch with the community, fix a made-up domain ref to use example.com
2023-10-13 12:07:31 -07:00
Ryan Barrett
24f0a370f6
docs for outbound @-mentions
...
for #493
2023-10-13 11:15:12 -07:00
Ryan Barrett
3046d2b28c
drop 1k followers limit in UI
...
fixes #670 , at least for now. counting 1200 followers in prod was taking ~200ms; not great, but not horrible. should cache this eventually though!
2023-10-13 09:46:36 -07:00
Ryan Barrett
6c1565b087
notifs feeds: add id
2023-10-13 09:18:23 -07:00
dependabot[bot]
57a1a33d63
build(deps): bump werkzeug from 2.3.7 to 3.0.0
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.3.7 to 3.0.0.
- [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.7...3.0.0 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 06:03:17 -07:00
dependabot[bot]
1138917983
build(deps): bump cffi from 1.15.1 to 1.16.0
...
Bumps [cffi](https://github.com/python-cffi/cffi ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/python-cffi/cffi/releases )
- [Commits](https://github.com/python-cffi/cffi/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: cffi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 05:35:54 -07:00
dependabot[bot]
e1b15f7eff
build(deps): bump charset-normalizer from 3.2.0 to 3.3.0
...
Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases )
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Ousret/charset_normalizer/compare/3.2.0...3.3.0 )
---
updated-dependencies:
- dependency-name: charset-normalizer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 05:29:45 -07:00
dependabot[bot]
0031e2e092
build(deps): bump google-cloud-logging from 3.7.0 to 3.8.0
...
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging ) from 3.7.0 to 3.8.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.7.0...v3.8.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-10-13 05:29:30 -07:00
dependabot[bot]
84ef0498a2
build(deps): bump googleapis-common-protos from 1.60.0 to 1.61.0
...
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos ) from 1.60.0 to 1.61.0.
- [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.60.0...v1.61.0 )
---
updated-dependencies:
- dependency-name: googleapis-common-protos
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 05:29:10 -07:00
Ryan Barrett
14a3d70870
notifications feed: exclude updates from quiet
2023-10-12 18:13:32 -07:00
Ryan Barrett
2d8fb1f57f
webfinger: handle unknown protocol subdomain
2023-10-12 17:55:44 -07:00
Ryan Barrett
9808bed1b4
ActivityPub.postprocess_as2: add Mention tags to cc
2023-10-12 16:22:57 -07:00
Ryan Barrett
d2e6dd18c2
/convert: on localhost, serve two-protocol paths instead of redirecting
2023-10-12 16:22:56 -07:00
Ryan Barrett
7438a4ff51
docs: tweak feed, notifs language
2023-10-12 13:54:31 -07:00
ImgBotApp
6bb3ba3f1c
[ImgBot] Optimize images
...
/static/bluesky_phone_large.png -- 909.19kb -> 869.73kb (4.34%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-10-12 11:15:22 -07:00
Ryan Barrett
3e34def7b4
notifications feed: add quiet query param to suppress follows, likes, reposts
2023-10-12 10:48:29 -07:00
Ryan Barrett
215578f33f
render notifications feeds as snippets, not whole activities
2023-10-12 10:40:55 -07:00
Ryan Barrett
ff168231d6
Object.actor_link: add image kwarg
2023-10-12 10:37:22 -07:00
Ryan Barrett
8f4c353936
Object.actor_link: add sized kwarg
2023-10-12 10:19:59 -07:00
Ryan Barrett
7e56f9e115
drop all styling from HTML feeds
...
...to emphasize that they're for readers, not for humans.
for #442
2023-10-12 10:01:11 -07:00
Ryan Barrett
023b05e216
RSS feed bug fix
...
fixes https://console.cloud.google.com/errors/detail/CJe5pdyJufvpHQ;time=P30D?project=bridgy-federated
2023-10-12 06:56:19 -07:00
dependabot[bot]
75c68d4c88
build(deps): bump grpcio-status from 1.58.0 to 1.59.0
...
Bumps [grpcio-status](https://grpc.io ) from 1.58.0 to 1.59.0.
---
updated-dependencies:
- dependency-name: grpcio-status
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 05:47:09 -07:00
dependabot[bot]
f1117dd276
build(deps): bump grpcio from 1.58.0 to 1.59.0
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.58.0 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/grpc/grpc/compare/v1.58.0...v1.59.0 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 05:41:15 -07:00
dependabot[bot]
2482e039b6
build(deps): bump google-cloud-appengine-logging from 1.3.1 to 1.3.2
...
Bumps [google-cloud-appengine-logging](https://github.com/googleapis/google-cloud-python ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases )
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-appengine-logging-v1.3.1...google-cloud-appengine-logging-v1.3.2 )
---
updated-dependencies:
- dependency-name: google-cloud-appengine-logging
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 05:41:05 -07:00
dependabot[bot]
4c83d44d88
build(deps): bump flask-sock from 0.6.0 to 0.7.0
...
Bumps [flask-sock](https://github.com/miguelgrinberg/flask-sock ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/miguelgrinberg/flask-sock/releases )
- [Changelog](https://github.com/miguelgrinberg/flask-sock/blob/main/CHANGES.md )
- [Commits](https://github.com/miguelgrinberg/flask-sock/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: flask-sock
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 05:40:58 -07:00
dependabot[bot]
d0a572d246
build(deps): bump packaging from 23.1 to 23.2
...
Bumps [packaging](https://github.com/pypa/packaging ) from 23.1 to 23.2.
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/23.1...23.2 )
---
updated-dependencies:
- dependency-name: packaging
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 05:40:51 -07:00
Ryan Barrett
84e9b2bcfd
AP: strip @context from Object.as2 before storing in datastore
...
we don't do LD, and many other servers' @contexts are big, so this saves disk space.
fixes #426
2023-10-11 16:35:05 -07:00
Ryan Barrett
15a325c928
AP: compact outgoing actor, author, and attributedTo fields to string ids
...
hope this improves compatibility with many other AP implementations that choke on objects instead of ids. fixes #658
2023-10-11 16:17:43 -07:00
Ryan Barrett
c01375a300
user page redesign: phone screen tweaks
...
for #442
2023-10-11 14:20:08 -07:00
Ryan Barrett
e65d109bf1
UI style tweaks: keep grid on narrower screens, left align
...
thx for the nudge @tantek
2023-10-11 12:59:51 -07:00
Ryan Barrett
dfab9f55d1
user page redesign: Object.actor_link: load actor from datastore
...
for #442
2023-10-11 12:25:39 -07:00
Ryan Barrett
bd19cab870
Object.actor_link bug fix: handle actor/author objects with only id field
...
for #442
2023-10-11 12:25:39 -07:00
Ryan Barrett
b1b2478b66
user page redesign: add notifications feeds, other minor tweaks
...
for #442
2023-10-11 12:25:39 -07:00
Ryan Barrett
f37baeba58
user page redesign: misc tweaks
...
* separate source protocol from user in user labels
* make bridged protocol labels generic
* other visual tweaks
for #442
2023-10-11 12:25:39 -07:00