Wykres commitów

1582 Commity (11037d80df459329fc3a11a78adf02275eaa727a)

Autor SHA1 Wiadomość Data
Ryan Barrett 11037d80df
user page redesign: implement followers, following pages
includes subtabs on profile pages

for #442
2023-10-11 12:25:38 -07:00
Ryan Barrett c1e0a08f72
user page redesign: add home, notifications pages
for #442
2023-10-11 12:25:38 -07:00
Ryan Barrett afa16d3864
start redesigning user pages
for #442
2023-10-11 12:25:38 -07:00
Ryan Barrett 1b78e86e6c
add Protocol.LOGO_HTML constant, change user page to link to external user
for #442
2023-10-11 12:25:38 -07:00
dependabot[bot] a6cd9f22ab build(deps): bump pyjwt from 2.7.0 to 2.8.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.7.0...2.8.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 06:58:05 -07:00
dependabot[bot] 38331ab818 build(deps): bump simple-websocket from 0.10.1 to 1.0.0
Bumps [simple-websocket](https://github.com/miguelgrinberg/simple-websocket) from 0.10.1 to 1.0.0.
- [Release notes](https://github.com/miguelgrinberg/simple-websocket/releases)
- [Changelog](https://github.com/miguelgrinberg/simple-websocket/blob/main/CHANGES.md)
- [Commits](https://github.com/miguelgrinberg/simple-websocket/compare/v0.10.1...v1.0.0)

---
updated-dependencies:
- dependency-name: simple-websocket
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 06:42:32 -07:00
dependabot[bot] 93c4e4d3d4 build(deps): bump websocket-client from 1.6.3 to 1.6.4
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.3 to 1.6.4.
- [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.6.3...v1.6.4)

---
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-10-11 05:50:43 -07:00
Ryan Barrett f002b536d9
add thread name to log message prefix to trace across Protocol.deliver threads 2023-10-10 10:13:57 -07:00
Ryan Barrett 5bf081afdb
make Protocol/Web.key_for() follow use_instead
fixes #662. probably more to do here eventually though, eg #665.
2023-10-10 09:58:07 -07:00
Ryan Barrett 969aa189ed
drop atproto req't 2023-10-10 09:58:07 -07:00
dependabot[bot] 9382944777 build(deps): bump flask-caching from 2.0.2 to 2.1.0
Bumps [flask-caching](https://github.com/pallets-eco/flask-caching) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/pallets-eco/flask-caching/releases)
- [Changelog](https://github.com/pallets-eco/flask-caching/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets-eco/flask-caching/compare/v2.0.2...v2.1.0)

---
updated-dependencies:
- dependency-name: flask-caching
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 05:20:35 -07:00
Ryan Barrett f1bb2df2ce
Object: don't log "wiping out existing [data field] 2023-10-09 16:41:05 -07:00
dependabot[bot] 1eb4e3f1a0 build(deps): bump prawcore from 2.3.0 to 2.4.0
Bumps [prawcore](https://github.com/praw-dev/prawcore) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/praw-dev/prawcore/releases)
- [Changelog](https://github.com/praw-dev/prawcore/blob/main/CHANGES.rst)
- [Commits](https://github.com/praw-dev/prawcore/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: prawcore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 05:06:41 -07:00
Ryan Barrett d5499acaf3
AP: parallelize inbox delivery with a thread pool
fixes #652. this should make inbox deliveries roughly 10x faster.
2023-10-07 15:08:02 -07:00
Ryan Barrett 5efd97d867
add Object.lock and new add, remove, and put methods 2023-10-07 13:51:59 -07:00
Ryan Barrett dfff201c6f
ATProto: log profile and post records that we store 2023-10-07 13:01:29 -07:00
Ryan Barrett 59abcb00bc
Protocol.send: drop log_data kwarg
protocols are responsible for logging objects themselves
2023-10-07 12:54:32 -07:00
Ryan Barrett 7e7962fe45
add orig_obj kwarg to Protocol.send 2023-10-07 12:49:39 -07:00
Ryan Barrett 37188f3cca
User.get_or_create: if propagate=True, always reload user profile remotely 2023-10-07 11:51:21 -07:00
dependabot[bot] f2c45f8c30 build(deps): bump redis from 4.6.0 to 5.0.1
Bumps [redis](https://github.com/redis/redis-py) from 4.6.0 to 5.0.1.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.6.0...v5.0.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 09:36:53 -07:00
Ryan Barrett 4909c0814e
deliver self-replies to all followers
fixes #639
2023-10-06 14:59:47 -07:00
Ryan Barrett 62302b9105
more docstring formatting tweaks 2023-10-06 08:22:50 -07:00
Ryan Barrett db29ad7757
docs: fix docstring formatting, other tweaks 2023-10-05 23:32:31 -07:00
Ryan Barrett 6442acb244
/bridge-user flashed message, link user handle 2023-10-05 22:28:36 -07:00
Ryan Barrett e00a4b52ba
ATProto: don't create DNS records if DEBUG is on 2023-10-05 15:55:31 -07:00
Ryan Barrett 7d8b1ba2e8
add fetch_blobs kwarg to Object.as_bsky 2023-10-05 15:47:04 -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 000b08f9b2
when creating a new ATProto user, add a DNS _atproto TXT record for their handle 2023-10-04 13:54:20 -07:00
Ryan Barrett e96ab4654f
move creating ATProto users from User.get_or_create to new ATProto.create_for 2023-10-04 12:44:14 -07:00
Ryan Barrett ae25baba8c
drop obsolete User.href, it was only for OStatus
🫗
2023-10-04 12:30:20 -07:00
Ryan Barrett b4d5ab15ef
ATProto: assert that we only store record type objects in the repo 2023-10-03 16:56:06 -07:00
Ryan Barrett 1b702ce2aa
docs: update translation tables for NIP-05 local vs domain parts 2023-10-03 16:56:05 -07:00
Ryan Barrett 88f4c79db5
docs: avoid "Alias for field number ..." entries in namedtuples 2023-10-03 16:56:05 -07:00
dependabot[bot] ce15b8c149 build(deps): bump urllib3 from 2.0.4 to 2.0.6
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.4...2.0.6)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 17:07:01 -07:00
Ryan Barrett 7d1fe49902
app: hook up arroba's XRPC handlers 2023-09-30 08:25:18 -07:00
Ryan Barrett b70ef87236
hub: add dispatch.yaml for URL-based routing, update network ingress 2023-09-29 14:28:36 -07:00
Ryan Barrett 42a4cb32e6
/bridge-user minor UI bug fix 2023-09-29 14:26:24 -07:00
Ryan Barrett e89730e68f
drop /_ah/ path prefix on task handlers
...since it's not supported in dispatch.yaml: https://cloud.google.com/appengine/docs/flexible/reference/dispatch-yaml?tab=python#url
2023-09-29 13:49:17 -07:00
Ryan Barrett d0b46f0989
app.yaml: use new PLC_WRITE_HOST env var 2023-09-29 13:39:48 -07:00
Ryan Barrett 616f347d76
/bridge-user: only allow AP and Web source users 2023-09-29 13:38:50 -07:00
Ryan Barrett 247e8a465f
test_webfinger: tests for bad protocol subdomains 2023-09-29 12:33:55 -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 318ba554d5
misc hub setup, testing live 2023-09-29 11:32:29 -07:00
Ryan Barrett f85ab9ef41
noop: add a couple minor tests and comments 2023-09-29 11:32:29 -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 56c5909b84
add /bridge-user page to propagate a new user into ATProto
for #647
2023-09-29 11:32:28 -07:00
Ryan Barrett 4b94b4397c
User.get_or_create: fetch and propagate user profile object 2023-09-29 11:32:28 -07:00
Ryan Barrett bfabfabea7
move creating a new ATProto user from ATProto.send to User.get_or_create
in progress, still need to load user profile object and write it to ATProto repo
2023-09-29 11:32:28 -07:00
Ryan Barrett 03a9295224
noop, tweak logging in protocol.py 2023-09-29 11:32:28 -07:00
Ryan Barrett 01d3b67bed
add Protocol.for_handle 2023-09-29 11:32:28 -07:00