Ryan Barrett
7f72a62081
ATProto: delete polling code and config
...
for #978 . end of a (brief) era!
2024-05-22 14:28:17 -07:00
Ryan Barrett
0911d71e76
temporarily switch ATProto polling from hub to default service
...
for #954
2024-05-05 07:30:58 -07:00
Ryan Barrett
c54df36164
start to add superfeedr notify handler
...
for #550
2023-12-02 21:18:22 -08:00
Ryan Barrett
4d095fa3d9
misc cleanup
...
* remove obsolete TODOs, commented out code
* remove obsolete circular imports of per-protocol modules
* minimize Object put in Protocol.load
* remove duplicated Protocol.load tests in test_activitypub
* re-enable rest of ActivityPubUtilsTest.test_postprocess_as2_idempotent
* drop default cls=Web in TestCase.make_user
2023-11-15 14:23:08 -08:00
Ryan Barrett
59c6d44f6d
AP: stop using PROTOCOLS in inbox URL routes
...
for #486
2023-11-15 13:33:39 -08:00
Ryan Barrett
325f8b3931
AP actor serving: resolve handles
2023-09-23 14:57:26 -07:00
Ryan Barrett
bd7cfa20f6
hub: implement atproto-commit task handler, other misc setup
2023-09-09 14:02:19 -07:00
Ryan Barrett
f03b97e44a
delete XRPC method handlers, they're unused
2023-09-04 08:12:17 -07:00
Ryan Barrett
c8b2103e13
rename Webmention class => Web, webmention.py => web.py
2023-05-26 17:40:29 -07:00
Ryan Barrett
eaa4e5333a
start to make User subclasses for each protocol
...
#512
2023-05-26 16:07:36 -07:00
Ryan Barrett
a3df7d6d30
make /render redirect to /convert/...
...
#512
2023-05-24 16:32:00 -07:00
Ryan Barrett
df35ce16cc
AP users: add convert.py and /convert/... endpoint
...
#512
2023-05-24 15:18:31 -07:00
Ryan Barrett
259e982986
bluesky: remove sync XRPC method implementations
...
they're moving to arroba
2023-05-22 12:56:21 -07:00
Ryan Barrett
3493aafca8
Bluesky: implement com.atproto.sync.getRepo
...
first com.atproto.sync XRPC! 🎉
2023-04-20 19:28:39 -07:00
Ryan Barrett
d2ab48b23e
switch circular imports to runtime imports; split out flask_app.py from app.py
...
runtime imports are just as bad, but...meh. eventually I'll untangle them for real. #486
2023-04-18 17:18:17 -07:00
Ryan Barrett
fb5f7b3fb0
move current user into Flask g request-global
2023-03-20 14:28:14 -07:00
Ryan Barrett
ffd8810b44
start to separate logic from protocols with new Protocol/ActivityPub classes
...
for #388
2023-03-10 07:36:50 -08:00
Ryan Barrett
1d22ab0e94
delete add_webmention and the /wm/ handler, it was never used
2023-03-05 07:58:03 -08:00
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