Wykres commitów

24 Commity (6860d49dd136479e7bc653d828eb9fb31af06f4a)

Autor SHA1 Wiadomość Data
Ryan Barrett 6860d49dd1
flask app: suppress some lexprc and negotiator logging 2023-01-16 09:01:29 -08:00
Ryan Barrett ef1c92222b
bridgy-at: integrate XRPC server, testutil, etc 2023-01-12 19:43:12 -08:00
Ryan Barrett fe5c3947a8
drop OStatus! it's been unused for years
fixes #282
2023-01-04 19:22:11 -08:00
Ryan Barrett 0e7728b8c2
first pass at remote follow UI on user page
fixes #60
2022-11-27 07:20:08 -08:00
Ryan Barrett da6288972a
extract Flask app config out of app.py into config.py
notably, this now disables the request cache during tests
2022-11-21 18:43:50 -08:00
Ryan Barrett f4c24d127f
UI: add followers and following pages
for #274, #264
2022-11-12 08:25:36 -08:00
Ryan Barrett d743609c6f
add stats page 2022-11-09 07:53:00 -08:00
Ryan Barrett 8eabe6977e
Flask's JSONIFY_PRETTYPRINT_REGULAR is deprecated, switch to app.json.compact
https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-0
2022-08-09 08:22:50 -07:00
Ryan Barrett cedeb47511
initialize Flask with static_folder=None for flask-gae-static 1.0 (snarfed/flask-gae-static@daabc99b36) 2022-08-09 08:18:17 -07:00
Ryan Barrett 1d36d31064
set User-Agent header globally 2022-03-24 11:18:33 -07:00
Ryan Barrett 2731e706f4
don't use flask-gae-static on prod 2022-02-11 22:38:40 -08:00
Ryan Barrett 0b1c8f5e7d
switch from app_server to `flask run` for local development
app_server doesn't emit app logging messages from gunicorn workers, and it was nontrivial to add. also app_server seems largely abandoned, and flask run is well supported.
2021-12-31 23:28:11 -08:00
Ryan Barrett cf12817212
Flask port: error handling bug fixes, other misc tweaks 2021-08-16 11:47:31 -07:00
Ryan Barrett a27ebc4697
Flask routing tweak, don't redirect URLs with empty path elements 2021-08-06 10:28:56 -07:00
Ryan Barrett 40ad6a4afa
move handle_exception and default_modern_headers to webutil
corresponds to snarfed/webutil@cdcaa3e897
2021-07-27 21:58:05 -07:00
Ryan Barrett 2e3360a54b
move Flask utils to oauth_dropins.webutil.flask_util
corresponds to snarfed/webutil@5574bb23fa
2021-07-17 21:22:13 -07:00
Ryan Barrett 56cc66d530
flask: add common.RegexConverter
based on https://github.com/rhyselsmore/flask-reggie
2021-07-12 13:49:48 -07:00
Ryan Barrett 80a0969575
flask: add modern headers
from webutil.handlers.ModernHandler
2021-07-11 17:55:59 -07:00
Ryan Barrett 007f8f16fd
flask: first pass at porting webfinger; incomplete!
incomplete because I also need to port webutil.handlers.XrdOrJrdHandler
2021-07-11 13:39:19 -07:00
Ryan Barrett 4fffc073d2
flask: port webmention, add exception handler 2021-07-11 08:48:28 -07:00
Ryan Barrett 5b8699bec1
flask: port /r/, start to port common 2021-07-07 21:02:13 -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 86a4afdc97
flask: render: get tests working 2021-07-06 20:34:35 -07: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