Wykres commitów

51 Commity (main)

Autor SHA1 Wiadomość Data
Ryan Barrett 853b4be142
ATroto.send: for flag activities, send createReport to mod service
for snarfed/granary#596. background:
* https://docs.bsky.app/docs/advanced-guides/moderation#reporting
* https://github.com/bluesky-social/atproto/discussions/2350#discussioncomment-8847613
* https://github.com/snarfed/granary/issues/596
2024-04-26 13:59:04 -07:00
Ryan Barrett 2e910acace
switch app service from Bluesky sandbox to prod 2024-02-28 16:16:10 -08:00
Ryan Barrett 90a7b2def8
add /.well-known/security.txt
https://securitytxt.org/
2024-01-22 12:56:56 -08:00
Ryan Barrett dcfdf35416
point atproto at federation sandbox, fix notif poll by importing all protocols 2023-10-18 11:03:21 -07:00
Ryan Barrett 1f5c6ca3b8
ATProto: prod BGS moved to bsky.network!
https://bsky.app/profile/jacob.gold/post/3kazfyia23k2y
2023-10-05 10:29:48 -07:00
Ryan Barrett d0b46f0989
app.yaml: use new PLC_WRITE_HOST env var 2023-09-29 13:39:48 -07:00
Ryan Barrett 9479ef0862
use prod Bluesky env vars in main app, sandbox in hub 2023-09-29 11:41:19 -07:00
Ryan Barrett fb3e6dc286
switch prod arroba env vars to point to ATProto federation sandbox
https://atproto.com/blog/federation-developer-sandbox
2023-09-29 11:32:28 -07:00
Ryan Barrett fddf237da2
add BGS_HOST env var to app.yaml 2023-09-27 11:26:19 -07:00
Ryan Barrett 4d975f43fd
app.yaml: prod appview is api.bsky.app
https://github.com/bluesky-social/atproto/discussions/1662#discussioncomment-7117734
2023-09-26 17:45:21 -07:00
Ryan Barrett 49df75b73a
app config: add env vars: PLC_HOST, APPVIEW_HOST 2023-09-23 15:01:06 -07:00
Ryan Barrett 1f9ed741ec
minor noop config/deps tweaks 2023-09-22 11:42:08 -07:00
Ryan Barrett cb6e96baac
upgrade to 3.11 2023-09-21 08:44:06 -07: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 97088da382
turn on App Engine warmup requests
https://cloud.google.com/appengine/docs/standard/reference/app-yaml?tab=python#inbound_services
2022-11-15 11:36:38 -08:00
Ryan Barrett 3cc1be5493
lots of UI tweaks 2022-11-12 23:19:09 -08:00
Ryan Barrett 741107c3b5
convert home page from static file to jinja template 2022-11-11 11:12:48 -08:00
Ryan Barrett 5913a9ea6a
switch oauth_dropins symlink to oauth_dropins_static, drop it from repo
it's now local clone only. this avoids import confusion, ie whether importing oauth_dropins uses the virtualenv's installed version or the symlinked files directly, which eg ran oauth-dropins's tests along with granary's/bridgy's, and caused Circle breakages like https://app.circleci.com/pipelines/github/snarfed/granary/767/workflows/21608f75-bb99-47dc-83ef-78d4f4793ed1/jobs/2819

    corresponds to snarfed/granary@00294822d6, snarfed/bridgy@b3f50d8248
2021-08-06 11:19:33 -07:00
Ryan Barrett 0b7388fed3
flask: move app to app.py, get templates working, port /responses 2021-07-07 08:07:20 -07:00
Ryan Barrett 27c2623700
flask: start porting render.py 2021-07-05 20:54:23 -07:00
Ryan Barrett 02498b34d7
app config autoscaling changes to try to keep instance count down
snarfed/bridgy#1051
2021-07-01 13:27:26 -07:00
Ryan Barrett 06cd35abba
upgrade to python 3.9 runtime and feedparser 6.0.2 2021-03-06 08:03:36 -08:00
Ryan Barrett dba533a14b
temporarily disable actually deleting Followers on AP Delete requests
mastodon.social sends Deletes for every Bridgy Fed account, all at basically the same time, and we have many Follower objects, so we have to do this table scan for each one, so the requests take a long time and end up spawning extra App Engine instances that we get billed for. and the Delete requests are almost never for followers we have. TODO: revisit this and do it right.
2020-10-11 08:35:14 -07:00
Ryan Barrett 3771ff55df
add oauth_dropins like for static file handlers, gunicorn req't 2019-12-26 07:57:12 -08:00
Ryan Barrett 02d36b3b1f
migrate to the app engine standard python 3 runtime!
https://cloud.google.com/appengine/docs/standard/python3/python-differences
https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/
2019-12-25 22:26:26 -08:00
Ryan Barrett faf676e8bb
switch from json to ultrajson for performance
https://github.com/esnme/ultrajson/
2019-10-29 07:06:15 -07:00
Ryan Barrett 0b951d6570
add noop handler for /superfeedr/* that just logs the request
for #18
2018-10-17 14:39:25 -07:00
Ryan Barrett e720e543d8
add /r/ redirect endpoint
for #16, #32. cc @swentel. more to come.
2018-10-14 07:42:28 -07:00
Ryan Barrett acaa28ef13 app.yaml: use includes to reuse builtins and skip_files from webutil
https://cloud.google.com/appengine/docs/standard/python/config/appref#Python_app_yaml_Includes
2018-04-30 06:39:22 -07:00
Ryan Barrett be2ea6ad28 webmention: if u-url is missing, default to source url
AS2 id, which is required for ActivityPub, comes from u-url, so we always need one.

fixes #20
2017-12-12 18:07:12 -08:00
Ryan Barrett 07c650b9e1 add /log handler, link to it from /responses
reuses LogHandler newly moved from bridgy to webutil in snarfed/webutil@a49b3af4d1
2017-10-26 09:32:17 -07:00
Ryan Barrett 22ca3e64a6 add /responses page with links to raw logs
log handler itself is next.
2017-10-25 18:33:11 -07:00
Ryan Barrett ad01716fda fix /ACCT/salmon URL routing regexp in app.yaml 2017-10-16 21:54:58 -07:00
Ryan Barrett dce33bde16 /render: fix app.yaml routing 2017-10-12 08:34:26 -07:00
Ryan Barrett 98465907ff add new /render endpoint for rendering Responses as HTML 2017-10-10 07:42:10 -07:00
Ryan Barrett c1aff22a55 don't upload pycrypto, since it's built into app engine 2017-09-20 17:41:11 -07:00
Ryan Barrett dbc009b3ce minor test fixes: MagicKey id is back to domain w/o username 2017-09-12 09:29:24 -07:00
Ryan Barrett 4dd8f7e1a7 mastodon interop: salmon + activitypub + webfinger cleanup, tests 2017-09-03 13:03:31 -07:00
Ryan Barrett 76af3231e7 mastodon interop: got webmention => salmon slap to mastodon working!
TODO: lots of cleanup and tests
2017-09-03 12:20:37 -07:00
Ryan Barrett 90c1a60688 fix salmon URL route 2017-08-27 12:20:59 -07:00
Ryan Barrett bbf8839822 webfinger: handle /.well-known/webfinger, salmon link bug fix 2017-08-27 12:18:05 -07:00
Ryan Barrett ab51ef5623 add secure: always to static file routes 2017-08-19 13:30:54 -07:00
Ryan Barrett a0e6d0c5d0 in progress checkpoint for webfinger, halfway done 2017-08-19 09:24:00 -07:00
Ryan Barrett 9c73e756c0 start on ostatus: add django-salmon dependency 2017-08-19 07:41:25 -07:00
Ryan Barrett 51d0cfb872 start on home page html, style, and assets 2017-08-18 16:37:14 -07:00
Ryan Barrett 01e5df53c1 minor config changes for let's encrypt certbot, stub index.html 2017-08-16 18:55:14 -07:00
Ryan Barrett 23180c7db0 add /wm/... URL proxy that injects our webmention endpoint 2017-08-15 12:02:02 -07:00
Ryan Barrett 576410005b extract out requests.get() and user agent header into new common.py file 2017-08-14 23:07:24 -07:00
Ryan Barrett de217d34ad rename: bridgy-activitypub => bridgy-federated
...merging with bridgy-ostatus!
2017-08-14 12:57:19 -07:00
Ryan Barrett 60a3f7b1cb activitypub actor endpoint: fetch mf2, convert to AS 2017-08-13 00:12:16 -07:00